/* Westcoast Auto Repairs — built on the shop's existing look: the logo's slate blue, Poppins, dark car photography.
   Layout: sticky dark header; crossfading photo hero with a shop-details card; alternating light (paper/white)
   and dark (night) bands, each with an inner .wrap; photo service cards 3 → 2 → 1. Single committed theme. */
:root {
  --night: #0f1218;
  --night-2: #161a23;
  --night-3: #212736;
  --slate: #55607e;
  --slate-light: #a9bad4;
  --accent: #55607e;
  --accent-glow: #a7b1d2;
  --accent-hover: #67739a;
  --accent-ink: #55607e;
  --on-accent: #ffffff;
  --paper: #f3f5f8;
  --white: #ffffff;
  --text: #1a1f2b;
  --muted: #586276;
  --on-dark: #eceff4;
  --on-dark-muted: #a4adbf;
  --line: #dde2ea;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ok: #3ccf7f;
  --closed: #ff6b57;
  --error: #b42318;

  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --r: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16.5px/1.65 var(--body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night-2); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 80; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { left: 16px; top: calc(8px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band-white { background: var(--white); }
.band-night { background: var(--night); color: var(--on-dark); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.band-night .eyebrow::before, .on-dark .eyebrow::before, .hero .eyebrow::before, .cta .eyebrow::before, .side-cta .eyebrow::before { background: var(--accent-glow); }
.band-night .eyebrow, .on-dark .eyebrow { color: var(--accent-glow); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.band-night .lead, .on-dark .lead { color: var(--on-dark-muted); }
.section-head { display: grid; gap: .8rem; margin-bottom: 2.6rem; max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; padding: .85rem 1.45rem; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; line-height: 1.1; white-space: nowrap; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn-slate { background: var(--slate); color: var(--white); }
.btn-slate:hover { background: #3b4764; }

/* Open/closed badge */
.status { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid currentColor; line-height: 1.2; vertical-align: middle; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-open { color: var(--ok); }
.status.is-open::before { box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s ease-out infinite; }
.status.is-closed { color: var(--closed); }
.light-status .status.is-open { color: #12804a; background: #e6f6ee; }
.light-status .status.is-closed { color: #b42318; background: #fdecea; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 127, .6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(60, 207, 127, 0); } }

/* Top bar + header */
.topbar { background: var(--night); color: var(--on-dark-muted); font-size: .84rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .5rem; }
.topbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.4rem; }
.topbar strong { color: var(--on-dark); font-weight: 600; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--accent-glow); }
@media (max-width: 700px) { .topbar .hide-sm { display: none; } }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(22, 26, 35, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--on-dark); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.brand-sub { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .26em; color: var(--accent-glow); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav > ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.7rem; align-items: center; }
.nav > ul > li { position: relative; }
.nav a.nav-link { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: .98rem; padding-block: .5rem; border-bottom: 2px solid transparent; }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { border-bottom-color: var(--accent-glow); }
.nav a.nav-link svg { width: 12px; height: 12px; opacity: .7; }
.submenu { list-style: none; margin: 0; padding: .5rem; position: absolute; left: -1rem; top: 100%; min-width: 290px; background: var(--white); color: var(--text); border-radius: var(--r); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; align-items: center; gap: .75rem; padding: .55rem .7rem; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.submenu a:hover { background: var(--paper); color: var(--slate); }
.submenu img { width: 44px; height: 30px; object-fit: cover; border-radius: 4px; flex: none; }
.submenu .all { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .7rem; color: var(--accent-ink); font-family: var(--display); font-weight: 600; }
.menu-btn { display: none; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line-dark); border-radius: var(--r); padding: .55rem .8rem; color: var(--on-dark); font: 600 .95rem var(--display); cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: .6rem 0 .8rem; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.nav-link { display: flex; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav a.nav-link[aria-current="page"] { color: var(--accent-glow); border-bottom-color: var(--line-dark); }
  .nav a.nav-link svg { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; color: var(--on-dark-muted); box-shadow: none; padding: .3rem 0 .5rem .6rem; min-width: 0; }
  .submenu img { display: none; }
  .submenu a { padding: .45rem .4rem; }
  .submenu a:hover { background: transparent; color: var(--accent-glow); }
  .submenu .all { border-top: 0; margin-top: 0; padding-top: .45rem; color: var(--accent-glow); }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--night); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 28s linear infinite; animation-fill-mode: none; }
.hero-slides img:nth-child(1) { opacity: 1; z-index: 4; animation-delay: 0s; }
.hero-slides img:nth-child(2) { z-index: 3; animation-delay: 7s; }
.hero-slides img:nth-child(3) { z-index: 2; animation-delay: 14s; }
.hero-slides img:nth-child(4) { z-index: 1; animation-delay: 21s; }
@keyframes heroFade { 0% { opacity: 1; transform: scale(1.06); } 25% { opacity: 1; } 29% { opacity: 0; transform: scale(1); } 96% { opacity: 0; } 100% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero-slides img:not(:first-child) { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 18, 24, .94) 0%, rgba(15, 18, 24, .78) 45%, rgba(15, 18, 24, .35) 100%), linear-gradient(0deg, rgba(15, 18, 24, .85) 0%, rgba(15, 18, 24, 0) 40%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-copy { display: grid; gap: 1.4rem; }
.hero h1 .accent { color: var(--accent-glow); }
.hero .lead { color: #c9d0dc; font-size: 1.17rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.shop-card { background: rgba(18, 22, 30, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-dark); border-radius: 12px; padding: 1.5rem; display: grid; gap: 1.1rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.shop-card-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.shop-card-head h2 { font-size: 1.15rem; font-weight: 600; }
.shop-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem 1.1rem; font-size: .96rem; }
.shop-card dt { color: var(--on-dark-muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .2rem; }
.shop-card dd { color: var(--on-dark); }
.shop-card dd a { text-decoration: none; }
.shop-card .phone-big { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; color: var(--white); }
.shop-card .btn { width: 100%; }

/* Trust bar */
.trust { background: var(--slate); color: var(--white); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-block: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item svg { width: 30px; height: 30px; color: var(--accent-glow); flex: none; }
.trust-item b { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.trust-item span { font-size: .86rem; color: #d3dae8; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .trust .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: 10px; overflow: hidden; text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 28px -16px rgba(16, 24, 40, .25); transition: transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 22px 40px -18px rgba(16, 24, 40, .4); }
.svc-media { aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; background: var(--night-3); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-body { display: grid; grid-template-rows: auto 1fr auto; gap: .55rem; padding: 1.3rem 1.4rem 1.4rem; }
.svc-body p { color: var(--muted); font-size: .96rem; }
.svc-more { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--accent-ink); display: inline-flex; gap: .4rem; align-items: center; }
.svc-more::after { content: "→"; transition: transform .2s ease; }
.svc:hover .svc-more::after { transform: translateX(4px); }

.feature { margin-top: 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--night-2); color: var(--on-dark); border-radius: 12px; overflow: hidden; text-decoration: none; }
.feature-copy { padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1rem; align-content: center; }
.feature-copy p { color: var(--on-dark-muted); max-width: 52ch; }
.feature-media { min-height: 260px; position: relative; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night-2) 0%, rgba(22, 26, 35, 0) 45%); }
@media (max-width: 760px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature-media { order: -1; min-height: 200px; } .feature-media::after { background: linear-gradient(0deg, var(--night-2) 0%, rgba(22, 26, 35, 0) 55%); } }

/* Commitment */
.commit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .commit .wrap { grid-template-columns: minmax(0, 1fr); } }
.commit-visual { display: grid; gap: 2rem; }
.commit-visual img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .5)); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .88rem; color: var(--on-dark-muted); }
.commit-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.commit-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1.1rem; }
.commit-icon { width: 52px; height: 52px; border-radius: 10px; background: rgba(167, 177, 210, .14); color: var(--accent-glow); display: grid; place-items: center; }
.commit-icon svg { width: 26px; height: 26px; }
.commit-item h3 { color: var(--white); margin-bottom: .3rem; }
.commit-item p { color: var(--on-dark-muted); }

/* Partners */
.partners .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; padding-block: 2.8rem; }
.partner-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .partner-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner { display: grid; justify-items: center; gap: .6rem; padding: 1.2rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.partner img { height: 72px; width: auto; object-fit: contain; }
.partner span { font-size: .84rem; color: var(--muted); }
@media (max-width: 800px) { .partners .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 440px) { .partner img { height: 54px; } }

/* Area + visit */
.area .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .area .wrap { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.chips li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .38rem .9rem; font-size: .92rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; display: grid; gap: 1rem; }
.card h2, .card h3 { font-size: 1.3rem; }
.card address { font-style: normal; font-size: 1.05rem; }
.hours { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem 1.4rem; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 600; }
.hours dd { color: var(--muted); }
.pay { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.pay li { font-size: .82rem; font-weight: 600; padding: .25rem .6rem; border-radius: 5px; background: var(--paper); border: 1px solid var(--line); }
.pay-note { font-size: .85rem; color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--slate-light); }
.faq summary { cursor: pointer; padding: 1.05rem 1.3rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); flex: none; margin-top: -4px; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); max-width: 72ch; }
.faq-center { margin-inline: auto; }

/* CTA band */
.cta { position: relative; background: var(--night-2); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 50%, rgba(72, 86, 120, .55), rgba(22, 26, 35, 0) 60%); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-copy { display: grid; gap: 1rem; }
.cta-copy p { color: var(--on-dark-muted); max-width: 50ch; }
.cta h2 span { color: var(--accent-glow); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.cta img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } .cta img { max-width: 520px; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-muted); font-size: .95rem; }
.site-footer .wrap { padding-block: 3.5rem 2rem; display: grid; gap: 2.6rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 2.2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-brand { display: grid; gap: 1.1rem; align-content: start; }
.foot-brand img { width: 120px; height: 120px; }
.foot-grid h2 { font-size: .95rem; color: var(--white); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent-glow); }
.foot-grid address { font-style: normal; line-height: 1.75; }
.foot-grid .phone { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; color: var(--on-dark); transition: background-color .18s ease, color .18s ease; }
.socials a:hover { background: var(--accent-glow); color: var(--night); border-color: var(--accent-glow); }
.socials svg { width: 18px; height: 18px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }

/* Subpage hero */
.page-hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--night); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 18, 24, .95) 0%, rgba(15, 18, 24, .8) 50%, rgba(15, 18, 24, .45) 100%); }
.page-hero .wrap { display: grid; gap: 1.1rem; padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero .lead { color: #c9d0dc; }
.crumbs { font-size: .84rem; color: var(--on-dark-muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs li + li::before { content: "›"; margin-right: .45rem; color: var(--accent-glow); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-glow); }
.crumbs [aria-current] { color: var(--on-dark); }

/* Article + sidebar */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 1.05em; max-width: 70ch; min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 1.1em; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.2em; display: grid; gap: .45em; }
.prose li::marker { color: var(--accent-ink); }
.prose figure img { border-radius: 10px; width: 100%; height: auto; }
.signs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.signs li { display: flex; gap: .7rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: .8rem .95rem; font-size: .96rem; }
.signs li::before { content: "!"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .8rem; display: grid; place-items: center; margin-top: 1px; }
@media (max-width: 580px) { .signs { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.1rem; position: relative; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--slate); color: var(--white); font-family: var(--display); font-weight: 700; display: grid; place-items: center; position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.steps li > span { padding-top: .55rem; }
.related { display: flex; flex-wrap: wrap; gap: .5rem; }
.related a { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .4rem .95rem; text-decoration: none; font-size: .93rem; font-weight: 500; }
.related a:hover { border-color: var(--accent); color: var(--accent-ink); }
.side { display: grid; gap: 1.2rem; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
@media (max-width: 960px) { .side { position: static; } }
.side-cta { background: var(--night-2); color: var(--on-dark); border-radius: 12px; padding: 1.6rem; display: grid; gap: 1rem; }
.side-cta h2 { font-size: 1.4rem; }
.side-cta p { color: var(--on-dark-muted); font-size: .95rem; }
.side-cta .btn { width: 100%; }
.side-cta .phone-big { font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-decoration: none; color: var(--white); }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-side { display: grid; gap: 1.1rem; }
.contact-phone { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.3rem); text-decoration: none; color: var(--slate); line-height: 1.1; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 30px 60px -40px rgba(16, 24, 40, .45); scroll-margin-top: 110px; }
.form-card > header { display: grid; gap: .5rem; margin-bottom: 1.6rem; }
.form-card > header p { color: var(--muted); }
.booking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
.booking .full { grid-column: 1 / -1; }
@media (max-width: 580px) { .booking { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .38rem; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .75rem .85rem; transition: border-color .15s ease, background-color .15s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); background: var(--white); box-shadow: 0 0 0 3px rgba(72, 86, 120, .18); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha-slot { min-height: 65px; display: flex; align-items: center; }
.captcha-preview { width: 100%; max-width: 300px; border: 1px dashed var(--slate-light); border-radius: 8px; padding: .8rem 1rem; font-size: .85rem; color: var(--muted); background: var(--paper); }
.form-status { font-size: .95rem; padding: .85rem 1rem; border-radius: 8px; }
.form-status.ok { background: #e6f6ee; color: #0e6b3d; }
.form-status.err { background: #fdecea; color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-fine { font-size: .85rem; color: var(--muted); max-width: 40ch; }

/* Mobile call/book bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(22, 26, 35, .97); border-top: 1px solid var(--line-dark); padding: .6rem max(16px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mbar .btn { padding: .75rem .5rem; color: var(--on-dark); }
  .mbar .btn-accent { color: var(--on-accent); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Map on the Contact page */
.map-slot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); min-height: 120px; display: grid; place-items: center; padding: 1.5rem; }
.map-slot.has-map { padding: 0; }
.map-slot iframe { width: 100%; height: 420px; border: 0; display: block; }
.prose a:not(.btn) { color: var(--slate); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Map link in the top bar */
.topbar-map { display: inline-flex; align-items: center; gap: .35rem; color: var(--on-dark); font-weight: 600; }
.topbar-map svg { width: 14px; height: 14px; flex: none; color: var(--accent-glow); }

/* Service-area groups and neighbourhood list */
.area-group { display: grid; gap: .55rem; }
.area-group h3 { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.area .wrap > div:first-child { gap: 1.1rem; }
.arrow-link { font-weight: 600; color: var(--slate); text-decoration: none; border-bottom: 2px solid var(--accent-glow); padding-bottom: 1px; }
.arrow-link:hover { border-bottom-color: var(--slate); }
.nbhd { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.nbhd li { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: .85rem 1rem; display: grid; gap: .25rem; min-width: 0; }
.nbhd strong { font-family: var(--display); font-size: 1rem; color: var(--text); }
.nbhd span { color: var(--muted); font-size: .93rem; line-height: 1.5; }
