/* Valhalla Build Group · propuesta de landing (Denso Creative Studio)
   Paleta: grafito casi negro, hormigón claro y ámbar de las luces de obra. Nunca #000. */
:root {
  --ink: #101113;
  --ink-2: #16181b;
  --ink-3: #1d2024;
  --line: rgba(236, 232, 225, 0.13);
  --paper: #ece8e1;
  --paper-2: #f5f2ec;
  --paper-line: rgba(16, 17, 19, 0.14);
  --text: #ece8e1;
  --muted: #a9a49b;
  --muted-dark: #57534c;
  --accent: #d8a35a;
  --accent-hi: #e6b673;
  --accent-ink: #8a5718;
  --error: #ff8f7a;
  --error-dark: #b3261e;

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1280px;
  --section: clamp(88px, 11vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 600; }
p, li, dd, dt, summary, blockquote { text-wrap: pretty; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap > *, .services-grid > *, .why-grid > *, .estimate-grid > *, .area-grid > *, .faq-grid > * { min-width: 0; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease-out); }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; flex: none; }
h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-stretch: 112%;
  font-weight: 600;
}
h3 { font-stretch: 108%; letter-spacing: -0.01em; }
.lede { color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); max-width: 34rem; margin-top: 24px; }
.micro { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--bg); color: var(--ink);
  border: 1px solid transparent; border-radius: 2px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), transform .16s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.9375rem; }
.btn-ghost { --bg: transparent; color: var(--text); border-color: rgba(236, 232, 225, 0.35); }
.btn-quiet { --bg: transparent; color: var(--ink); border-color: var(--paper-line); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--accent-hi); }
  .btn:hover svg { transform: translateX(3px); }
  .btn-ghost:hover { --bg: rgba(236, 232, 225, 0.08); border-color: rgba(236, 232, 225, 0.6); }
  .btn-quiet:hover { --bg: rgba(16, 17, 19, 0.05); border-color: rgba(16, 17, 19, 0.35); }
}

