/* Pneuservis v Trenčíne – demo. Tokeny na jednom mieste. */
:root {
  --graphite: #1c1e20;
  --graphite-2: #2a2d31;
  --graphite-3: #3a3e43;
  --paper: #f7f4ee;
  --surface: #ece6db;
  --line: #d6cfc2;
  --ink: #1c1e20;
  --ink-muted: #575249;
  --on-dark: #f7f4ee;
  --on-dark-muted: #bdb7ad;
  --signal: #ffcd00;
  --signal-press: #e6b800;
  --error: #b42318;
  --error-on-dark: #ff9b8f;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --step-4: clamp(3rem, 1.6rem + 6.4vw, 6.75rem);

  --gutter: 16px;
  --wrap: 1240px;
  --space-section: clamp(4rem, 2.75rem + 5vw, 8rem);
  --radius: 4px;
  --header-h: 64px;
  --callbar-h: 0px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  padding-bottom: var(--callbar-h);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 0.98; letter-spacing: 0.005em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; text-wrap: pretty; overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }
dl, dd { margin: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--on-dark-muted); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; box-shadow: 0 0 0 6px var(--graphite); border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--signal); color: var(--graphite); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 8px; }

section[id], [id="top"] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Demo strip */
.demo-strip { margin: 0; background: var(--graphite); color: var(--on-dark-muted); font-size: 0.8125rem; line-height: 1.3; padding: 7px var(--gutter); text-align: center; }
.demo-strip__tag { display: inline-block; background: var(--signal); color: var(--graphite); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.6875rem; padding: 2px 6px; margin-right: 6px; border-radius: 2px; vertical-align: 1px; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { color: var(--graphite); flex: none; }
.brand__mark svg { width: 30px; height: 30px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.brand__sub { font-size: 0.75rem; color: var(--ink-muted); letter-spacing: 0.04em; margin-top: 3px; white-space: nowrap; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 500; font-size: 0.9375rem; position: relative; }
.nav__list a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav__list a:not(.btn):hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__call-item { display: none; }

.header__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--graphite); color: var(--on-dark); text-decoration: none; font-weight: 600; border-radius: var(--radius); transition: background var(--dur); }
.header__phone:hover { background: var(--graphite-3); }
.header__phone .ico { fill: var(--signal); }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

.menu-btn { display: none; }

@media (max-width: 1023px) {
  .header__phone span { display: none; }
  .header__phone { width: 48px; height: 48px; justify-content: center; padding: 0; }
  .header__phone .ico { width: 20px; height: 20px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; background: transparent; border: 1px solid var(--graphite); border-radius: var(--radius); font: 600 0.9375rem var(--font-body); color: var(--ink); cursor: pointer; min-width: 108px; justify-content: center; }
  .menu-btn__bars { position: relative; width: 18px; height: 12px; }
  .menu-btn__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out); }
  .menu-btn__bars span:first-child { top: 1px; }
  .menu-btn__bars span:last-child { top: 9px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { top: 5px; transform: rotate(-45deg); }
  .nav__list { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.35); max-height: calc(100dvh - var(--header-h)); overflow: auto; }
  .nav__list:not(.is-open) { display: none; }
  .nav__list a:not(.btn) { display: flex; min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--line); padding: 0 4px; }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__call-item { display: block; margin-top: 16px; }
}
@media (max-width: 440px) { .brand__sub { display: none; } .header__in { column-gap: 10px; } }
@media (max-width: 380px) { .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .menu-btn { min-width: 52px; } }

