/* Dynamic Composition — official landing design system
   Ink + brass with one drafting-paper section. Display: Archivo Expanded.
   Annotations: IBM Plex Mono (construction-document vernacular). */

:root {
  --ink: #0e1114;
  --ink-raise: #151a1e;
  --ink-panel: #1b2126;
  --line: #2a3036;
  --paper: #f1ece1;
  --paper-line: #d8d0bf;
  --graphite: #23282d;
  --graphite-dim: #565d64;
  --brass: #d3a24b;
  --brass-deep: #8a6a2c;
  --brass-paper: #7a5d26; /* brass oscurecido: 5.3:1 sobre --paper, AA en texto pequeño */
  --brass-soft: rgba(211, 162, 75, 0.13);
  --text: #f1ede5;
  --text-dim: #a9aeb4;
  --radius: 4px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Viewport height estable con fallback: svh donde existe (no salta con la barra
   de URL móvil), vh en navegadores viejos. Con var() un fallback en cascada NO
   funciona (invalid-at-computed-value-time anula la declaración entera), por
   eso el gate es @supports. */
:root { --vhs: 100vh; }
@supports (height: 1svh) {
  :root { --vhs: 100svh; }
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-stretch: 118%;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); margin-bottom: 0.55em; }
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 0.45em;
}

p { color: var(--text-dim); }
strong { color: var(--text); }
a { color: var(--brass); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}
.eyebrow::before { content: "// "; opacity: 0.55; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 17, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: none;
  height: 64px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 122%;
  font-size: 0.92rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text);
}
.wordmark span { color: var(--brass); }
.wordmark:hover { text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-stretch: 108%;
  font-size: 0.95rem;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: #16130b; }
.btn-primary:hover { background: #e0b25e; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brass); }
.btn-sm { padding: 9px 16px; font-size: 0.84rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  padding: 140px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroimg 1.5s ease 2.05s forwards;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,17,20,0.96) 0%, rgba(14,17,20,0.72) 34%, rgba(14,17,20,0.38) 62%, rgba(14,17,20,0.55) 100%);
}
.plan-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: planfade 1.1s ease 2.5s forwards;
}
.plan-svg .pl {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1s ease forwards;
  animation-delay: calc(var(--i) * 65ms);
}
.plan-svg .plt {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  fill: var(--brass);
  opacity: 0;
  animation: labelin 0.5s ease calc(0.8s + var(--i) * 60ms) forwards,
             labelout 0.9s ease 2.35s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes labelin { to { opacity: 0.9; } }
@keyframes labelout { to { opacity: 0; } }
@keyframes planfade { to { opacity: 0.13; } }
@keyframes heroimg { to { opacity: 1; } }

.hero .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 720px; opacity: 0; animation: riseup 0.9s ease 0.35s forwards; }
@keyframes riseup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .sub {
  font-size: 1.16rem;
  max-width: 620px;
  margin-top: 24px;
  color: #cfd3d8;
}
.trust-row {
  display: flex; flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  list-style: none;
}
.trust-row li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.trust-row li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 9px; height: 9px;
  border: 1.5px solid var(--brass);
}
.hero-credit {
  position: absolute; right: 24px; bottom: 14px; z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(169, 174, 180, 0.75);
  text-align: right;
}

/* ---------- generic cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--ink-panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brass); }
.card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brass);
  border: 1px solid var(--brass-deep);
  padding: 4px 9px;
  margin-bottom: 16px;
}

.raise {
  background: var(--ink-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.closing-line {
  margin-top: 34px;
  font-size: 1.1rem;
  color: var(--text);
  max-width: 700px;
}
.closing-line em { color: var(--brass); font-style: normal; }

/* ---------- paper (scope of work) ---------- */
.paper {
  background: var(--paper);
  color: var(--graphite);
  border-top: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
}
.paper h2, .paper h3 { color: var(--graphite); }
.paper p { color: var(--graphite-dim); }
.paper strong { color: var(--graphite); }
.paper .eyebrow { color: var(--brass-paper); }
.sheet {
  border: 1.5px dashed var(--graphite);
  padding: 40px 38px 34px;
  position: relative;
  background:
    linear-gradient(var(--paper-line) 1px, transparent 1px) 0 0 / 100% 32px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.sheet:hover { transform: translateY(-4px); border-color: var(--brass); }
.sheet-head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 8px;
  border-bottom: 1.5px solid var(--graphite);
  padding-bottom: 14px; margin-bottom: 30px;
}
.sheet-head .sheet-no { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; color: var(--brass-paper); }
.scope-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
}
.scope-item + .scope-item { border-top: 1px dashed var(--paper-line); }
.scope-item .box {
  width: 22px; height: 22px; margin-top: 3px;
  border: 2px solid var(--graphite);
  position: relative;
}
.scope-item .box::after {
  content: "";
  position: absolute; inset: 3px;
  background: var(--brass);
}
.scope-link {
  color: var(--graphite);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brass-deep) 55%, transparent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.scope-link::after {
  content: " ↗";
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--brass-deep);
}
.scope-link:hover {
  color: var(--brass-deep);
  text-decoration-color: var(--brass-deep);
}

