/* WARSZTAT — strona główna (prototyp statyczny) */
: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;

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad: clamp(20px, 4.4vw, 64px);
  --maxw: 1440px;
  --gap: clamp(20px, 2.2vw, 32px);
  --section: clamp(56px, 7.4vw, 112px);
  --radius: 8px;
  --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); font-feature-settings: "ss01";
  -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: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.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(--section); border-top: 1px solid var(--line); }

.eyebrow {
  font: 500 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--accent { color: var(--accent); }
.h2 { font-weight: 800; font-size: clamp(31px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.035em; }
.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: 6px; border: 1.5px solid transparent;
  font-weight: 700; 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, .link-arrow:hover .ico, .link-arrow: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: 4px; border-radius: 2px; min-height: 48px; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 12px) / 100% 1.5px no-repeat; }
.btn--text:hover { color: var(--accent-ink); }
.btn--block { width: 100%; }
.btn--block:has(.ico)::before { content: ""; width: 15px; flex: none; } /* mirrors the icon so the label sits on the centre */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-ink); text-decoration: none; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 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-weight: 800; font-size: 20px; letter-spacing: .16em; }
.brand__city { font: 500 9.5px/1 var(--mono); letter-spacing: .38em; 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: 600; font-size: 15px; text-decoration: none; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }
.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: 17px; }
  .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: 6px; background: var(--surface); font-weight: 700; 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(--line); box-shadow: 0 18px 30px -18px rgba(0,0,0,.18);
    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__title {
  font-weight: 800; font-size: clamp(44px, 6.3vw, 100px); line-height: .98; letter-spacing: -.045em;
  margin: 6px 0 26px;
}
.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: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(32,33,32,.16), 0 12px 40px -12px rgba(32,33,32,.35), inset 0 0 22px rgba(255,255,255,.35);
  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: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,101,10,.22), 0 0 0 1.5px #fff inset; transition: transform .2s var(--ease), box-shadow .2s; }
.hs:hover .hs__dot, .hs[aria-expanded="true"] .hs__dot { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(255,101,10,.25), 0 0 0 1.5px #fff inset; }
.hs__label {
  position: absolute; left: 50%; top: 50%; white-space: nowrap; font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  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: rgba(245,244,240,.92); border-radius: 3px 3px 0 0;
}
.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: rgba(255,255,255,.75); }

.scan-panel {
  position: absolute; left: 2%; bottom: 2%; z-index: 3; width: min(310px, 42%);
  background: var(--surface); border-radius: var(--radius); padding: 18px 20px 12px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(32,33,32,.35);
}
.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 12px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.scan-panel__text { font-weight: 700; font-size: 18px; line-height: 1.3; margin: 8px 0 6px; letter-spacing: -.01em; }
.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 { display: flex; align-items: center; gap: 12px; margin: 6px 0 0 6%; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scan-hint__line { width: 28px; height: 1.5px; background: var(--accent); }
.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 { justify-content: 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: 6px; border: 1.5px solid var(--line); background: var(--surface);
    font-weight: 700; 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; justify-content: center; gap: 16px; padding: 30px 16px; font-weight: 500; 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: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; flex: none; }
@media (max-width: 767px) {
  .rules__list { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .rules__list li { justify-content: flex-start; 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; }
.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; gap: 22px; 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: 1.45em; font-variant-numeric: tabular-nums; font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--accent-ink); letter-spacing: -.02em; }
.step__title { font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin: 2px 0 10px; }
.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: 64px 1fr 24px; align-items: center; text-align: left;
  min-height: 74px; padding: 14px 0; border: 0; background: none; color: var(--ink);
}
.svc__num { font: 500 13px/1 var(--mono); letter-spacing: .12em; color: var(--accent-ink); }
.svc__name { font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; }
.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(-90deg); }
.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 { padding-left: 64px; }
.svc .acc-inner p { color: var(--muted); max-width: 46ch; }
.svc .acc-inner .link-arrow { margin: 4px 0 14px; }
.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; }
}
@media (max-width: 479px) {
  .svc__btn { grid-template-columns: 44px 1fr 24px; }
  .svc .acc-inner { padding-left: 44px; }
}

/* ---------- about ---------- */
.about__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; 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__grid { align-items: center; }
.reviews__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.review-slot {
  display: flex; align-items: center; gap: 20px; min-height: 150px; padding: 28px 32px;
  border: 1px dashed #CFCFC8; border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.35);
}
.review-slot__icon { width: 34px; height: 34px; flex: none; fill: none; stroke: #8E8F89; stroke-width: 1.5; stroke-linejoin: round; }
@media (max-width: 599px) { .reviews__list { grid-template-columns: 1fr; } .review-slot { min-height: 96px; padding: 20px; } }

/* ---------- 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,.55), rgba(36,38,37,0) 40%, rgba(36,38,37,0) 70%, var(--dark)); }
.book__grid { align-items: center; }
.book .eyebrow { color: var(--accent); }
.book__title { color: #fff; font-size: clamp(31px, 3.3vw, 48px); } /* fits the 5-column copy rail in two lines */
.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: 700; text-underline-offset: 4px; }

.form {
  background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 34px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.label { display: block; font-weight: 700; 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: 999px; 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: 6px;
  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 { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--error); font-weight: 600; }
.field__error::before { content: "!"; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.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; }
.form .btn--primary[aria-disabled="true"] { opacity: .7; cursor: progress; }
.form__confirm { text-align: center; font-weight: 700; font-size: 15px; margin-top: 12px; }
.form__status:empty { display: none; }
.form__status { margin-top: 14px; padding: 14px 16px; border-radius: 6px; 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: 700; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.015em; 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__list { margin-top: 34px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__icon { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-top: 1px; }
.contact__icon--pin { fill: var(--accent); stroke: none; }
.contact__icon--pin circle { fill: var(--bg); }
.contact__city { align-items: center !important; font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.contact__k { font-weight: 700; font-size: 16px; }
.contact__v { color: var(--muted); margin-top: 2px; }
.contact__v .tel { color: var(--ink); text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }
.map__svg { width: 100%; height: auto; border-radius: 4px; }
.map__label { font: 700 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: rgba(245,244,240,.96); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.25);
    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: 6px; font-weight: 700; 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; }
