/* Driven Detailing. Their own colours (from their old site's CSS), one type family.
   Archivo's width axis carries the brand: headings run wide like the DRIVEN wordmark,
   body text sits at normal width so it reads easily. Sentence case throughout. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 850;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --bg: #05070c;
  --bg-2: #080b13;
  --panel: #0a0e17;
  --panel-2: #0e1422;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #e9ecf2;
  --soft: #b8c0ce;
  --dim: #8b93a3;
  --blue: #1a5cff;
  --blue-hi: #3b74ff;
  --blue-text: #6f97ff;
  --gold: #e0a530;
  --r: 14px;
  --r-sm: 10px;
  --gut: 20px;
  --bar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: var(--bar);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: #9db7ff; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 620; font-stretch: 125%; letter-spacing: -0.012em; line-height: 1.08; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.small { font-size: 15px; color: var(--dim); }
.nw { white-space: nowrap; }
em.nw { font-style: normal; }
/* One inline box inside a button, so its words wrap as text instead of as separate flex items. */
.seg i { font-style: normal; }
/* Inline links get a 44px tall tap area without moving the text around them. */
.sec-head p a, .bk-help a, .small a, .qf-pick a, .qf-or a, .qf-small a, .book-phone, .addons li a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gut); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid var(--blue); border-radius: 999px;
  background: var(--blue); color: #fff;
  font: inherit; font-weight: 600; font-size: 16px; font-stretch: 108%;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--blue-hi); border-color: var(--blue-hi); color: #fff; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { border-color: var(--soft); background: rgba(255,255,255,.04); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.wide { width: 100%; }
.wide-only { display: none; }

