/* WARSZTAT — strona główna (prototyp statyczny) */
/* Fonts self-hosted (fonts/): Tanker + Supreme (ITF FFL, Fontshare), Azeret Mono (OFL, latin + latin-ext). */
@font-face { font-family: "Tanker"; src: url("fonts/tanker-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("fonts/azeret-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Azeret Mono"; src: url("fonts/azeret-mono-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --ink: #202120;
  --muted: #60615D;
  --line: #DDDDD7;
  --accent: #FF650A;
  --accent-ink: #B84500;      /* orange text on light bg (4.9:1) */
  --dark: #242625;
  --dark-2: #2E302F;
  --on-dark: #F2F1EC;
  --on-dark-muted: #B9BAB4;
  --error: #B42318;

  --display: "Tanker", "Arial Narrow", Impact, sans-serif;
  --font: "Supreme", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad: clamp(20px, 4.4vw, 64px);
  --maxw: 1440px;
  --gap: clamp(20px, 2.2vw, 32px);
  /* three spacing steps instead of one: sections get the room their content needs */
  --sp-s: clamp(48px, 5vw, 72px);
  --sp-m: clamp(56px, 7vw, 100px);
  --sp-l: clamp(64px, 8.8vw, 128px);
  --r-ctl: 2px;     /* buttons, fields, chips: machined edge */
  --r-panel: 6px;   /* the two real panels: form and scanner card */
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sprite { position: absolute; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-ctl); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
/* One grid for the whole page: 12 columns inside .wrap, one gutter (--gap).
   Every two-column section shares one rail: col-l = 1–5 (eyebrow + heading), col-r = 6–12.
   Below 1024px every grid collapses to one column on the --pad side margin. */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--row-gap, 0px); }
.col-l { grid-column: 1 / 6; }
.col-r { grid-column: 6 / 13; }
.col-4 { grid-column: span 4; }
@media (max-width: 1023px) {
  .g12:not(.steps, .rules__list) { grid-template-columns: minmax(0, 1fr); --row-gap: clamp(28px, 5vw, 48px); }
  .g12 > .col-l, .g12 > .col-r { grid-column: 1 / -1; }
}
.section { padding-block: var(--sp-m); border-top: 1px solid var(--line); }

/* section label = drawing-sheet index: number in accent, name in ink, no wide tracking */
.eyebrow {
  display: flex; align-items: baseline; gap: .5em;
  font: 500 12.5px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 22px;
}
.eyebrow__n { color: var(--accent-ink); }
.eyebrow__sep { color: #A9AAA3; }
.h2, .hero__title, .brand__name { font-family: var(--display); font-weight: 400; font-synthesis: none; letter-spacing: 0; }
.h2 { font-size: clamp(36px, 4.1vw, 60px); line-height: .94; text-wrap: balance; }
.caption { font: 400 13px/1.4 var(--font); color: var(--muted); }
.ico { width: 15px; height: 15px; flex: none; transition: transform .2s var(--ease); }
.ph { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; color: var(--muted); }
.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-ctl); border: 1.5px solid transparent;
  font-weight: 650; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover .ico, .btn:focus-visible .ico { transform: translateX(3px); }
