/* ============ Tokens ============ */
:root {
  --ink: #111210;
  --ink-2: #1a1c18;
  --ink-3: #262822;
  --paper: #f5f6f3;
  --white: #fff;
  --line: #e0e3dc;
  --mute: #565a52;          /* 6.9:1 sobre paper */
  --mute-dark: #b6b9b0;     /* 9:1 sobre ink */
  --y: #fdba0a;
  --y-soft: #fff3c7;
  --y-deep: #7a5700;        /* texto de acento sobre claro, 6.6:1 */

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 22px;
  --r-ctl: 12px;
  --wrap: 1160px;
  --nav-h: 72px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; }

:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.section:not(.hero):not(.trust):not(.contact) :focus-visible { outline-color: var(--ink); }
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--y); color: var(--ink); font-weight: 700; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 16px; outline-color: var(--ink); }

/* ============ Botones ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn--primary { background: var(--y); color: var(--ink); }
.btn--primary:hover { background: #ffc933; box-shadow: 0 8px 28px -8px rgba(253,186,10,.7); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ============ Nav ============ */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav__bar {
  pointer-events: auto; width: min(100% - 24px, 1080px); margin-inline: auto; height: 60px;
  display: flex; align-items: center; gap: 12px; padding: 0 8px 0 20px;
  background: rgba(17,18,16,.92); color: var(--white);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.45);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-height: 44px; }
.brand__mark { width: 30px; height: 22px; color: var(--y); }
.brand__name { font: 800 1.3rem/1 var(--f-display); letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.82);
  transition: color .2s, background-color .2s;
}
.nav__links a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav__links a:not(.btn)[aria-current="true"] { color: var(--ink); background: var(--y); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__bar { justify-content: space-between; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    margin-left: auto; background: transparent; border: 0; border-radius: 50%; color: var(--white); cursor: pointer;
  }
  .nav__toggle:hover { background: rgba(255,255,255,.12); }
  .nav__toggle .ico--close, .nav__toggle[aria-expanded="true"] .ico--open { display: none; }
  .nav__toggle[aria-expanded="true"] .ico--close { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 12px; right: 12px; margin: 0; padding: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(17,18,16,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 24px;
    backdrop-filter: blur(16px); pointer-events: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 0 16px; min-height: 48px; font-size: 1rem; }
  .nav__cta-mobile { display: inline-flex; margin-top: 8px; }
}

/* ============ Hero con panel en perspectiva ============ */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white);
  min-height: 100svh; display: flex; align-items: center; padding: 140px 0 110px;
}
.hero__glow {
  position: absolute; z-index: -2; right: -8vw; top: 50%; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(253,186,10,.28), rgba(253,186,10,.06) 60%, transparent 75%);
}
.hero__visual { position: absolute; z-index: -1; right: -9vw; top: 52%; width: min(54vw, 860px); transform: translateY(-50%); perspective: 1800px; }
.hv__card {
  --rx: 7deg; --ry: -18deg; --ty: 0px;
  transform: translateY(var(--ty)) rotateY(var(--ry)) rotateX(var(--rx)); transform-origin: 30% 50%; transform-style: preserve-3d;
  border-radius: 18px; overflow: hidden; background: #0c0d0b; border: 1px solid rgba(255,255,255,.16);
  box-shadow: -50px 50px 110px -20px rgba(0,0,0,.85), 0 0 140px -30px rgba(253,186,10,.4);
}
.hv__card img { width: 100%; }
.hv__chip {
  position: absolute; padding: 14px 20px; border-radius: 16px; background: rgba(26,28,24,.94); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.8); transform: translate3d(var(--cx, 0), var(--cy, 0), 0);
}
.hv__chip small { display: block; font-size: .8125rem; color: var(--mute-dark); }
.hv__chip b { font: 800 2rem/1.1 var(--f-display); color: var(--y); letter-spacing: -0.03em; }
.hv__chip--a { left: -9%; bottom: 14%; }
.hv__chip--b { right: 6%; top: -9%; }
.hero__scrim { display: none; }
.hero__inner { position: relative; }
.hero__kicker { color: var(--y); font-weight: 600; font-size: 1rem; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--y); border-radius: 2px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 800; max-width: 12.5em; letter-spacing: -0.03em; line-height: 1.04; }
.hero__lead { margin-top: 26px; max-width: 30em; text-wrap: balance; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3d5cd; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__promises { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; font-weight: 500; color: #d3d5cd; }
.hero__promises li { display: flex; align-items: center; gap: 8px; }
.hero__promises .ico { width: 18px; height: 18px; flex: none; color: var(--y); }
@media (max-width: 640px) { .hero__promises { flex-direction: column; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
}
.hero__scroll span { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.45); border-radius: 12px; position: relative; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--y); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(11px); } }

@media (max-width: 860px) {
  .hero { align-items: flex-start; padding: 130px 0 160px; }
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 80px; }
  .hero__inner { order: 1; }
  .hero__visual { order: 2; }
  .hero__visual { position: relative; right: auto; top: auto; transform: none; width: min(100% - 40px, 620px); margin: 48px auto 0; }
  .hero__glow { right: -30vw; top: 70%; width: 120vw; height: 120vw; }
  .hv__card { --ry: -10deg !important; --rx: 5deg !important; }
  .hv__chip { padding: 10px 14px; } .hv__chip b { font-size: 1.4rem; }
  .hv__chip--a { left: -2%; } .hv__chip--b { right: 0; }
  .hero__scroll { display: none; }
}

