/* ==========================================================================
   Wira — sitio estático
   Un solo CSS, sin dependencias. Editar tokens abajo para cambiar la marca.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --blue: #2F6BFF;
  --blue-deep: #1446A0;
  --navy: #0B2C6B;
  --grad-brand: linear-gradient(135deg, #1446A0, #2F6BFF);
  /* Acción */
  --orange: #C73E00;
  --orange-hover: #A63300;
  --orange-vivid: #FF5714;
  --orange-light: #FF8A4D;
  --orange-tint: #FFEEE6;
  /* Neutros */
  --ink: #1A1A1A;
  --slate: #6B7280;
  --border: #E2E8F0;
  --bg-alt: #F5F7FA;
  --white: #FFFFFF;
  /* Estados */
  --green: #16A34A;
  --wa-green: #25D366;
  /* Forma */
  --r-s: 12px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --glow: 0 8px 22px rgba(255, 87, 20, .35);
  /* Tipografía */
  --font: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --header-h: 64px;
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--slate); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
  border-radius: 0 0 var(--r-s) 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ---------- Iconos ---------- */
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle;
}
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: var(--r-s);
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-secondary {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.btn-secondary:hover { border-color: #cbd5e1; background: var(--bg-alt); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .85); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: #1eb355; }
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.link-arrow .ic { width: 18px; height: 18px; }
.link-arrow.link-orange { color: var(--orange); }

/* ---------- Kicker ---------- */
.kicker {
  display: block;
  color: var(--orange-vivid);
  font-weight: 700; font-style: italic;
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; }
.logo-word {
  font-family: var(--font);
  font-weight: 900; font-style: italic; font-size: 1.7rem;
  color: var(--blue-deep); letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }

.site-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 700; font-size: .95rem;
}
.nav-link:hover { background: var(--bg-alt); text-decoration: none; }
.nav-link.is-active { color: var(--blue-deep); }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.btn-header { min-height: 42px; padding: 0 18px; font-size: .95rem; white-space: nowrap; }
.burger { display: none; }
.nav-cta-mobile { display: none; }

@media (max-width: 1024px) {
  .header-inner { gap: 12px; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; order: 3; border-radius: 10px;
  }
  .burger:hover { background: var(--bg-alt); }
  .burger .ic-close { display: none; }
  body.menu-open .burger .ic-close { display: block; }
  body.menu-open .burger .ic-menu { display: none; }
  .header-actions { margin-left: auto; order: 2; }

  .site-nav {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--white); z-index: 90;
    overflow-y: auto; padding: 8px 24px 120px;
  }
  body.menu-open .site-nav { display: block; }
  body.menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; padding: 16px 4px; font-size: 1.05rem; }
  .nav-link:hover { background: none; }
  .nav-cta-mobile {
    display: block; position: fixed; left: 0; right: 0; bottom: 0;
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--border);
  }
  body:not(.menu-open) .nav-cta-mobile { display: none; }
}
@media (max-width: 560px) { .btn-header { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 55fr 45fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--slate); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.micro-trust { margin-top: 14px; font-size: 12px; color: var(--slate); letter-spacing: .01em; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -15%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .14), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-visual .img-slot { position: relative; z-index: 1; }

/* ---------- Slots de imagen ---------- */
.img-slot {
  display: block; width: 100%;
  background: var(--bg-alt);
  border-radius: var(--r-m);
  overflow: hidden;
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot.r24 { border-radius: var(--r-l); }
.img-slot.framed { box-shadow: var(--shadow); }
/* Cuando la imagen todavía no existe, main.js coloca el placeholder y esta clase */
.img-slot.is-placeholder { border: 2px dashed #CBD5E1; background: var(--bg-alt); }
.img-slot.is-placeholder img { object-fit: contain; padding: 12%; }

/* ---------- Barra de cifras ---------- */
.stats-bar { background: var(--bg-alt); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.stat-label { color: var(--slate); font-size: .92rem; }

/* ---------- Grids y tarjetas ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-m);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); }

.ico-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  background: #EFF6FF; color: var(--blue); border-radius: 12px;
}
.ico-box .ic { width: 24px; height: 24px; }
.ico-box.tone-orange { background: var(--orange-tint); color: var(--orange); }
.ico-box.tone-navy { background: #E7EDFA; color: var(--navy); }

/* Grilla de las 5 apps: 3 + 2 centradas en escritorio, sin huérfanas sueltas */
.apps-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.apps-grid > * { flex: 1 1 300px; max-width: 360px; }
@media (max-width: 640px) { .apps-grid > * { max-width: none; flex-basis: 100%; } }

/* Tarjeta de app / función */
.feat-card { padding: 28px; display: flex; flex-direction: column; }
.feat-card .ico-box { margin-bottom: 18px; }
.feat-card h3 { margin-bottom: 8px; }
.feat-card p { color: var(--slate); font-size: .97rem; margin: 0; }
.feat-card .link-arrow { margin-top: 14px; }

/* Tarjeta de rubro (solo icono, sin foto) */
.rubro-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px; color: var(--ink);
}
.rubro-card:hover { text-decoration: none; }
.rubro-card strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.rubro-card span { color: var(--slate); font-size: .92rem; }

/* ---------- Bloques split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 96px 0; }
.split .split-visual { order: 2; }
.split .split-text { order: 1; }
.split.rev .split-visual { order: 1; }
.split.rev .split-text { order: 2; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--slate); }

.checklist { margin: 20px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ic { color: var(--blue); margin-top: 3px; }

/* ---------- Acordeones ---------- */
.acc { border: 1px solid var(--border); border-radius: var(--r-m); background: var(--white); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 1.05rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { color: var(--slate); transition: transform .2s; }
.acc[open] summary .ic { transform: rotate(180deg); }
.acc[open] summary { color: var(--blue-deep); }
.acc-body { padding: 0 22px 22px; }
.acc-body p { color: var(--slate); margin: 0; }

/* ---------- Precios ---------- */
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px;
  margin: 0 auto 40px;
}
.billing-wrap { text-align: center; }
.bt-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 999px;
  font-weight: 700; color: var(--slate);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.bt-chip.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 6px rgba(15, 23, 42, .12); }
.bt-save {
  background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 900; letter-spacing: .02em;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap;
}

.plan-grid { align-items: stretch; padding-top: 16px; }
.plan-card {
  --plan-pad: 26px;
  display: flex; flex-direction: column;
  padding: 28px var(--plan-pad);
  position: relative;
  overflow: visible; /* el badge sobresale por encima del borde */
}
.plan-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 2px 6px rgba(20, 70, 160, .10), 0 18px 40px rgba(20, 70, 160, .16);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--blue); color: #fff;
  font-size: .78rem; font-weight: 900; padding: 5px 18px; border-radius: 999px;
  white-space: nowrap; letter-spacing: .06em;
  box-shadow: 0 4px 12px rgba(20, 70, 160, .3);
}

