/* =========================================================================
   CRESCE Consultores — Sistema de diseño
   Paleta: morado #26215C · teal #085041 · coral #F0603A
   Tipografía: Fraunces (display) + Inter (texto)
   ========================================================================= */

/* ----- Tokens ----------------------------------------------------------- */
:root {
  /* Marca */
  --purple: #26215C;
  --purple-800: #1C1846;
  --purple-700: #322C73;
  --teal: #085041;
  --teal-700: #0A6151;
  --teal-900: #06382E;
  --teal-light: #3FA98F;   /* teal claro para acentos sobre fondos oscuros (mismo del logo) */
  --coral: #F0603A;        /* SOLO botones de compra */
  --coral-600: #DB4E2A;
  --gold: #E8B450;         /* solo señales funcionales: estrellas de reseña, aviso del simulador */

  /* Neutros cálidos */
  --paper: #FBF9F6;
  --paper-2: #F3EEE7;
  --card: #FFFFFF;
  --ink: #211E33;
  --muted: #5C5870;
  --hairline: rgba(38, 33, 92, 0.12);
  --hairline-strong: rgba(38, 33, 92, 0.22);

  /* Superficies oscuras */
  --on-dark: #F4F1EC;
  --on-dark-muted: rgba(244, 241, 236, 0.72);

  /* Tipografía */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.44rem, 1.3rem + 0.7vw, 2rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.75rem);
  --step-4: clamp(2.1rem, 1.7rem + 2vw, 3.75rem);
  --step-5: clamp(2.5rem, 1.9rem + 3vw, 5rem);

  /* Ritmo */
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 9vw, 7.5rem);
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(28, 24, 70, 0.06), 0 6px 18px rgba(28, 24, 70, 0.06);
  --shadow-md: 0 12px 40px rgba(28, 24, 70, 0.12);
  --shadow-lg: 0 30px 80px rgba(28, 24, 70, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ----- Tipografía --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--purple);
}
h1 { font-size: var(--step-5); font-weight: 480; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { font-weight: 650; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}
.eyebrow--center::before { display: none; }

.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; font-weight: 400; }
.text-balance { text-wrap: balance; }

/* ----- Layout ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 + p { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.dark { background: var(--purple); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .eyebrow { color: var(--teal-light); }
.dark .eyebrow::before { background: var(--teal-light); }
.dark .lead { color: var(--on-dark-muted); }
.teal-bg { background: var(--teal); color: var(--on-dark); }
.teal-bg h1, .teal-bg h2, .teal-bg h3 { color: #fff; }
.teal-bg .eyebrow { color: rgba(255, 255, 255, 0.92); }
.teal-bg .eyebrow::before { background: rgba(255, 255, 255, 0.6); }
.teal-bg .lead { color: var(--on-dark-muted); }

/* ----- Botones -------------------------------------------------------- */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(38, 33, 92, 0.28); }
.btn:active { transform: translateY(0); }
/* Coral: reservado EXCLUSIVAMENTE para botones de compra (data-buy) */
.btn--coral { --btn-bg: var(--coral); }
.btn--coral:hover { background: var(--coral-600); box-shadow: 0 12px 30px rgba(240, 96, 58, 0.4); }
.btn--teal { --btn-bg: var(--teal); }
.btn--teal:hover { background: var(--teal-700); }
/* Botón claro para CTA sobre fondos morado/teal */
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--purple); }
.btn--light:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); }
/* Sobre superficies oscuras, los CTA teal se muestran en claro para contraste */
.cta-band .btn--teal,
.simulator__result .btn--teal,
.card.teal-bg .btn--teal { --btn-bg: var(--paper); --btn-fg: var(--purple); }
.cta-band .btn--teal:hover,
.simulator__result .btn--teal:hover,
.card.teal-bg .btn--teal:hover { background: #fff; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--purple);
  border: 1.5px solid var(--hairline-strong);
}
.btn--ghost:hover { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: none; }
.dark .btn--ghost, .teal-bg .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.35); }
.dark .btn--ghost:hover, .teal-bg .btn--ghost:hover { background: #fff; color: var(--purple); border-color: #fff; }
.btn--lg { padding: 1.15em 2em; font-size: var(--step-0); }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--teal);
  letter-spacing: 0.01em;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----- Header / Nav --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--purple);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: var(--purple-800);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 58px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo { height: 52px; } }

