/* ==========================================================
   Punto Barber — paleta
   carbón cálido  : fondo. Premium y de oficio, no el negro "tech".
   hueso          : texto. Cálido, cansa menos que el blanco puro.
   latón          : acción. Naranja dorado: invita sin alarmar; dorado = oficio premium.
   salvia         : confirmación. Verde suave = seguridad, "está bien".
   rojo / azul    : solo en el poste del logo (identidad barbera, dosis mínima).
   ========================================================== */
:root {
  --bg: #0d0c0b;
  --surface: #151311;
  --surface-2: #1c1a17;
  --line: #2a2622;
  --line-2: #3a352f;
  --ink: #f4efe7;
  --ink-2: #cfc7ba;
  --muted: #8f877b;
  --brass: #e2a84b;
  --brass-hi: #efbd68;
  --brass-ink: #1a1206;
  --brass-soft: rgba(226, 168, 75, .12);
  --sage: #8dbf92;
  --pole-red: #c8412e;
  --pole-blue: #3a5a8c;

  --r: 16px;
  --r-sm: 10px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --logo: "Unbounded", "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grano de papel, casi invisible: le saca lo "plano" a la pantalla. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Luz cálida arriba, como una lámpara sobre el sillón. */
body::after {
  content: ""; position: absolute; top: -20vh; left: 50%; width: 120vw; height: 80vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(226, 168, 75, .09), transparent 70%);
  pointer-events: none; z-index: -1;
}
::selection { background: var(--brass); color: var(--brass-ink); }
a { color: inherit; }
img, iframe { display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
section[id], main[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

/* ---------- Barra de progreso (filo de navaja) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass-hi)); box-shadow: 0 0 8px rgba(226,168,75,.6); }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--brass); color: var(--brass-ink);
  border: 0; border-radius: 999px;
  font: 600 15px/1 var(--body); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.18), 0 6px 20px -8px rgba(226,168,75,.55);
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
/* Brillo que cruza el botón al pasar el mouse. */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { background: var(--brass-hi); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.99); }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .work:hover .arrow { transform: translateX(3px); }
.work:hover .arrow { transform: translate(2px, -2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::after { background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(13, 12, 11, .72);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
/* Logo: monograma PB. + nombre en Unbounded. */
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.pb { flex: 0 0 auto; height: 22px; width: auto; display: block; overflow: visible; }
.pb-dot { fill: var(--brass); transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease); }
.brand:hover .pb-dot { transform: scale(1.35); }
.brand-name { font: 700 13px/1 var(--logo); letter-spacing: .03em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 12px; border-radius: 999px; text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass); }
.nav .btn { white-space: nowrap; }
@media (max-width: 760px) { .nav-links { display: none; } }
@media (max-width: 340px) {
  .brand { gap: 8px; }
  .brand-name { font-size: 11px; }
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
}

/* ---------- Tipografía de secciones ---------- */
.section, .hero { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 11vw, 128px) var(--gutter) 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow span { color: var(--brass); }
.eyebrow::after { content: ""; height: 1px; width: 48px; background: var(--line-2); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s .2s var(--ease); }
.eyebrow.in::after { transform: scaleX(1); }
h2 { font: 600 clamp(28px, 3.6vw, 40px)/1.12 var(--display); letter-spacing: -.028em; max-width: 24ch; text-wrap: balance; }
.section-lead { color: var(--ink-2); max-width: 58ch; margin-top: 16px; font-size: 17px; text-wrap: pretty; }
.note { color: var(--muted); font: 400 12px/1.5 var(--mono); margin-top: 28px; letter-spacing: .02em; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding-top: clamp(48px, 8vw, 96px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 8px 14px; margin-bottom: 26px; }
.kicker .sep { color: var(--line-2); margin-right: 10px; }
.kicker { white-space: nowrap; }
@media (max-width: 480px) { .kicker-zona { display: none; } }
.dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sage); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.hero h1 { font: 600 clamp(36px, 5.2vw, 60px)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.mark { position: relative; display: inline-block; color: var(--brass); white-space: nowrap; }
.mark svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; }
.mark path { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; opacity: .55; stroke-dasharray: 320; stroke-dashoffset: 320; }
.mark.drawn path, .reveal.in .mark path { animation: draw 1.1s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { margin-top: 24px; font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; gap: 0; margin: 40px 0 0; padding: 0; }
.facts div { padding: 0 24px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 8px 0 0; font: 600 22px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-tag { display: inline-flex; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 380px) { .facts div { padding: 0 16px; } .facts dd { font-size: 19px; } }

/* ---------- Teléfono con demo en vivo ----------
   La web de adentro se dibuja a 390 px (celular real) y se achica con scale.
   --s = (ancho del teléfono − 20 px de marco) / 390 */
.phone {
  --w: 280px; --s: .6667;
  position: relative; width: var(--w); aspect-ratio: 390 / 800;
  padding: 10px; border-radius: 44px;
  background: linear-gradient(155deg, #34302b 0%, #1a1816 40%, #0f0e0d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 0 0 1px #2e2a26,
    0 40px 80px -30px rgba(0,0,0,.9),
    0 0 140px -50px rgba(226,168,75,.35);
}
/* Botones laterales del teléfono. */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2a2622; }
.phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .16) 0 #2a2622; }
.phone::after { right: -3px; top: 28%; height: 14%; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen iframe {
  width: 390px; height: calc(100% / var(--s)); border: 0;
  transform: scale(var(--s)); transform-origin: 0 0; pointer-events: none;
}
.glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(125deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 32%); }
.statusbar {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 30px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 26px;
  font: 600 11px/1 var(--body); color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  background: linear-gradient(rgba(0,0,0,.55), transparent); pointer-events: none;
}
.island { position: absolute; left: 50%; top: 8px; width: 78px; height: 20px; margin-left: -39px; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px #111; }
.bat { position: relative; width: 20px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.bat::after { content: ""; position: absolute; right: -3px; top: 3px; width: 1.5px; height: 4px; border-radius: 1px; background: rgba(255,255,255,.55); }
.bat i { position: absolute; left: 2px; top: 2px; bottom: 2px; width: 72%; border-radius: 1.5px; background: #fff; }
/* En el teléfono del hero la web empieza debajo de la barra de estado, como en un celular real. */
.hero .phone-screen { background: #050505; }
.hero .phone-screen iframe { margin-top: 30px; height: calc((100% - 30px) / var(--s)); }
.hero .statusbar { background: none; }
.phone-sm { --w: 220px; --s: .5128; border-radius: 36px; }
.phone-sm .phone-screen { border-radius: 27px; }
@media (max-width: 400px) { .hero .phone { --w: 250px; --s: .5897; } }

/* ---------- Tarjetas (con luz que sigue al mouse) ---------- */
.cards { display: grid; gap: 14px; margin-top: 40px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.card, .steps li, .plan, .fit-col, .calc {
  position: relative; background: var(--surface); border-radius: var(--r);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.03);
}
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(226,168,75,.08), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card { padding: 28px; }
.card-n { font: 500 12px/1 var(--mono); color: var(--brass); letter-spacing: .06em; }
.card h3 { font: 600 18px/1.3 var(--display); letter-spacing: -.015em; margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Trabajos ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 860px) {
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding: 8px var(--gutter) 16px 4px; margin: 0 calc(-1 * var(--gutter)) 0 -4px; scrollbar-width: none; }
  .works::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: start; flex: 0 0 auto; }
}
.work { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.work .phone { margin-bottom: 18px; transition: transform .5s var(--ease); }
.work:hover .phone { transform: translateY(-8px); }
.work-name { font: 600 17px/1 var(--display); letter-spacing: -.015em; display: inline-flex; gap: 6px; align-items: center; }
.work-name .arrow { color: var(--brass); font-size: 14px; }
.work-meta { font: 400 11px/1.4 var(--mono); color: var(--muted); letter-spacing: .03em; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; gap: 18px; padding: 26px; }
.step-n { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--brass); color: var(--brass); font: 500 13px/1 var(--mono); }
.steps h3 { font: 600 17px/1.3 var(--display); letter-spacing: -.015em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.steps small { font: 400 11px/1 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Calculadora y planes ---------- */
.calc { margin-top: 36px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 520px; }
.calc label { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.calc-row { display: flex; align-items: center; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.calc-row:focus-within { box-shadow: inset 0 0 0 1px var(--brass), 0 0 0 4px var(--brass-soft); }
.calc-prefix { padding: 0 2px 0 16px; color: var(--muted); font: 500 22px/1 var(--display); }
.calc input { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; color: var(--ink); font: 600 26px/1 var(--display); letter-spacing: -.02em; padding: 14px 8px 14px 4px; font-variant-numeric: tabular-nums; caret-color: var(--brass); }
.calc input:focus { outline: none; }
.calc-unit { padding-right: 16px; font: 400 11px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.calc-out { color: var(--muted); font-size: 15px; }
.calc-out b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; padding: 30px; }
.plan-featured { box-shadow: inset 0 0 0 1px rgba(226,168,75,.55), 0 30px 60px -40px rgba(226,168,75,.45); background: linear-gradient(180deg, rgba(226,168,75,.06), transparent 40%), var(--surface); }
.plan-badge { position: absolute; top: 22px; right: 22px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); padding: 6px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(226,168,75,.45); }
.plan h3 { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-price { margin-top: 18px; font: 500 17px/1 var(--display); color: var(--ink-2); display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font: 600 56px/.9 var(--display); color: var(--ink); letter-spacing: -.04em; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-min { font-size: 14px; color: var(--muted); margin-top: 12px; min-height: 1.6em; font-variant-numeric: tabular-nums; }
.plan-min b { color: var(--ink); font-weight: 600; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 22px 0 28px; display: grid; gap: 12px; flex: 1; border-top: 1px dashed var(--line-2); }
.plan li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 1.5px solid var(--sage); border-bottom: 1.5px solid var(--sage); transform: rotate(-45deg); }

.founder { margin-top: 14px; display: flex; gap: 18px; align-items: center; border-radius: var(--r); padding: 18px 22px; font-size: 15px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(255,255,255,.012) 10px 20px); }
.founder b { color: var(--ink); font-weight: 600; }
.seats { display: flex; gap: 5px; flex: 0 0 auto; }
.seats i { width: 10px; height: 22px; border-radius: 3px; background: var(--brass); box-shadow: 0 0 10px -2px rgba(226,168,75,.6); }
.seats i.taken { background: var(--line-2); box-shadow: none; }
@media (max-width: 560px) { .founder { flex-direction: column; align-items: flex-start; } }
.terms { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; color: var(--muted); font-size: 14px; }
.terms li { padding-left: 18px; position: relative; }
.terms li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--brass); }
.terms b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }

/* ---------- Para quién ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit-col { padding: 28px; }
.fit-col h3 { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.fit-yes h3 { color: var(--sage); }
.fit-no h3 { color: var(--muted); }
.fit-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15px; }
.fit-col li { padding-left: 26px; position: relative; color: var(--ink-2); }
.fit-yes li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 1.5px solid var(--sage); border-bottom: 1.5px solid var(--sage); transform: rotate(-45deg); }
.fit-no li { color: var(--muted); }
.fit-no li::before, .fit-no li::after { content: ""; position: absolute; left: 2px; top: .8em; width: 11px; height: 1.5px; background: var(--muted); transform: rotate(45deg); }
.fit-no li::after { transform: rotate(-45deg); }

/* ---------- Formulario ---------- */
.apply { margin-top: 36px; display: grid; gap: 22px; max-width: 720px; }
.form-progress { display: flex; align-items: center; gap: 14px; }
.form-progress-bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.form-progress-bar i { display: block; height: 100%; width: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); transition: transform .5s var(--ease); }
.form-progress-n { font: 500 11px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; min-width: 4.5ch; text-align: right; }
.form-progress.done .form-progress-n { color: var(--sage); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field span, .q legend { font-weight: 500; font-size: 15px; color: var(--ink); }
.field input {
  min-height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 0;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 400 16px var(--body); caret-color: var(--brass);
  transition: box-shadow .2s;
}
.field input::placeholder { color: #5f584f; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brass), 0 0 0 4px var(--brass-soft); }
.q { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.q legend { margin-bottom: 12px; padding: 0; width: 100%; }
.q label {
  position: relative; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 0; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2);
  transition: box-shadow .2s, background .2s, color .2s, gap .25s var(--ease), padding .25s var(--ease);
}
.q input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.q label::before {
  content: ""; width: 0; height: 5px; border-left: 1.5px solid var(--brass-ink); border-bottom: 1.5px solid var(--brass-ink);
  transform: rotate(-45deg) translateY(-2px); opacity: 0; transition: width .25s var(--ease), opacity .2s;
}
.q label:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.q label:has(input:checked) { background: var(--brass); color: var(--brass-ink); box-shadow: none; gap: 9px; padding-left: 14px; font-weight: 500; }
.q label:has(input:checked)::before { width: 9px; opacity: 1; }
.q label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.is-missing legend, .is-missing > span { color: var(--pole-red); }
.is-missing input { box-shadow: inset 0 0 0 1px var(--pole-red); }
.form-error { color: #e06a55; font-weight: 500; font-size: 15px; }
.form-fine { font: 400 11px/1.5 var(--mono); color: var(--muted); text-align: center; letter-spacing: .03em; }

.result { margin-top: 36px; max-width: 720px; border-radius: var(--r); padding: 32px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); animation: rise .6s var(--ease); }
.result:focus { outline: none; }
.result-tag { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.result h3 { font: 600 26px/1.15 var(--display); letter-spacing: -.025em; }
.result p { margin-top: 12px; color: var(--ink-2); }
.result ul { margin: 16px 0 0; padding-left: 0; list-style: none; color: var(--ink-2); display: grid; gap: 8px; }
.result li { padding-left: 18px; position: relative; }
.result li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--brass); }
.result .btn { margin-top: 24px; }
.result-a { box-shadow: inset 0 0 0 1px rgba(141,191,146,.5), 0 30px 60px -40px rgba(141,191,146,.4); }
.result-a .result-tag { color: var(--sage); }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 14px; padding: 0; margin: 18px 0 0; display: block; }
.link-btn:hover { color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font: 500 17px/1.4 var(--display); letter-spacing: -.01em; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--brass-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 1.5px; background: var(--brass); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 66ch; animation: rise .4s var(--ease); }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: clamp(96px, 14vw, 160px) auto 0; padding: 32px var(--gutter) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-bottom: 10px; }
.footer .brand-name { font-weight: 700; }
.footer-meta { font: 400 11px/1.9 var(--mono); letter-spacing: .03em; text-align: right; }
.footer-meta a { color: var(--ink-2); text-underline-offset: 3px; }
.footer-meta [data-clock] { color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .footer-meta { text-align: left; } }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
/* El hero entra solo al cargar, sin esperar al scroll. */
.js .hero .reveal { animation: entra .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .hero-copy > :nth-child(5) { animation-delay: .32s; }
.js .hero-phone { animation-delay: .2s !important; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
}