.terms {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1.5px solid var(--graphite);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  line-height: 2.1;
}

/* ---------- proof / portfolio ---------- */
.proof-card {
  display: block;
  background: var(--ink-panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.proof-card:hover { transform: translateY(-4px); border-color: var(--brass); text-decoration: none; }
.proof-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.proof-card .pc-body { padding: 20px 22px 24px; }
.proof-card .pc-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 0.45em;
  color: var(--text);
}
.proof-card .pc-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
}
.proof-card .pc-open {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.proof-card:hover .pc-open { color: var(--brass); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 0; max-width: 780px; }
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 26px 0;
}
.step + .step { border-top: 1px solid var(--line); }
.step .day {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brass);
  padding-top: 4px;
}

/* ---------- fit / not fit ---------- */
.fit-col {
  padding: 30px 28px; border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.fit-col:hover { transform: translateY(-4px); border-color: var(--brass); }
.fit-yes { background: var(--ink-panel); border: 1px dashed var(--brass-deep); }
.fit-no { background: transparent; border: 1px dashed var(--line); }
.fit-col h3 { margin-bottom: 18px; }
.fit-col ul { list-style: none; }
.fit-col li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--text-dim);
}
.fit-col li strong { color: var(--text); }
.fit-yes li::before {
  content: ""; position: absolute; left: 2px; top: 0.95em;
  width: 10px; height: 10px;
  background: var(--brass);
}
.fit-no li::before {
  content: "✕"; position: absolute; left: 0; top: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--graphite-dim);
}

/* ---------- FAQ ---------- */
details {
  border-bottom: 1px dashed var(--line);
  padding: 4px 0;
  /* filas, no tarjetas: lift más sutil (-2px) para no desencajar la lista */
  transition: transform 0.18s ease, border-color 0.18s ease;
}
details:hover { transform: translateY(-2px); border-color: var(--brass); }
summary {
  font-family: var(--font-display);
  font-weight: 700; font-stretch: 108%;
  font-size: 1.05rem;
  padding: 18px 34px 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute; right: 4px; top: 14px;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--brass);
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; max-width: 660px; }

/* ---------- form ---------- */
.lead-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.lead-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  background: var(--ink-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.lead-form input:focus-visible, .lead-form select:focus-visible, .lead-form textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
.lead-form textarea { resize: vertical; margin-bottom: 18px; }
.lead-form > div:not(.form-row) { margin-bottom: 0; }
.fit-hint {
  display: none;
  font-size: 0.9rem;
  color: var(--brass);
  margin: -8px 0 18px;
}
.fit-hint.show { display: block; }
.form-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ---------- horizontal scroll gallery (renders) ----------
   Editorial filmstrip: every rendering shows COMPLETE, at its natural aspect
   ratio (--ar inline per card), sized to fit both the pin's height budget and
   the viewport width. No cropping, ever. */
.hgal { position: relative; }
.hgal-pin {
  position: sticky; top: 0;
  min-height: var(--vhs);
  display: flex; flex-direction: column; justify-content: center;
  gap: 26px; overflow: hidden;
  padding: 84px 0 64px;
}
.hgal-vp { overflow-x: auto; scrollbar-width: none; }
.hgal-vp::-webkit-scrollbar { display: none; }
.hgal-armado .hgal-vp { overflow: hidden; }
.hgal-track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  padding: 0 max(24px, calc((100% - 1120px) / 2 + 24px));
  will-change: transform;
}
.hgal-track figure { margin: 0; flex: none; }
.hgal-card { --ar: 3/4; }
.hgal-card img {
  /* width = min(viewport cap, height-budget × natural ratio); height follows
     via aspect-ratio → the full frame is always in view, deterministic before
     the lazy image ever loads (no reflow, no bad pin measurements). */
  width: min(86vw, 880px, calc(min(max(var(--vhs) - 420px, 220px), 560px) * var(--ar)));
  height: auto; aspect-ratio: var(--ar); display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  /* pedido JA 23-jul: solo lift, SIN cambio de color del contorno */
  transition: transform 0.18s ease;
}
.hgal-card:hover img { transform: translateY(-4px); }
.hgal-card figcaption {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim); padding: 10px 2px 0;
}
@media (max-width: 720px) {
  /* el heading envuelve a 2-3 líneas: el chrome del pin sube a ~490px */
  .hgal-card img {
    width: min(86vw, calc(min(max(var(--vhs) - 490px, 200px), 560px) * var(--ar)));
  }
}
/* Fallback compartido: preferencia de movimiento reducido O viewport demasiado
   corto para el pin (landscape móvil, ventanas bajas) → tira swipeable normal. */
@media (prefers-reduced-motion: reduce), (max-height: 640px) {
  .hgal-armado .hgal-vp { overflow-x: auto; }
  .hgal-track { transform: none !important; }
  .hgal { height: auto !important; }
  .hgal-pin { position: static; min-height: 0; }
}

