/* ═══════════════════════════════════════════════════════════
   AUDITY — landing comercial · v5 ELEGANTE
   Base formal (v3) + drama: serif protagonista, reveals por
   línea, tabla flotante, sección navy con triqueta, cinta,
   hairlines que se dibujan, sheen en botones.
   Marca: #1E3A8A · Source Serif 4 + Geist + Geist Mono
   ═══════════════════════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --tint: #f5f7fa;
  --ink: #17203a;
  --muted: #55607a;
  --navy: #1e3a8a;
  --navy-deep: #16265a;
  --navy-night: #0f1b40;
  --wash: #eaf1fb;
  --rule: #e2e6ee;
  --rule-strong: #c9d1e0;
  --ok: #1d7a4f;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Geist", -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(30, 58, 138, 0.14); }

.shell { max-width: 1140px; margin: 0 auto; padding: 0 32px; position: relative; }
.shell-narrow { max-width: 820px; }

/* ── Reveals ───────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1) var(--d, 0s),
              transform .9s cubic-bezier(.22,1,.36,1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* Reveal por líneas (hero) */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-inner {
  display: block; transform: translateY(115%);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.line:nth-child(2) .line-inner { transition-delay: .14s; }
body.loaded .line-inner { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .line-inner { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tape-track, .ring, .extract { animation: none !important; }
}

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--rule); box-shadow: 0 8px 30px -22px rgba(23,32,58,.35); }
.nav-inner { display: flex; align-items: center; gap: 40px; padding-top: 14px; padding-bottom: 14px; }
.brand-logo { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 480;
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--navy); transition: width .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

/* ── Botones ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border: 1px solid transparent; border-radius: 6px;
  font-family: var(--font-body); font-size: 15px; font-weight: 520;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover {
  background: var(--navy-deep);
  box-shadow: 0 16px 34px -14px rgba(30,58,138,.6);
  transform: translateY(-2px);
}
.btn-sheen::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .1s;
}
.btn-sheen:hover::after { left: 130%; transition: left .7s cubic-bezier(.22,1,.36,1); }
.btn-line { border-color: var(--rule-strong); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ── Tipografía ────────────────────────────────────────── */
.eyebrow, .sec-kicker, .cta-eyebrow, .duo-tag {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
}
h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.08; letter-spacing: -0.018em;
  margin: 24px 0 26px;
}
h1 em { font-style: italic; color: var(--navy); font-weight: 500; }
h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15; letter-spacing: -0.012em;
  max-width: 700px;
}
h2 em { font-style: italic; color: var(--navy); }
.section-navy h2 em, .cta h2 em { color: #a9c0f7; }
h3 { font-size: 18px; font-weight: 570; letter-spacing: -0.005em; }
.lede { font-size: 18px; color: var(--muted); max-width: 520px; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 172px 0 104px;
  background:
    radial-gradient(1000px 520px at 78% 8%, rgba(30,58,138,.55), transparent 62%),
    radial-gradient(700px 420px at 8% 96%, rgba(30,58,138,.35), transparent 60%),
    var(--navy-night);
  color: #fff;
}
.hero .eyebrow { color: #8fb0fa; }
.hero h1 { color: #fff; }
.hero h1 em { color: #a9c0f7; }
.hero .lede { color: rgba(255,255,255,.72); }
.hero .hero-note { color: rgba(255,255,255,.5); }
.hero .btn-line { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.hero .btn-line:hover { border-color: #fff; color: #fff; }
.hero-grid {
  display: grid; grid-template-columns: .94fr 1.06fr;
  gap: 64px; align-items: center;
}

/* Ornamento: anillos + triqueta */
.hero-ornament { position: absolute; inset: 0; pointer-events: none; }
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.r1 { width: 560px; height: 560px; right: -140px; top: -180px; animation: spin 80s linear infinite; border-style: dashed; }
.r2 { width: 780px; height: 780px; right: -250px; top: -290px; animation: spin 120s linear infinite reverse; }
.r3 { width: 380px; height: 380px; right: -50px; top: -90px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-knot {
  position: absolute; right: -60px; bottom: -80px;
  width: 420px; opacity: .06;
}

/* Extracto — tabla flotante */
.extract {
  position: relative; z-index: 1;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 40px 80px -38px rgba(23, 32, 58, 0.45);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
  transition: box-shadow .4s;
}
.extract:hover { box-shadow: 0 52px 96px -38px rgba(23, 32, 58, 0.55); }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.extract-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px 24px;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: rgba(255,255,255,.94);
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
}
.chip-ok {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: #9ff0c3;
  border: 1px solid rgba(159,240,195,.35); border-radius: 99px; padding: 3px 11px;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(159,240,195,.25); }
  50% { box-shadow: 0 0 0 5px rgba(159,240,195,0); }
}
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { padding: 12px 10px; text-align: left; white-space: nowrap; }
.ledger th:first-child, .ledger td:first-child { padding-left: 22px; }
.ledger th:last-child, .ledger td:last-child { padding-right: 22px; }
.ledger th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--rule-strong); background: var(--tint);
}
.ledger td { border-bottom: 1px solid var(--rule); font-size: 14px; }
.ledger tbody tr:last-child td { border-bottom: none; }
.ledger tbody tr { transition: background .25s; }
.ledger tbody tr:hover { background: rgba(30,58,138,.03); }
.ledger .num {
  text-align: right; font-family: var(--font-mono); font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.ledger .ok { color: var(--ok); }
.ledger .right { text-align: right; }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 520;
  color: var(--ok); background: rgba(29,122,79,.08);
  border-radius: 5px; padding: 2px 8px; white-space: nowrap;
}
.tag-note { color: var(--navy); background: var(--wash); }
.extract-foot {
  padding: 13px 24px; font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--rule); background: var(--tint);
}

/* ── Cinta ─────────────────────────────────────────────── */
.tape {
  overflow: hidden; padding: 15px 0;
  background: var(--navy-night);
  border-top: 1px solid rgba(255,255,255,.08);
}
.tape-track {
  display: flex; gap: 44px; align-items: center; width: max-content;
  animation: tape 40s linear infinite;
}
.tape:hover .tape-track { animation-play-state: paused; }
.tape-track span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap;
}
.tape-track i { color: #5b8bf5; font-style: normal; font-size: 9px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ── Secciones ─────────────────────────────────────────── */
.section { padding: 112px 0; position: relative; }
.section-tint { background: var(--tint); }
.sec-head { margin-bottom: 60px; }
.sec-head h2 { margin-top: 20px; }
.sec-head-center { text-align: center; }
.sec-head-center h2 { margin-left: auto; margin-right: auto; }

.sec-kicker { display: inline-flex; align-items: center; gap: 14px; }
.sec-kicker.light { color: #8fb0fa; }
.kicker-line {
  display: inline-block; height: 1px; width: 44px; background: currentColor;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1s cubic-bezier(.22,1,.36,1) .15s;
}
.in .kicker-line { transform: scaleX(1); }

/* ── Pains ─────────────────────────────────────────────── */
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; }
.pain { position: relative; padding: 26px 0 0 74px; }
.pain::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--navy), rgba(30,58,138,.12));
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1) var(--d, 0s);
}
.pain.in::before { transform: scaleX(1); }
.pain-num {
  position: absolute; left: 0; top: 24px;
  font-family: var(--font-display); font-style: italic;
  font-size: 34px; color: var(--navy); opacity: .45;
}
.pain p { color: var(--muted); font-size: 16px; }

