/* ============================================================================
   Polstrin konfigurátor — vizuální identita
   Odečteno z polstrin.cz: serif (Tiempos → Newsreader), černá na bílé,
   radius 0, editoriální klid, signatura „— — —".
   ========================================================================== */

/* Tiempos — skutečný firemní font Polstrinu (self-hosted z jejich WP tématu).
   Text = běžný obsah, Headline = nadpisy. Newsreader zůstává jako fallback. */
@font-face {
  font-family: "Tiempos Text";
  src: url("../assets/fonts/TiemposText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tiempos Text";
  src: url("../assets/fonts/TiemposText-RegularItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Tiempos Text";
  src: url("../assets/fonts/TiemposText-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tiempos Headline";
  src: url("../assets/fonts/TiemposHeadline-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tiempos Headline";
  src: url("../assets/fonts/TiemposHeadline-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --ink-soft: #5b554d;
  --ink-faint: #8b847a;
  --paper: #ffffff;
  --paper-2: #faf8f4;
  --paper-3: #f1ece4;
  --line: #e3ddd3;
  --line-strong: #cdc4b6;
  --accent: #b08d57;

  --serif: "Tiempos Text", "Newsreader", Georgia, "Times New Roman", serif;
  --serif-display: "Tiempos Headline", "Tiempos Text", "Newsreader", Georgia, serif;

  --maxw: 1200px;
  --gap: clamp(16px, 3vw, 40px);
  --section-y: clamp(48px, 9vw, 116px);
  --radius: 0px;
  --shadow: 0 1px 2px rgba(28, 26, 23, 0.05), 0 14px 40px rgba(28, 26, 23, 0.07);
  --shadow-soft: 0 10px 30px rgba(28, 26, 23, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── reset-ish ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 500; line-height: 1.12; letter-spacing: 0.1px; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gap); }
.wrap--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── signatura „— — —" ─────────────────────────────────────────────────────── */
.rule {
  color: var(--ink-faint);
  letter-spacing: 0.42em;
  font-size: 15px;
  margin: 0 0 20px;
  user-select: none;
}
.rule--sm { font-size: 13px; margin-bottom: 12px; }

/* ── buttons ───────────────────────────────────────────────────────────────── */
.btn {
  --btn-fs: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--serif);
  font-size: var(--btn-fs);
  letter-spacing: 0.4px;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent; color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease), opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { border-color: transparent; padding-left: 0; padding-right: 0; position: relative; }
.btn--ghost::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px;
  background: var(--ink); transition: right 0.3s var(--ease);
}
.btn--ghost:hover::after { right: 0; }
.btn--sm { --btn-fs: 14px; padding: 9px 18px; }
.btn--lg { --btn-fs: 16px; padding: 16px 34px; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ── header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gap);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__logo img { height: 20px; width: auto; }
.site-header__nav { display: flex; align-items: center; gap: 22px; }
.nav-showroom { color: var(--ink-soft); text-decoration: none; font-size: 14px; letter-spacing: 0.3px; }
.nav-showroom:hover { color: var(--ink); }

/* ── steps ─────────────────────────────────────────────────────────────────── */
.step[hidden] { display: none; }
.step:not([hidden]) { animation: fade-up 0.5s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step:not([hidden]) { animation: none; } }

.step__title { font-size: clamp(28px, 5vw, 46px); margin-bottom: 10px; }
.step__lead { color: var(--ink-soft); font-size: 18px; margin: 0 0 40px; max-width: 60ch; }
.step--product, .step--thanks { padding: var(--section-y) 0; }

/* ── hero ──────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20, 18, 15, 0.80) 0%, rgba(20, 18, 15, 0.45) 40%, rgba(20, 18, 15, 0.12) 72%, rgba(20, 18, 15, 0.02) 100%),
    linear-gradient(to right, rgba(20, 18, 15, 0.55) 0%, rgba(20, 18, 15, 0.20) 45%, rgba(20, 18, 15, 0) 70%);
}
.hero__overlay { position: relative; z-index: 1; color: #fff; padding: var(--gap); padding-bottom: clamp(40px, 8vw, 90px); max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__overlay .rule { color: rgba(255, 255, 255, 0.9); }
.hero__title { font-size: clamp(34px, 6.4vw, 74px); font-weight: 400; letter-spacing: -0.3px; text-wrap: balance; text-shadow: 0 2px 24px rgba(20, 18, 15, 0.45); }
.hero__sub { font-size: clamp(16px, 2.2vw, 20px); max-width: 46ch; margin: 20px 0 30px; color: #fff; line-height: 1.55; text-shadow: 0 1px 14px rgba(20, 18, 15, 0.5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cta .btn { border-color: #fff; color: #fff; }
.hero__cta .btn--primary { background: #fff; color: var(--ink); }
.hero__cta .btn--primary:hover { background: var(--paper-2); }
.hero__cta .btn--ghost::after { background: #fff; }

/* ── product grid ──────────────────────────────────────────────────────────── */
.product-grid { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.pcard { display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__badge { background: rgba(255, 255, 255, 0.92); font-size: 11px; letter-spacing: 0.3px; padding: 4px 9px; color: var(--ink); }
.pcard__body { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 2px 0; border-top: 1px solid var(--line); margin-top: 16px; }
.pcard__name { font-size: 24px; margin-bottom: 4px; }
.pcard__tag { color: var(--ink-soft); font-style: italic; font-size: 16px; margin: 0 0 10px; }
.pcard__from { font-size: 15px; letter-spacing: 0.3px; }
.pcard__from b { font-weight: 500; }
.pcard__link { margin-top: 12px; font-size: 14px; letter-spacing: 0.4px; color: var(--ink); display: inline-flex; gap: 8px; }
.pcard:hover .pcard__link { color: var(--accent); }

/* ── configurator layout ───────────────────────────────────────────────────── */
.config { display: grid; grid-template-columns: 1fr; }
@media (min-width: 940px) {
  .config {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    max-width: 1400px;
    margin-inline: auto;
  }
  .config__preview { position: sticky; top: 58px; height: calc(100vh - 58px); }
}
.config__preview { position: relative; background: var(--paper-2); display: flex; flex-direction: column; padding: clamp(16px, 3vw, 34px); }
.config__back { align-self: flex-start; background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-family: var(--serif); font-size: 15px; letter-spacing: 0.3px; padding: 4px 0; }
.config__back:hover { color: var(--ink); }

.viewer { position: relative; flex: 1; min-height: 360px; display: flex; align-items: center; justify-content: center; touch-action: none; }
.viewer--3d { cursor: grab; }
.viewer--3d:active { cursor: grabbing; }
.scene3d__canvas { width: 100% !important; height: 100% !important; display: block; }
.viewer__badge { position: absolute; top: 12px; right: 14px; font-size: 11px; letter-spacing: 0.5px; text-transform: lowercase; color: var(--ink-faint); background: rgba(255, 255, 255, 0.7); padding: 3px 9px; pointer-events: none; z-index: 3; }
.viewer__ar-btn { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: none; z-index: 4; }
.viewer--can-ar .viewer__ar-btn { display: inline-flex; }

/* in-scene editing overlays */
.scene3d__toolbar[hidden], .scene3d__add[hidden], .scene3d__toolbar button[hidden], .scene3d__menu[hidden] { display: none !important; }

/* add / change-type popup menu */
.scene3d__menu {
  position: absolute; z-index: 6; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; min-width: 150px; max-height: 220px; overflow-y: auto;
}
.scene3d__menu button {
  font-family: var(--serif); font-size: 14px; text-align: left; background: none; border: 0;
  padding: 9px 14px; cursor: pointer; color: var(--ink); white-space: nowrap;
}
.scene3d__menu button:hover { background: var(--paper-2); }
.scene3d__menu button + button { border-top: 1px solid var(--line); }
.scene3d__toolbar {
  position: absolute; z-index: 5; transform: translate(-50%, -100%);
  display: inline-flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.scene3d__toolbar button {
  width: 30px; height: 30px; border: 0; background: none; cursor: pointer; color: var(--ink);
  font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.scene3d__toolbar button:hover { background: var(--paper-2); }
.scene3d__toolbar button[data-act="remove"]:hover { color: #a3372b; }
.scene3d__add {
  position: absolute; z-index: 5; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.9); color: var(--ink-soft); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.scene3d__add:hover { border-color: var(--ink); color: var(--ink); border-style: solid; background: #fff; }
.builder__hint { font-size: 13px; color: var(--ink-faint); margin: 0 0 4px; line-height: 1.45; }

/* 2D fallback */
.viewer2d { margin: 0; width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.viewer2d__photo { position: relative; width: 100%; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-3); }
.viewer2d__photo img { width: 100%; height: 100%; object-fit: cover; }
.viewer2d__tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: 0.28; transition: background 0.4s var(--ease); }
.viewer2d__plan { width: min(100%, 420px); height: auto; }
.plan__mod { fill: #fff; stroke: var(--line-strong); stroke-width: 1; }
.plan__label { fill: var(--ink-soft); font-size: 9px; text-anchor: middle; dominant-baseline: middle; font-family: var(--serif); }
.viewer2d__note { font-size: 13px; color: var(--ink-faint); text-align: center; margin: 0; }

.viewer-actions { margin-top: 14px; min-height: 0; }
.qr { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 14px 16px; }
.qr svg { width: 88px; height: 88px; flex: none; }
.qr__text { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.qr__text b { color: var(--ink); font-weight: 500; }
.ar-hint { font-size: 13px; color: var(--ink-faint); margin: 8px 2px 0; }

/* ── panel ─────────────────────────────────────────────────────────────────── */
.config__panel { padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 48px); max-width: 620px; }
.config__name { font-size: clamp(26px, 4vw, 40px); }
.config__tagline { font-style: italic; color: var(--ink-soft); font-size: 18px; margin: 6px 0 18px; }

.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.badges li { font-size: 12px; letter-spacing: 0.3px; border: 1px solid var(--line-strong); padding: 4px 10px; color: var(--ink-soft); }

.panel-block { margin: 26px 0; }
.panel-block__label { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.panel-note { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; font-style: italic; }

/* builder strip */
.builder { margin: 22px 0 6px; }
.strip {
  display: flex; gap: 6px; align-items: flex-end; overflow-x: auto; padding: 10px 2px 14px;
  border-bottom: 1px solid var(--line); scrollbar-width: thin; min-height: 92px;
}
.strip__empty { color: var(--ink-faint); font-style: italic; font-size: 15px; padding: 24px 0; }
.strip__mod {
  position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 6px; padding: 8px 6px 6px; background: var(--paper-2); border: 1px solid var(--line);
  min-width: 46px; cursor: default;
}
.strip__mod[data-kind="arm"] { min-width: 22px; background: var(--paper-3); }
.strip__mod[data-kind="chaise"], .strip__mod[data-kind="xxl"] { min-width: 76px; }
.strip__glyph { width: 100%; height: 40px; display: block; }
.strip__glyph rect { fill: #fff; stroke: var(--line-strong); }
.strip__name { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.2px; white-space: nowrap; }
.strip__remove {
  position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer;
  font-size: 14px; line-height: 1; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.strip__mod:hover .strip__remove, .strip__mod:focus-within .strip__remove { opacity: 1; }
.strip__remove:hover { border-color: var(--ink); }

.palette { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.palette__btn {
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.2px;
  background: #fff; border: 1px solid var(--line-strong); color: var(--ink);
  padding: 9px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.palette__btn:hover { border-color: var(--ink); background: var(--paper-2); }
.palette__btn::before { content: "+"; color: var(--ink-faint); }
.palette__btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.palette__btn[aria-pressed="true"]::before { content: "✓"; color: #fff; }
.palette__price { color: var(--ink-faint); font-size: 12px; }
.palette__btn[aria-pressed="true"] .palette__price { color: rgba(255,255,255,0.7); }

/* depth + presets toggles */
.toggle { display: inline-flex; border: 1px solid var(--line-strong); }
.toggle__btn {
  font-family: var(--serif); font-size: 14px; background: #fff; border: 0; color: var(--ink-soft);
  padding: 9px 16px; cursor: pointer; border-right: 1px solid var(--line-strong);
}
.toggle__btn:last-child { border-right: 0; }
.toggle__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset__btn {
  font-family: var(--serif); font-size: 14px; background: #fff; border: 1px solid var(--line);
  padding: 8px 12px; cursor: pointer; color: var(--ink-soft);
}
.preset__btn:hover { border-color: var(--ink); color: var(--ink); }
.preset__btn b { color: var(--ink); font-weight: 500; }

/* variant cards (Hide and Seek) */
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.variant {
  text-align: left; background: #fff; border: 1px solid var(--line); padding: 14px; cursor: pointer;
  font-family: var(--serif); color: var(--ink); transition: border-color 0.2s, transform 0.2s var(--ease);
}
.variant:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.variant[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant__name { font-size: 18px; margin-bottom: 4px; }
.variant__meta { font-size: 13px; color: var(--ink-soft); }

/* swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer; padding: 0; position: relative; transition: transform 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fabric-name { font-size: 15px; margin: 14px 0 0; }
.fabric-name span { font-weight: 500; }

/* summary */
.summary { margin: 30px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.summary__price { display: flex; align-items: baseline; gap: 10px; }
.summary__from { color: var(--ink-faint); font-size: 16px; }
.summary__value { font-size: clamp(28px, 4.5vw, 40px); font-weight: 500; letter-spacing: 0.2px; }
.summary__dims { color: var(--ink-soft); font-size: 15px; margin: 6px 0 0; letter-spacing: 0.3px; }
.summary__benefit { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
.summary__note { color: var(--ink-faint); font-size: 13px; font-style: italic; margin: 12px 0 0; }

.config__actions { margin-top: 8px; }
.tip { font-size: 14px; color: var(--accent); margin: 14px 0 0; font-style: italic; }

/* ── thank-you ─────────────────────────────────────────────────────────────── */
.thanks-card { border: 1px solid var(--line); background: var(--paper-2); padding: clamp(20px, 4vw, 34px); margin: 8px 0 34px; }
.thanks-card__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.thanks-card__row:last-child { border-bottom: 0; }
.thanks-card__row dt { color: var(--ink-soft); margin: 0; }
.thanks-card__row dd { margin: 0; text-align: right; font-weight: 500; }
.thanks-contact { display: grid; gap: 24px; margin-bottom: 30px; }
@media (min-width: 720px) { .thanks-contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.thanks-contact__info p { margin: 0 0 8px; }
.thanks-contact__info a { color: var(--ink); }
.thanks-contact__map iframe { width: 100%; height: 260px; border: 1px solid var(--line); }

/* ── modal ─────────────────────────────────────────────────────────────────── */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 18, 15, 0.5); animation: fade 0.3s var(--ease); }
.modal__dialog {
  position: relative; background: var(--paper); width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); animation: fade-up 0.35s var(--ease);
}
.modal__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.modal__close:hover { color: var(--ink); }
.modal__title { font-size: clamp(22px, 3.5vw, 30px); margin-bottom: 10px; }
.modal__lead { color: var(--ink-soft); margin: 0 0 22px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); letter-spacing: 0.2px; }
.lead-form__caption { display: block; }
.lead-form input, .lead-form textarea {
  font-family: var(--serif); font-size: 16px; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line-strong); border-radius: 0; padding: 12px 14px;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.lead-form textarea { resize: vertical; }
.lead-form__row { display: grid; gap: 16px; }
@media (min-width: 480px) { .lead-form__row { grid-template-columns: 1fr 1fr; } }
.lead-form label.lead-form__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; }
.lead-form__consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.req { color: var(--accent); }
.lead-form__error { color: #a3372b; font-size: 14px; margin: 0; }

/* ── footer ────────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: var(--section-y) 0 30px; margin-top: 0; }
.site-footer__grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__logo { height: 22px; width: auto; margin-bottom: 14px; }
.site-footer__tag { color: var(--ink-soft); max-width: 40ch; margin: 0; }
.site-footer__contact p { margin: 0 0 8px; }
.site-footer__contact a { color: var(--ink); text-decoration: none; }
.site-footer__contact a:hover { color: var(--accent); }
.site-footer__legal { text-align: center; color: var(--ink-faint); font-size: 13px; margin: 40px 0 0; }

/* sticky mobile CTA inside config */
@media (max-width: 939px) {
  .config__actions { position: sticky; bottom: 12px; z-index: 5; }
  .config__actions .btn { box-shadow: var(--shadow); }
}