/* Altura fija en la cabecera para que los precios queden alineados entre tarjetas */
.plan-head { min-height: 74px; }
.plan-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan-tagline { color: var(--slate); font-size: .94rem; margin: 0; }

/* Bloque de precio a sangre completa dentro de la tarjeta */
.plan-priceblock {
  margin: 4px calc(var(--plan-pad) * -1) 0;
  padding: 20px var(--plan-pad);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plan-card.featured .plan-priceblock { background: #EFF4FF; border-color: #D8E4FF; }
.plan-price { font-size: 2.3rem; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; margin: 0; }
.plan-price small { font-size: 1rem; font-weight: 400; color: var(--slate); }
.plan-note { color: var(--slate); font-size: .88rem; margin: 6px 0 0; min-height: 1.4em; }

.plan-from {
  margin: 20px 0 0; font-size: .88rem; font-weight: 700;
  color: var(--slate); text-transform: uppercase; letter-spacing: .04em;
}
.plan-list {
  margin: 18px 0 24px; display: grid; gap: 13px;
  align-content: start;  /* sin esto las filas se estiran y quedan separadas */
  flex: 1;
}
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan-list .ic { margin-top: 4px; color: var(--blue); width: 17px; height: 17px; }
.plan-list strong { font-weight: 900; }
.plan-list .extra { display: block; color: var(--slate); font-size: .82rem; line-height: 1.4; }

/* Franja de lo que incluyen todos los planes */
.plan-includes {
  margin-top: 40px; padding: 22px 26px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-m);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; justify-content: center;
}
.plan-includes strong { font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.plan-includes ul { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; }
.plan-includes li { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.plan-includes .ic { color: var(--green); width: 18px; height: 18px; stroke-width: 2.5; }

.plan-foot { color: var(--slate); font-size: .92rem; text-align: center; margin-top: 24px; }

/* ---------- Tutoriales (YouTube diferido) ---------- */
.video-card { display: flex; flex-direction: column; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 0; border-radius: 0;
}
.video-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16), transparent 65%);
}
.video-frame .play {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .15s ease;
}
.video-frame .play .ic { width: 30px; height: 30px; margin-left: 3px; }
.video-frame:hover .play { transform: scale(1.08); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 20px; }
.video-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.video-body p { color: var(--slate); font-size: .95rem; margin: 0; }