.nav__links { display: flex; align-items: center; gap: 0.1rem; }
.nav__links a {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.2s, color 0.2s;
}
.nav__links a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.nav__links a.is-active { color: #fff; font-weight: 650; }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav__home-link { display: none; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: #fff; }
.nav__toggle svg { width: 24px; height: 24px; }

@media (max-width: 1040px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav {
    flex-wrap: wrap;
  }
  .nav__links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav.is-open .nav__links { max-height: 75vh; padding-bottom: 1rem; }
  .nav__links a { padding: 0.85rem 0.75rem; border-radius: 12px; font-size: 1rem; }
  .nav__links a + a { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .nav__home-link { display: block; }
}

/* ----- Hero ---------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1.05fr 0.95fr; align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lead { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__trust { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.hero__trust strong { color: var(--purple); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.aurora span:nth-child(1) { width: 45vw; height: 45vw; background: var(--teal); top: -18vw; right: -10vw; }
.aurora span:nth-child(2) { width: 34vw; height: 34vw; background: var(--purple-700); bottom: -14vw; left: -10vw; opacity: 0.35; }
.aurora span:nth-child(3) { width: 22vw; height: 22vw; background: var(--teal-light); top: 30%; right: 28%; opacity: 0.14; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* Hero visual card */
.hero__card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.hero__card-row { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; }
.hero__card-row + .hero__card-row { border-top: 1px solid var(--hairline); }
.hero__card-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--teal);
}
.hero__card-ico svg { width: 22px; height: 22px; }
.hero__card-row div { line-height: 1.35; }
.hero__card-row b { display: block; font-weight: 650; color: var(--purple); }
.hero__card-row small { color: var(--muted); font-size: 0.85rem; }
.hero__card-badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--teal); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(8, 80, 65, 0.35);
}

/* ----- Cards -------------------------------------------------------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hairline-strong); }
.card__ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--paper-2), #fff);
  border: 1px solid var(--hairline);
  color: var(--teal);
  margin-bottom: 1.35rem;
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card h4 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card__foot { margin-top: auto; padding-top: 1.35rem; }
.card ul.ticks { margin-top: 1rem; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: 0.95rem; color: var(--ink); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.15rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

/* Numbered card */
.card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--hairline-strong);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ----- Precio / producto ------------------------------------------- */
.price-card { }
.price-card .tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  background: var(--paper-2); color: var(--teal);
}
.tag--hot { background: var(--purple); color: #fff; }
.tag--new { background: var(--teal); color: #fff; }
.tag--free { background: var(--teal-light); color: var(--purple-800); }
.price {
  display: flex; align-items: baseline; gap: 0.4rem;
  font-family: var(--font-display);
  margin: 0.35rem 0 0.15rem;
}
.price b { font-size: 2.1rem; font-weight: 600; color: var(--purple); letter-spacing: -0.02em; }
.price span { font-size: 0.95rem; color: var(--muted); font-family: var(--font-sans); }
.price-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.1rem; }
.price-strike { text-decoration: line-through; opacity: 0.55; font-size: 1rem !important; }

/* ----- Stats / prueba social -------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 550;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.teal-bg .stat b { color: #fff; }
.stat span { display: block; margin-top: 0.6rem; font-size: var(--step--1); color: var(--on-dark-muted); letter-spacing: 0.04em; }

/* ----- Testimonios ----------------------------------------------- */
.quote-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.quote-card .stars { display: flex; gap: 0.15rem; color: var(--gold); }
.quote-card .stars svg { width: 1.05rem; height: 1.05rem; }
.quote-card blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.8rem; }
.quote-card .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff; font-weight: 650; font-family: var(--font-display);
}
.quote-card figcaption b { display: block; color: var(--purple); font-weight: 650; }
.quote-card figcaption small { color: var(--muted); }

/* ----- Acordeón / FAQ ------------------------------------------- */
.accordion { border-top: 1px solid var(--hairline); }
.accordion details { border-bottom: 1px solid var(--hairline); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--purple);
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  width: 1.5rem; height: 1.5rem; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326215C' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding: 0 0.25rem 1.5rem; color: var(--muted); max-width: 68ch; }

/* ----- Formularios --------------------------------------------- */
.field { display: grid; gap: 0.45rem; margin-bottom: 1.15rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--purple); }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.9em 1em;
  background: var(--card);
  border: 1.5px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 80, 65, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ----- Simulador ---------------------------------------------- */