/* ---- Header -------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(5, 7, 12, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 640; font-stretch: 125%; font-size: 16px; letter-spacing: .005em; }
.brand img { border-radius: 50%; }
/* "Driven Detailing" over a small, spaced-out "MELBOURNE", like the logo. */
.brand-name { display: grid; line-height: 1.05; }
.brand-name small { font-size: 10px; font-weight: 560; font-stretch: 100%; letter-spacing: .34em; text-transform: uppercase; color: var(--soft); margin-top: 3px; }
.nav { display: none; }
.top-act { margin-left: auto; display: flex; gap: 10px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding-bottom: 44px; }
.hero-in { padding: 0; }
.hero-pic { margin: 0; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--panel); }
.hero-pic picture { display: block; height: 100%; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(to bottom, rgba(5,7,12,0), var(--bg)); }
.hero-copy { padding: 0 var(--gut); margin-top: -14px; position: relative; }
.hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.7rem); line-height: 1.02; font-weight: 660; }
.sub { margin-top: 14px; color: var(--soft); font-size: 17px; max-width: 44ch; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--text); text-decoration: none; font-size: 15px; min-height: 44px; }
.rating strong { font-weight: 700; }
.stars svg, .rev-stars { width: 86px; height: 17px; color: var(--gold); display: block; }
.strip { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.strip li + li { border-left: 1px solid var(--line-2); }
.strip a { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 14px; color: var(--text); text-decoration: none; min-height: 64px; }
.strip li:first-child a { padding-left: 0; }
.strip span { font-size: 13px; color: var(--dim); }
.strip b { font-size: 28px; font-weight: 700; font-stretch: 112%; line-height: 1; font-variant-numeric: tabular-nums; }
.strip a:hover b { color: #fff; }
.strip-note { margin-top: 8px; font-size: 13px; color: var(--dim); }
.hero-cta { display: none; }

/* ---- Why strip ----------------------------------------------------------- */
.why { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.why-in { list-style: none; margin: 0 auto; padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.why strong { display: block; font-weight: 620; font-size: 15px; font-stretch: 112%; line-height: 1.25; }
.why span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--dim); }

/* ---- Sections ------------------------------------------------------------ */
.sec { padding: 64px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 26px; }
.sec-head h2, .seb h2, .area h2 { font-size: clamp(1.75rem, 6.6vw, 2.25rem); }
.sec-head p { margin-top: 10px; color: var(--soft); }

/* ---- Price picker -------------------------------------------------------- */
.picker { display: grid; gap: 16px; margin-bottom: 18px; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--soft); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; }
.seg label { flex: 1 1 0; min-width: 0; }
.seg input, .pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 15px; font-weight: 560; line-height: 1.2; color: var(--soft); cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.seg input:checked + span { border-color: var(--blue); background: rgba(26, 92, 255, .14); color: #fff; }
.seg input:focus-visible + span, .pack input:focus-visible ~ .pack-row { outline: 2px solid var(--blue-hi); outline-offset: 2px; }

.packs { display: grid; gap: 10px; }
.pack { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); transition: border-color .15s, background-color .15s; }
.pack.on { border-color: var(--blue); background: linear-gradient(180deg, rgba(26,92,255,.10), rgba(26,92,255,.02) 70%), var(--panel); }
.pack label { display: block; cursor: pointer; padding: 18px 18px 14px; }
.pack-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 14px; border-radius: 8px; }
.pack-name { font-size: 19px; font-weight: 640; font-stretch: 118%; line-height: 1.2; }
.pack-tag { position: absolute; top: -11px; left: 18px; margin: 0; padding: 2px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; font-stretch: 100%; }
.pack-desc { grid-column: 1; font-size: 14.5px; color: var(--dim); }
.pack-price { grid-column: 2; grid-row: 1 / span 2; text-align: right; line-height: 1; white-space: nowrap; }
.pack-price small { display: block; font-size: 12.5px; color: var(--dim); margin-top: 6px; white-space: normal; max-width: 15ch; margin-left: auto; }
.pack-price b { font-size: 30px; font-weight: 720; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.pack details { border-top: 1px solid var(--line); margin: 0 18px; }
.pack summary { list-style: none; cursor: pointer; padding: 12px 0 14px; font-size: 14.5px; color: var(--blue-text); min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
.pack summary::-webkit-details-marker { display: none; }
.pack summary::after, .addons summary::after, .qs summary::after, .terms summary::after { content: ""; width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; margin-left: 12px; }
details[open] > summary::after { transform: rotate(225deg) translateY(-1px); }
.pack ul, .addons ul { list-style: none; margin: 0; padding: 0; }
.pack ul { padding-bottom: 16px; columns: 1; font-size: 15px; color: var(--soft); }
.pack li { padding: 3px 0 3px 20px; position: relative; break-inside: avoid; }
.pack li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 4px; border-left: 1.6px solid var(--blue-text); border-bottom: 1.6px solid var(--blue-text); transform: rotate(-45deg); }

.total { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 18px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line-2); }
.total-name { font-size: 14px; color: var(--soft); }
.total-price { font-size: 14px; color: var(--dim); line-height: 1.1; }
.total-price b { font-size: 21px; font-weight: 720; font-stretch: 112%; color: var(--text); font-variant-numeric: tabular-nums; }
.total { flex-wrap: wrap; }
.total-txt { flex: 1 1 190px; }
.total .btn { flex: 1 1 auto; padding: 0 18px; }
.fee { margin-top: 10px; font-size: 14px; color: var(--dim); }

.addons { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.addons summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 60px; font-weight: 620; font-stretch: 112%; }
.addons summary::-webkit-details-marker { display: none; }
.addons-n { margin-left: auto; font-weight: 400; font-stretch: 100%; font-size: 14px; color: var(--dim); }
.addons-in { display: grid; gap: 8px 40px; padding: 0 18px; }
.addons h3 { font-size: 14px; font-stretch: 100%; font-weight: 600; color: var(--soft); margin: 14px 0 4px; }
.addons li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.addons li b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.addons-note { padding: 14px 18px 18px; font-size: 14px; color: var(--dim); }