/* ---------- Cabecera ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-head.is-solid { background: rgba(16, 17, 19, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.bw-main { font-stretch: 125%; font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.12em; text-transform: uppercase; }
.bw-sub { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.head-nav { display: flex; gap: 28px; margin-left: auto; }
.head-nav a { font-size: 0.9375rem; text-decoration: none; color: var(--muted); transition: color .2s var(--ease-out); }
.head-nav a:hover { color: var(--text); }
@media (max-width: 960px) {
  .head-nav { display: none; }
  .site-head .btn-sm { margin-left: auto; }
}
@media (max-width: 420px) {
  .head-row { height: 64px; gap: 12px; }
  .brand-mark { width: 26px; height: 26px; }
  .bw-main { font-size: 0.9375rem; letter-spacing: 0.1em; }
  .bw-sub { font-size: 0.5625rem; letter-spacing: 0.26em; }
  .site-head .btn-sm { min-height: 40px; padding: 0 12px; font-size: 0.875rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; padding: 140px 0 96px; isolation: isolate; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 72% 50%; transform-origin: 70% 60%; }
.js .hero-media img { animation: heroIn 2.2s var(--ease-out) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.82) 0%, rgba(16, 17, 19, 0.55) 36%, rgba(16, 17, 19, 0.08) 66%, rgba(16, 17, 19, 0) 100%),
    linear-gradient(180deg, rgba(16, 17, 19, 0.55) 0%, rgba(16, 17, 19, 0) 22%, rgba(16, 17, 19, 0) 70%, var(--ink) 100%);
}
/* Grano fino: disimula la blandura de las imágenes generadas */
.hero-shade::after, .band-shade::after, .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.22; mix-blend-mode: overlay;
}
.hero-inner { position: relative; }
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-stretch: 114%;
  font-weight: 600;
  max-width: 13ch;
}
.hero-lede { margin-top: 28px; max-width: 34rem; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: rgba(236, 232, 225, 0.86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero .micro { margin-top: 18px; }
.js .hero-in { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(180ms + var(--i) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .hero { align-items: flex-end; min-height: 100svh; padding: 120px 0 56px; }
  .hero-media img { object-position: 50% 40%; }
  .hero-shade { background: linear-gradient(180deg, rgba(16, 17, 19, 0.5) 0%, rgba(16, 17, 19, 0.1) 26%, rgba(16, 17, 19, 0.55) 52%, rgba(16, 17, 19, 0.94) 78%, var(--ink) 100%); }
  .hero-title { font-size: clamp(2.25rem, 10.4vw, 3rem); font-stretch: 108%; }
  .hero-lede { margin-top: 20px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Revelados al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Marcos de imagen ---------- */
.frame { position: relative; margin: 0; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Servicios ---------- */
.services { padding: var(--section) 0; }
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.services-intro { position: sticky; top: 120px; }
.services-photo { margin-top: 48px; aspect-ratio: 4 / 3.4; }
.services-photo img { object-position: 40% 60%; }
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.12; }
.service p { color: var(--muted); max-width: 36rem; }
.service-link {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-family: var(--f-mono); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--accent); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid rgba(216, 163, 90, 0.35);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.service-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service-link:hover { color: var(--accent-hi); border-color: var(--accent-hi); }
  .service-link:hover svg { transform: translateX(3px); }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .services-intro { position: static; }
  .services-photo { margin-top: 36px; aspect-ratio: 4 / 3; }
}

/* ---------- Banda con cita ---------- */
.band { position: relative; min-height: clamp(460px, 66vh, 680px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.band-media, .band-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band-media { z-index: -2; }
.band-media img { object-fit: cover; object-position: 60% 40%; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(16, 17, 19, 0.2) 28%, rgba(16, 17, 19, 0.35) 55%, rgba(16, 17, 19, 0.92) 100%); }
.band-inner { padding-bottom: clamp(56px, 8vw, 104px); }
.band-quote { margin: 0; max-width: 22em; font-size: clamp(1.625rem, 3.2vw, 2.75rem); line-height: 1.14; letter-spacing: -0.015em; font-stretch: 110%; font-weight: 500; }

/* ---------- Proceso ---------- */
.process { padding: calc(var(--section) * 0.55) 0 var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(56px, 7vw, 88px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.step { position: relative; padding-top: 44px; }
.step-node { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border: 1px solid var(--accent); background: var(--ink); transform: rotate(45deg); }
.step-node::after { content: ""; position: absolute; inset: 3px; background: var(--accent); transform: scale(0); transition: transform .6s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 260ms); }
.js .step.in .step-node::after, html:not(.js) .step-node::after { transform: scale(1); }
.step h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 1080px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding: 0 0 40px 48px; }
  .step:last-child { padding-bottom: 0; }
  .step-node { top: 4px; }
  .step p { max-width: 34rem; }
}

/* ---------- Por qué ---------- */
.why { padding: 0 0 var(--section); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.why-photo { aspect-ratio: 1 / 1.08; }
.why-photo img { object-position: 38% 50%; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; margin-top: 48px; }
.why-list div { border-top: 1px solid var(--line); padding-top: 20px; }
.why-list dt { font-weight: 600; font-stretch: 106%; font-size: 1.125rem; line-height: 1.3; margin-bottom: 10px; }
.why-list dd { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-photo { aspect-ratio: 4 / 3; order: 2; }
}
@media (max-width: 560px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Formulario de presupuesto (sección clara) ---------- */
.estimate { background: var(--paper); color: var(--ink); padding: var(--section) 0; }
.estimate .eyebrow { color: var(--accent-ink); }
.estimate .lede { color: var(--muted-dark); }
.estimate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.next { margin-top: 48px; border-top: 1px solid var(--paper-line); padding-top: 24px; }
.next-title { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--muted-dark); margin-bottom: 16px; }
.next ul { list-style: none; display: grid; gap: 12px; }
.next li { display: flex; gap: 14px; align-items: baseline; font-size: 1.0625rem; }
.next li::before { content: ""; width: 7px; height: 7px; background: var(--accent-ink); transform: rotate(45deg) translateY(-2px); flex: none; }
@media (max-width: 900px) { .estimate-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .next { margin-top: 32px; } }
.privacy { margin-top: 28px; font-size: 0.875rem; color: var(--muted-dark); }

.form-card { background: var(--paper-2); border: 1px solid var(--paper-line); padding: clamp(24px, 4vw, 48px); border-radius: 2px; box-shadow: 0 30px 60px -40px rgba(16, 17, 19, 0.35); }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 36px; }
.seg { position: relative; padding-top: 12px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(16, 17, 19, 0.42); transition: color .3s var(--ease-out); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg::before, .seg::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: rgba(16, 17, 19, 0.12); }
.seg::after { background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.seg.is-on, .seg.is-done { color: var(--ink); }
.seg.is-on::after, .seg.is-done::after { transform: scaleX(1); }
.seg.is-done::after { background: var(--accent-ink); }

.q-step legend { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; font-stretch: 108%; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 24px; padding: 0; text-wrap: balance; }
.q-step legend:focus { outline: none; }
.q-step.is-entering { animation: stepIn .42s var(--ease-out) both; }
.q-step.is-entering.from-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 16px;
  border: 1px solid var(--paper-line); background: #fbf9f5; border-radius: 2px;
  font-weight: 500; line-height: 1.3;
  transition: border-color .18s var(--ease-out), background-color .18s var(--ease-out), transform .16s var(--ease-out), box-shadow .18s var(--ease-out);
}
.opt span::before { content: ""; width: 16px; height: 16px; flex: none; border: 1px solid rgba(16, 17, 19, 0.35); border-radius: 50%; transition: border-color .18s, box-shadow .18s, background-color .18s; }
.opt:active span { transform: scale(0.985); }
.opt input:checked + span { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .opt:hover span { border-color: rgba(16, 17, 19, 0.45); } }
.opt-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .options { grid-template-columns: minmax(0, 1fr); } .opt span { min-height: 54px; } }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; margin-top: 0; }
.q-step[data-step="1"] .field { margin-top: 24px; }
.field-label { font-size: 0.9375rem; font-weight: 600; }
.field-label em { font-style: normal; font-weight: 400; color: var(--muted-dark); margin-left: 6px; font-size: 0.875rem; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; background: #fff; color: var(--ink);
  border: 1px solid rgba(16, 17, 19, 0.24); border-radius: 2px; font-size: 1rem;
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(16, 17, 19, 0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138, 87, 24, 0.22); }
.field input[aria-invalid="true"] { border-color: var(--error-dark); }
.err { color: var(--error-dark); font-size: 0.875rem; font-weight: 500; }
p.err { margin-top: 14px; }
.hint { margin-top: 14px; font-size: 0.875rem; color: var(--muted-dark); }

.q-nav { display: flex; gap: 12px; margin-top: 32px; align-items: center; }
.q-nav [data-next], .q-nav [data-submit] { margin-left: auto; }
.q-nav .btn:not(.btn-quiet) { --bg: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .q-nav .btn:not(.btn-quiet):hover { --bg: #2a2d32; } }
@media (max-width: 420px) { .q-nav [data-next], .q-nav [data-submit] { flex: 1; } }

.done { text-align: left; animation: stepIn .5s var(--ease-out) both; }
.done:focus { outline: none; }
.done-mark { width: 44px; height: 44px; color: var(--accent-ink); margin-bottom: 24px; }
.done h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 14px; }
.done p { color: var(--muted-dark); margin-bottom: 28px; max-width: 30rem; }

/* ---------- Zona ---------- */
.area { padding: var(--section) 0 calc(var(--section) * 0.7); }
.area-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: end; }
.places { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.places li { padding: 18px 0; border-bottom: 1px solid var(--line); font-stretch: 108%; font-weight: 500; font-size: 1.125rem; display: flex; align-items: center; gap: 12px; }
.places li::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); flex: none; }
@media (max-width: 900px) { .area-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 560px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } .places li { font-size: 1rem; } }