.simulator {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.simulator__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: start; }
@media (max-width: 720px) { .simulator__grid { grid-template-columns: 1fr; } }
.simulator__result {
  background: linear-gradient(160deg, var(--purple), var(--purple-800));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  position: sticky;
  top: 100px;
}
.simulator__result h3 { color: #fff; }
.result-big {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}
.result-big.is-warn { color: var(--gold); }
.result-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; font-size: 0.92rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.result-row span:last-child { font-weight: 650; }
.result-msg { margin-top: 1rem; font-size: 0.9rem; color: var(--on-dark-muted); line-height: 1.5; }
.gauge { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin: 1.25rem 0 0.5rem; }
.gauge__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal-700), var(--gold), var(--coral)); width: 0; transition: width 0.6s var(--ease); }

/* ----- CTA band --------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-900), var(--teal));
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: var(--on-dark-muted); max-width: 52ch; margin-inline: auto; }
.cta-band__actions { margin-top: 2rem; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-band .aurora span:nth-child(1) { background: var(--teal-light); opacity: 0.22; }

/* ----- Footer --------------------------------------------- */
.site-footer { background: var(--purple-800); color: var(--on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__logo { height: 76px; width: auto; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 0.6rem; font-size: 0.93rem; }
.footer-contact { display: grid; gap: 0.7rem; font-size: 0.93rem; }
.footer-contact a { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; margin-top: 0.2rem; color: var(--teal-light); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.83rem;
}

/* ----- WhatsApp flotante --------------------------------- */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem 0.85rem 0.9rem;
  background: #25D366;
  color: #06351C;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-fab svg { width: 1.55rem; height: 1.55rem; }
.wa-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55); }
.wa-fab__label { white-space: nowrap; }
@media (max-width: 560px) { .wa-fab__label { display: none; } .wa-fab { padding: 0.9rem; } }

/* ----- Utilidades de revelado --------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ----- Página interna: encabezado --------------------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 4vw, 2.75rem); position: relative; overflow: hidden; }
.page-hero + .section, .page-hero + section { padding-top: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: var(--step-4); margin: 1rem 0; max-width: 18ch; }
.page-hero .lead { max-width: 52ch; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }

/* ----- Split feature ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--purple), var(--teal));
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid var(--hairline);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.media-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; text-align: center; padding: 2rem;
}

/* ----- Process / steps ------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; }
.step-item__n {
  counter-increment: step;
  flex-shrink: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff;
  font-family: var(--font-display); font-weight: 600;
}
.step-item__n::before { content: counter(step); }
.step-item h4 { margin-bottom: 0.35rem; }
.step-item p { color: var(--muted); font-size: 0.96rem; }

/* ----- Chips / pills lista --------------------------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--hairline);
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
}

/* ----- Tabla comparativa membresía ------------------ */
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--hairline); }
.compare thead th { font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.compare td:not(:first-child) { text-align: center; }
.compare .yes { color: var(--teal); font-weight: 700; }
.compare .no { color: var(--hairline-strong); }

/* ----- Blog --------------------------------------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__meta { display: flex; gap: 0.6rem; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.75rem; }
.post-card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.post-card p { color: var(--muted); font-size: 0.96rem; flex-grow: 1; }
.article { max-width: 720px; margin-inline: auto; }
.article h2 { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.article h3 { font-size: var(--step-1); margin: 2rem 0 0.75rem; }
.article p { margin-bottom: 1.15rem; color: #35324a; }
.article ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.15rem; display: grid; gap: 0.5rem; }
.article ul li { color: #35324a; }
.article blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--purple);
}

/* ----- Misc -------------------------------------- */
.divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.badge-inline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(8, 80, 65, 0.08); color: var(--teal);
  font-size: 0.8rem; font-weight: 600;
}
.badge-inline svg { width: 0.95rem; height: 0.95rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ----- Iconos (sprite externo) -------------------------------- */
.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ----- Éxito de formulario ----------------------------------- */
.form-success {
  background: rgba(8, 80, 65, 0.06);
  border: 1px solid rgba(8, 80, 65, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.form-success h3 { color: var(--teal); margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

/* ----- Logos / marquee de confianza ------------------------- */
.trust-strip { border-block: 1px solid var(--hairline); background: var(--paper-2); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 4vw, 2.5rem); padding-block: 1.5rem; }
.trust-strip p { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trust-strip .badge-inline { background: transparent; border: 1px solid var(--hairline); }