.map .btn:hover .ico, .map .btn:focus-visible .ico { transform: translate(2px, -2px); }
.btn--primary { background: var(--accent); color: #171817; }
.btn--primary:hover { background: #FF7A2B; }
.btn--primary:active { background: #EC5700; }
.btn--outline { border-color: var(--accent); color: var(--ink); background: transparent; }
.btn--outline .ico { color: var(--accent-ink); }
.btn--outline:hover { background: #FFF0E6; }
.btn--text { padding-inline: 2px; min-height: 48px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.btn--text:hover { color: var(--accent-ink); }
.btn--block { width: 100%; }
.link-u { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link-u:hover { color: var(--ink); }

/* ---------- header ---------- */
.header-space { height: var(--header-h); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(245, 244, 240, 0); border-bottom: 1px solid transparent;
  transition: height .2s var(--ease), background-color .2s, border-color .2s;
}
.site-header.is-compact { height: 64px; background: var(--bg); border-bottom-color: var(--line); }
.header-bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand__mark { width: 30px; height: 30px; fill: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 25px; line-height: .85; letter-spacing: .03em; }
.brand__city { font: 500 10px/1 var(--mono); letter-spacing: .12em; color: var(--muted); margin-top: 5px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 550; font-size: 15.5px; text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav__list a:hover { text-decoration-line: underline; text-decoration-color: var(--accent); }
.nav__toggle { display: none; }
.header-cta { min-height: 46px; padding-inline: 20px; margin-left: clamp(8px, 2vw, 28px); }
.header-cta__short { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header.is-compact { height: 58px; }
  .header-bar { gap: 10px; }
  .brand__name { font-size: 22px; }
  .brand__mark { width: 26px; height: 26px; }
  .nav { order: 3; margin-left: 0; }
  .header-cta { margin-left: auto; min-height: 44px; padding: 10px 14px; font-size: 15px; }
  .header-cta__long { display: none; }
  .header-cta__short { display: inline; }
  .js .nav__toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 10px;
    border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); font-weight: 650; font-size: 15px;
  }
  .nav__toggle-lines, .nav__toggle-lines::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
  .nav__toggle-lines::before { content: ""; position: absolute; top: 5px; }
  .nav__toggle-lines { transform: translateY(-2.5px); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-lines { transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { transform: translateY(-5px) rotate(-90deg); }
  .js .nav__list {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 64px); z-index: 49;
    flex-direction: column; gap: 0; padding: 8px var(--pad) 20px;
    background: var(--bg); border-bottom: 1px solid var(--ink);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .js .nav__list.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .js .nav__list a { font-size: 19px; min-height: 52px; width: 100%; border-bottom: 1px solid var(--line); }
  .js .nav__list li:last-child a { border-bottom: 0; }
  html:not(.js) .header-bar { flex-wrap: wrap; height: auto; padding-block: 8px; }
  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .header-space { height: auto; }
  html:not(.js) .nav { order: 3; width: 100%; }
  html:not(.js) .nav__list { flex-wrap: wrap; gap: 4px 18px; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 36px); overflow: clip; }
.hero__grid { align-items: center; }
.hero__copy { position: relative; z-index: 2; padding-bottom: 40px; animation: rise .6s var(--ease) both; }
.hero__tag { font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--ink); margin-bottom: 20px; }
.hero__title { font-size: clamp(54px, 6.2vw, 92px); line-height: .9; margin: 0 0 28px; }
.hero__lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--muted); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 34px; }
.hero__visual { position: relative; margin-right: calc(-1 * var(--pad) + 8px); animation: rise .65s .08s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.scan { position: relative; container-type: inline-size; }
.scan__stage { position: relative; aspect-ratio: 1880 / 820; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .45s var(--ease); touch-action: pan-y; }
.scan__stage img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.scan {
  --lx: 57.6cqw; --ly: 27cqw; --lr: 15cqw;  /* rest: front wheel/brake (percent of width; stage height = 43.6cqw) */
}
.scan__xray {
  -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 calc(var(--lr) - 7px), rgba(0,0,0,.6) calc(var(--lr) - 2.5px), transparent var(--lr));
          mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 calc(var(--lr) - 7px), rgba(0,0,0,.6) calc(var(--lr) - 2.5px), transparent var(--lr));
}
.lens {
  position: absolute; left: 0; top: 0; width: calc(var(--lr) * 2); height: calc(var(--lr) * 2); border-radius: 50%;
  transform: translate3d(calc(var(--lx) - var(--lr)), calc(var(--ly) - var(--lr)), 0);
  border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(32,33,32,.4);
  pointer-events: none;
}
.lens__tick { position: absolute; background: var(--accent); }
.lens__tick--n, .lens__tick--s { left: 50%; width: 1.5px; height: 10px; margin-left: -.75px; }
.lens__tick--e, .lens__tick--w { top: 50%; height: 1.5px; width: 10px; margin-top: -.75px; }
.lens__tick--n { top: -5px; } .lens__tick--s { bottom: -5px; } .lens__tick--e { right: -5px; } .lens__tick--w { left: -5px; }

/* hotspots */
.hotspots { position: absolute; inset: 0; }
.hs {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 0; padding: 0; background: none; border-radius: 50%; color: var(--ink);
}
.hs__dot { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(32,33,32,.45); transition: transform .2s var(--ease), box-shadow .2s; }
.hs:hover .hs__dot, .hs[aria-expanded="true"] .hs__dot { transform: scale(1.2); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.hs__label {
  position: absolute; left: 50%; top: 50%; white-space: nowrap; font-weight: 650; font-size: 15px;
  translate: calc(cos(var(--ang)) * var(--len)) calc(sin(var(--ang)) * var(--len));
  transform: translate(0, -100%); padding: 2px 5px 4px; border-bottom: 1.5px solid var(--accent);
  background: var(--bg);
}
.hs__label::before { /* leader line from the end of the underline back to the dot */
  content: ""; position: absolute; height: 1.2px; background: var(--accent); width: var(--len); left: 0; top: 100%;
  transform-origin: 0 50%; transform: rotate(calc(var(--ang) + 180deg));
}
.hs--l .hs__label { transform: translate(-100%, -100%); }
.hs--l .hs__label::before { left: 100%; }
.hs:focus-visible { outline: none; }
.hs:focus-visible .hs__dot { outline: 2px solid var(--ink); outline-offset: 5px; }
.hs:focus-visible .hs__label { background: var(--surface); }

.scan-panel {
  position: absolute; left: 2%; bottom: 2%; z-index: 3; width: min(310px, 42%);
  background: var(--surface); border-radius: var(--r-panel); padding: 18px 20px 12px; border: 1px solid #C9C9C2;
}
.scan-panel:not([hidden]) { animation: panel-in .24s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.scan-panel__kicker { font: 500 12.5px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--accent-ink); }
.scan-panel__text { font-weight: 600; font-size: 17px; line-height: 1.35; margin: 8px 0 4px; }
.scan-panel__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.scan-panel__close { border: 0; background: none; padding: 0 2px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.scan-panel__close:hover { color: var(--ink); }

.scan-hint { margin: 6px 0 0 6%; font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--muted); }
.hint-touch { display: none; }
@media (hover: none) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
.scan-chips { display: none; }

@media (max-width: 1023px) {
  .hero__grid { --row-gap: 0px; }
  .hero__copy { padding-bottom: 8px; }
  .hero__visual { margin: 8px calc(-1 * var(--pad)) 0; }
  .hero__lead { max-width: 34ch; }
  .scan-hint { margin-left: var(--pad); }
}
@media (max-width: 767px), (hover: none) {
  .hs__label { display: none; }
  .scan-panel { position: relative; left: auto; bottom: auto; width: auto; margin: 14px var(--pad) 0; }
  .scan-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px var(--pad) 0; }
  .scan-hint { text-align: center; margin: 4px var(--pad) 0; }
  .hero__actions { gap: 12px 20px; }
  .hero__actions .btn--primary { padding-inline: 18px; }
  .chip {
    min-height: 46px; padding: 8px 6px; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--surface);
    font-weight: 650; font-size: 14px; transition: border-color .15s, background-color .15s;
  }
  .chip[aria-pressed="true"] { border-color: var(--accent); background: #FFF1E7; box-shadow: inset 0 -3px 0 var(--accent); }
}
@media (max-width: 479px) {
  .scan-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scan { --lr: 17cqw; }
}

/* ---------- rules bar ---------- */
.rules { border-top: 1px solid var(--line); }
.rules__list li { display: flex; align-items: center; gap: 16px; padding: 26px 0; font-weight: 600; font-size: 17px; }
.rules__list li { position: relative; }
.rules__list li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gap) / -2); border-left: 1px solid var(--line); }
.rules__icon { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: miter; stroke-linecap: square; flex: none; }
@media (max-width: 767px) {
  .rules__list { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .rules__list li { padding: 14px 0; }
  .rules__list li + li::before { display: none; }
  .rules__list > .col-4 { grid-column: 1 / -1; }
  .rules__list li + li { border-top: 1px solid var(--line); }
}

/* ---------- process / brake ---------- */
.process { overflow: clip; padding-top: var(--sp-l); }
.process__top { align-items: center; }
.process__lead { color: var(--muted); max-width: 36ch; margin-top: 22px; }
.brake { margin-right: calc(-1 * var(--pad) + 8px); }
.brake__stage { position: relative; aspect-ratio: 2480 / 880; }
.brake__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.brake__layer:not(.brake__shadow) {
  --k: calc(1 - var(--p));
  transform: translate3d(calc(var(--dx) * var(--k)), calc(var(--dx) * var(--k) * .11), 0);
  will-change: transform;
}
.brake__wheel { --dx: 8.4%; }
.brake__disc { --dx: 3.4%; }
.brake__caliper { --dx: -1.6%; }
.brake__hub { --dx: -10%; }
.brake .caption { text-align: right; margin-top: -8px; padding-right: 12px; }
.steps { margin-top: clamp(28px, 4vw, 48px); }
.step { position: relative; display: flex; align-items: baseline; gap: 14px; padding-block: 6px; }
.step + .step::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gap) / -2); border-left: 1px solid var(--line); }
.step__num { flex: none; min-width: 2.2em; font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.step__title { font-weight: 700; font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.step p { color: var(--muted); max-width: 26ch; }
@media (max-width: 1023px) {
  .process__top { --row-gap: 0px; }
  .brake { margin: 8px calc(-1 * var(--pad)) 0; }
}
@media (max-width: 767px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 18px 0; }
  .step + .step::before { display: none; }
  .steps > .col-4 { grid-column: 1 / -1; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* ---------- services ---------- */
.services__grid { align-items: start; }
.profile { margin-top: clamp(24px, 3vw, 44px); }
.profile__svg { width: 100%; height: auto; overflow: visible; }
.pf-base { fill: none; stroke: #85867F; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.pf-base .pf-body { fill: rgba(255,255,255,.55); stroke: #6E6F6A; stroke-width: 1.6; }
.pf-base .pf-thin { stroke: #A2A39C; stroke-width: 1.15; }
.pf-base .pf-ground { stroke: var(--line); stroke-width: 1.4; }
.hl { fill: rgba(255,101,10,.16); stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; opacity: 0; transition: opacity .25s var(--ease); }
.hl .hl-thick { fill: none; stroke-width: 6; }
.hl .hl-dash { fill: none; stroke-dasharray: 4 5; stroke-width: 1.4; }
.hl .hl-dot, .hl .hl-fill { fill: var(--accent); stroke: none; }
.profile__svg[data-active="diagnostyka"] .hl--diagnostyka,
.profile__svg[data-active="hamulce"] .hl--hamulce,
.profile__svg[data-active="zawieszenie"] .hl--zawieszenie,
.profile__svg[data-active="opony"] .hl--opony,
.profile__svg[data-active="serwis"] .hl--serwis { opacity: 1; }
.services__note { margin-top: 18px; }

.svc { border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); position: relative; }
.svc__item.is-open::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1.5px; background: var(--accent); }
.svc__h { font: inherit; }
.svc__btn {
  width: 100%; display: grid; grid-template-columns: 1fr 24px; align-items: center; text-align: left;
  min-height: 70px; padding: 14px 0; border: 0; background: none; color: var(--ink);
}
.svc__name { font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); }
.svc__icon { width: 20px; height: 20px; color: var(--accent-ink); justify-self: end; transition: transform .22s var(--ease); }
.svc__btn[aria-expanded="true"] .svc__icon { transform: rotate(180deg); }
.svc__btn:hover .svc__name { color: var(--accent-ink); }
.acc-panel { display: grid; grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; min-height: 0; }
.svc .acc-inner p { color: var(--muted); max-width: 46ch; }
.svc .acc-inner .link-u { margin: 2px 0 12px; }
.js .acc-panel { transition: grid-template-rows .23s var(--ease), visibility 0s .23s; }
.js .acc-panel.is-closed { grid-template-rows: 0fr; visibility: hidden; }
.js .acc-panel:not(.is-closed) { transition: grid-template-rows .23s var(--ease); }
@media (max-width: 1023px) {
  .profile { max-width: 560px; }
}

/* ---------- about ---------- */
.about { padding-block: var(--sp-l); }
.about__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #E4E2DC; }
.about__photo .caption { margin-top: 10px; }
.about__grid { align-items: center; }
.about__text { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); margin-top: 24px; max-width: 30ch; }
@media (max-width: 1023px) { .about__text { max-width: 44ch; } }

/* ---------- reviews ---------- */
.reviews { padding-block: var(--sp-s); }
.reviews__grid { align-items: end; }
.reviews__list { border-top: 1px dashed #BDBDB6; }
.review-slot { padding: 20px 0 18px; border-bottom: 1px dashed #BDBDB6; }
.review-slot__text { font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.review-slot__src { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- book (dark) ---------- */
.book { position: relative; background: var(--dark); color: var(--on-dark); padding-block: clamp(56px, 7vw, 104px); overflow: clip; isolation: isolate; }
.book__bg { position: absolute; inset: 0 auto 0 0; width: min(62%, 1100px); z-index: -1; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; opacity: .95; }
.book__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,38,37,.5), var(--dark)); } /* scrim for the copy, not decoration */
.book__grid { align-items: center; }
.book .eyebrow { color: var(--accent); }
.book__title { color: #fff; font-size: clamp(36px, 3.9vw, 56px); } /* two lines on the 5-column rail */
.book__lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--on-dark); margin-top: 26px; max-width: 26ch; }
.book__alt { margin-top: 22px; color: var(--on-dark-muted); font-size: 16px; }
.book__alt .tel { color: #fff; font-weight: 650; text-underline-offset: 4px; }

.form {
  background: var(--surface); color: var(--ink); border-radius: var(--r-panel); padding: clamp(22px, 2.4vw, 34px);
}
.label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); }
.req { color: var(--accent-ink); }
.topics { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.topics legend { padding: 0; }
.topics__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.topic { position: relative; display: block; }
.topic input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.topic span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 10px; text-align: center;
  border: 1.5px solid var(--line); border-radius: var(--r-ctl); font-weight: 600; font-size: 14px; line-height: 1.15; background: #FBFBF9;
  transition: border-color .15s, background-color .15s, color .15s;
}
.topic__check { width: 0; height: 14px; fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: width .15s; flex: none; }
.topic input:hover + span { border-color: #BDBDB6; }
.topic input:checked + span { border-color: var(--accent); background: #FFF1E7; color: #7A2E00; }
.topic input:checked + span .topic__check { width: 14px; }
.topic input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { margin-bottom: 14px; min-width: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input, .select select {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-ctl);
  border: 1.5px solid #D2D2CB; background: #FBFBF9; font-size: 16px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.input--area { min-height: 96px; resize: vertical; line-height: 1.45; }
.input:hover, .select select:hover { border-color: #B5B5AE; }
.input:focus, .select select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(255,101,10,.35); }
.input[aria-invalid="true"] { border-color: var(--error); background: #FFF7F6; }
.field__error { margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--error); font-weight: 600; }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; }
.select__chev { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; color: var(--muted); }
.field--service .select select { border-color: var(--accent); background: #FFF6F0; }
.form .btn--primary { margin-top: 6px; min-height: 54px; font-size: 17px; font-weight: 700; }
.form .btn--primary[aria-disabled="true"] { opacity: .7; cursor: progress; }
.form__confirm { text-align: center; font-weight: 650; font-size: 15px; margin-top: 12px; }
.form__status:empty { display: none; }
.form__status { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-ctl); font-size: 15px; line-height: 1.45; background: #F3F2EE; border-left: 3px solid var(--accent); }
.form__status.is-error { background: #FFF5F4; border-left-color: var(--error); }
.form__status strong { display: block; margin-bottom: 2px; }
.form__note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }
.form__note a { color: var(--ink); text-underline-offset: 3px; }
.form__demo { display: block; margin-top: 4px; }
@media (max-width: 1023px) {
  .book__bg { width: 100%; height: 520px; bottom: auto; opacity: .8; }
  .book__bg::after { background: linear-gradient(180deg, rgba(36,38,37,.2), var(--dark) 92%); }
}
@media (max-width: 599px) {
  .topics__row { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- faq ---------- */
.faq__grid { align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); position: relative; }
.faq__item.is-open::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1.5px; background: var(--accent); }
.faq__h { font: inherit; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  min-height: 72px; padding: 16px 0; border: 0; background: none; font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink);
}
.faq__btn:hover { color: var(--accent-ink); }
.faq__chev { width: 20px; height: 20px; flex: none; color: var(--accent-ink); transition: transform .23s var(--ease); }
.faq__btn[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq .acc-inner p { color: var(--muted); padding-bottom: 22px; max-width: 62ch; }

/* ---------- contact ---------- */
.contact__grid { align-items: start; }
.contact { padding-bottom: var(--sp-l); }
.contact__list { margin: 36px 0 0; border-top: 1px solid var(--ink); }
.contact__row { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: baseline; gap: 16px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact__row dt { font: 500 12.5px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.contact__row dd { margin: 0; color: var(--muted); padding-top: 8px; }
.contact__row dd.contact__city { color: var(--ink); font-weight: 650; font-size: 19px; }
.contact__row .tel { color: var(--ink); text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; margin-top: -10px; }
.map__svg { width: 100%; height: auto; }
.map__label { font: 650 22px var(--font); fill: var(--ink); }
.map__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
@media (max-width: 1023px) { .contact__map { margin-top: 12px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-inline: auto; }
.footer__bar { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-block: 36px 22px; }
.footer__links { display: flex; gap: 32px; margin-left: auto; }
.footer__links a { font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__meta { font-size: 13px; color: var(--muted); }
.footer__privacy { padding-bottom: 40px; }
.footer__privacy p { font-size: 13px; color: var(--muted); max-width: 90ch; border-top: 1px solid var(--line); padding-top: 18px; }
.footer__privacy:target p { color: var(--ink); }
@media (max-width: 767px) { .footer__links { margin-left: 0; } .footer__bar { gap: 12px 28px; } .footer__meta { width: 100%; } }

/* ---------- mobile dock ---------- */
.dock { display: none; }
@media (max-width: 767px) {
  .dock:not([hidden]) {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--r-panel);
    transition: transform .25s var(--ease), opacity .25s;
  }
  .dock.is-away { transform: translateY(130%); opacity: 0; pointer-events: none; }
  .dock__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: var(--r-ctl); font-weight: 650; text-decoration: none; border: 1.5px solid var(--line); background: var(--surface); }
  .dock__btn--primary { background: var(--accent); border-color: var(--accent); color: #171817; }
  .footer { padding-bottom: 84px; }
}

/* ---------- reveal (only elements that start below the fold; see main.js) ---------- */
.reveal.pending { opacity: 0; transform: translateY(12px); }
.reveal.shown { transition: opacity .42s var(--ease), transform .42s var(--ease); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .brake__layer:not(.brake__shadow) { transform: none !important; }
  .scan__stage { transform: none !important; }
}
.acc-init .acc-panel { transition: none !important; }
