/* =========================================================
   BlackWood Mobile Detailing
   Light, clean, monochrome — matches the black-on-white logo.
   ========================================================= */

:root {
  /* Colour tokens */
  --ink: #111111;          /* primary text, brand black */
  --ink-2: #2a2a2a;
  --muted: #595959;        /* secondary text — 7:1 on white */
  --line: #e6e6e4;
  --bg: #ffffff;
  --surface: #f5f5f3;      /* alt sections */
  --surface-2: #ececea;
  --on-dark: #ffffff;
  --on-dark-muted: #c9c9c9;
  --dark: #111111;
  --dark-2: #1c1c1c;
  --focus: #1f6feb;

  /* Type */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4.4vw, 5rem);

  /* Spacing (8pt) */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --dur: 220ms;
  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 700; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
p { margin: 0 0 var(--s-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); }
.eyebrow-light { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: .01em;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 120ms var(--ease-out);
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 20px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9e9e9; }
.btn-ghost-light { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-solid, .site-header.menu-open { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s-3); }

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: inherit; line-height: 1; }
.brand-mark { display: block; width: 118px; height: 20px; object-fit: contain; object-position: left bottom; margin-bottom: 1px; }
.brand .mark-light { display: none; }
.site-header:not(.is-solid):not(.menu-open) .brand .mark-light { display: block; }
.site-header:not(.is-solid):not(.menu-open) .brand .mark-dark { display: none; }
.brand-name { display: block; font-weight: 700; font-size: 1.625rem; letter-spacing: -0.02em; }
.brand-sub { display: block; font-weight: 600; font-size: .5625rem; letter-spacing: .34em; text-transform: uppercase; margin-top: 4px; padding-left: 2px; }

.nav { margin-left: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: var(--fs-sm); border-radius: 8px; opacity: .92; transition: opacity var(--dur), background-color var(--dur); }
.nav-list a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.nav-list a.is-active { font-weight: 700; opacity: 1; }
.nav-social { display: flex; gap: 2px; margin-left: 4px; }
.nav-social a { padding: 0 10px; }
.btn-header { display: none; }
.site-header:not(.is-solid) .btn-header { background: #fff; color: var(--ink); }
.site-header.is-solid .btn-header { background: var(--ink); color: #fff; }

.menu-toggle { margin-left: auto; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; }
.menu-toggle .icon { width: 26px; height: 26px; grid-area: 1/1; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu { background: #fff; color: var(--ink); border-top: 1px solid var(--line); padding: var(--s-2) 20px var(--s-4); box-shadow: var(--shadow-md); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu li a { display: flex; align-items: center; min-height: 52px; font-size: 1.25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu-cta { display: grid; gap: 12px; margin-top: var(--s-3); }

@media (min-width: 1080px) {
  .nav, .btn-header { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .btn-header { margin-left: var(--s-1); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; z-index: -2; }
.hero-video-toggle { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35); color: #fff; transition: background-color var(--dur); }
.hero-video-toggle:hover { background: rgba(255,255,255,.15); }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle .icon { width: 18px; height: 18px; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.is-paused .icon-play { display: block; }
.hero-video-toggle.is-paused .icon-pause { display: none; }
@media (min-width: 768px) { .hero-video-toggle { right: 32px; bottom: 32px; } }
.hero-scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 50%);
}
.hero-content { padding-top: calc(var(--header-h) + var(--s-6)); padding-bottom: clamp(3rem, 10vh, 7rem); }
.hero h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; max-width: 16ch; margin-bottom: var(--s-3); }
.hero-lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; max-width: 62ch; color: rgba(255,255,255,.9); margin-bottom: var(--s-4); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) {
  .hero-bg { object-position: 50% 45%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 18%, rgba(0,0,0,.72) 40%, rgba(0,0,0,.85) 70%, rgba(0,0,0,.92) 100%); }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3) var(--s-2); padding-block: var(--s-4); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .icon { width: 24px; height: 24px; margin-top: 2px; }
.trust-item strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.trust-item span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: var(--s-5); }
.section-head h2 { margin-bottom: var(--s-2); }
.section-lede { font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.section-dark .section-lede { color: var(--on-dark-muted); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-end; justify-content: space-between; }
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: var(--s-3); align-items: stretch; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1fr 1.08fr 1fr; align-items: center; } }

