/* Bastida Abogados — landing
   Sistema: papel blanco, un solo color de marca (azul marino), dorado como
   puntuación, verde sólo para WhatsApp. Botones 4px, tarjetas 8px, sellos 12px. */

:root {
  --navy: #0c263e;
  --navy-deep: #071a2c;
  --ink: #111a2b;
  --graphite: #4b505a;
  --line: #e3e5ea;
  --fog: #f4f5f7;
  --wash: #e6ecf2;
  --gold: #b89a6c;
  --gold-deep: #84663a;
  --gold-light: #dcc49a;
  --note: #f6efe0;
  --paper: #ffffff;
  --wa: #25d366;
  --wa-hover: #1fc15c;
  --wa-ink: #05290f;
  --error: #b3261e;

  --font-display: 'Sofia Sans Extra Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-btn: 4px;
  --radius-card: 8px;
  --radius-feature: 12px;
  --shadow-lift: rgba(15, 29, 56, 0.1) 0 20px 25px -5px, rgba(15, 29, 56, 0.1) 0 8px 10px -6px;
  --shadow-spot: rgba(0, 0, 0, 0.16) 0 10px 36px 0;

  --page: 1200px;
  --gutter: 24px;
  --section: 96px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--page) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-wa { width: 20px; height: 20px; flex: none; fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border: 0; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }

.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: var(--wa-hover); box-shadow: 0 6px 18px -6px rgba(37, 211, 102, .7); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.btn-lg { padding: 17px 26px; font-size: 17px; }
.btn-sm { padding: 11px 16px; font-size: 15px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--navy);
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.link-arrow:hover { text-decoration-color: var(--navy); }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateY(3px); }

/* ---------- Barra superior ---------- */

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 42px; height: 42px; border-radius: var(--radius-card); flex: none; }
.brand-text { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }

