/* Gilmetrik Aberturas — estilos del sitio.
   Un solo motivo gráfico: la esquina cortada a 45°, como el corte de los perfiles. */

@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #161c1a;
  --surface: #1f2725;
  --surface-2: #27302d;
  --ink: #e3e2da;
  --muted: #9aa099;
  --accent: #9fc7b8;
  --accent-ink: #161c1a;
  --error: #f3b1a8;

  --font: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1rem + 2.6vw, 3.5rem);
  --step-monument: clamp(4.5rem, 21vw, 26rem);

  --margin: clamp(20px, 2.2vw, 32px);
  --gutter: clamp(20px, 2.2vw, 32px);
  --gap-section: clamp(96px, 14vw, 200px);
  --cut: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 1081px) {
  :root { --margin: clamp(56px, 7vw, 140px); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--font);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--margin); top: -100px; z-index: 50;
  background: var(--accent); color: var(--accent-ink); padding: 12px 16px; font-weight: 500;
}
.skip:focus { top: 12px; }

/* El corte a 45° en la esquina superior derecha */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* ---------- Botones ---------- */
.btn {
  --btn-cut: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 0;
  font-weight: 500; font-size: var(--step-body); line-height: 1.1;
  text-decoration: none; text-align: center;
  clip-path: polygon(0 0, calc(100% - var(--btn-cut)) 0, 100% var(--btn-cut), 100% 100%, 0 100%);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: var(--step-small); --btn-cut: 9px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: #333d39; }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { background: #2c3532; }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: 0 var(--margin);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  position: relative; z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--step-body); text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav-links a, .footer-links a { position: relative; text-decoration: none; }
.nav-links a { font-size: var(--step-small); font-weight: 500; padding: 6px 0; }
.nav-links a::after, .footer-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after, .footer-links a:hover::after { transform: scaleX(1); }
html:has(dialog[open]) { overflow: hidden; }
.nav-toggle { display: none; }

.hero-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: start;
  padding-top: clamp(24px, 6vh, 72px);
}
.hero-copy { grid-column: 1 / span 6; display: grid; gap: 36px; padding-top: 8px; }
.hero-lead { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; letter-spacing: -0.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; gap: 8px; color: var(--muted); }
.hero-facts li { padding-left: 22px; position: relative; }
.hero-facts li::before, .points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px;
  background: var(--accent);
  clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%);
}
.hero-photo { grid-column: 7 / -1; overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 11; max-height: 52svh; object-fit: cover; }

.monument {
  font-size: var(--step-monument);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.055em;
  white-space: nowrap;
  margin-top: clamp(8px, 2vh, 24px);
  transform-origin: 50% 100%;
}
.monument-word { display: inline-block; transform: translateY(12%); }