/* Buttons */
.btn { max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--radius); font: 600 1rem/1.15 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur), transform 120ms; text-align: center; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--lg { min-height: 56px; padding: 0 24px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--signal { background: var(--signal); color: var(--graphite); }
.btn--signal:hover { background: var(--signal-press); }
.btn--signal .ico { fill: var(--graphite); }
.btn--ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--ghost:hover { background: var(--graphite); color: var(--on-dark); }
.btn--ghost-dark { border-color: var(--on-dark-muted); color: var(--on-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--on-dark); background: var(--graphite-2); }
.btn--text { background: none; color: var(--on-dark); text-decoration: underline; padding: 0 8px; }

/* Bay labels – označenie stanovišťa */
.bay { display: inline-grid; place-items: center; min-width: 2.2em; height: 1.6em; padding: 0 0.35em; background: var(--signal); color: var(--graphite); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; border-radius: 2px; }
.eyebrow, .section__no { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* Hero */
.hero { padding: 28px 0 var(--space-section); overflow: clip; }
.hero__in { display: grid; gap: 28px; }
.hero__in > *, .size > *, .about > *, .faq > *, .contact__in > *, .footer__in > *, .services > *, .steps__list > *, .gallery > *, .field-row > * { min-width: 0; }
.hero__title { font-size: var(--step-4); text-transform: uppercase; margin-bottom: 18px; }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; color: #34322e; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.hero__cta .btn { flex: 1 1 auto; white-space: nowrap; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 16px; justify-content: start; }
.hero__facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }
.hero__facts dd { font-weight: 600; font-size: 0.9375rem; }
.hero__facts a { text-decoration: none; }

.hero__media { margin: 0; }
.hero__box { position: relative; }
.hero__frame { position: relative; overflow: hidden; background: var(--graphite); aspect-ratio: 4 / 5; border-radius: var(--radius); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__outline { position: absolute; inset: -10px; pointer-events: none; }
.hero__outline i { position: absolute; background: var(--graphite); }
.hero__outline i:nth-child(1) { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; }
.hero__outline i:nth-child(2) { top: 0; right: 0; bottom: 0; width: 1px; transform-origin: top; }
.hero__outline i:nth-child(3) { bottom: 0; left: 0; right: 0; height: 1px; transform-origin: right; }
.hero__outline i:nth-child(4) { top: 0; left: 0; bottom: 0; width: 1px; transform-origin: bottom; }
.corner { position: absolute; width: 44px; height: 44px; pointer-events: none; }
.corner--tl { top: -10px; left: -10px; border-top: 6px solid var(--signal); border-left: 6px solid var(--signal); }
.corner--br { bottom: -10px; right: -10px; border-bottom: 6px solid var(--signal); border-right: 6px solid var(--signal); }
.hero__caption { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-muted); }

@media (max-width: 767px) {
  .hero { padding-top: 20px; }
  .eyebrow { margin-bottom: 12px; font-size: 0.8125rem; }
  .hero__title { margin-bottom: 12px; }
  .hero__lead { font-size: 1.125rem; }
  .hero__cta { margin: 20px 0 8px; gap: 10px; }
  .hero__cta .btn--ghost { min-height: 48px; }
  .hero__cta .btn { white-space: normal; }
  .hero__facts { display: none; }
  .hero__in { gap: 20px; }
  .hero__box { margin-inline: 4px; }
  .hero__frame { aspect-ratio: 4 / 4.4; }
}
@media (min-width: 768px) {
  .hero { padding-top: 48px; }
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
  .hero__frame { aspect-ratio: 5 / 5.4; }
}
@media (min-width: 1024px) { .hero__frame { aspect-ratio: 6 / 5; } }
@media (max-width: 1023px) { .hero__facts { display: none; } }

/* Sections */
.section { padding: var(--space-section) 0; position: relative; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--graphite); color: var(--on-dark); }
.section--dark .section__no { color: var(--on-dark-muted); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__title { font-size: var(--step-3); text-transform: uppercase; }
.section__lead { margin-top: 16px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-muted); max-width: 40ch; }
.section--dark .section__lead { color: var(--on-dark-muted); }
/* floor-marking divider */
.section + .section:not(.section--dark):not(.section--surface)::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--graphite) 0 10px, var(--signal) 10px 20px); opacity: 0.9; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: 1.15fr 1fr 1fr; align-items: start; } .service:nth-child(2) { margin-top: 64px; } .service:nth-child(3) { margin-top: 128px; } }
.service__link { display: grid; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: border-color var(--dur), box-shadow var(--dur); }
.service__link:hover { border-color: var(--graphite); box-shadow: 0 18px 30px -22px rgb(0 0 0 / 0.45); }
.service__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--graphite); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.service__link:hover .service__img img, .service__link:focus-visible .service__img img { transform: scale(1.05); }
.service__body { display: grid; gap: 8px; padding: 20px 20px 22px; position: relative; }
.service__no { position: absolute; top: -22px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--signal); font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; border-radius: 2px; }
.service__title { font-size: var(--step-2); text-transform: uppercase; }
.service__text { color: var(--ink-muted); }
.service__more { margin-top: 6px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.service__more span { transition: transform var(--dur) var(--ease-out); }
.service__link:hover .service__more span { transform: translateX(5px); }

.extras { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 2px solid var(--graphite); }
.extras li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.extras li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 10px; height: 10px; background: var(--signal); outline: 2px solid var(--graphite); }
@media (min-width: 900px) { .extras { grid-template-columns: repeat(3, 1fr); gap: 0 32px; } }

