/* ===================================================================
   Aurora — Hoja de estilos principal
   Temática: créditos · Argentina · paleta violeta
   =================================================================== */

:root {
  /* Paleta violeta */
  --violet-900: #2a1659;
  --violet-800: #3b1d8f;
  --violet-700: #4c2bbd;
  --violet-600: #6d4ed8;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-300: #c4b5fd;
  --violet-100: #ede9fe;
  --violet-50:  #f5f3ff;

  --magenta: #e879f9;
  --magenta-soft: #f5d0fe;

  --ink: #1e1033;
  --body: #2f2547;
  --muted: #6b6280;
  --line: #e8e3f5;
  --bg: #ffffff;
  --bg-soft: #f8f6ff;

  --gold: #f2b705;
  --error: #c0392b;
  --ok: #16a34a;

  --radius: 16px;
  --radius-lg: 26px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(43, 16, 89, 0.06), 0 1px 3px rgba(43, 16, 89, 0.05);
  --shadow: 0 6px 24px rgba(76, 43, 189, 0.08), 0 2px 6px rgba(43, 16, 89, 0.04);
  --shadow-lg: 0 24px 60px rgba(43, 16, 89, 0.16);

  --container: 1180px;
  --grad-primary: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  --grad-soft: linear-gradient(135deg, var(--violet-50), var(--violet-100));

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--violet-700); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.25rem; }
p { color: var(--body); }

body.no-scroll { overflow: hidden; }
main { overflow-x: clip; }
.is-hidden { display: none !important; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--soft { background: var(--bg-soft); padding: clamp(56px, 8vw, 104px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--violet-700);
  background: var(--violet-50); border: 1px solid var(--violet-100);
  padding: 7px 14px; border-radius: 999px;
}
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head .eyebrow { margin-bottom: 18px; }
.section__head h2 { margin-bottom: 14px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__logo { height: 34px; width: auto; }
.brand__name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.nav__menu { display: flex; align-items: center; justify-content: center; gap: 30px; }
.nav__menu a { color: var(--body); font-weight: 600; font-size: .96rem; }
.nav__menu a:hover { color: var(--violet-600); }
.nav__cta { justify-self: end; }
.nav__menu .nav__cta-mobile { display: none; }
.nav__burger { display: none; }

/* Overlay del menú móvil */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 16, 51, 0.5);
  z-index: 200;
}
.nav-overlay.is-visible { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, .28); }
.btn--primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(124, 58, 237, .36); }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--violet-700); border-color: var(--violet-300); }
.btn--ghost:hover { background: var(--violet-50); color: var(--violet-800); }
.btn--light { background: #fff; color: var(--violet-700); }
.btn--light:hover { color: var(--violet-800); box-shadow: var(--shadow); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(232,121,249,.20), transparent 58%),
    radial-gradient(900px 700px at -6% 4%, rgba(139,92,246,.20), transparent 55%),
    linear-gradient(180deg, #f7f3ff 0%, #ffffff 78%);
  padding: clamp(48px, 6.5vw, 96px) 0 clamp(64px, 8vw, 112px);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,121,249,.55); }
  70% { box-shadow: 0 0 0 12px rgba(232,121,249,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,121,249,0); }
}
/* subtle grid + floating orbs */
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(76,43,189,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,43,189,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(760px 520px at 78% 30%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 520px at 78% 30%, #000 30%, transparent 72%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(72px); z-index: 0; pointer-events: none; }
.hero__orb--1 { width: 360px; height: 360px; background: var(--violet-400); opacity: .5; top: -70px; right: 4%; animation: float 9s ease-in-out infinite; }
.hero__orb--2 { width: 300px; height: 300px; background: var(--magenta); opacity: .3; bottom: -90px; left: -40px; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--violet-100);
  box-shadow: var(--shadow-sm); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; font-weight: 600; color: var(--violet-700);
  margin-bottom: 24px;
}
.hero__badge .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet-600), var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.14rem; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__avatars { display: flex; }
.hero__avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; box-shadow: var(--shadow-sm); margin-left: -12px; }
.hero__avatars img:first-child { margin-left: 0; }
.hero__proof-text { display: grid; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.hero__proof-text strong { color: var(--ink); }
.hero__stars { color: var(--gold); letter-spacing: 2px; font-size: .92rem; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card {
  position: relative; z-index: 2;
  background: linear-gradient(155deg, var(--violet-700), var(--violet-900));
  color: #fff; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.hero__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 88% 0%, rgba(232,121,249,.32), transparent 62%);
}
.hero__card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; position: relative; }
.hero__card-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 6px 13px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero__card-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7; animation: pulse 2s infinite; }
.hero__card-logo { font-weight: 800; letter-spacing: -.02em; opacity: .9; }
.hero__card-amount { position: relative; margin-bottom: 22px; }
.hero__card-amount span { display: block; font-size: .82rem; color: #cbb9f5; margin-bottom: 4px; }
.hero__card-amount strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.hero__card-rows { position: relative; margin-bottom: 20px; }
.hero__card-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .94rem; }
.hero__card-row:last-child { border-bottom: none; }
.hero__card-row span:first-child { color: #cbb9f5; }
.hero__card-row span:last-child { font-weight: 700; }
.hero__card-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.hero__card-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet-400), var(--magenta)); border-radius: 999px; }
.hero__card-foot { margin-top: 14px; font-size: .76rem; color: #b8a3e8; text-align: center; position: relative; }

.hero__chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--violet-100); border-radius: 14px;
  padding: 11px 15px; box-shadow: var(--shadow-lg);
}
.hero__chip svg { width: 22px; height: 22px; color: var(--violet-600); flex-shrink: 0; }
.hero__chip div { display: grid; line-height: 1.2; }
.hero__chip strong { font-size: .9rem; color: var(--ink); }
.hero__chip span { font-size: .76rem; color: var(--muted); }
.hero__chip--1 { top: 18px; left: 0; animation: float 6s ease-in-out infinite; }
.hero__chip--2 { bottom: 26px; right: 0; animation: float 7.5s ease-in-out infinite reverse; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 30px 22px; position: relative; z-index: 2;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--violet-500), var(--magenta));
}
.stat { text-align: center; padding: 4px 12px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 44px; width: 1px; background: var(--line);
}
.stat__num {
  font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--violet-700), var(--violet-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split h2 { margin-bottom: 16px; }
.split__lead { color: var(--muted); margin-bottom: 26px; font-size: 1.05rem; }
.checklist { display: grid; gap: 14px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--body); }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--violet-600); margin-top: 1px; }
.split__media { position: relative; }