/* ---------- Contacto ---------- */
.contact-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; color: var(--ink); }
.contact-card:hover { text-decoration: none; }
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--slate); font-size: .95rem; word-break: break-word; }

.social-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--blue); }
.social-btn .ic { width: 20px; height: 20px; }

/* ---------- Franja CTA final ---------- */
.cta-band { background: var(--grad-brand); color: #fff; padding: 80px 0; }
.cta-band-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D6F2; padding: 64px 0 32px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.logo-footer { color: #fff; font-size: 2rem; }
.footer-tagline { color: var(--orange-light); font-weight: 700; font-style: italic; margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: #C9D6F2; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.footer-contact { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-link { color: #C9D6F2; display: inline-flex; align-items: center; gap: 6px; }
.footer-link:hover { color: #fff; }
.footer-legal { margin: 0; color: #8FA3CC; }
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-green); color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 30px; height: 30px; }

/* ---------- Páginas legales ---------- */
.legal-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.legal-hero p { color: var(--slate); margin: 0; }

.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 56px 0 96px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .92rem; }
.legal-toc h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 12px; }
.legal-toc ul { display: grid; gap: 6px; max-height: 70vh; overflow-y: auto; padding-right: 6px; }
.legal-toc a { color: var(--slate); display: block; padding: 3px 0; }
.legal-toc a:hover { color: var(--blue); }

.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.2rem; margin: 44px 0 14px;
  padding-top: 8px; color: var(--navy);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.02rem; margin: 24px 0 8px; }
.legal-body p { color: #333; }
.legal-body ul { display: grid; gap: 8px; margin: 0 0 1em; }
.legal-body ul li { display: flex; gap: 10px; align-items: flex-start; color: #333; }
.legal-body ul li::before { content: "•"; color: var(--blue); font-weight: 900; line-height: 1.5; }
.legal-body dl { margin: 0 0 1em; }
.legal-body dt { font-weight: 700; margin-top: 12px; }
.legal-body dd { margin: 0; color: #333; }

.legal-note {
  background: var(--orange-tint); color: var(--orange);
  border-radius: var(--r-s); padding: 14px 18px; font-size: .93rem; font-weight: 700;
  margin-bottom: 32px;
}
/* Campos legales pendientes de completar (NIT, domicilio, ciudad…) */
.tbd {
  background: #FEF3C7; color: #92400E;
  border-radius: 5px; padding: 0 6px; font-weight: 700; font-size: .92em;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 72px; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ul { max-height: 220px; }
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px; }
.note {
  background: var(--orange-tint); color: var(--orange);
  border-radius: var(--r-s); padding: 14px 18px; font-size: .93rem; font-weight: 700;
}

/* ---------- Responsive general ---------- */
@media (max-width: 1024px) { .split { gap: 40px; padding: 64px 0; } }
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .split .split-visual, .split.rev .split-visual { order: 2; }
  .split .split-text, .split.rev .split-text { order: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .billing-toggle { width: 100%; justify-content: center; }
  /* apiladas: ya no hace falta igualar la altura de las cabeceras */
  .plan-head { min-height: 0; }
  .plan-grid { padding-top: 20px; }
  .plan-includes { flex-direction: column; align-items: flex-start; gap: 14px; }
  .plan-includes ul { flex-direction: column; align-items: flex-start; gap: 10px; }
}

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