/* Size / sidewall */
.size { display: grid; gap: 32px; }
.size__figure { margin: 0; max-width: 600px; }
.size__photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #000; }
.size__photo img { width: 100%; height: 100%; object-fit: cover; }
.size__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.size__ring { fill: none; stroke: rgb(255 205 0 / 0.35); stroke-width: 0.35; stroke-dasharray: 0.012 0.008; }
.size__arc { fill: none; stroke: var(--signal); stroke-width: 3.2; stroke-linecap: round; opacity: 0.92; }
.size__lead { fill: none; stroke: var(--signal); stroke-width: 0.5; }
.size__dot { fill: var(--graphite); stroke: var(--signal); stroke-width: 0.6; }
.size__tag { position: absolute; right: 4%; top: calc(24% - 2.6em); background: var(--signal); color: var(--graphite); font: 700 clamp(0.95rem, 0.7rem + 1.2vw, 1.5rem)/1 var(--font-display); letter-spacing: 0.03em; padding: 0.45em 0.6em; border-radius: 2px; box-shadow: 0 6px 18px rgb(0 0 0 / 0.35); }
.size__caption { margin-top: 12px; font-size: 0.875rem; color: var(--on-dark-muted); }
.decode { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--graphite-3); }
.decode li { display: grid; grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--graphite-3); }
.decode__code { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--signal); line-height: 1; }
.decode__text strong { color: var(--on-dark); }
.decode__text { color: var(--on-dark-muted); overflow-wrap: break-word; }
.size__tip { margin: 0; padding: 16px 18px; border-left: 4px solid var(--signal); background: var(--graphite-2); }
@media (min-width: 1024px) {
  .size { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "fig decode" "fig tip"; column-gap: 64px; row-gap: 24px; align-items: start; }
  .size__head { grid-area: head; }
  .size__figure { grid-area: fig; }
  .decode { grid-area: decode; align-self: end; }
  .size__tip { grid-area: tip; align-self: start; }
}

/* Steps */
.steps { position: relative; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.steps__line::after { content: ""; position: absolute; inset: 0; background: var(--graphite); transform-origin: top; transform: scaleY(var(--progress, 1)); }
.step { position: relative; padding-left: 80px; min-height: 56px; }
.step__no { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--graphite); font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; border-radius: 50%; z-index: 1; transition: background var(--dur), color var(--dur); }
.step.is-on .step__no { background: var(--signal); }
.step__title { font-size: var(--step-2); text-transform: uppercase; margin: 10px 0 8px; }
.step p { color: var(--ink-muted); max-width: 36ch; }
.step a { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps__line { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps__line::after { transform-origin: left; transform: scaleX(var(--progress, 1)); }
  .step { padding-left: 0; padding-top: 80px; }
}

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery__item { margin: 0; }
.gallery__item--wide, .gallery__item:last-child { grid-column: 1 / -1; }
.gallery__item:last-child .gallery__btn { aspect-ratio: 3 / 2; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--graphite); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.gallery__item--wide .gallery__btn { aspect-ratio: 3 / 2; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), opacity var(--dur); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__cap { margin: 8px 0 0; font-size: 0.875rem; line-height: 1.4; color: var(--ink-muted); }
.gallery__note { margin-top: 24px; font-size: 0.875rem; color: var(--ink-muted); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
  .gallery__item--wide, .gallery__item--wide-md { grid-column: span 2; }
  .gallery__item--wide-md .gallery__btn { aspect-ratio: auto; height: calc(100% - 2.6rem); }
  .gallery__item:last-child { grid-column: auto; }
  .gallery__item:last-child .gallery__btn { aspect-ratio: 4 / 3; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--tall .gallery__btn { aspect-ratio: auto; height: calc(100% - 2.6rem); }
}

/* Lightbox */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(14 15 16 / 0.96); color: var(--on-dark); overscroll-behavior: contain; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgb(14 15 16 / 0.7); }
.lightbox__stage { display: grid; place-items: center; padding: 64px 12px 8px; min-height: 0; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); user-select: none; -webkit-user-drag: none; }
.lightbox__cap { margin: 0; padding: 8px var(--gutter) 4px; text-align: center; font-size: 0.9375rem; }
.lightbox__count { margin: 0 0 calc(80px + env(safe-area-inset-bottom)); text-align: center; font-size: 0.8125rem; color: var(--on-dark-muted); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--graphite-3); background: var(--graphite-2); color: var(--on-dark); font-size: 1.25rem; cursor: pointer; transition: background var(--dur); }
.lightbox__btn:hover { background: var(--graphite-3); }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev, .lightbox__next { bottom: calc(14px + env(safe-area-inset-bottom)); }
.lightbox__prev { left: calc(50% - 64px); }
.lightbox__next { right: calc(50% - 64px); }
@media (min-width: 900px) {
  .lightbox__stage { padding: 72px 96px 8px; }
  .lightbox__count { margin-bottom: 24px; }
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 24px; }
  .lightbox__next { right: 24px; }
}