/* ---------- FAQ ---------- */
.faq { padding: calc(var(--section) * 0.7) 0 var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; font-stretch: 104%;
  transition: color .2s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--accent-hi); } }
.faq-a { padding: 0 48px 28px 0; color: var(--muted); max-width: 44rem; }
.faq details[open] .faq-a { animation: faqIn .35s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-a { padding-right: 0; } }

/* ---------- CTA final ---------- */
.final { padding: var(--section) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(216, 163, 90, 0.12), transparent 70%), var(--ink-2); }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-mark { width: 52px; height: 52px; color: var(--accent); margin-bottom: 36px; }
.final h2 { font-size: clamp(2.125rem, 5vw, 4.25rem); max-width: 16em; }
.final-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- Pie ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.foot-line { color: var(--muted); font-size: 0.9375rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-left: auto; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.foot-nav a:hover { color: var(--text); }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-legal p { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 700px) { .foot-nav { margin-left: 0; } .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- CTA fija en móvil ---------- */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    min-height: 54px; background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 2px;
    box-shadow: 0 16px 40px -12px rgba(16, 17, 19, 0.6);
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease-out);
  }
  .sticky-cta svg { width: 18px; height: 18px; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta:active { transform: scale(0.98); }
}

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
}

@media (max-width: 420px) {
  .hero .eyebrow { font-size: 0.6875rem; letter-spacing: 0.1em; }
  .hero .eyebrow::before { display: none; }
}