.topbar-actions { display: flex; align-items: center; gap: 20px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.topbar-phone .icon { width: 18px; height: 18px; color: var(--navy); }
.topbar-phone:hover { color: var(--navy); }

/* ---------- Secciones ---------- */

.section { padding-block: var(--section); }
.section-fog { background: var(--fog); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

.h2 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.022em; color: var(--ink); }
.h3 { font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 19px; line-height: 1.5; color: var(--graphite); }
.muted { color: var(--graphite); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Hero ---------- */

.hero { padding-block: 40px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 72px; align-items: center; }

.hero-title {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(46px, 5.9vw, 86px); line-height: .96;
  letter-spacing: .022em; text-transform: uppercase;
  color: var(--navy); text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title .answer { margin-top: .12em; color: var(--gold-deep); }

.hero-sub { max-width: 600px; margin-top: 26px; font-size: 19px; line-height: 1.5; color: var(--graphite); }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.hero-micro { margin-top: 16px; font-size: 14px; color: var(--graphite); }

.hero-visual { position: relative; padding-bottom: 92px; }

.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-feature); background: var(--wash);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait-fallback {
  position: absolute; inset: 0; display: none;
  flex-direction: column; justify-content: flex-end; padding: 26px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(184, 154, 108, .22), transparent 60%),
    linear-gradient(160deg, #173a5c, var(--navy-deep));
  color: #fff;
}
.portrait.no-photo img { display: none; }
.portrait.no-photo .portrait-fallback { display: flex; }
.portrait-mono {
  position: absolute; top: 4%; right: 6%;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(130px, 17vw, 230px);
  line-height: .8; letter-spacing: .02em; color: rgba(220, 196, 154, .22);
}
.portrait-name { font-weight: 600; font-size: 18px; }
.portrait-role { font-size: 14px; color: rgba(255, 255, 255, .78); }

.chat {
  position: absolute; left: -44px; bottom: 0; width: min(340px, 88%);
  padding: 14px 14px 16px; border-radius: var(--radius-feature);
  background: var(--paper); box-shadow: var(--shadow-lift);
}
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; }
.chat-head span:last-child { margin-left: auto; font-weight: 400; color: var(--graphite); }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.bubble + .bubble { margin-top: 8px; }
.bubble-out { margin-left: auto; background: #dcf8c6; border-bottom-right-radius: 3px; }
.bubble-in { background: var(--fog); border-bottom-left-radius: 3px; }

/* Franja de confianza */
.trust { margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 24px 28px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line); }
.trust li:first-child { padding-left: 0; }
.trust .icon { color: var(--navy); }

/* ---------- 2. Problema ---------- */

.cards-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.said {
  position: relative; padding: 24px 24px 24px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  font-size: 17px; line-height: 1.45;
  transition: border-color .25s, transform .35s var(--ease);
}
.said::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); transform: scaleY(.35); transform-origin: top; transition: transform .35s var(--ease); }
.said:hover { border-color: #cfd4dd; transform: translateY(-2px); }
.said:hover::before { transform: scaleY(1); }
.said b { font-weight: 600; }

.closing-note { max-width: 800px; margin-top: 40px; font-size: 19px; line-height: 1.5; color: var(--graphite); }
.closing-note strong { color: var(--ink); font-weight: 600; }

/* ---------- 3. Lo que está en juego ---------- */

.stakes { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.stakes-body p { color: var(--graphite); }
.stakes-body p strong { color: var(--ink); font-weight: 600; }
.stakes-body .h2 { margin-bottom: 28px; }

.stat-card { padding: 32px; border-radius: var(--radius-card); background: var(--wash); }
.stat-num { font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .38em; font-weight: 600; letter-spacing: -0.01em; margin-left: 6px; }
.stat-card p { margin-top: 12px; font-size: 15px; color: var(--graphite); }

.tip { margin-top: 16px; padding: 22px 24px; border-radius: var(--radius-card); background: var(--note); font-size: 19px; font-weight: 600; line-height: 1.35; }
.stakes-cta { margin-top: 28px; }

/* ---------- 4. Quiénes somos ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.about .portrait { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); }

.file-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.file-tag .struck { position: relative; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-btn); color: var(--graphite); letter-spacing: .06em; }
.file-tag .struck::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .35s; }
.file-tag.is-in .struck::after, html:not(.js) .file-tag .struck::after { transform: scaleX(1); }
.file-tag .named { color: var(--navy); font-weight: 600; }

.about-body .h2 { margin-bottom: 28px; }
.about-body p { color: var(--graphite); }

.quote { margin: 40px 0 0; padding: 40px; border-radius: var(--radius-feature); background: var(--navy); color: #fff; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--gold-light); text-wrap: pretty; }
.quote figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; color: rgba(255, 255, 255, .8); }
.quote figcaption b { display: block; color: #fff; font-weight: 600; }

/* ---------- 5. Cómo funciona ---------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps::before, .steps::after { content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 1px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-in::after, html:not(.js) .steps::after { transform: scaleX(1); }

.step { position: relative; z-index: 1; counter-increment: step; }
.step::before {
  content: counter(step); display: inline-block; padding-right: 16px; margin-bottom: 18px;
  background: var(--fog);
  font-size: 68px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--graphite); }
.steps-cta { margin-top: 48px; }

/* ---------- 6. Beneficios ---------- */

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); transition: border-color .25s, transform .35s var(--ease); }
.benefit:hover { border-color: var(--navy); transform: translateY(-3px); }
.benefit .icon { width: 28px; height: 28px; color: var(--navy); margin-bottom: 20px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { font-size: 16px; color: var(--graphite); }

/* ---------- 7. Respaldo ---------- */

.counters { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter { padding: 36px 32px; }
.counter + .counter { border-left: 1px solid var(--line); }
.counter:first-child { padding-left: 0; }
.counter-num { font-size: clamp(52px, 7vw, 92px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.counter-num sup { font-size: .4em; vertical-align: top; position: relative; top: .1em; margin-left: 2px; color: var(--gold-deep); }
.counter p { margin-top: 10px; color: var(--graphite); font-size: 16px; }
.footnote { margin-top: 16px; max-width: 760px; font-size: 13px; color: var(--graphite); }

.proof { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 32px; margin-top: 72px; align-items: start; }
.proof.no-gallery { grid-template-columns: minmax(0, 520px); }
.proof-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.proof-head .h3 { font-size: 24px; letter-spacing: -0.015em; }

.car-nav { display: flex; gap: 8px; }
.car-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; }
.car-btn:hover { border-color: var(--navy); background: var(--fog); }
.car-btn .icon { width: 18px; height: 18px; }

.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-card); }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 calc((100% - 32px) / 3); aspect-ratio: 3 / 4; scroll-snap-align: start; overflow: hidden; border-radius: var(--radius-card); background: var(--fog); border: 1px solid var(--line); }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-slide.is-placeholder { display: grid; place-items: center; padding: 16px; text-align: center; font-size: 13px; color: var(--graphite); border-style: dashed; }
.proof-note { margin-top: 16px; font-size: 14px; color: var(--graphite); }