/* ---------- testimonials — scroll-driven card deck ----------
   Default (no JS, or reduced motion): a swipeable snap carousel.
   Armed (html.tstack-armado): the section pins and the three cards sit as a
   fanned deck; scroll sends the front card behind, revealing the next. */
.tstack-pin {
  display: flex; flex-direction: column;
  gap: 26px; padding: 84px 0 64px;
}
.tstack-stage {
  display: flex; gap: 22px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 8px max(24px, calc((100% - 1120px) / 2 + 24px));
}
.tstack-stage::-webkit-scrollbar { display: none; }
.tstack-card {
  margin: 0; flex: none;
  width: min(76vw, 430px);
  scroll-snap-align: center;
}
.tstack-card img {
  width: 100%; aspect-ratio: 1; display: block; border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.tstack-meta {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.tstack-counter {
  display: none;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em;
  color: var(--brass);
}
.tstack-counter .tstack-sep { color: var(--text-dim); }
.tstack-meta .form-note { margin-top: 0; }

.tstack-armado .tstack { position: relative; }
.tstack-armado .tstack-pin {
  position: sticky; top: 0;
  min-height: var(--vhs);
  justify-content: center;
  gap: 30px; overflow: hidden;
}
.tstack-armado .tstack-stage {
  display: block; position: relative;
  overflow: visible; scroll-snap-type: none;
  width: min(76vw, 430px, max(var(--vhs) - 380px, 240px));
  aspect-ratio: 1; padding: 0;
  /* las cartas traseras asoman ~70px por ENCIMA del stage (translateY -60px
     + esquina rotada): reservar ese espacio para no pisar el heading */
  margin: 46px auto 0;
}
.tstack-armado .tstack-card {
  position: absolute; inset: 0; width: 100%;
  will-change: transform, opacity, filter;
  transform-origin: 50% 18%;
}
.tstack-armado .tstack-counter { display: inline-block; }
/* Fallback compartido: reduced motion O viewport corto → carrusel swipeable. */
@media (prefers-reduced-motion: reduce), (max-height: 640px) {
  .tstack-armado .tstack-pin { position: static; min-height: 0; }
  .tstack-armado .tstack-stage {
    display: flex; width: auto; aspect-ratio: auto;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 8px max(24px, calc((100% - 1120px) / 2 + 24px));
  }
  .tstack-armado .tstack-card {
    position: static; width: min(76vw, 430px);
    transform: none !important; opacity: 1 !important; filter: none !important;
  }
  .tstack-armado .tstack { height: auto !important; }
  .tstack-armado .tstack-counter { display: none; }
}

/* ---------- walkthrough lightbox ---------- */
button.proof-card {
  border: 1px dashed var(--line); background: var(--ink-panel);
  padding: 0; width: 100%; text-align: left;
  font: inherit; color: var(--text); cursor: pointer;
}
button.proof-card:hover { border-color: var(--brass); transform: translateY(-4px); }
.tour-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 12, 14, 0.96);
  display: flex; flex-direction: column;
}
.tour-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 18px;
}
.tour-title {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.tour-close {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  background: var(--brass); color: #16130b; border: 0;
  padding: 9px 16px; border-radius: var(--radius); cursor: pointer;
}
.tour-frame { flex: 1; width: 100%; border: 0; }

/* ---------- sample sales page (reference) ---------- */
.sample-hero {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px dashed var(--line);
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px 44px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.sample-hero:hover { transform: translateY(-4px); border-color: var(--brass); }
.sample-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.sample-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.88), rgba(8, 9, 11, 0.35) 55%, rgba(8, 9, 11, 0.5));
}
.sample-hero > * { position: relative; z-index: 2; }
.sample-brand {
  position: absolute; top: 26px; left: 44px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.3em; color: #fff;
}
.sample-kicker {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 14px;
}
.sample-title {
  font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
  font-weight: 300; font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; color: #fff; margin-bottom: 16px;
  text-wrap: balance;
}
.sample-sub { color: #d6d3cc; max-width: 520px; margin-bottom: 26px; }
@media (max-width: 720px) {
  .sample-hero { padding: 32px 22px; min-height: 460px; }
  .sample-brand { left: 22px; }
}

/* ---------- topbar logo ---------- */
.logo-img { height: 42px; width: auto; display: block; filter: invert(1); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 100px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 17, 20, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row > div { margin-bottom: 18px; }
  section { padding: 68px 0; }
  .hero { min-height: 86vh; padding-top: 120px; }
  h1 { font-size: clamp(2.05rem, 9.5vw, 4.4rem); }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.12em; }
  .hero-credit { position: static; text-align: left; margin-top: 26px; }
  .mobile-cta { display: block; }
  .topbar .btn { display: none; }
  .sheet { padding: 28px 20px 26px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .hero-copy { animation: none; opacity: 1; }
  .plan-svg { animation: none; opacity: 0.13; }
  .plan-svg .pl { animation: none; stroke-dashoffset: 0; }
  .plan-svg .plt { animation: none; opacity: 0; }
  .btn, .proof-card, .sheet, .fit-col, details,
  .card, .sample-hero, .hgal-card img { transition: none; }
}