/* ---- Before and after ---------------------------------------------------- */
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button { flex: 1 1 0; min-height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--soft); font: inherit; font-size: 15px; font-weight: 560; cursor: pointer; }
.tabs button[aria-selected="true"] { border-color: var(--blue); background: rgba(26,92,255,.14); color: #fff; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--panel); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.5); }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(5,7,12,.55); border: 2px solid #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; }
.ba-knob::before { left: 10px; transform: translateY(-50%) rotate(45deg); }
.ba-knob::after { right: 10px; transform: translateY(-50%) rotate(-135deg); }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(5,7,12,.66); font-size: 13px; font-weight: 600; color: #fff; }
.ba-tag-b { left: 12px; }
.ba-tag-a { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba-range:focus-visible ~ .ba-line .ba-knob, .ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.ba-cap { margin-top: 10px; font-size: 14px; color: var(--dim); }
.more { margin-top: 18px; }
.more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 560; }

/* ---- Reviews ------------------------------------------------------------- */
.rev-grid { display: grid; gap: 12px; }
.rev { margin: 0; padding: 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rev blockquote { margin: 14px 0 0; color: var(--soft); font-size: 16px; }
.rev figcaption { margin-top: auto; padding-top: 16px; font-weight: 620; font-size: 15px; }
.rev figcaption span { font-weight: 400; color: var(--dim); margin-left: 8px; }

/* ---- Meet Seb ------------------------------------------------------------ */
.seb-in { display: grid; gap: 24px; }
.seb-pic { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel); aspect-ratio: 1240 / 624; }
.seb-pic img { width: 100%; height: 100%; object-fit: cover; }
.seb-copy p { margin-top: 14px; color: var(--soft); max-width: 56ch; }

/* ---- Referrals ----------------------------------------------------------- */
.terms summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-text); font-size: 15px; }
.terms summary::-webkit-details-marker { display: none; }
.terms p { font-size: 13.5px; color: var(--dim); line-height: 1.55; max-width: 72ch; padding-bottom: 6px; }
.refer { padding: 22px 20px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.refer h2 { font-size: 21px; }
.refer > p { margin-top: 8px; color: var(--soft); font-size: 16px; max-width: 64ch; }

/* ---- Area and hours ------------------------------------------------------ */
.area-in { display: grid; gap: 30px; }
.area-in > div > p { margin-top: 12px; color: var(--soft); }
.subs { list-style: none; margin: 14px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subs li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--soft); }
.subs li:has(a) { padding: 0; }
.subs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text); text-decoration: none; }
.subs a:hover { color: #fff; }
.hours { margin: 0; border-top: 1px solid var(--line-2); align-self: start; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.hours dt { color: var(--dim); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }

/* ---- FAQ ----------------------------------------------------------------- */
.qs { border-top: 1px solid var(--line-2); }
.qs details { border-bottom: 1px solid var(--line-2); }
.qs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 0; font-weight: 580; font-size: 17px; line-height: 1.35; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { color: var(--blue-text); }
.qs p { padding: 0 0 18px; color: var(--soft); max-width: 68ch; }

/* ---- Booking ------------------------------------------------------------- */
.book { background: linear-gradient(180deg, var(--bg), #07102a 140%); }
.bk-sum { font-size: 19px; font-weight: 640; font-stretch: 112%; line-height: 1.25; }
.bk-help { margin-top: -10px; font-size: 14.5px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 14.5px; font-weight: 600; color: var(--soft); }
.fld em { font-style: normal; font-weight: 400; color: var(--dim); }
.fld input, .fld textarea, .fld select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.26); background: var(--bg); color: var(--text);
  font: inherit; font-size: 17px;
}
.fld textarea { min-height: 96px; resize: vertical; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f97ff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.fld select:invalid { color: #6b7385; }
.fld option { color: #111; }

/* The quote form: one screen, two columns from tablets up. */
.book-in { display: grid; gap: 22px; }
.book-facts { display: none; margin: 0; }
.book-main { min-width: 0; }
.qf { display: grid; gap: 16px; }
.qf-grid { display: grid; gap: 16px; }
.qf-pick { font-size: 14.5px; color: var(--dim); }
.qf-pick a { color: var(--blue-text); }
.qf-foot { display: grid; gap: 12px; }
.qf-or { font-size: 15px; color: var(--dim); text-align: center; }
.qf-or a { color: var(--text); }
.qf-small { font-size: 13.5px; color: var(--dim); }
.qf-small a { color: var(--soft); }
.qf-err { color: #ff8a8a; font-size: 15px; }
.qf .btn:disabled { opacity: .6; cursor: progress; }
.qf-panel { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); }
.qf-panel h3 { font-size: 18px; }
.qf-panel p { color: var(--soft); font-size: 15px; }
.qf-panel pre { margin: 0; padding: 14px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); white-space: pre-wrap; font: inherit; font-size: 14.5px; color: var(--soft); }
.qf-panel-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.qf-sent { padding: 24px; border: 1px solid rgba(26,92,255,.5); border-radius: 18px; background: var(--panel); }
.qf-sent h3 { font-size: 22px; }
.qf-sent p { margin-top: 10px; color: var(--soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fld input::placeholder, .fld textarea::placeholder { color: #6b7385; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(59,116,255,.3); }
.fld [aria-invalid="true"] { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cal-wrap { display: grid; gap: 16px; }
.cal { border-radius: 14px; overflow: hidden; background: #fff; }
.cal iframe { display: block; width: 100%; min-height: 700px; border: 0; border-radius: 14px; }
.cal-help { font-size: 14.5px; color: var(--dim); }

/* ---- Footer -------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--dim); font-size: 15px; }
.foot-in { display: grid; gap: 30px; }
.foot-main { display: grid; gap: 10px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.foot-nav h2 { font-size: 14px; font-stretch: 100%; font-weight: 600; color: var(--soft); letter-spacing: 0; margin-bottom: 4px; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 640; font-stretch: 125%; }
.foot-brand img { border-radius: 50%; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; }
.foot .small { font-size: 13.5px; }

/* ---- Phone bar ----------------------------------------------------------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5,7,12,.94); border-top: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 52px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.bar svg { width: 18px; height: 18px; fill: currentColor; }
.bar .bar-book { background: var(--blue); border-color: var(--blue); color: #fff; font-stretch: 108%; font-size: 16px; }
@media (max-width: 599px) { :root { --bar: 78px; } }

/* ---- Wider screens ------------------------------------------------------- */
@media (min-width: 600px) {
  :root { --gut: 32px; }
  .hero-cta { display: flex; gap: 12px; margin-top: 26px; }
  .hero-pic { aspect-ratio: 16 / 9; }
  .why-in { grid-template-columns: repeat(4, 1fr); }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .addons-in { grid-template-columns: 1fr 1fr; }
  .qf-grid { grid-template-columns: 1fr 1fr; }
  .qf-wide { grid-column: 1 / -1; }
  .qf-foot { grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
  .qf-or { text-align: left; }
  .pack ul { columns: 2; column-gap: 28px; }
  .bar { display: none; }
}

@media (min-width: 960px) {
  body { font-size: 18px; }
  .wide-only { display: inline; }
  .phone-only { display: none; }
  .book-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .book .sec-head { display: block; margin-bottom: 0; }
  .book .sec-head p { text-align: left; margin-top: 12px; max-width: 40ch; }
  .book-facts { display: grid; gap: 20px; margin-top: 32px; }
  .book-facts dt { color: var(--dim); font-size: 15px; }
  .book-facts dd { margin: 4px 0 0; }
  .book-phone { font-size: 22px; font-weight: 640; font-stretch: 112%; color: var(--text); text-decoration: none; }
  .book-main { padding: 36px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); }
  .book-main .fld input, .book-main .fld textarea, .book-main .fld select { background-color: var(--bg); }
  .top-act .btn.wide-only { display: inline-flex; }
  .top-in { height: 72px; }
  html { scroll-padding-top: 84px; }
  .nav { display: flex; gap: 4px; margin-left: 24px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--soft); text-decoration: none; font-size: 15px; border-radius: 8px; }
  .nav a:hover { color: #fff; background: rgba(255,255,255,.05); }

  .hero { padding: 56px 0 84px; }
  .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; padding: 0 var(--gut); }
  .hero-pic { order: 2; border-radius: 18px; aspect-ratio: 3 / 2; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 120px rgba(26,92,255,.18); }
  .hero-pic::after { display: none; }
  .hero-pic img { object-position: 50% 50%; }
  .hero-copy { padding: 0; margin: 0; }
  .hero h1 { font-size: clamp(2.8rem, 0.9rem + 3vw, 3.9rem); }
  .sub { font-size: 19px; margin-top: 20px; }
  .strip { margin-top: 26px; }
  .strip a { padding: 16px 0 16px 20px; }
  .strip b { font-size: 36px; }
  .strip span { font-size: 14px; }

  .sec { padding: 104px 0; }
  .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
  .sec-head p { margin: 0; max-width: 40ch; text-align: right; }
  .sec-head h2, .seb h2, .area h2 { font-size: clamp(2.3rem, 1rem + 2.2vw, 3rem); }

  .picker { max-width: 640px; margin-bottom: 22px; }
  .packs { grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
  .packs .pack:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pack label { padding: 24px 22px 18px; }
  .pack-tag { left: 22px; }
  .pack-row { grid-template-columns: 1fr; }
  .pack-price { grid-column: 1; grid-row: auto; text-align: left; margin-top: 14px; }
  .pack-price small { margin-left: 0; max-width: none; }
  .pack details { margin: 0 22px; }
  .pack ul { columns: 1; }
  .total { padding: 16px 16px 16px 24px; }
  .total .btn { flex: 0 0 auto; }
  .total-name, .total-price { font-size: 15px; }
  .total-txt { display: flex; align-items: baseline; gap: 18px; }
  .total-price b { font-size: 30px; }
  .addons summary { padding: 0 24px; }
  .addons-in { padding: 0 24px; }
  .addons-note { padding: 16px 24px 22px; }

  .work .wrap { max-width: 960px; }
  .ba { aspect-ratio: 16 / 10; }
  .tabs { max-width: 420px; }

  .rev-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .rev { padding: 26px; }

  .seb-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

  .refer { padding: 28px 32px 16px; }

  .area-in { grid-template-columns: 3fr 2fr; gap: 80px; }

  .faq-in { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: start; }
  .faq .sec-head { display: block; position: sticky; top: 110px; }
  .faq .sec-head p { text-align: left; margin-top: 12px; }


  .foot-in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 40px 80px; }
  .foot-nav { gap: 64px; }
}

/* ---- Inner pages (built by build.mjs) ------------------------------- */
.crumbs { font-size: 14px; color: var(--dim); margin-bottom: 14px; }
.crumbs a { color: var(--soft); }
.page-hero { padding: 30px 0 52px; border-bottom: 1px solid var(--line); }
.page-hero-in { display: grid; gap: 24px; }
.page-hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1.04; font-weight: 660; }
.page-hero .sub { max-width: 56ch; }
.quick { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--panel); color: var(--soft); font-size: 16px; max-width: 64ch; }
.quick strong { color: var(--text); }
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.page-pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.page-pic img { width: 100%; height: 100%; object-fit: cover; }
/* Photo grid on a service page: two across on a phone, four on a wider screen. */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--panel); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.prose { display: grid; gap: 14px; max-width: 70ch; }
.prose + .prose { margin-top: 44px; }
.prose h2 { font-size: clamp(1.45rem, 5.6vw, 1.9rem); }
.prose h3 { font-size: 17px; font-stretch: 112%; margin-top: 8px; }
.prose p, .prose li { color: var(--soft); }
.prose strong { color: var(--text); font-weight: 620; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.ptable { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); }
.ptable table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable thead th { font-size: 13px; font-weight: 600; color: var(--dim); }
.ptable td:not(:first-child), .ptable th:not(:first-child) { text-align: right; }
.ptable td:not(:first-child) { white-space: nowrap; }
.ptable td:first-child { color: var(--text); font-weight: 600; }
.ptable td small { display: block; font-weight: 400; color: var(--dim); font-size: 13px; }
.ptable-note { font-size: 14px; color: var(--dim); }
.page-revs { display: grid; gap: 12px; }
.cta-band { margin-top: 8px; padding: 26px 22px; border-radius: 18px; border: 1px solid rgba(26,92,255,.5); background: radial-gradient(120% 90% at 100% 0%, rgba(26,92,255,.16), rgba(26,92,255,0) 60%), var(--panel); display: grid; gap: 14px; }
.cta-band h2 { font-size: clamp(1.45rem, 5.6vw, 1.9rem); }
.cta-band p { color: var(--soft); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn { flex: 1 1 160px; }
.legal h2 { margin-top: 10px; }
.legal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; color: var(--soft); }
.legal dt { color: var(--dim); }
.legal dd { margin: 0; }

@media (min-width: 600px) {
  .page-revs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .page-hero { padding: 48px 0 80px; }
  .page-hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .page-hero h1 { font-size: clamp(2.6rem, 0.9rem + 2.6vw, 3.5rem); }
  .page-pic { border-radius: 18px; box-shadow: 0 40px 90px rgba(0,0,0,.55); }
  .cta-band { padding: 36px 40px; grid-template-columns: 1fr auto; align-items: center; }
  .cta-band .btn { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