.license { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); }
.license .icon { width: 28px; height: 28px; color: var(--navy); margin-bottom: 18px; }
.license .license-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); font-weight: 600; }
.license .license-num { margin: 6px 0 10px; font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: .02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.license p { font-size: 15px; color: var(--graphite); }
.license .link-arrow { margin-top: 16px; font-size: 15px; }
.license .link-arrow:hover .arrow { transform: translate(2px, -2px); }

/* ---------- 8. Compromiso Cero Anticipos ---------- */

.pledge {
  position: relative; max-width: 980px; margin-inline: auto;
  padding: 64px 64px 56px;
  background: var(--paper);
  border: 1px solid var(--gold); border-radius: var(--radius-feature);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(184, 154, 108, .5);
}
.pledge-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.pledge .h2 { margin: 12px 0 20px; }
.pledge-intro { color: var(--graphite); }
.pledge-close { margin-top: 28px; font-weight: 600; font-size: 18px; line-height: 1.4; }
.pledge-cta { margin-top: 28px; }

.pledge-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; line-height: 1.4; }
.pledge-list li:first-child { padding-top: 4px; }
.pledge-list li:last-child { border-bottom: 0; }
.pledge-list .icon { color: var(--gold-deep); stroke-width: 2; margin-top: 1px; }

.seal { position: absolute; top: -46px; right: 48px; width: 116px; height: 116px; color: var(--gold-deep); background: var(--paper); border-radius: 50%; }
.seal svg { width: 100%; height: 100%; }
.seal text { font-family: var(--font-body); font-size: 9.6px; font-weight: 600; letter-spacing: .2em; fill: currentColor; }
.seal .seal-zero { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: 0; }
.js .seal { opacity: 0; transform: scale(1.7) rotate(-24deg); }
.js .pledge.is-in .seal { opacity: 1; transform: scale(1) rotate(-8deg); transition: transform .5s cubic-bezier(.2, 1.4, .4, 1) .45s, opacity .2s linear .45s; }
html:not(.js) .seal { transform: rotate(-8deg); }

/* ---------- 9. Confidencialidad ---------- */

.private { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; max-width: 900px; margin-inline: auto; align-items: start; }
.private-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--wash); color: var(--navy); }
.private .h2 { margin-bottom: 16px; }
.private p { font-size: 19px; color: var(--graphite); }

/* ---------- 10. Empresas ---------- */

.biz { background: var(--fog); border-block: 1px solid var(--line); padding-block: 22px; }
.biz .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.biz .wrap > div { flex: 1; min-width: 0; }
.biz h3 { font-size: 17px; font-weight: 600; display: inline; }
.biz p { display: inline; font-size: 16px; color: var(--graphite); }
.biz .link-arrow { white-space: nowrap; font-weight: 600; }
.biz .link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- 11. FAQ ---------- */

.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; background: none; border: 0; text-align: left; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; cursor: pointer; transition: color .2s; }
.faq-q:hover { color: var(--navy); }
.faq-mark { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: var(--radius-btn); transition: background-color .25s, border-color .25s; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--navy); transition: transform .3s var(--ease), background-color .25s; }
.faq-mark::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-mark { background: var(--navy); border-color: var(--navy); }
.faq-q[aria-expanded="true"] .faq-mark::before, .faq-q[aria-expanded="true"] .faq-mark::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-mark::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease); }
.js .faq-a { grid-template-rows: 0fr; }
.js .faq-a.is-open { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: 720px; padding-bottom: 24px; color: var(--graphite); }

/* ---------- 12. Cierre + formulario ---------- */