/* ---------- Líneas ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: stretch;
  min-height: 88svh;
  margin-top: var(--gap-section);
  padding: 0 var(--margin);
}
.plate { background: #fff; align-self: center; position: relative; overflow: hidden; }
.plate img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); }
.plate img.is-leaving { transform: scale(.94); opacity: .35; }
.plate .plate-next {
  position: absolute; inset: 0; height: 100%;
  animation: plate-wipe .9s var(--ease-out) both;
}
@keyframes plate-wipe {
  from { clip-path: polygon(100% 0, 100% 0, 100% 0); transform: scale(1.08); }
  to { clip-path: polygon(-100% 0, 100% 0, 100% 200%); transform: scale(1); }
}
.line-panel.is-out > * { opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; transition-delay: 0s; }
.line-panel.is-entering > * { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.tabs [role="tab"] { position: relative; }
.tabs [role="tab"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); transform-origin: left; }
.showcase-text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: clamp(8px, 3vw, 48px) 0 clamp(8px, 3vw, 48px) clamp(0px, 3vw, 56px);
}
.h-section { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.tabs { display: flex; gap: 8px; margin-top: 24px; }
.tabs [role="tab"] {
  background: none; border: 0; padding: 8px 0; margin-right: 24px;
  font-size: var(--step-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--muted);
  transition: color .25s ease;
}
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--accent); }
.line-panel { display: grid; gap: 20px; max-width: 46ch; }
.h-line { font-size: var(--step-lead); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.points { display: grid; gap: 6px; }
.points li { padding-left: 22px; position: relative; }

.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell {
  display: flex; align-items: center; min-height: 76px; padding: 0 22px;
  border: 0; font-weight: 500; text-align: left; text-decoration: none; line-height: 1.2;
  transition: background-color .25s ease, color .25s ease;
}
.cell-ink { background: var(--ink); color: var(--bg); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.cell-ink:hover { background: var(--accent); }
.cell-tone { background: var(--surface-2); }
.cell-tone:hover { background: #333d39; }

/* ---------- Modelo 3D ---------- */
.model {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center;
  padding: 0 var(--margin);
  margin-top: var(--gap-section);
}
.model-text { grid-column: 1 / span 4; display: grid; gap: 24px; align-content: center; }
.h-model { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.model-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.model-controls[hidden] { display: none; }
.seg { display: inline-flex; background: var(--surface-2); padding: 4px; }
.seg button {
  min-height: 44px; padding: 0 18px; border: 0; background: none; color: var(--muted);
  font-weight: 500; transition: background-color .25s ease, color .25s ease;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.model-note { font-size: var(--step-small); color: var(--muted); }
.model-spec { font-weight: 500; }
.model-spec[hidden] { display: none; }
.model-spec.is-changing { animation: rise .5s var(--ease-out) both; }
.model-stage {
  grid-column: 5 / -1; position: relative;
  height: clamp(360px, 62svh, 640px);
  background: var(--surface);
  overflow: hidden;
}
.model-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.model-stage.is-dragging canvas { cursor: grabbing; }
.model-fallback { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.model-stage.is-live .model-fallback { display: none; }
.model-hint {
  position: absolute; left: 20px; bottom: 16px; font-size: var(--step-small); color: var(--muted);
  pointer-events: none; transition: opacity .4s ease;
}
.model-stage:not(.is-live) .model-hint, .model-stage.was-dragged .model-hint { opacity: 0; }

/* ---------- Tipologías ---------- */
.features {
  padding: clamp(80px, 9vw, 140px) var(--margin);
  margin-top: var(--gap-section);
  background: var(--surface);
}
.h-small { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-bottom: clamp(48px, 7vw, 96px); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 40px;
}
.feature-col:nth-child(1) { grid-column: 1 / span 3; }
.feature-col:nth-child(2) { grid-column: 4 / span 3; }
.feature-col:nth-child(3) { grid-column: 7 / span 3; }
.feature-col h3 { font-size: var(--step-body); font-weight: 500; margin-bottom: 1.25em; }
.feature-col li {
  color: var(--muted); line-height: 1.25; padding: 5px 0; width: fit-content;
  cursor: default; transition: color .2s ease;
}
.feature-col li:hover, .feature-col li:focus-visible, .feature-col li.is-active { color: var(--ink); }
.feature-sum { display: none; }
.feature-aside { grid-column: 10 / -1; display: grid; gap: 20px; align-content: start; }
.plate-sm { background: #fff; }
.plate-sm img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature-desc { min-height: 3em; }

/* ---------- Proceso ---------- */
.process { padding: 0 var(--margin); margin-top: var(--gap-section); }
.steps { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 56px; }
.step { grid-column-end: -1; display: grid; gap: 14px; }
.step:nth-child(1) { grid-column-start: 1; }
.step:nth-child(2) { grid-column-start: 2; }
.step:nth-child(3) { grid-column-start: 3; }
.step:nth-child(4) { grid-column-start: 4; }
.step-line { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.step-accent { color: var(--accent); }
.step p:not(.step-line) { max-width: 40ch; }
.step-lines { display: flex; gap: 12px; margin-top: 10px; }
.step-lines figure { width: clamp(120px, 13vw, 190px); display: grid; gap: 8px; }
.step-lines img { background: #fff; aspect-ratio: 1; object-fit: cover; }
.step-lines figcaption { font-size: var(--step-small); color: var(--muted); order: -1; }

/* ---------- Preguntas ---------- */
.faq { padding: clamp(64px, 7vw, 120px) var(--margin); margin-top: var(--gap-section); background: var(--surface); }
.faq-row {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  align-items: baseline;
  padding: clamp(28px, 3vw, 44px) 0;
}
.faq-q { grid-column: 1 / span 6; font-size: var(--step-lead); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; max-width: 26ch; }
.faq-title { color: var(--muted); font-size: var(--step-head); font-weight: 700; letter-spacing: -0.035em; line-height: 1; max-width: none; }
.faq-row > p { grid-column: 8 / -1; max-width: 44ch; line-height: 1.55; }
.faq-head { padding-bottom: clamp(36px, 4vw, 64px); }

/* ---------- Contacto ---------- */
.contact { margin-top: 0; }
.row {
  display: flex; align-items: flex-end; gap: 0.5em;
  min-height: clamp(96px, 10vw, 150px);
  padding: 0 var(--margin) clamp(16px, 2vw, 26px);
  font-size: var(--step-head); font-weight: 500; line-height: 1; letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--surface);
  transition: background-color .25s ease;
}
.row:nth-child(odd) { background: var(--surface-2); }
.row:nth-child(even) { background: var(--bg); }
a.row:hover { background: #333d39; }
.row-muted { color: var(--muted); font-weight: 700; }
.row { position: relative; overflow: hidden; isolation: isolate; }
.row-bg {
  position: absolute; z-index: -1; right: var(--margin); top: 50%;
  height: 190%; width: auto;
  transform: translateY(-50%) rotate(-10deg);
  opacity: .1;
  pointer-events: none;
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
.row-bg-fill { fill: currentColor; }
.row-bg-line { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
a.row:hover .row-bg { opacity: .16; transform: translateY(-50%) rotate(-4deg) scale(1.04); }
.row-mail { font-size: min(var(--step-head), calc((100vw - 2 * var(--margin)) / 17)); }
.row-cta { background: var(--accent); color: var(--accent-ink); align-items: center; padding-top: clamp(16px, 2vw, 26px); }
.row-cta:nth-child(even) { background: var(--accent); }
.arrow-btn {
  width: 0.95em; height: 0.95em; min-width: 52px; min-height: 52px;
  display: inline-grid; place-items: center;
  background: var(--accent-ink); color: var(--accent); border: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform .35s var(--ease-out);
}
.arrow-btn svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 2; }
.arrow-btn:hover { transform: translateX(6px); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--bg);
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto auto;
  overflow: hidden;
  padding: clamp(64px, 9vw, 128px) var(--margin) 0;
}
.footer-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 48px; align-content: start; }
.footer-invite { grid-column: 1 / span 7; display: grid; gap: 32px; justify-items: start; }
.footer-title { font-size: clamp(2.25rem, 5vw, 5.5rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; max-width: 11ch; }
.footer-links { grid-column: 10 / -1; display: grid; gap: 10px; align-content: start; }
.footer-links a { overflow-wrap: anywhere; }
.footer-brand { margin-top: 20px; display: grid; gap: 8px; font-size: var(--step-small); }
.footer-brand img { width: 160px; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: var(--step-small);
  padding: 48px 0 12px;
}
.footer-word {
  font-size: clamp(4.5rem, 21vw, 26rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.06em;
  white-space: nowrap;
  transform: translateY(22%);
  transform-origin: 50% 100%;
}

/* ---------- Barra fija en móvil ---------- */
.dock { display: none; }

/* ---------- Modal ---------- */
.modal {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  padding: 0; border: 0;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); /* taste-skill-ignore: dialog */
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.modal::backdrop { background: rgba(8, 11, 10, .72); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px 0; }
.modal-close { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface-2); border: 0; flex: none; }
.modal-close:hover { background: #333d39; }
.modal-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.form { --form-gap: 12px; display: grid; gap: var(--form-gap); padding: 8px 24px 22px; }
.form-intro { color: var(--muted); font-size: var(--step-small); }
.field { display: grid; gap: 4px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--form-gap); }
.field label { font-weight: 500; font-size: var(--step-small); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 9px 12px;
  background: var(--bg); border: 1px solid #4b5551; border-radius: 0;
  transition: border-color .2s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23e3e2da' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6e7873; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: var(--step-small); color: var(--muted); }
.field-error { font-size: var(--step-small); color: var(--error); }
.field-error:empty { display: none; }
.field-check { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.field-check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); margin: 0; }
.field-check label { font-weight: 400; font-size: var(--step-small); }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot oculto */
/* Turnstile no ocupa lugar mientras trabaja en segundo plano; si pide un clic, aparece en su fila */
.turnstile { height: 0; overflow: hidden; margin-top: calc(var(--form-gap) * -1); }
.turnstile.is-visible { height: auto; overflow: visible; margin-top: 0; }
.turnstile iframe { max-width: 100%; }
.form-status { color: var(--error); }
.form-status:empty { display: none; }
.form-done { display: grid; gap: 16px; justify-items: start; padding: 12px 24px 28px; }
.form-done[hidden] { display: none; }
.form-done:focus { outline: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav-links li:nth-child(4), .nav-links li:nth-child(5) { display: none; }
  .hero-copy { grid-column: 1 / span 6; }
  .hero-photo { grid-column: 7 / -1; }
  .model-text { grid-column: 1 / span 5; }
  .model-stage { grid-column: 6 / -1; }
  .feature-col:nth-child(1) { grid-column: 1 / span 4; }
  .feature-col:nth-child(2) { grid-column: 5 / span 4; }
  .feature-col:nth-child(3) { grid-column: 9 / span 4; }
  .feature-aside { grid-column: 1 / -1; grid-template-columns: 200px 1fr; align-items: center; column-gap: var(--gutter); }
  .footer-invite, .footer-links { grid-column: 1 / -1; }
  .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
  .footer-brand { margin-top: 0; }
  .footer { min-height: 0; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 760px) {
  :root { --cut: 20px; }
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    background: var(--surface-2); border: 0; font-weight: 500; font-size: var(--step-small);
  }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: calc(var(--margin) * -1); right: calc(var(--margin) * -1);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 8px var(--margin) 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4); /* taste-skill-ignore: menú abierto */
  }
  .nav-links.is-open { display: flex; }
  .nav-links li, .nav-links li:nth-child(4), .nav-links li:nth-child(5) { display: block; }
  .nav-links a { display: block; padding: 14px 0; font-size: var(--step-body); }
  .nav-links .btn { width: 100%; margin-top: 12px; min-height: 52px; font-size: var(--step-body); }

  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 8px; }
  .monument { order: 1; margin-top: 4px; }
  .monument-word { transform: none; }
  .hero-body { order: 2; display: grid; grid-template-columns: 1fr; row-gap: 32px; padding-top: 24px; }
  .hero-copy { grid-column: 1; gap: 24px; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { grid-column: 1; }
  .hero-photo img { aspect-ratio: 4 / 3; max-height: none; }

  .showcase { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .plate { align-self: auto; }
  .showcase-text { padding: 0; gap: 32px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }

  .model { grid-template-columns: 1fr; row-gap: 28px; }
  .model-text, .model-stage { grid-column: 1; }
  .model-stage { height: 72vw; min-height: 300px; }

  .feature-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .feature-col:nth-child(n) { grid-column: 1; }
  .feature-col li { line-height: 1.4; color: var(--ink); padding: 3px 0; }
  .feature-col h3 { margin-bottom: 0.6em; color: var(--accent); }
  .feature-sum { display: block; color: var(--muted); margin-top: 12px; }
  .feature-aside { grid-column: 1; grid-template-columns: 1fr; }
  .feature-desc { display: none; }

  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step:nth-child(n) { grid-column: 1; }
  .step:nth-child(2) { padding-left: 6vw; }
  .step:nth-child(3) { padding-left: 12vw; }
  .step:nth-child(4) { padding-left: 18vw; }
  .step-line { line-height: 1.05; }

  .faq-row { grid-template-columns: 1fr; row-gap: 12px; padding: 28px 0; }
  .faq-q, .faq-row > p { grid-column: 1; }


  .row { min-height: 88px; flex-wrap: wrap; }
  .row-bg { height: 150%; right: -4%; }
  .row-mail { font-size: var(--step-lead); }
  .row-cta { justify-content: space-between; flex-wrap: nowrap; }
  .arrow-btn { width: 56px; height: 56px; }

  .footer { min-height: 0; padding-bottom: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-invite, .footer-links { grid-column: 1; }
  .footer-title { font-size: var(--step-head); }
  .footer-invite .btn { width: 100%; }
  .footer-legal { padding-top: 40px; }
  

  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .45); /* taste-skill-ignore: barra fija */
    transform: translateY(110%);
    transition: transform .4s var(--ease-out);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { min-height: 48px; }

  .field-pair { grid-template-columns: 1fr; }
  .modal-head { padding: 20px 20px 0; }
  .form, .form-done { padding-left: 20px; padding-right: 20px; }
  .form { padding-bottom: 16px; }
}

/* ---------- Movimiento ---------- */
.js [data-reveal] > *, .js [data-reveal].reveal-self {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js [data-reveal].is-in > *, .js [data-reveal].reveal-self.is-in { opacity: 1; transform: none; }
.js .plate[data-reveal], .js .plate-sm { clip-path: polygon(0 0, 0 0, 0 0, 0 100%, 0 100%); transition: clip-path 1.3s var(--ease-out); }
.js .plate[data-reveal].is-in, .js .is-in .plate-sm { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.js .plate[data-reveal] > * { opacity: 1; transform: none; }

.hero-lead, .hero-actions, .hero-photo { animation: rise .9s var(--ease-out) both; }
.hero-actions { animation-delay: .08s; }
.hero-photo { animation-delay: .16s; }
.hero-photo img { animation: settle 1.6s var(--ease-out) both; }
.monument-word { animation: word-up 1.1s .1s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes word-up { from { transform: translateY(60%); } }

/* Firma: el nombre pesa al hacer scroll */
@supports (animation-timeline: view()) {
  .monument { animation: monument-shrink linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes monument-shrink { to { transform: scale(.93); } }
  .footer-word { animation: footer-grow linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  @keyframes footer-grow { from { scale: .92; } to { scale: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] > *, .js [data-reveal].reveal-self { opacity: 1; transform: none; }
  .js .plate[data-reveal], .js .plate-sm { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
}

/* ---------- Páginas secundarias ---------- */
.page-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--margin); }
.legal { max-width: 68ch; margin: 0 auto; padding: clamp(32px, 6vw, 96px) var(--margin) 120px; display: grid; gap: 18px; }
.legal h1 { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin-bottom: 8px; }
.legal h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-top: 28px; }
.legal a { color: var(--accent); }
.legal-list { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.legal-links { margin-top: 40px; font-size: var(--step-small); color: var(--muted); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal { flex-wrap: wrap; }
.footer-credit a { font-weight: 500; }
.notfound { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 28px; padding: var(--margin); overflow: hidden; }
.notfound-word { font-size: clamp(8rem, 40vw, 30rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.06em; }