/* About */
.about { display: grid; gap: 8px; }
.about__body { max-width: 44rem; font-size: 1.125rem; }
.about__facts { display: grid; gap: 0; margin-top: 28px; border-top: 2px solid var(--graphite); }
.about__facts div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__facts dt { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); padding-top: 3px; }
.about__facts dd { font-weight: 600; }
.about__facts dd span { display: block; font-weight: 400; color: var(--ink-muted); font-size: 0.9375rem; }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

/* FAQ */
.faq { display: grid; }
@media (min-width: 1024px) { .faq { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq__list { border-top: 2px solid var(--graphite); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #000; }
.qa__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--graphite); position: relative; transition: background var(--dur), transform var(--dur) var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--graphite); transform: translate(-50%, -50%); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--dur) var(--ease-out); }
.qa[open] .qa__icon { background: var(--signal); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 48px 20px 0; color: #3e3a34; }
.qa__a a { font-weight: 600; }

/* Contact */
.contact__in { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact__in { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.contact__phone { display: block; text-decoration: none; padding: 20px 22px; background: var(--signal); color: var(--graphite); border-radius: var(--radius); margin-bottom: 28px; transition: background var(--dur); }
.contact__phone:hover { background: var(--signal-press); }
.contact__label { display: block; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact__num { display: block; font: 700 clamp(2.5rem, 1.8rem + 3.4vw, 4rem)/1 var(--font-display); letter-spacing: 0.01em; white-space: nowrap; }
.contact__list { display: grid; gap: 20px; margin-bottom: 28px; }
.contact__list dt { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); margin-bottom: 4px; }
.contact__list dd { font-size: 1.125rem; font-weight: 500; }
.contact__nav { display: grid; gap: 12px; }
@media (min-width: 560px) { .contact__nav { grid-template-columns: 1fr 1fr; } }

/* Form */
.form, .summary { background: var(--graphite-2); border: 1px solid var(--graphite-3); border-radius: var(--radius); padding: 24px 20px; }
@media (min-width: 768px) { .form, .summary { padding: 32px; } }
.form__title, .summary__title { font-size: var(--step-2); text-transform: uppercase; margin-bottom: 10px; }
.form__note { color: var(--on-dark-muted); font-size: 0.9375rem; margin-bottom: 20px; }
.pill { display: inline-block; background: var(--signal); color: var(--graphite); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 2px; margin-right: 4px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: 0.9375rem; }
.req, .opt { font-weight: 400; font-size: 0.8125rem; color: var(--on-dark-muted); margin-left: 4px; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--font-body); color: var(--ink); background: var(--paper); border: 2px solid var(--paper); border-radius: var(--radius); transition: border-color var(--dur); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; box-shadow: none; }
.field input::placeholder, .field textarea::placeholder { color: #6b655b; }
.field [aria-invalid="true"] { border-color: var(--error); background: #fff3f1; }
.field__hint { margin: 0; font-size: 0.8125rem; color: var(--on-dark-muted); }
.field__err { margin: 0; font-size: 0.9375rem; color: var(--error-on-dark); font-weight: 500; }
.form__status { margin: 14px 0 0; font-size: 0.9375rem; color: var(--error-on-dark); }
.form__status:empty { display: none; }
.summary p { color: var(--on-dark-muted); }
.summary__text { white-space: pre-wrap; font: 500 1rem/1.5 var(--font-body); background: var(--paper); color: var(--ink); padding: 16px; border-radius: var(--radius); margin: 16px 0 20px; }
.summary__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.summary__actions .btn { flex: 1 1 200px; }
.summary__actions .btn--text { flex: 0 0 auto; }

/* Footer */
.footer { background: #141517; color: var(--on-dark-muted); padding: 40px 0 48px; font-size: 0.9375rem; }
.footer__in { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer__in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.footer__name { color: var(--on-dark); font-weight: 600; margin-bottom: 4px; }
.footer a { color: var(--on-dark); }
.footer strong { color: var(--on-dark); }
.credits summary { cursor: pointer; color: var(--on-dark); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.credits p { margin-top: 8px; font-size: 0.875rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 767px) {
  :root { --callbar-h: calc(68px + env(safe-area-inset-bottom)); }
  .callbar { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--graphite) 96%, transparent); backdrop-filter: blur(6px); transition: transform 280ms var(--ease-out); }
  .callbar.is-hidden { transform: translateY(110%); }
  .callbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
  .callbar__call { background: var(--signal); color: var(--graphite); }
  .callbar__call .ico { fill: var(--graphite); }
  .callbar__nav { border: 2px solid var(--on-dark-muted); color: var(--on-dark); }
}

/* Motion: initial states only when JS animations will run */
.js-motion [data-hero-img] { transform: scale(1.08); }
.js-motion [data-hero-outline] i:nth-child(odd) { transform: scaleX(0); }
.js-motion [data-hero-outline] i:nth-child(even) { transform: scaleY(0); }

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