.final { background: var(--navy); color: #fff; padding-block: var(--section); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.final-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.final-copy .h2 { color: #fff; }
.final-copy .h2 em { font-style: normal; color: var(--gold-light); }
.final-copy p { margin-top: 24px; font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 480px; }
.final-copy .btn { margin-top: 32px; }
.final-micro { font-size: 14px !important; margin-top: 14px !important; color: rgba(255, 255, 255, .65) !important; }

.form-card { padding: 36px; border-radius: var(--radius-feature); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-spot); }
.form-card h3 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.form-card > p { margin-top: 8px; font-size: 15px; color: var(--graphite); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field .opt { font-weight: 400; color: var(--graphite); }
fieldset.field { border: 0; margin: 0; padding: 0; }

.input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper);
  font-size: 16px; line-height: 1.4;
  transition: border-color .2s;
}
.input::placeholder { color: #8b9099; }
.input:hover { border-color: #cfd4dd; }
.input:focus { outline: none; border-color: var(--navy); }
.input:disabled { background: var(--fog); color: #8b9099; }
textarea.input { min-height: 96px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230c263e' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400 !important; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--radius-card); font-size: 15px; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.choice input:hover + span { background: var(--fog); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.field-error { display: none; font-size: 13px; color: var(--error); }
.field.has-error .field-error { display: block; }
.field.has-error .input { border-color: var(--error); }

.form-alert { display: none; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-card); background: var(--note); font-size: 15px; font-weight: 500; }
.form-alert.is-visible { display: block; }
.form-submit { margin-top: 22px; }
.form-under { margin-top: 12px; text-align: center; font-size: 14px; color: var(--graphite); }
.form-ps { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-style: italic; color: var(--graphite); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.footer { padding-block: 56px 40px; font-size: 15px; color: var(--graphite); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer p { margin-bottom: 6px; }
.footer b { color: var(--ink); font-weight: 600; }
.footer a { color: var(--ink); text-underline-offset: 4px; }
.footer-logo { width: 168px; height: auto; margin-bottom: 16px; border-radius: var(--radius-card); }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-legal p { max-width: 760px; }
.footer-credit { margin-top: 20px; font-size: 13px; text-align: center; }

/* ---------- WhatsApp flotante (móvil) ---------- */

.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius-card);
  background: var(--wa); color: var(--wa-ink);
  font-weight: 600; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(5, 41, 15, .55);
}
.wa-float .icon-wa { width: 22px; height: 22px; }

/* ---------- Páginas simples (gracias, aviso) ---------- */

.simple { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: 72px; }
.simple-card { max-width: 640px; text-align: center; }
.simple-check { width: 64px; height: 64px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%; background: var(--wash); color: var(--navy); }
.simple-card .h2 { margin-bottom: 18px; }
.simple-card p { font-size: 19px; color: var(--graphite); }
.simple-card .btn { margin-top: 28px; }
.simple-card .tip { margin-top: 36px; text-align: left; font-size: 17px; }

.legal { max-width: 760px; padding-block: 64px 96px; }
.legal .h2 { margin-bottom: 12px; }
.legal h2:not(.h2) { margin: 40px 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--graphite); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }

/* ---------- Movimiento ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } }

.js .load > * { opacity: 0; animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js .hero-visual .portrait { opacity: 0; animation: rise 1s var(--ease) .25s forwards; }
.js .chat { opacity: 0; animation: pop .6s var(--ease) .9s forwards; }
.js .chat .bubble { opacity: 0; animation: pop .45s var(--ease) forwards; }
.js .chat .bubble-out { animation-delay: 1.5s; }
.js .chat .bubble-in { animation-delay: 2.7s; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* El hover de las tarjetas debe ganarle al estado final de la aparición */
.js .said[data-reveal].is-in:hover { transform: translateY(-2px); transition-delay: 0s; transition-duration: .35s; }
.js .benefit[data-reveal].is-in:hover { transform: translateY(-3px); transition-delay: 0s; transition-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .chat { left: -16px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section: 64px; --gutter: 20px; --header-h: 60px; }
  body { font-size: 16px; }

  .topbar-phone, .topbar .btn-wa { display: none; }
  .wa-float { display: inline-flex; }
  .brand-name { font-size: 30px; }
  .brand-mark { width: 36px; height: 36px; }

  .hero { padding-top: 32px; }
  .hero-grid, .stakes, .about, .pledge-grid, .final-grid, .proof { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-title { font-size: clamp(46px, 13.5vw, 84px); }
  .hero-sub, .lead, .closing-note, .private p, .final-copy p { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .btn-lg { padding: 16px 16px; font-size: 16px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .hero-visual { max-width: 460px; }
  .chat { left: 12px; }

  .trust { margin-top: 48px; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { padding: 16px 0; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }

  .section-head { margin-bottom: 32px; }
  .cards-6 { grid-template-columns: 1fr; gap: 12px; }
  .about .portrait { position: relative; top: auto; }
  .final-copy { position: static; }
  .about .portrait { max-width: 420px; aspect-ratio: 1 / 1; }
  .quote { padding: 28px 24px; }

  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .steps::before, .steps::after { left: 27px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-in::after, html:not(.js) .steps::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .step::before { grid-row: 1 / span 2; padding: 4px 0 8px; margin: 0; font-size: 48px; text-align: center; }

  .counters { grid-template-columns: 1fr; }
  .counter { padding: 24px 0; }
  .counter + .counter { border-left: 0; border-top: 1px solid var(--line); }
  .proof { margin-top: 48px; }
  .car-slide { flex-basis: calc((100% - 16px) / 2); }

  .pledge { padding: 56px 24px 32px; }
  .seal { width: 88px; height: 88px; top: -40px; right: 20px; }

  .private { grid-template-columns: 1fr; gap: 20px; }
  .biz .wrap { flex-direction: column; align-items: flex-start; }
  .biz h3, .biz p { display: block; }
  .biz .link-arrow { white-space: normal; }
  .faq-q { font-size: 17px; padding: 18px 0; }

  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding-bottom: 104px; }
}

@media (max-width: 520px) {
  .cards-4 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