/* ── Beneficios (navy) ─────────────────────────────────── */
.section-navy {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(30,58,138,.45), transparent 65%),
    var(--navy-night);
  color: #fff; overflow: hidden;
}
.navy-knot {
  position: absolute; left: -120px; bottom: -140px;
  width: 520px; opacity: .045; pointer-events: none;
}
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 34px 30px;
  background: rgba(255,255,255,.025);
  transition: border-color .35s, transform .35s cubic-bezier(.22,1,.36,1), background .35s;
}
.benefit:hover {
  border-color: rgba(143,176,250,.55);
  background: rgba(255,255,255,.05);
  transform: translateY(-5px);
}
.benefit-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 24px; color: #8fb0fa; display: block; margin-bottom: 18px;
}
.benefit h3 { margin-bottom: 10px; color: #fff; }
.benefit p { color: rgba(255,255,255,.62); font-size: 15px; }

/* ── Pasos ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.step { position: relative; padding-top: 28px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--rule-strong);
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1) var(--d, 0s);
}
.step.in::before { transform: scaleX(1); }
.step-num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-size: 21px; font-weight: 500; font-style: italic;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px -10px rgba(30,58,138,.55);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ── Quote ─────────────────────────────────────────────── */
.quote {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-night) 75%);
  color: #fff; padding: 110px 0; text-align: center;
}
.quote-mark {
  position: absolute; left: 50%; top: -46px; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 320px; line-height: 1;
  color: rgba(255,255,255,.05); pointer-events: none;
}
.quote blockquote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(27px, 3.3vw, 42px); line-height: 1.34;
  max-width: 900px; margin: 0 auto;
}
.quote em { font-style: italic; color: #a9c0f7; }

/* ── Duo ───────────────────────────────────────────────── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-col {
  border: 1px solid var(--rule); border-radius: 12px;
  padding: 42px 40px; background: #fff;
  transition: box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1), border-color .35s;
}
.duo-col:hover {
  border-color: var(--rule-strong);
  box-shadow: 0 30px 60px -35px rgba(23,32,58,.4);
  transform: translateY(-4px);
}
.duo-tag { display: block; margin-bottom: 12px; }
.duo-col h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 27px; margin-bottom: 22px;
}
.duo-col ul { list-style: none; display: grid; }
.duo-col li {
  color: var(--muted); font-size: 15.5px; padding: 12px 0 12px 30px;
  position: relative; border-bottom: 1px solid var(--rule);
}
.duo-col li:last-child { border-bottom: none; }
.duo-col li::before {
  content: "✓"; position: absolute; left: 2px; top: 12px;
  color: var(--navy); font-size: 14px; font-weight: 600;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 4px;
  font-weight: 530; font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color .25s, padding-left .3s;
}
.faq summary:hover { color: var(--navy); padding-left: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 24px; font-weight: 400;
  color: var(--navy); transition: transform .3s; flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; max-width: 640px;
}

/* ── CTA / Form ────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 12% 110%, rgba(30,58,138,.5), transparent 65%),
    var(--navy-night);
  color: #fff; padding: 116px 0 124px;
}
.cta-knot { left: auto; right: -140px; top: -120px; bottom: auto; rotate: 14deg; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cta-eyebrow { color: #8fb0fa; margin-bottom: 18px; display: block; }
.cta h2 { margin-bottom: 22px; }
.cta .lede { color: rgba(255,255,255,.7); }
.cta-points { list-style: none; margin-top: 28px; display: grid; }
.cta-points li {
  padding: 11px 0 11px 28px; position: relative;
  color: rgba(255,255,255,.85); font-size: 15.5px;
}
.cta-points li::before { content: "✓"; position: absolute; left: 0; color: #8fb0fa; font-size: 14px; }

.form {
  position: relative;
  background: #fff; color: var(--ink);
  border-radius: 14px; padding: 38px;
  box-shadow: 0 50px 100px -45px rgba(0,0,0,.6);
  display: grid; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label {
  display: grid; gap: 7px; font-size: 13px; font-weight: 540;
  color: var(--ink); letter-spacing: .01em;
}
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 8px;
  padding: 12px 14px; outline: none; resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.form input::placeholder, .form textarea::placeholder { color: #9aa3b8; }
.form input:focus, .form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,138,.12);
}
.form-fine { font-size: 12px; color: var(--muted); text-align: center; }
.form-ok[hidden] { display: none; }
.form-ok {
  position: absolute; inset: 0; background: #fff; border-radius: 14px;
  display: grid; place-content: center; text-align: center; gap: 10px; padding: 40px;
}
.form-ok strong { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--navy-deep); }
.form-ok p { color: var(--muted); }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: #fff; border-top: 1px solid var(--rule); padding: 58px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 56px; align-items: start; }
.footer-logo { height: 68px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .25s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--navy); }
.footer-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); }
.footer-legal p { font-size: 12.5px; color: #8b93a8; }

/* ── WhatsApp ──────────────────────────────────────────── */
.wa {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1d7a4f; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(29, 122, 79, .5);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.wa:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -8px rgba(29,122,79,.65); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .duo { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 52px; }
  .pains { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .hero { padding-top: 136px; }
  .nav-links { display: none; }
  .benefits, .form-row { grid-template-columns: 1fr; }
  .ledger th, .ledger td { padding: 11px 10px; }
  .ledger th:nth-child(3), .ledger td:nth-child(3) { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .ring, .hero-knot { display: none; }
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-note { margin-top: 24px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* ═══ MULTIPÁGINA ══════════════════════════════════════════ */

/* Nav activo */
.nav-links a.active { color: var(--navy); font-weight: 560; }
.nav-links a.active::after { width: 100%; }

/* Hero interior */
.page-hero {
  position: relative; overflow: hidden;
  padding: 168px 0 84px;
  background:
    radial-gradient(900px 460px at 80% 0%, rgba(30,58,138,.5), transparent 62%),
    var(--navy-night);
  color: #fff;
}
.page-hero .eyebrow { color: #8fb0fa; }
.page-hero .page-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: #fff; margin: 20px 0 22px;
}
.page-hero .page-title em { font-style: italic; color: #a9c0f7; }
.page-hero .lede { color: rgba(255,255,255,.72); }

/* Botones sobre fondo oscuro */
.btn-line-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-line-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-on-dark { background: #fff; color: var(--navy-deep); }
.btn-on-dark:hover { background: var(--wash); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }

/* Enlace "ver más" al pie de secciones */
.more-link { margin-top: 48px; }

/* ── Precios ───────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 24px; align-items: start;
}
.price-card {
  border-radius: 14px; padding: 44px 42px;
  position: relative;
}
.price-main {
  background: #fff; color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 40px 80px -45px rgba(23, 32, 58, 0.5);
}
.price-main::before {
  content: ""; position: absolute; top: 0; left: 42px; right: 42px; height: 3px;
  background: linear-gradient(90deg, var(--navy), rgba(30,58,138,.15));
  border-radius: 0 0 3px 3px;
}
.price-alt {
  background: var(--tint); color: var(--ink);
  border: 1px solid var(--rule);
}
.price-tag {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 22px;
}
.price-line { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.price-amount {
  font-family: var(--font-display); font-weight: 500;
  font-size: 58px; letter-spacing: -0.02em; line-height: 1;
  color: var(--navy-deep);
}
.price-amount-sm { font-size: 46px; }
.price-unit { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.price-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.price-alt-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; letter-spacing: -0.01em; margin-bottom: 18px;
}
.price-list { list-style: none; display: grid; margin-bottom: 30px; }
.price-list li {
  padding: 11px 0 11px 30px; position: relative;
  color: var(--muted); font-size: 15px;
  border-bottom: 1px solid var(--rule);
}
.price-list li:last-child { border-bottom: none; }
.price-list li strong { color: var(--ink); font-weight: 560; }
.price-list li::before {
  content: "✓"; position: absolute; left: 2px; top: 11px;
  color: var(--navy); font-size: 14px; font-weight: 600;
}
.price-fine { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── Filas de detalle (beneficios / pasos) ─────────────── */
.feature-rows { display: grid; }
.feature-row {
  display: grid; grid-template-columns: 5fr 7fr; gap: 60px;
  padding: 44px 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.feature-row:first-child { padding-top: 8px; }
.feature-row:last-child { border-bottom: none; }
.feature-head { display: flex; align-items: center; gap: 20px; }
.feature-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 34px; color: var(--navy); opacity: .5; flex: none;
}
.feature-head h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; letter-spacing: -0.01em;
}
.feature-row > p, .feature-row > div > p { color: var(--muted); font-size: 16px; }
.feature-points { list-style: none; margin-top: 18px; display: grid; }
.feature-points li {
  color: var(--muted); font-size: 15px; padding: 9px 0 9px 26px;
  position: relative; border-bottom: 1px solid var(--rule);
}
.feature-points li:last-child { border-bottom: none; }
.feature-points li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  color: var(--navy); font-size: 13px; font-weight: 600;
}
.feature-head .step-num { margin-bottom: 0; flex: none; }

/* ── CTA banner (páginas) ──────────────────────────────── */
.cta-banner { padding: 96px 0; }
.cta-banner-inner {
  display: grid; grid-template-columns: 1.2fr auto; gap: 56px; align-items: center;
}
.cta-banner .lede { margin-top: 16px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-page { padding: 168px 0 110px; }

/* Contacto: alternativas */
.contact-alt { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-alt-label { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.contact-alt-link {
  display: inline-block; color: #a9c0f7; text-decoration: none;
  font-size: 15px; font-weight: 500; margin-right: 26px;
  border-bottom: 1px solid rgba(169,192,247,.35); padding-bottom: 2px;
  transition: border-color .25s, color .25s;
}
.contact-alt-link:hover { color: #fff; border-color: #fff; }

@media (max-width: 1000px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .cta-banner-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .page-hero { padding: 136px 0 64px; }
  .cta-page { padding: 136px 0 80px; }
  .price-card { padding: 34px 26px; }
  .price-amount { font-size: 46px; }
}

/* ── Precios v2: paquetes ──────────────────────────────── */
.pricing-grid-2 { grid-template-columns: 1fr 1fr; }
.price-featured {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy), 0 44px 88px -45px rgba(30, 58, 138, 0.55);
}
.price-featured::before {
  background: linear-gradient(90deg, var(--navy), var(--teal, #0e7c86));
}
.price-badge {
  position: absolute; top: -13px; left: 42px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--navy); color: #fff;
  padding: 5px 14px; border-radius: 99px;
}
.price-addon {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 40px; align-items: center;
  background: var(--tint);
  border: 1px solid var(--rule); border-radius: 14px;
  padding: 30px 42px;
}
.price-addon .price-tag { margin-bottom: 8px; }
.price-addon-desc { color: var(--muted); font-size: 15px; max-width: 520px; }
.price-addon-price { margin-bottom: 0; }

@media (max-width: 1000px) {
  .pricing-grid-2 { grid-template-columns: 1fr; }
  .price-addon { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
}

/* ── Historial dentro del cotizador ────────────────────── */
/* El slider retrocede en el tiempo: la escala lo dice y el relleno
   crece hacia la derecha conforme se piden más ejercicios atrás. */
/* Escala con los años, para que se lea que el control va hacia atrás */
.cotiza-scale-years {
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .04em;
}
.cotiza-scale-years span { flex: 0 0 auto; }
.cotiza-scale-years .is-none { color: var(--muted); opacity: .75; }
.cotiza-scale-years i { font-style: normal; }

/* En pantallas chicas los 6 años no caben completos: se deja '26 '25 '24… */
@media (max-width: 480px) {
  .cotiza-scale-years i { display: none; }
  .cotiza-scale-years span:not(.is-none)::before { content: "\2019"; }
}

/* Pago único de arranque, dentro de la tarjeta de resultado */
.price-once {
  margin: -12px 0 24px;
  padding: 16px 18px;
  background: var(--wash);
  border-radius: 12px;
}
.price-once-line {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
}
.price-once-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.price-once-amount {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  transition: opacity .2s;
}
.price-once-amount.is-custom { font-size: 21px; font-style: italic; font-weight: 400; }
.cotiza.is-updating .price-once-amount { opacity: .35; }

@media (max-width: 700px) {
  .price-once-line { flex-direction: column; gap: 4px; }
}

/* Desglose de IVA (precios finales con IVA incluido) */
.price-breakdown {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  margin: 2px 0 14px; letter-spacing: .02em;
}
.price-addon-col .price-breakdown { margin: 6px 0 0; }

/* Precios: un solo paquete centrado */
.pricing-grid-1 { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.pricing-grid-1 + .price-addon { max-width: 680px; margin-left: auto; margin-right: auto; }
.pricing-note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.pricing-note a { color: var(--navy); font-weight: 520; text-decoration: none; border-bottom: 1px solid rgba(30,58,138,.3); padding-bottom: 1px; }
.pricing-note a:hover { border-color: var(--navy); }

/* ── Cotizador ─────────────────────────────────────────── */
.cotiza {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; align-items: start;
}
.cotiza-panel {
  background: var(--tint);
  border: 1px solid var(--rule); border-radius: 14px;
  padding: 44px 42px;
}
.cotiza-field { margin-top: 34px; }
.cotiza-field:first-of-type { margin-top: 26px; }
.cotiza-label {
  display: block;
  font-family: var(--font-display); font-weight: 500;
  font-size: 21px; letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 18px;
}

/* Chips de RFC */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-width: 54px; padding: 12px 16px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 8px;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 500;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.chip-wide { min-width: auto; }
.chip:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.chip.is-on {
  background: var(--navy); color: #fff; border-color: var(--navy);
  box-shadow: 0 12px 26px -14px rgba(30,58,138,.7);
}
.chip:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* Rango de CFDI */
.cotiza-value {
  display: block;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  letter-spacing: .06em; color: var(--navy);
  margin-bottom: 14px;
}
.cotiza-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; margin: 0;
  background: var(--rule-strong); border-radius: 99px;
  cursor: pointer;
}
.cotiza-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); border: 3px solid #fff;
  box-shadow: 0 4px 14px -3px rgba(30,58,138,.75);
  cursor: pointer;
  transition: transform .2s;
}
.cotiza-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.cotiza-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); border: 3px solid #fff;
  box-shadow: 0 4px 14px -3px rgba(30,58,138,.75);
  cursor: pointer;
}
.cotiza-range:focus-visible { outline: 2px solid var(--navy); outline-offset: 6px; }
.cotiza-scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .08em; color: var(--muted);
  margin-top: 12px;
}
.cotiza-help { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.cotiza-help-link {
  background: none; border: none; padding: 0;
  font-family: inherit; font-size: inherit;
  color: var(--navy); font-weight: 520; cursor: pointer;
  border-bottom: 1px solid rgba(30,58,138,.3);
}
.cotiza-help-link:hover { border-color: var(--navy); }
.cotiza-help-link:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* Resultado */
.cotiza-result .price-amount { transition: opacity .2s; }
.cotiza.is-updating .price-amount { opacity: .35; }
.cotiza-result .price-sub { min-height: 46px; }

@media (max-width: 1000px) {
  .cotiza { grid-template-columns: 1fr; }
  .cotiza-panel { padding: 34px 26px; }
  .cotiza-label { font-size: 19px; }
}