.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-4) var(--s-3); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.price-card header { text-align: left; padding-bottom: var(--s-3); margin-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.price-card h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: var(--s-2); }
.price { font-size: clamp(3rem, 2.4rem + 2vw, 3.75rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.price .currency { font-size: .5em; vertical-align: .72em; margin-right: 2px; letter-spacing: 0; }
.price .per { font-size: .3em; font-weight: 500; letter-spacing: 0; margin-left: 6px; color: var(--muted); }
.price-note { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.feature-list { display: grid; gap: 10px; margin-bottom: var(--s-4); }
.feature-list li { display: flex; gap: 10px; font-size: var(--fs-sm); line-height: 1.45; }
.feature-list .icon { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.5; }
.price-card .btn { margin-top: auto; }
.feature-group { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; opacity: .7; }

.price-card-featured { background: var(--dark); color: #fff; border-color: var(--dark); padding-block: var(--s-5) var(--s-4); box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.price-card-featured:hover { box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.price-card-featured header { border-color: rgba(255,255,255,.16); }
.price-card-featured .price-note { color: var(--on-dark-muted); }
.price-card-featured .feature-list:last-of-type { margin-bottom: var(--s-4); }
.price-card-featured .feature-list { margin-bottom: var(--s-3); }
.badge { position: absolute; top: -14px; left: var(--s-3); margin: 0; background: #fff; color: var(--ink); border: 1px solid var(--ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

.maintenance {
  margin-top: var(--s-4); display: grid; gap: var(--s-3); align-items: center;
  border: 1.5px solid var(--ink); border-radius: var(--radius); padding: var(--s-4) var(--s-3);
}
.maintenance h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); margin-bottom: var(--s-2); }
.maintenance p:last-child { margin: 0; color: var(--muted); max-width: 60ch; }
.maintenance p strong { color: var(--ink); }
.maintenance .eyebrow { margin-bottom: 10px; }
.maintenance-price { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.maintenance-price .price { margin: 0; }
@media (min-width: 900px) { .maintenance { grid-template-columns: 1fr auto; padding: var(--s-5); } .maintenance-price { flex-direction: column; align-items: flex-end; gap: var(--s-2); } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-3); counter-reset: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: var(--s-4) var(--s-3); border: 1px solid var(--line); }
.step-num { position: absolute; top: var(--s-3); right: var(--s-3); font-weight: 700; font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.step .icon { width: 28px; height: 28px; margin-bottom: var(--s-3); }
.step h3 { margin-bottom: 10px; font-size: var(--fs-lg); }
.step p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: var(--fs-sm); transition: background-color var(--dur), border-color var(--dur), color var(--dur); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1080px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.g-item { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.g-item[hidden] { display: none; }
.g-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-item button:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.g-item button:hover img { transform: scale(1.04); }
.gallery-more { margin-top: var(--s-4); text-align: center; color: var(--muted); }
.gallery-more a { color: var(--ink); font-weight: 600; }

/* Before / After */
.ba-wrap { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
@media (min-width: 768px) { .ba-wrap { grid-template-columns: repeat(2, 1fr); } }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; user-select: none; --pos: 50%; background: var(--surface-2); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; box-shadow: var(--shadow-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6'/%3E%3C/svg%3E"); background-size: 22px; background-position: center; background-repeat: no-repeat; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type=range]:focus-visible + .ba-handle::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.ba-label { position: absolute; top: 12px; padding: 4px 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.65); color: #fff; border-radius: 999px; pointer-events: none; }
.ba-label-before { left: 12px; } .ba-label-after { right: 12px; }
.ba-caption { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: var(--s-6); } }
.about-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.about-copy h2 { margin-bottom: var(--s-3); }
.about-copy > p { color: var(--ink-2); font-size: var(--fs-lg); line-height: 1.6; max-width: 58ch; }
.owners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
.owner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s-2) var(--s-3) 12px; }
.owner-name { font-weight: 700; margin: 0 0 2px; }
.owner-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.owner-phone:hover { color: var(--ink); }
.owner-phone .icon { width: 16px; height: 16px; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; gap: var(--s-5); align-items: start; }
.areas-grid h2 { margin-bottom: var(--s-2); }
.areas-grid .section-lede { margin-bottom: var(--s-4); }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.suburbs { display: flex; flex-wrap: wrap; gap: 10px; }
.suburbs li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; background: #fff; }
.suburbs .suburb-more { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: var(--s-3); }
.reviews-grid:empty { display: none; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-3); display: flex; flex-direction: column; gap: var(--s-2); margin: 0; }
.review blockquote { margin: 0; font-size: var(--fs-base); line-height: 1.6; }
.review figcaption { margin-top: auto; font-weight: 700; font-size: var(--fs-sm); }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); }
.stars { display: flex; gap: 2px; }
.stars .icon { width: 18px; height: 18px; fill: var(--ink); stroke: var(--ink); stroke-width: 1; }

.reviews-empty { background: #fff; border: 1.5px dashed #c8c8c4; border-radius: var(--radius); padding: var(--s-5) var(--s-3); text-align: center; max-width: 760px; margin-inline: auto; }
.reviews-empty .stars { justify-content: center; margin-bottom: var(--s-2); }
.reviews-empty .stars .icon { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.reviews-empty h3 { margin-bottom: 10px; }
.reviews-empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; margin-bottom: var(--s-4); }
.reviews-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.reviews-empty[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.contact-copy h2 { margin-bottom: var(--s-2); }
.contact-list { margin-top: var(--s-4); display: grid; gap: 4px; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); min-width: 80px; }
.contact-actions { display: flex; align-items: center; gap: 8px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; margin-right: 8px; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-email { font-size: var(--fs-base); overflow-wrap: anywhere; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: #fff; transition: background-color var(--dur), border-color var(--dur); }
.icon-btn:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.quote-form { background: var(--dark-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: var(--s-4) var(--s-3); }
@media (min-width: 768px) { .quote-form { padding: var(--s-5) var(--s-4); } }
.quote-form h3 { margin-bottom: 6px; }
.form-hint { font-size: var(--fs-xs); color: var(--on-dark-muted); margin-bottom: var(--s-3); }
.field { margin: 0 0 var(--s-2); border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 var(--s-2); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 6px; padding: 0; }
.req { color: #ff9a9a; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: #fff;
  background: #0b0b0b; border: 1.5px solid #3a3a3a; border-radius: var(--radius-sm);
  transition: border-color var(--dur);
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a8a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5a5a5a; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.field.has-error input { border-color: #ff8a8a; }
.field-error { margin: 6px 0 0; font-size: var(--fs-xs); color: #ffb3b3; min-height: 0; }
.field-error:empty { display: none; }

.seg { display: inline-flex; background: #0b0b0b; border: 1.5px solid #3a3a3a; border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { margin: 0; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: var(--fs-sm); transition: background-color var(--dur), color var(--dur); }
.seg input:checked + span { background: #fff; color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-3); }
.form-actions .btn { flex: 1 1 200px; }
.form-status { margin: var(--s-2) 0 0; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: var(--s-6); }
.footer-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr 1fr; } .footer-brand { grid-column: auto; } }
.tagline { font-weight: 700; font-style: italic; margin: var(--s-2) 0 4px; }
.footer-small { color: var(--muted); font-size: var(--fs-sm); }
.footer-head { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; color: var(--muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--ink); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: var(--s-5); padding-block: var(--s-3); font-size: var(--fs-xs); color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform 280ms var(--ease-out); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.mobile-bar-primary { background: var(--ink); color: #fff; }
@media (min-width: 1080px) { .mobile-bar { display: none; } }
@media (max-width: 1079px) { body { padding-bottom: 76px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 64px 16px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); color: #fff; }
.lb-btn:hover { background: rgba(255,255,255,.15); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