/* ---------- Live card ---------- */
.live-card {
  background: linear-gradient(150deg, var(--violet-800), var(--violet-900));
  color: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.live-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 90% 0%, rgba(232,121,249,.25), transparent 60%);
  pointer-events: none;
}
.live-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; padding: 6px 14px; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 22px;
}
.live-tag .dot { width: 8px; height: 8px; background: var(--magenta); border-radius: 50%; animation: pulse 2s infinite; }
.live-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-weight: 700; }
.live-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .96rem;
}
.live-row:last-of-type { border-bottom: none; }
.live-row span:first-child { color: #cbb9f5; }
.live-row span:last-child { font-weight: 700; }
.live-row .ok { color: #6ee7b7; }
.live-card__foot { margin-top: 18px; font-size: .82rem; color: #b8a3e8; text-align: center; }

/* ---------- Cards grid (ventajas) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet-200, var(--violet-100)); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet-50); color: var(--violet-600); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Bento (ventajas) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento__card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet-300); }
.bento__card .card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet-50); color: var(--violet-600); margin-bottom: 16px;
}
.bento__card .card__icon svg { width: 26px; height: 26px; }
.bento__card h3 { margin-bottom: 8px; font-size: 1.14rem; }
.bento__card p { color: var(--muted); font-size: .96rem; }
.bento__card--feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento__card--feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 220px at 100% 0%, rgba(139,92,246,.10), transparent 60%);
}
.bento__card--feature h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.bento__card--feature p { font-size: 1.02rem; max-width: 460px; }
.bento__metrics { display: flex; gap: 28px; margin-top: auto; padding-top: 24px; flex-wrap: wrap; }
.bento__metrics div { display: grid; }
.bento__metrics strong { font-size: 1.5rem; font-weight: 800; color: var(--violet-700); letter-spacing: -.02em; }
.bento__metrics span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.bento__card--wide { grid-column: span 2; }
.bento__card--dark {
  background: linear-gradient(155deg, var(--violet-700), var(--violet-900));
  border-color: transparent; color: #fff;
}
.bento__card--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px 180px at 90% 10%, rgba(232,121,249,.28), transparent 62%);
}
.bento__card--dark h3 { color: #fff; position: relative; }
.bento__card--dark p { color: #cbb9f5; position: relative; }
.bento__card--dark .card__icon { background: rgba(255,255,255,.12); color: #fff; position: relative; }

/* ---------- Learn grid ---------- */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.learn-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.learn-item__icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: var(--grad-soft); color: var(--violet-700); display: inline-flex; align-items: center; justify-content: center; }
.learn-item__icon svg { width: 24px; height: 24px; }
.learn-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.learn-item p { font-size: .9rem; color: var(--muted); }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team__photo { width: 100%; aspect-ratio: 1 / 1; background: var(--grad-soft); display: block; }
.team__photo img, .team__photo svg { width: 100%; height: 100%; object-fit: cover; }
.team__body { padding: 22px 20px; }
.team__body h3 { margin-bottom: 4px; }
.team__role { color: var(--violet-600); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.team__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag { font-size: .76rem; font-weight: 600; color: var(--violet-700); background: var(--violet-50); border: 1px solid var(--violet-100); padding: 5px 11px; border-radius: 999px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 52px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--violet-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative; z-index: 1; padding: 32px 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(124,58,237,.32); border: 4px solid #fff;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }
.price-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
  background: var(--violet-900); color: #fff; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; box-shadow: var(--shadow);
}
.price-pill strong { color: var(--magenta); }

/* ---------- Testimonios ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet-300); }
.tcard::before {
  content: "\201C"; position: absolute; top: 8px; right: 22px;
  font-size: 5.5rem; line-height: 1; font-family: Georgia, serif;
  color: var(--violet-100); z-index: 0;
}
.tcard > * { position: relative; z-index: 1; }
.tcard__quote { font-size: 1.04rem; color: var(--ink); line-height: 1.58; margin-bottom: 18px; }
.tcard__tag { display: inline-block; font-size: .76rem; font-weight: 700; color: var(--violet-700); background: var(--violet-50); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.tcard__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.tcard__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard__photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--grad-soft); flex-shrink: 0; border: 2px solid var(--violet-100); }
.tcard__photo img, .tcard__photo svg { width: 100%; height: 100%; object-fit: cover; }
.tcard__name { font-weight: 700; color: var(--ink); }
.tcard__city { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-size: 1.04rem; font-weight: 700; color: var(--ink);
}
.faq__q .ico { width: 22px; height: 22px; flex-shrink: 0; color: var(--violet-600); transition: transform .25s ease; }
.faq__item.is-open .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--violet-700), var(--violet-900));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px);
  color: #fff; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 50% 0%, rgba(232,121,249,.4), transparent 65%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cbb9f5; font-size: 1.08rem; margin-bottom: 28px; }

/* ---------- Form fields ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 4px rgba(139,92,246,.14);
}
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field__error { display: none; color: var(--error); font-size: .82rem; margin-top: 6px; }
.field--error .field__error { display: block; }

/* Range slider (con relleno progresivo) */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; margin: 0;
  border-radius: 999px; outline: none; padding: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--violet-500) 0%, var(--violet-500) var(--range-pct, 50%), var(--violet-100) var(--range-pct, 50%), var(--violet-100) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px;
  border-radius: 50%; background: #fff; border: 5px solid var(--violet-600);
  box-shadow: 0 3px 10px rgba(76,43,189,.4); cursor: pointer; transition: transform .12s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--violet-600);
  box-shadow: 0 3px 10px rgba(76,43,189,.4); cursor: pointer;
}
.range-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 10px; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.preset {
  background: #fff; border: 1px solid var(--violet-100); color: var(--violet-700);
  padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: .88rem;
  transition: all .2s ease;
}
.preset:hover { border-color: var(--violet-400); background: var(--violet-50); }
.preset.is-active { background: var(--violet-600); color: #fff; border-color: var(--violet-600); box-shadow: 0 4px 12px rgba(76,43,189,.28); }

/* ---------- Calculadora (simulador) ---------- */
.calc2 {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  max-width: 900px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.calc2__controls { padding: clamp(26px, 4vw, 40px); display: grid; gap: 34px; align-content: center; }
.calc2__field { display: block; }
.calc2__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calc2__label > span { font-weight: 600; font-size: .95rem; color: var(--ink); }
.calc2__val {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--violet-700), var(--violet-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc2__result {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--violet-700), var(--violet-900));
  color: #fff; padding: clamp(26px, 4vw, 40px);
  display: flex; flex-direction: column; justify-content: center;
}
.calc2__result::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 220px at 90% 0%, rgba(232,121,249,.3), transparent 62%);
}
.calc2__result > * { position: relative; z-index: 1; }
.calc2__result-tag { font-size: .8rem; font-weight: 600; color: #cbb9f5; text-transform: uppercase; letter-spacing: .08em; }
.calc2__cuota { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 22px; line-height: 1; }
.calc2__rows { margin-bottom: 24px; }
.calc2__row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .94rem; }
.calc2__row span:first-child { color: #cbb9f5; }
.calc2__row span:last-child { font-weight: 700; }
.calc2__row--total { border-bottom: none; margin-top: 4px; padding-top: 14px; }
.calc2__row--total span { font-size: 1.05rem; }
.calc2__note { margin-top: 14px; font-size: .76rem; color: #b8a3e8; text-align: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--violet-700), var(--violet-900));
  color: #fff; padding: clamp(48px, 7vw, 88px) 0; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(500px 240px at 80% 10%, rgba(232,121,249,.28), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(620px 320px at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(620px 320px at 50% 0%, #000 20%, transparent 75%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero h1 em { font-style: normal; background: linear-gradient(120deg, #fff, var(--magenta-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: #cbb9f5; font-size: 1.1rem; }
.breadcrumbs {
  display: inline-block; font-size: .8rem; color: #e6dcff; margin-bottom: 18px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  padding: 6px 14px; border-radius: 999px;
}
.breadcrumbs a { color: #fff; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--body); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose__callout { background: var(--violet-50); border: 1px solid var(--violet-100); border-left: 4px solid var(--violet-500); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.prose__callout p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-50); color: var(--violet-600); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: .98rem; margin-bottom: 2px; }
.contact-item p { font-size: .92rem; color: var(--muted); margin: 0; }

.contact-success {
  display: none; text-align: center; padding: 40px 20px;
  background: var(--violet-50); border-radius: var(--radius); border: 1px solid var(--violet-100);
}
.contact-success.is-visible { display: block; }
.contact-success svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 16px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 34px; width: 2px; background: linear-gradient(var(--violet-400), var(--violet-100)); }
.timeline__item { position: relative; padding: 0 0 30px 26px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-primary); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--violet-100); }
.timeline__item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.timeline__item p { color: var(--muted); font-size: .96rem; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 480px; background: #fff; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { background: var(--violet-50); color: var(--violet-700); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr { transition: background .18s ease; }
tbody tr:hover { background: var(--violet-50); }
td:last-child { font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.footer { background: var(--violet-900); color: #cbb9f5; padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand .brand__logo { height: 36px; filter: brightness(0) invert(1); }
.footer__brand .brand__name { color: #fff; }
.footer__about { color: #b8a3e8; font-size: .94rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: #cbb9f5; font-size: .94rem; }
.footer__col a:hover { color: #fff; }
.footer__disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .82rem; color: #9a82c9; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: .82rem; color: #9a82c9; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound__code { font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; color: var(--violet-500); line-height: 1; letter-spacing: -.04em; }
.notfound h1 { margin: 16px 0 12px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__content { max-width: 640px; }
  .hero__visual { max-width: 440px; margin: 0 auto; width: 100%; overflow: hidden; }
}
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { padding-top: 20px; }
  .grid, .learn-grid, .team, .tcards { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--feature { grid-column: span 2; grid-row: auto; }
  .bento__card--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .header {
    border-bottom-color: var(--line);
    background: #fff;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    min-height: 56px;
  }
  .brand { flex-shrink: 0; z-index: 202; position: relative; }
  .brand__logo { height: 30px; }

  .nav__cta.btn { display: none !important; }

  .nav__burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--violet-50);
    border: 1px solid var(--violet-100);
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 202;
    transition: background .2s ease;
  }
  .nav__burger span {
    display: block;
    height: 2.5px;
    width: 20px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav__burger.is-active { background: var(--violet-100); }
  .nav__burger.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__burger.is-active span:nth-child(2) { opacity: 0; }
  .nav__burger.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav__menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(288px, 88%);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 max(24px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: -8px 0 32px rgba(43, 16, 89, 0.18);
    transform: translate3d(100%, 0, 0);
    transition: transform .3s ease;
    z-index: 201;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }
  .nav__menu.is-open {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .nav__menu::before {
    content: "Menú";
    display: block;
    padding: 20px 22px 14px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
  }

  .nav__menu a:not(.btn) {
    display: block;
    padding: 16px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav__menu .nav__cta-mobile {
    display: flex !important;
    margin: 20px 22px 0;
    width: auto;
    justify-content: center;
    border-bottom: none;
  }

  .hero__chip { display: none; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .calc2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .grid, .learn-grid, .team, .tcards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--feature, .bento__card--wide { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__card-amount strong { font-size: 1.85rem; }
  .bento__metrics { gap: 20px; }
  .container { padding: 0 18px; }
}