/* ============ Secciones ============ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
.eyebrow { font: 600 1rem var(--f-body); color: var(--y-deep); margin-bottom: 14px; }
.eyebrow--dark { color: var(--y); }
.lead { margin-top: 18px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--mute); max-width: 40em; }
.section__head--center .lead { margin-inline: auto; }
.lead--dark { color: var(--mute-dark); }
.chip {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; flex: none;
  background: var(--y); color: var(--ink);
}
.chip--dark { background: rgba(253,186,10,.14); color: var(--y); }

/* Visión */
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-card); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.duo__card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(17,18,16,.55); }
.duo__card > * { position: relative; }
.duo__card::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.duo__card--dark::before { background: radial-gradient(60% 50% at 100% 0%, rgba(253,186,10,.22), transparent 70%); }
.duo__card--dark { background: var(--ink); color: var(--white); }
.duo__card--yellow { background: var(--y); color: var(--ink); }
.duo__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.duo__card .chip { width: 44px; height: 44px; border-radius: 14px; margin: 0; }
.duo__card--yellow .chip { background: var(--ink); color: var(--y); }
.duo__who { font: 600 .875rem var(--f-body); text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.duo__card h3 { font-size: clamp(1.4rem, 2.1vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.duo__card ul { margin-top: 18px; display: grid; gap: 0; }
.duo__card li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 1rem; line-height: 1.4; }
.li-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(253,186,10,.14); color: var(--y); }
.li-ico .ico { width: 18px; height: 18px; }
.duo__card--yellow .li-ico { background: var(--ink); }
.duo__card--dark li { color: #dfe1d9; }
.duo__foot { margin-top: 36px; text-align: center; font: 600 clamp(1.05rem, 1.6vw, 1.25rem) var(--f-display); letter-spacing: -0.01em; text-wrap: balance; }
@media (max-width: 860px) { .duo__grid { grid-template-columns: 1fr; } }

/* Producto */
.product { background: var(--ink); color: var(--white); overflow: hidden; }
.product .eyebrow { color: var(--y); }
.product .lead { color: var(--mute-dark); }
.shot__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #1b1d19; border-bottom: 1px solid rgba(255,255,255,.08); }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d36; }
.shot__bar b { margin-left: 12px; font: 500 .8125rem var(--f-body); color: var(--mute-dark); }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 34px 30px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(17,18,16,.25); border-color: #c9ccc3; }
.plan__name { font-size: 1.5rem; font-weight: 800; }
.plan__tag { margin-top: 8px; color: var(--mute); min-height: 3.2em; }
.plan__price { margin: 22px 0 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__price strong { display: block; font: 800 clamp(2.4rem, 4vw, 3rem)/1 var(--f-display); letter-spacing: -0.04em; }
.plan__price span { display: block; margin-top: 8px; font-size: .9375rem; color: var(--mute); }
.plan__facts { display: grid; gap: 10px; margin-bottom: 20px; }
.plan__facts li { position: relative; padding-left: 28px; }
.plan__facts li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.4 2.4 4.6-4.9' fill='none' stroke='%23111210' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan__facts b { font-weight: 700; }
.plan__desc { color: var(--mute); margin-bottom: 14px; }
.plan__note { font-size: .9375rem; font-weight: 600; margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan--dark:hover { border-color: var(--y); box-shadow: 0 24px 60px -24px rgba(253,186,10,.45); }
.plan--dark .plan__tag, .plan--dark .plan__price span, .plan--dark .plan__desc { color: var(--mute-dark); }
.plan--dark .plan__price { border-color: rgba(255,255,255,.16); }
.plan--dark .plan__note { color: var(--y); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan__tag { min-height: 0; } }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; padding: 12px; background: var(--ink); color: var(--white); border-radius: var(--r-card); box-shadow: 0 24px 60px -30px rgba(17,18,16,.6); }
.promises li { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px; }
.promises li + li { border-left: 1px solid rgba(255,255,255,.12); }
.promises .chip { margin: 0; }
.promises h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.promises p { color: var(--mute-dark); font-size: .95rem; }
@media (max-width: 980px) { .promises { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; margin-bottom: 28px; } .promises li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); } .promises li { flex-direction: row; align-items: flex-start; } }

.table-title { margin: 72px 0 20px; font-size: 1.5rem; font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; }
.compare { min-width: 560px; }
.compare th, .compare td { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: var(--white); font: 700 .95rem var(--f-display); padding-block: 18px; }
.compare thead th:first-child, .compare tbody th[scope="row"] { text-align: left; }
.compare tbody th[scope="row"] { font-weight: 500; }
.compare tr.grp th { text-align: left; background: var(--y-soft); font: 700 .8125rem var(--f-body); color: #4a3600; letter-spacing: .02em; padding-block: 10px; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare td::before { content: ""; display: inline-block; vertical-align: middle; }
.compare td[data-y="1"]::before { width: 24px; height: 24px; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.7 3.7 7.3-7.8' fill='none' stroke='%23111210' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.compare td[data-y="0"]::before { width: 14px; height: 2px; background: #9a9d94; border-radius: 2px; }
.compare td[data-t]::before { content: attr(data-t); font-size: .875rem; font-weight: 600; color: var(--mute); }

/* Calculadora */
.calc { background: var(--white); border-block: 1px solid var(--line); }
.calc__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc__form { padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); display: grid; gap: 28px; }
.field__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.field label, .seg legend { font-weight: 600; }
.num {
  width: 112px; min-height: 48px; padding: 0 12px; text-align: right; font: 700 1.125rem var(--f-display);
  background: var(--white); border: 1.5px solid #b9bcb2; border-radius: var(--r-ctl);
}
.num:focus-visible { outline: 3px solid var(--y); outline-offset: 1px; border-color: var(--ink); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--y) var(--p, 0%), #d9dcd3 var(--p, 0%)); }
.range::-moz-range-track { height: 8px; border-radius: 99px; background: #d9dcd3; }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--y); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid var(--y); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid var(--y); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ink); outline-offset: 2px; }
.range:focus-visible::-moz-range-thumb { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 12px; }
.seg__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; background: #e7e9e2; border-radius: 16px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg span { display: grid; place-items: center; min-height: 46px; border-radius: 12px; font-weight: 700; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg input:not(:checked):hover + span { background: rgba(17,18,16,.08); }
.calc__hint { font-size: .9375rem; color: var(--mute); }
.field__help { margin-top: -2px; font-size: .8125rem; color: var(--mute); }

.calc__out { padding: clamp(26px, 3.2vw, 40px); background: var(--ink); color: var(--white); border-radius: var(--r-card); display: grid; gap: 4px; }
.out__label { font-size: .9375rem; font-weight: 600; color: var(--mute-dark); }
.out__big { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font: 800 clamp(4rem, 9vw, 6.5rem)/1 var(--f-display); letter-spacing: -0.05em; color: var(--y); font-variant-numeric: tabular-nums; }
.out__big small { font-size: .4em; font-weight: 700; letter-spacing: 0; }
.out__sub { font-size: 1.125rem; color: #e6e8e0; }
.out__cap { margin-top: 6px; font-size: .8125rem; color: var(--mute-dark); }
.out__warning { margin-top: 8px; padding: 9px 11px; border: 1px solid rgba(253,186,10,.45); border-radius: 10px; background: rgba(253,186,10,.1); color: #fff2c5; font-size: .8125rem; line-height: 1.4; }
.out__warning[hidden] { display: none; }
.out__delta { margin-top: 10px; font-weight: 600; color: var(--y); min-height: 1.6em; }
.bars { display: grid; gap: 10px; margin: 22px 0 26px; }
.bar { display: grid; grid-template-columns: 52px 1fr 92px; align-items: center; gap: 12px; font-size: .9375rem; color: var(--mute-dark); }
.bar i { display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar b { display: block; height: 100%; width: var(--w, 0%); border-radius: 99px; background: rgba(253,186,10,.45); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.bar.is-on { color: var(--white); font-weight: 700; }
.bar.is-on b { background: var(--y); }
.out__fee { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.out__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 6px; }
.out__price strong { font: 800 2.25rem/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.out__price span { color: var(--mute-dark); font-size: .9375rem; }
.out__break { margin-top: 8px; font-size: .9375rem; color: var(--mute-dark); }
.out__note { margin: 18px 0 22px; font-size: .875rem; color: var(--mute-dark); }
.calc__out .btn { justify-self: start; }
@media (max-width: 900px) { .calc__grid { grid-template-columns: 1fr; } .calc__out .btn { justify-self: stretch; } }

.method { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.method summary { cursor: pointer; padding: 20px 26px; font-weight: 700; min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.method summary::-webkit-details-marker { display: none; }
.method summary::after { content: "+"; font: 500 1.6rem/1 var(--f-body); color: var(--y-deep); transition: transform .2s; }
.method[open] summary::after { transform: rotate(45deg); }
.method__body { padding: 4px 26px 28px; display: grid; gap: 16px; font-size: .9875rem; color: var(--mute); max-width: 62rem; }
.method__body strong { color: var(--ink); }
.method__table th, .method__table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.method__table thead th { background: var(--ink); color: var(--white); }
.method__table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.method__table tr.grp th { background: var(--y-soft); color: #4a3600; font-weight: 700; }
.method__table tbody tr:last-child th, .method__table tbody tr:last-child td { border-bottom: 0; }
.method__table { min-width: 560px; }

/* Onboarding */
.onb__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin-inline: auto; }
.onb { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); display: flex; flex-direction: column; gap: 10px; }
.onb .chip { margin-bottom: 14px; }
.onb h3 { font-size: 1.5rem; font-weight: 700; }
.onb__kicker { color: var(--y-deep); font-weight: 600; font-size: .9375rem; }
.onb p { color: var(--mute); }
.onb__foot { margin-top: auto; padding-top: 14px; color: var(--ink) !important; font-weight: 600; font-size: 1.125rem; }
@media (max-width: 760px) { .onb__grid { grid-template-columns: 1fr; } }

/* Confianza */
.trust { background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.trust__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.trust__list { display: grid; gap: 14px; }
.trust__list li { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; font-weight: 600; background: var(--ink-2); }
@media (max-width: 860px) { .trust__grid { grid-template-columns: 1fr; } }

/* Contacto */
.contact { background: var(--y); color: var(--ink); }
.contact .lead { color: #2b2a1e; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 3vw, 34px); background: var(--white); border-radius: var(--r-card); box-shadow: 0 30px 60px -30px rgba(17,18,16,.5); }
.field-t--full, .form .btn, .form__status { grid-column: 1 / -1; }
.field-t label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .9875rem; }
.opt { font-weight: 400; color: var(--mute); }
.field-t input, .field-t textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--paper);
  border: 1.5px solid #b9bcb2; border-radius: var(--r-ctl); transition: border-color .2s, background-color .2s;
}
.field-t textarea { resize: vertical; min-height: 110px; }
.field-t input:focus-visible, .field-t textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); background: var(--white); }
.field-t [aria-invalid="true"] { border-color: #b3261e; background: #fdf1f0; }
.err { margin-top: 6px; font-size: .9rem; font-weight: 600; color: #a1241c; }
.form__status { font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #1a6b32; }
.form__status.is-err { color: #a1241c; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: 64px 0 36px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand p { margin-top: 14px; color: var(--mute-dark); }
.footer ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #dfe1d9; font-weight: 500; }
.footer nav a:hover { color: var(--y); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; font-size: .9rem; color: var(--mute-dark); }

/* ============ Movimiento reducido ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .slide { transition: none !important; }
}

/* ============ Dinámica ============ */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.plan__ctas { margin-top: auto; display: grid; gap: 4px; }
.plan__ctas .btn { width: 100%; }
.plan__link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.plan__link:hover { text-decoration: underline; }
.plan--dark .plan__link { color: var(--white); }
.plan.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--y); }
.plan--dark.is-selected { border-color: var(--y); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Escenario de producto (carrusel a pantalla completa) */
.product.stage { position: relative; isolation: isolate; padding: clamp(96px, 11vw, 140px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.stage__bgs { position: absolute; inset: 0; z-index: -1; }
.stage__bg { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; background-color: #121310; background-size: cover; background-position: center; }
.stage__bg.is-on { opacity: 1; }
/* Cada escena tiene su propia luz. Para usar fotos: añade  --img: url(/images/escena-1.jpg)  a .stage__bg[data-i="0"] etc. */
.stage__bg::before { content: ""; position: absolute; inset: 0; background-image: var(--img, none); background-size: cover; background-position: center; }
.stage__bg::after { content: ""; position: absolute; inset: 0; background: var(--glow), linear-gradient(180deg, rgba(17,18,16,.55), rgba(17,18,16,.15) 40%, rgba(17,18,16,.7)); }
.stage__bg[data-i="0"] { --glow: radial-gradient(60% 55% at 50% 100%, rgba(253,186,10,.38), transparent 70%); }
.stage__bg[data-i="1"] { --glow: radial-gradient(55% 60% at 15% 20%, rgba(253,186,10,.3), transparent 70%), radial-gradient(50% 50% at 90% 90%, rgba(110,120,140,.28), transparent 70%); }
.stage__bg[data-i="2"] { --glow: radial-gradient(55% 55% at 10% 90%, rgba(224,90,60,.3), transparent 70%), radial-gradient(45% 50% at 90% 15%, rgba(253,186,10,.24), transparent 70%); }
.stage__bg[data-i="3"] { --glow: radial-gradient(60% 55% at 50% 0%, rgba(253,186,10,.3), transparent 70%), radial-gradient(50% 50% at 15% 100%, rgba(70,150,120,.26), transparent 70%); }

.stage__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stage .section__head { margin-bottom: 28px; }
.stage__lead { min-height: 3.2em; margin: 0 auto 28px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e4e6de; transition: opacity .3s; }
.stage__lead.is-swap { opacity: 0; }

.stage__tabs {
  position: relative; z-index: 2; margin: 40px auto 0; max-width: 100%; display: flex; gap: 4px; padding: 5px;
  border-radius: 999px; background: rgba(17,18,16,.62); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.stage__tabs::-webkit-scrollbar { display: none; }
.stage__tabs [role="tab"] {
  position: relative; overflow: hidden; flex: none; min-height: 44px; padding: 0 22px; border-radius: 999px; cursor: pointer; scroll-snap-align: center;
  font: 600 .9375rem var(--f-body); color: #cfd2c8; background: transparent; border: 0;
  transition: background-color .25s, color .25s;
}
.stage__tabs [role="tab"]:hover { color: var(--white); background: rgba(255,255,255,.08); }
.stage__tabs [role="tab"][aria-selected="true"] { background: rgba(253,186,10,.16); color: var(--y); }
.stage__tabs [role="tab"]:focus-visible { outline: 3px solid var(--y); outline-offset: -3px; }
.stage__tabs [role="tab"]::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--y); transform: scaleX(0); transform-origin: 0 50%; }
.stage.is-playing .stage__tabs [aria-selected="true"]::after { animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* Ventana de la app: se funde con el fondo por abajo */
.slides { position: relative; width: min(100%, 1080px); margin-top: 32px; aspect-ratio: 2.05 / 1; perspective: 1800px; touch-action: pan-y; }
.slides::before { content: ""; position: absolute; inset: 8% 6% -4%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(253,186,10,.28), transparent 70%); filter: blur(40px); z-index: -1; }
.slide {
  position: absolute; inset: 0; container-type: inline-size; text-align: left; display: flex; flex-direction: column;
  border-radius: 18px 18px 0 0; overflow: hidden; background: #0c0d0b; border: 1px solid rgba(255,255,255,.16); border-bottom: 0;
  -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent);
  opacity: 0; transform: translateY(24px) scale(.985); pointer-events: none;
  transition: opacity .55s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide .shot__bar { flex: none; height: 36px; background: #151713; justify-content: flex-start; }
.slide .shot__bar b { margin: 0 auto; transform: translateX(-24px); }
.slide__img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; background: #0c0d0b; }

.stage__note { padding-bottom: 28px; text-align: center; font-size: .875rem; color: var(--mute-dark); }

@media (max-width: 700px) {
  .slides { aspect-ratio: 16 / 10; margin-top: 24px; }
  .slide__img { object-position: 0 0; }
  .stage__tabs { justify-content: flex-start; } .stage__tabs [role="tab"] { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .stage__bg, .slide, .stage__lead { transition: none; } .stage.is-playing .stage__tabs [aria-selected="true"]::after { animation: none; } }

/* Footer legal */
.footer__legal-nav ul { gap: 0 22px; }
.footer__legal-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 500; color: var(--mute-dark); text-decoration: none; }
.footer__legal-nav a:hover, .footer__legal-nav a[aria-current="page"] { color: var(--y); text-decoration: underline; text-underline-offset: 4px; }

/* Páginas legales */
.legal { padding: 150px 0 96px; min-height: 70vh; }
.legal__wrap { max-width: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .9375rem; color: var(--mute); }
.crumbs a { text-underline-offset: 4px; }
.crumbs a:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
.legal__lead { margin-top: 16px; font-size: 1.2rem; color: var(--mute); }
.legal__body { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 68ch; }
.legal__body h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.legal__body p, .legal__body li { color: #2d2f2a; }
.legal__body p + p { margin-top: 1em; }
.legal__body h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; }
.legal__body ul, .legal__body ol { margin: 1em 0 0 1.25em; padding: 0; }
.legal__body ul { list-style: disc; } .legal__body ol { list-style: decimal; }
.legal__body li + li { margin-top: .45em; }
.legal__body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__body a:hover { color: #8a6500; }
.legal__body .table-wrap { margin: 1.4em 0; }
.legal__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal__table th, .legal__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #2d2f2a; }
.legal__table tbody tr:last-child > * { border-bottom: 0; }
.legal__table thead th { background: var(--ink); color: var(--white); font-weight: 700; }
.legal__table tbody th { width: 30%; font-weight: 600; background: rgba(17,18,16,.03); }
.legal__note { margin: 1.4em 0; padding: 16px 20px; background: rgba(17,18,16,.04); border-left: 4px solid var(--ink); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.legal__note p + p { margin-top: .5em; }
.legal__todo { background: var(--y-soft); color: #4a3600; padding: 0 .25em; border-radius: 4px; }
.legal__pending { padding: 18px 22px; background: var(--y-soft); border-left: 4px solid var(--y); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; color: #4a3600 !important; }

/* ============ Compactación (tarjetas y calculadora) ============ */
.section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.plan { padding: 24px 24px 20px; }
.plan__name { font-size: 1.3rem; }
.plan__tag { margin-top: 4px; font-size: .9375rem; line-height: 1.45; min-height: 1.45em; }
.plan__price { margin: 14px 0 14px; padding-bottom: 14px; }
.plan__price strong { font-size: clamp(2rem, 3vw, 2.5rem); }
.plan__price span { margin-top: 4px; font-size: .875rem; }
.plan__facts { gap: 6px; margin-bottom: 14px; font-size: .9375rem; }
.plan__facts li::before { top: .3em; width: 15px; height: 15px; }
.plan__desc { font-size: .9375rem; line-height: 1.5; margin-bottom: 8px; }
.plan__note { font-size: .875rem; margin-bottom: 16px; line-height: 1.4; }
.plan__ctas { gap: 0; }
.plan__ctas .btn { min-height: 44px; }
.plan__link { min-height: 40px; font-size: .9375rem; }
@media (min-width: 981px) { .plan__note { white-space: nowrap; } }
.table-title { margin: 48px 0 16px; }

.calc .section__head { margin-bottom: 28px; }
.calc__grid { gap: 20px; }
.calc__form { padding: 22px 24px; gap: 14px; }
.field__row { margin-bottom: 2px; }
.num { min-height: 42px; width: 104px; font-size: 1.0625rem; }
.range { height: 36px; }
.seg legend { margin-bottom: 8px; }
.seg span { min-height: 42px; }
.calc__hint { font-size: .875rem; }
.calc__out { padding: 22px 26px; }
.out__big { margin-top: 2px; font-size: clamp(3rem, 6vw, 4.5rem); }
.out__sub { font-size: 1rem; }
.out__delta { margin-top: 4px; min-height: 1.4em; font-size: .9375rem; }
.bars { margin: 12px 0 14px; gap: 7px; }
.out__fee { padding-top: 14px; }
.out__price strong { font-size: 1.75rem; }
.out__break { margin-top: 4px; font-size: .875rem; }
.out__note { margin: 10px 0 14px; font-size: .8125rem; }
.method { margin-top: 24px; }
.method summary { padding: 14px 22px; }

/* Calculadora: las dos tarjetas con la misma altura */
.calc__grid { align-items: stretch; }
.calc__form { align-content: space-between; }

/* Footer ampliado */
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__socials { display: flex; gap: 6px; }
.footer__social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #dfe1d9; border-radius: 50%; transition: color .2s, background .2s; }
.footer__social svg { width: 22px; height: 22px; }
.footer__social:hover { color: var(--y); background: rgba(255,255,255,.08); }
.footer__social:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }
.footer .footer__legal-nav { padding: 28px 0 8px; }
.footer .footer__legal-nav ul { gap: 0 28px; }
.footer__info { margin-top: 28px; max-width: 92ch; font-size: .9rem; line-height: 1.6; color: var(--mute-dark); }
.footer__info p + p { margin-top: 1em; }
.footer__info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__info a:hover { color: var(--y); }
.footer__top { align-items: flex-start; }
.footer__copy { margin-top: 12px; font-size: .9rem; color: var(--mute-dark); }
.footer__info { margin-top: 0; }
.compare .lim { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.3; color: var(--mute); }
.compare td[data-y="1"]:has(.lim) { text-align: center; }


/* Comparativa: iconos e información ampliada */
.compare tbody th[scope="row"] { padding-block: 12px; }
.feat { display: flex; align-items: center; gap: 14px; min-width: 0; }
.feat__ico { width: 22px; height: 22px; color: var(--ink); }
.feat__name { flex: 1; min-width: 0; }
.info { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -4px -6px -4px 0; border: 0; border-radius: 50%; background: none; color: var(--mute); cursor: pointer; transition: color .2s, background-color .2s; }
.info .ico { width: 20px; height: 20px; }
.info:hover, .info:focus-visible { color: var(--ink); background: var(--y-soft); }
.tip { position: fixed; z-index: 50; max-width: 260px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--white); font: 500 .85rem/1.4 var(--f-body); box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); pointer-events: none; }
.tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.tip--below::after { bottom: auto; top: -5px; }
.tip[hidden] { display: none; }
@media (max-width: 640px) { .feat { gap: 10px; } .feat__ico { width: 20px; height: 20px; } }

/* Notas bajo la comparativa */
.fn { margin-left: 2px; font-size: .7em; line-height: 0; vertical-align: super; font-weight: 700; }
.fn a { color: var(--y-deep); text-decoration: none; padding: 0 3px; }
.fn a:hover, .fn a:focus-visible { text-decoration: underline; }
.notes { margin-top: 16px; display: grid; gap: 6px; font-size: .9rem; color: var(--mute); }
.notes li { display: flex; gap: 8px; align-items: baseline; }
.notes__n { font-weight: 700; color: var(--y-deep); }
.notes li:target { color: var(--ink); }

/* Mini-demos dentro de las tarjetas "dos lados" */
.duo__demo { margin-top: 18px; display: grid; gap: 8px; }
.demo-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: var(--ink-2); transition: transform .2s ease, border-color .2s ease; }
.demo-row:hover { transform: translateY(-2px); border-color: rgba(253,186,10,.5); }
.demo-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(253,186,10,.14); color: var(--y); }
.demo-ico .ico { width: 20px; height: 20px; }
.demo-txt { flex: 1; min-width: 0; display: grid; }
.demo-txt b { font-size: .95rem; font-weight: 600; color: var(--white); }
.demo-txt small { font-size: .8125rem; color: var(--mute-dark); }
.demo-tag { flex: none; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255,255,255,.1); color: #dfe1d9; }
.demo-tag--hot { background: var(--y); color: var(--ink); }
.demo-chat { gap: 12px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.45; }
.bubble--user { justify-self: end; background: var(--white); color: var(--ink); border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.35); }
.bubble--domo { justify-self: start; background: var(--ink); color: var(--white); border-bottom-left-radius: 6px; }
.bubble__who { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--y); }
@media (prefers-reduced-motion: reduce) { .demo-row { transition: none; } .demo-row:hover { transform: none; } }
.demo-row--light { background: rgba(255,255,255,.55); border-color: rgba(17,18,16,.14); }
.demo-row--light .demo-ico { background: var(--ink); }
.demo-row--light .demo-txt b { color: var(--ink); }
.demo-row--light .demo-txt small { color: #3a3a2b; }
.demo-row--light .demo-tag { background: var(--ink); color: var(--y); }
.demo-row--light:hover { border-color: var(--ink); }
.bubble { padding: 10px 14px; }
@media (prefers-reduced-motion: reduce) { .duo__card { transition: none; } .duo__card:hover { transform: none; } }

/* Comparativa plegable */
.method--plans { margin-top: 32px; }
.method--plans .method__body { max-width: none; color: var(--ink); padding-top: 8px; }
.method--plans .notes { margin-top: 0; }

@media (min-width: 861px) { .duo__card h3 { white-space: nowrap; } }

/* Título de "Una plataforma, dos lados": dos líneas en pantallas medianas y grandes */
#vision .section__head { max-width: 62rem; }
#vision-title { font-size: clamp(1.7rem, 4.2vw, 2.9rem); }
@media (max-width: 640px) { #vision-title .br-d { display: none; } }

/* Badge Microsoft for Startups */
.ms-badge { margin-top: 28px; display: flex; align-items: center; gap: 24px; }
.ms-badge img { flex: none; width: 220px; height: auto; border-radius: 16px; box-shadow: 0 14px 36px -16px rgba(0,0,0,.7); }
.ms-badge p { display: grid; gap: 6px; max-width: 24em; color: var(--mute-dark); font-size: 1rem; }
.ms-badge strong { color: var(--white); font: 700 1.15rem/1.25 var(--f-display); letter-spacing: -0.01em; }
@media (max-width: 560px) { .ms-badge { flex-direction: column; align-items: flex-start; gap: 16px; } .ms-badge img { width: 200px; } }

.trust__list strong { color: var(--y); }

.trust { min-height: 100vh; min-height: 100svh; }

/* Funcionalidades por plan: mismo fondo que la tarjeta Start */
.method--plans { background: var(--white); border-color: var(--line); }

.notes li { scroll-margin-top: 55vh; }

.notes__t { flex: 1; min-width: 0; }
.notes__t strong { font-weight: 700; }

/* Ventana de éxito del formulario */
.success { border: 0; padding: 0; background: transparent; width: min(92vw, 460px); max-width: none; color: var(--white); overflow: visible; }
.success::backdrop { background: rgba(17,18,16,.72); backdrop-filter: blur(6px); }
.success[open] { animation: success-in .25s ease both; }
.success[open]::backdrop { animation: success-fade .25s ease both; }
.success__card { background: var(--ink); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-card); padding: 40px 32px 30px; text-align: center; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -30px rgba(253,186,10,.35); }
.success__check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--y); color: var(--ink); }
.success__check svg { width: 38px; height: 38px; }
.success__check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: success-draw .5s .2s ease forwards; }
.success h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }
.success p { margin-top: 12px; color: var(--mute-dark); font-size: 1.05rem; line-height: 1.5; overflow-wrap: anywhere; }
.success p b { color: var(--white); font-weight: 600; }
.success .btn { margin-top: 26px; width: 100%; }
.success__link { display: inline-block; margin-top: 16px; padding: 10px 14px; color: var(--y); font-weight: 600; text-decoration: none; }
.success__link:hover { text-decoration: underline; }
@keyframes success-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes success-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes success-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) {
  .success { width: 100%; margin: auto 0 0; }
  .success__card { border-radius: var(--r-card) var(--r-card) 0 0; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  @keyframes success-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .success[open], .success[open]::backdrop { animation: none; }
  .success__check path { animation: none; stroke-dashoffset: 0; }
}

/* Tarjetas de plan: CTA principal (demo) + secundario (ahorro) */
.plan__ctas { gap: 10px; }
.plan--dark .btn--outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.plan--dark .btn--outline:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.plan--dark .btn--outline { background: transparent; }

/* ============ Hero cinematográfico (parallax) ============ */
/* Base = composición estática (sin JS, sin GSAP o con "reducir movimiento"). */
.cine { position: relative; background: var(--ink); color: var(--white); }
.cine__stage { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0 80px; display: flex; flex-direction: column; align-items: center; }
.cine__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; z-index: -2; }
.cine__glow { position: absolute; z-index: -1; left: 50%; top: 62%; width: min(90vw, 1200px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(253,186,10,.16), rgba(253,186,10,.04) 55%, transparent 72%); pointer-events: none; }
.cine__copy { position: relative; z-index: 6; width: 100%; max-width: 62rem; padding-inline: 20px; text-align: center; }
.cine__kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--y); font-weight: 600; font-size: 1rem; }
.cine__kicker::before, .cine__kicker::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--y); }
.cine h1 { font-size: clamp(2.5rem, min(6.4vw, 9.2vh), 5.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.cine h1 span { color: var(--y); }
.cine__lead { margin: 18px auto 0; max-width: 62rem; text-wrap: balance; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d3d5cd; }
.cine .hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cine__msg { display: none; }
.cine__scene { position: relative; z-index: 2; width: min(92vw, 1180px); aspect-ratio: 1840 / 862; margin-top: 56px; }
.cine__dash { position: relative; z-index: 3; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #0b0c0a; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 120px -40px rgba(253,186,10,.35); }
.cine__dash img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.cine__card, .cine__fade { display: none; }

/* Modo animado: el JS añade .is-cine */
.cine.is-cine { height: 440vh; height: 440svh; }
.is-cine .cine__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; display: block; }
.is-cine .cine__copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 4vh); margin-inline: auto; will-change: transform, opacity; }
.is-cine .cine__msg, .is-cine .cine__fade { display: block; }
/* La siguiente sección sube como una hoja y cubre el hero fijo */
.cine.is-cine + .section { position: relative; z-index: 4; margin-top: -100vh; margin-top: -100svh; background: var(--paper); border-radius: 32px 32px 0 0; box-shadow: 0 -40px 90px -30px rgba(0,0,0,.6); }
@media (max-width: 680px) { .cine.is-cine + .section { border-radius: 24px 24px 0 0; } }
.is-cine .cine__msg { position: absolute; z-index: 6; left: 0; right: 0; margin: 0 auto; padding-inline: 20px; text-align: center; font: 700 clamp(1.6rem, min(3.6vw, 6.4vh), 3.1rem)/1.08 var(--f-display); letter-spacing: -0.03em; opacity: 0; pointer-events: none; text-wrap: balance; }
.is-cine .cine__msg--a { top: calc(var(--nav-h) + 1.5vh); color: var(--white); }
.is-cine .cine__msg--b { z-index: 8; top: calc(var(--nav-h) + 1.5vh); color: var(--white); }
.is-cine .cine__scene { position: absolute; left: 50%; top: 56%; margin: 0; width: min(86vw, 1240px); }
.is-cine .cine__dash { will-change: transform; transform-origin: 50% 50%; }
.is-cine .cine__card { display: block; position: absolute; z-index: 4; height: auto; opacity: 0; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: #0b0c0a; box-shadow: 0 30px 70px -24px rgba(0,0,0,.85); will-change: transform, opacity; }
.cine__card--doc { left: -2%; top: -3%; width: 36%; }
.cine__card--jun { left: 60%; top: -2%; width: 34%; }
.cine__card--fin { left: -5%; top: 50%; width: 27%; }
.cine__card--inc { left: 71%; top: 68%; width: 33%; }
.is-cine .cine__fade { position: absolute; z-index: 5; inset: 0; background: #050605; opacity: 0; pointer-events: none; }

@media (max-width: 1024px) {
  .cine__card--doc { left: 0; top: -3%; width: 34%; }
  .cine__card--jun { left: 62%; top: -2%; width: 32%; }
  .cine__card--fin { left: -2%; top: 52%; width: 28%; }
  .cine__card--inc { left: 70%; top: 70%; width: 32%; }
}
/* Tablet: panel más ancho para que se lea */
@media (min-width: 681px) and (max-width: 1024px) {
  .is-cine .cine__scene { width: min(94vw, 980px); }
}
/* Móvil: composición propia (ventana recortada del panel + 2 módulos), en flujo normal */
@media (max-width: 680px) {
  .cine__stage { padding: 104px 0 40px; }
  .cine__kicker { font-size: .85rem; gap: 8px; margin-bottom: 12px; }
  .cine__kicker::before, .cine__kicker::after { width: 14px; }
  .cine h1 { font-size: clamp(2.1rem, 9.6vw, 2.9rem); }
  .cine__lead { margin-top: 12px; font-size: 1rem; }
  .cine .hero__actions { flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
  .cine .hero__actions .btn { flex: 1 1 0; min-height: 52px; padding: 0 12px; font-size: .95rem; }
  .cine__scene { width: 92vw; aspect-ratio: 1.45; margin-top: 22px; }
  .cine__dash img { width: 215%; max-width: none; height: auto; position: absolute; left: 0; top: 0; }
  .is-cine .cine__stage { display: flex; flex-direction: column; align-items: center; padding: 104px 0 0; }
  .is-cine .cine__copy { position: relative; top: auto; left: auto; right: auto; }
  .is-cine .cine__scene { position: relative; left: auto; top: auto; bottom: auto; margin: 22px 0 0; width: 92vw; }
  .is-cine .cine__msg { display: none; }
  .cine__card--doc, .cine__card--fin { display: none !important; }
  .cine__card--jun { left: 3%; top: 6%; width: 70%; }
  .cine__card--inc { left: 24%; top: 60%; width: 74%; }
}
@media (prefers-reduced-motion: reduce) {
  .cine.is-cine { height: auto; }
}
@media (min-width: 681px) { .cine__lead { white-space: nowrap; max-width: none; } }
@media (min-width: 900px) { .pricing .section__head .lead { max-width: none; white-space: nowrap; } }


/* ===== Integración del centro legal — noviembre 2026 ===== */
.legal__wrap--wide {max-width:1100px;}
.legal__eyebrow {font-weight:800;font-size:.82rem;letter-spacing:.09em;text-transform:uppercase;color:#795700;margin-bottom:15px;}
.legal__draft {margin-top:22px;background:#fff4d0;color:#3d2b00;border:1px solid #c5a447;border-left:5px solid #a77a00;padding:14px 18px;border-radius:10px;font-size:.94rem;line-height:1.6;}
.legal__summary {margin-top:38px;background:#f7f7f2;border:1px solid #e5e5dd;border-radius:18px;padding:clamp(22px,4vw,36px);}
.legal__summary h2 {font-size:1.35rem;margin:0 0 20px;font-family:var(--f-display);}
.legal__summary-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;}
.legal__summary-grid strong {display:block;color:var(--ink);margin-bottom:6px;}
.legal__summary-grid p {margin:0;color:#50534c;font-size:.96rem;line-height:1.65;}
.legal__summary-grid a {text-underline-offset:3px;}
.legal__toc {margin:0 0 34px;border-radius:12px;border:1px solid #deded6;background:#fafaf7;overflow:hidden;}
.legal__toc summary {padding:15px 19px;cursor:pointer;list-style-position:inside;font-weight:700;}
.legal__toc nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;padding:6px 20px 20px;}
.legal__toc nav a {font-size:.92rem;line-height:1.45;padding:6px 0;color:#45483f;}
.legal__body h2[id] {scroll-margin-top:105px;}
.legal__directory {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:44px;}
.legal__directory-card {display:flex;flex-direction:column;padding:27px 28px 24px;border:1px solid #deded5;border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;}
.legal__directory-card:hover {transform:translateY(-3px);box-shadow:0 16px 30px rgba(0,0,0,.09);border-color:#bb943e;}
.legal__directory-card:focus-visible {outline:3px solid #bd8900;outline-offset:3px;}
.legal__directory-kicker {font-size:.78rem;text-transform:uppercase;letter-spacing:.095em;font-weight:800;color:#856a24;}
.legal__directory-card h2 {font-size:1.4rem;line-height:1.25;margin:12px 0 9px;font-family:var(--f-display);}
.legal__directory-card p {margin:0 0 18px;color:#53564e;line-height:1.65;flex:1;}
.legal__directory-more {font-weight:700;font-size:.92rem;}
.legal__help {margin-top:34px;padding:26px 30px;border-radius:16px;background:#f5f5ef;}
.legal__help h2 {margin:0 0 9px;font-size:1.3rem;}
.legal__help p {margin:0;line-height:1.7;}
.legal__help a {color:inherit;text-underline-offset:3px;}
.form__privacy {grid-column:1/-1;font-size:.85rem;line-height:1.65;color:#53564e;max-width:68ch;}
.form__privacy a {color:inherit;text-underline-offset:3px;font-weight:700;}
@media(max-width:700px){.legal__directory,.legal__summary-grid,.legal__toc nav{grid-template-columns:1fr}.legal__directory-card{padding:24px}.legal__summary{padding:22px}.legal__toc nav{padding-left:18px;padding-right:18px}}

/* Calculadora: banda propia para separarla de las secciones contiguas */
#impacto { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#impacto + .section { padding-top: clamp(56px, 7vw, 96px); }
