/* ==========================================================================
   CEDIS 888 — Estilos globales
   Blanco · Carbón #1C1C1C · Dorado #B8925A · Rosa empolvado #E9C9C4
   Títulos: Cormorant Garamond · Textos: Jost
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-2: #FCF6F4;            /* rosa empolvado muy tenue para secciones alternas */
  --surface: #FFFFFF;
  --surface-2: #FFFBFA;
  --ink: #1C1C1C;             /* carbón de marca */
  --ink-2: #2E2A29;
  --line: rgba(184, 146, 90, 0.28);
  --line-soft: rgba(28, 28, 28, 0.08);
  --text: #1C1C1C;
  --muted: #6B625B;
  --dim: #948A83;
  --gold: #8C6A3C;            /* dorado para texto sobre blanco (contraste AA) */
  --gold-bright: #B8925A;     /* dorado de marca para líneas, íconos y rellenos */
  --gold-soft: #8C6A3C;       /* dorado para texto pequeño */
  --gold-light: #D9BC8C;      /* dorado sobre carbón */
  --gold-wash: #FBF1EF;       /* fondo suave rosa empolvado */
  --blush: #E9C9C4;           /* rosa empolvado */
  --blush-light: #E6C3BE;     /* rosa sobre carbón */
  --danger: #B42318;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-hover: 0 24px 48px -28px rgba(13, 13, 13, .28);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blush); color: var(--ink); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 780px); margin-inline: auto; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: 0; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.7rem, 5.8vw, 4.8rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }

.gold { color: var(--gold); }
.text-muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-bright); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--gold-wash);
  color: var(--gold-soft); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(184, 146, 90, .22); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; letter-spacing: .03em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(184, 146, 90, .55), 0 12px 28px -14px rgba(13, 13, 13, .55);
}
.btn-primary .arrow { color: var(--gold-light); }
.btn-primary:hover { background: var(--ink-2); color: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(140, 106, 60, .45); color: var(--gold-soft); background: #fff; }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-wash); }
.btn-gold { background: linear-gradient(135deg, #D8B98A, #B8925A 55%, #9C7A48); color: var(--ink); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(140, 106, 60, .7); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-block { width: 100%; }

.link-arrow { color: var(--gold-soft); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { height: 38px; width: auto; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; color: var(--ink); }
.logo-text b { color: var(--gold); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 10px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-bright); border-radius: 0; }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px;
  width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(13, 13, 13, .2);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold-soft); }
  .nav .btn { margin: 18px 0 0; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
#marcas, #por-que, #testimonios { padding-top: clamp(32px, 4vw, 44px); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section-head h2 { margin-top: 14px; }
/* Frase destacada bajo el título de sección */
.section-head .statement {
  margin-top: 26px; padding: 20px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2;
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold-wash), rgba(251, 241, 239, 0));
  border-left: 3px solid var(--gold-bright); border-radius: 0 16px 16px 0;
}
.section-head .statement em { display: block; color: var(--gold); font-style: italic; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 100px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(184, 146, 90, .14), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(184, 146, 90, .07), transparent 60%);
}
/* Firma: el "888" como sello de fondo */
.hero-mark {
  position: absolute; z-index: -1; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 700; line-height: .8;
  font-size: clamp(14rem, 34vw, 32rem); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(140, 106, 60, .16);
  pointer-events: none; user-select: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 18px; }
.hero-proof { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin: 0; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.45rem; font-variant-numeric: lining-nums; }
h1, h2, h3, .video-count b, .page-hero-mark, .cta-band::before, .hero-mark { font-variant-numeric: lining-nums; }

/* Índice del ecosistema: tarjeta blanca con filo dorado */
.eco {
  background: #fff;
  border: 1px solid var(--gold-bright); border-radius: 20px; padding: 6px 12px 10px;
  box-shadow: 0 40px 70px -48px rgba(28, 28, 28, .45);
  color: var(--text);
}
.eco-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--gold-bright);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.eco-head b { color: var(--gold); font-weight: 600; }
.eco ul { list-style: none; margin: 0; padding: 0; }
.eco li a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; border-top: 1px solid #F0E4DC;
  transition: background .2s;
}
.eco li:first-child a { border-top: 0; }
.eco li a:hover { background: var(--gold-wash); border-top-color: transparent; }
.eco li a:hover + a, .eco li:hover + li a { border-top-color: transparent; }
.eco-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; color: var(--ink); transition: color .2s; }
.eco-cat { font-size: .8rem; color: var(--muted); text-align: right; }
.eco li a:hover .eco-name { color: var(--gold); }
.eco-tag { color: var(--gold); font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-left: 8px; }

/* Métricas: cuatro tarjetas con filo dorado */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: clamp(48px, 7vw, 80px);
}
.stat {
  position: relative; overflow: hidden; text-align: center;
  padding: 38px 16px 30px; border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, var(--gold-wash) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 28px 44px -38px rgba(28, 28, 28, .45);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 34px 50px -36px rgba(28, 28, 28, .5); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold-bright);
}
.stat::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -60px; bottom: -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 201, 196, .55), transparent 70%); pointer-events: none;
}
.stat-num {
  position: relative; display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 5.2vw, 4.8rem); line-height: 1; color: var(--gold);
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.stat-label {
  position: relative; display: block; margin: 14px auto 0; max-width: 200px;
  color: var(--ink); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.55;
}
.stat-label::before { content: ""; display: block; width: 28px; height: 1px; margin: 0 auto 12px; background: var(--gold-bright); }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { font-size: 16rem; top: 22%; right: -12vw; }
}
@media (max-width: 560px) {
  .stats { gap: 12px; }
  .stat { padding: 28px 10px 22px; border-radius: 16px; }
  .stat-num { font-size: 2.7rem; }
  .stat-label { font-size: .66rem; letter-spacing: .12em; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Chips / filtros ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.section-head.center + .chips { justify-content: center; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-soft); background: #fff;
  font-size: .9rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--ink); border-color: var(--line); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

/* ---------- Tarjetas de marca ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.brand-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, #B8925A, #E9C9C4, #B8925A); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.brand-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-hover); }
.brand-card:hover::after { transform: scaleX(1); }
.brand-card.is-anchor { border-color: rgba(140, 106, 60, .45); background: linear-gradient(160deg, var(--gold-wash), #fff 60%); }
.brand-card[hidden] { display: none; }
.brand-cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.brand-card h2, .brand-card h3 { font-size: 1.85rem; font-weight: 700; margin: 8px 0 10px; letter-spacing: .03em; }
.brand-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.brand-card .link-arrow { margin-top: 6px; }
.brand-card .link-arrow::after { content: ""; position: absolute; inset: 0; }
.brand-badge {
  align-self: flex-start; margin-bottom: 12px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--gold-light);
}
.brand-badge.red { background: var(--blush); color: var(--ink); }

/* Foto de producto en la tarjeta */
.brand-media {
  margin: -26px -24px 18px; aspect-ratio: 4 / 3; background: #fff;
  border-bottom: 1px solid var(--line-soft); display: grid; place-items: center; overflow: hidden;
}
.brand-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s var(--ease); }
.brand-card:hover .brand-media img { transform: scale(1.04); }

@media (max-width: 1080px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: 1fr; } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.benefit {
  grid-column: span 2; padding: 30px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: box-shadow .35s, border-color .35s;
}
.benefit:hover { box-shadow: var(--shadow-hover); border-color: var(--line); }
.benefit:nth-child(4) { grid-column: 2 / span 2; }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--ink); color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(184, 146, 90, .4);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit, .benefit:nth-child(4) { grid-column: auto; }
  .benefit:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Academia ---------- */
.academy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.academy-copy p { color: var(--muted); font-size: 1.05rem; }
.academy-copy p.gold { color: var(--gold); }
/* Frase "Solo CEDIS 888" */
.academy-copy .punch {
  position: relative; margin-top: 34px; padding: 30px 30px 28px; border-radius: 20px;
  background: linear-gradient(135deg, var(--gold-wash) 0%, #fff 85%);
  border: 1px solid var(--line);
  box-shadow: 0 28px 46px -40px rgba(28, 28, 28, .45);
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.55rem; line-height: 1.25; color: var(--ink);
}
.academy-copy .punch::before {
  content: "\201C"; position: absolute; top: -26px; left: 22px;
  font-family: var(--font-display); font-style: normal; font-size: 5rem; line-height: 1; color: var(--gold-bright);
}
.academy-copy .punch strong {
  display: block; margin-top: 14px; font-style: normal; font-weight: 700;
  font-size: clamp(2.2rem, 3.8vw, 3rem); line-height: 1.05; letter-spacing: .05em; color: var(--gold);
  font-variant-numeric: lining-nums;
}
.academy-copy .punch strong::before { content: ""; display: block; width: 48px; height: 2px; margin-bottom: 14px; background: var(--gold-bright); }

/* Nivel Oro: tarjeta destacada con el acceso a la Academia */
.gold-tier {
  position: relative; overflow: hidden; padding: 28px 30px 26px; border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-wash) 100%);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 30px 50px -40px rgba(28, 28, 28, .45);
}
.gold-tier::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 201, 196, .6), transparent 70%); pointer-events: none;
}
.gold-tier > * { position: relative; z-index: 1; }
.gold-tier-badge {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--ink);
}
.gold-tier-badge i {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, #D8B98A, #B8925A 55%, #9C7A48);
  box-shadow: 0 6px 14px -6px rgba(140, 106, 60, .8);
}
.gold-tier-text { margin: 10px 0 22px; color: var(--muted); font-size: 1.05rem; }
.gold-tier small { display: block; margin-top: 12px; color: var(--dim); font-size: .85rem; }
.modules { list-style: none; padding: 0; margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.modules li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; background: var(--surface); }
.modules li + li { border-top: 1px solid var(--line-soft); }
.modules .check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; margin-top: 2px; }
.modules .check svg { width: 13px; height: 13px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.level { padding: 18px 16px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--surface); }
.level-name { font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.level-name i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.level p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.level.free i { background: var(--dim); }
.level.silver i { background: #B8BDC4; }
.level.gold { border-color: var(--ink); background: var(--ink); }
.level.gold .level-name { color: var(--gold-light); }
.level.gold p { color: #CFC9BE; }
.level.gold i { background: var(--gold-bright); }
.academy-cta small { display: block; margin-top: 12px; color: var(--dim); font-size: .85rem; }
.video-count {
  display: flex; align-items: baseline; gap: 14px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line);
}
.video-count b { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--gold); font-weight: 700; }
.video-count span { color: var(--muted); }
@media (max-width: 960px) { .academy { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .levels { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial {
  margin: 0; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
}
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 4.2rem; line-height: .7; color: var(--gold-bright); height: 32px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.04rem; line-height: 1.6; flex: 1; color: var(--text); }
.testimonial figcaption { border-top: 1px solid var(--line-soft); padding-top: 18px; }
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption span { font-size: .88rem; color: var(--gold-soft); }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: 24px; border: 1px solid rgba(140, 106, 60, .4);
  background:
    radial-gradient(640px 280px at 50% 0%, rgba(184, 146, 90, .16), transparent 70%),
    linear-gradient(180deg, #FFFAF9, var(--gold-wash));
}
.cta-band::before {
  content: "888"; position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(9rem, 24vw, 20rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(140, 106, 60, .16); pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 760px; margin: 0 auto 16px; }
.cta-band p { color: var(--muted); max-width: 640px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band small { display: block; margin-top: 16px; color: var(--gold-soft); font-size: .9rem; font-weight: 500; }

/* ---------- Page hero (páginas interiores) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 380px at 82% 0%, rgba(184, 146, 90, .13), transparent 65%);
}
.page-hero h1 { margin: 18px 0 16px; max-width: 900px; }
.page-hero .lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 0; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero-mark {
  position: absolute; right: -1vw; bottom: -0.22em; z-index: -1;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 18vw, 15rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(140, 106, 60, .16); white-space: nowrap; pointer-events: none;
}

.breadcrumbs { font-size: .85rem; color: var(--dim); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs [aria-current] { color: var(--gold-soft); }

/* ---------- Página de marca ---------- */
.brand-intro { font-size: 1.12rem; color: var(--text); max-width: 720px; margin-top: 20px; }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.point { padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); border-top: 2px solid var(--gold-bright); }
.point h3 { margin: 0 0 10px; font-size: 1.35rem; }
.point p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* Encabezado de marca con foto */
.brand-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.brand-hero-img {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  aspect-ratio: 1; display: grid; place-items: center;
  box-shadow: 0 40px 70px -45px rgba(13, 13, 13, .35);
}
.brand-hero-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
@media (max-width: 900px) { .brand-hero { grid-template-columns: 1fr; } .brand-hero-img { max-width: 460px; width: 100%; } }

.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lines li.has-img { grid-template-columns: 120px minmax(160px, 260px) 1fr; align-items: center; }
.line-img { width: 120px; aspect-ratio: 1; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.lines h3 { margin: 0; font-size: 1.6rem; color: var(--gold); }
.lines p { margin: 0; color: var(--muted); }
@media (max-width: 640px) {
  .lines li { grid-template-columns: 1fr; gap: 6px; }
  .lines li.has-img { grid-template-columns: 88px 1fr; column-gap: 16px; row-gap: 4px; }
  .lines li.has-img .line-img { width: 88px; grid-row: span 2; }
}

/* ---------- Prosa (SEO / artículos) ---------- */
.prose { font-size: 1.06rem; line-height: 1.78; color: #2B2926; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.22rem; color: var(--gold-soft); margin: 1.6em 0 .4em; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose > :first-child { margin-top: 0; }
.prose .lead { font-size: 1.2rem; color: var(--ink); }
.prose a { color: var(--gold-soft); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(140, 106, 60, .4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold-soft); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--gold); }
.prose .callout {
  padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); border-left: 3px solid var(--gold-bright);
  background: var(--gold-wash); font-size: 1rem;
}
.prose .callout strong { color: var(--gold-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose th { background: var(--ink); color: var(--gold-light); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: var(--bg-2); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-hover); }
.post-card[hidden] { display: none; }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.post-card h2, .post-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; line-height: 1.35; letter-spacing: 0; margin: 10px 0; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--gold-soft); }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; margin-bottom: 16px; }
.post-meta { font-size: .82rem; color: var(--dim); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* Portadas generadas con CSS (sin imágenes externas) */
.cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px 20px;
  background: linear-gradient(135deg, #FFFAF9, #F5E6E2);
  border-bottom: 1px solid var(--line);
}
.cover::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(140, 106, 60, .07) 22px 23px);
}
.cover::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -40%; filter: blur(10px); opacity: .6; }
.cover[data-cat="negocio"]::after { background: radial-gradient(circle, rgba(184, 146, 90, .45), transparent 65%); }
.cover[data-cat="tendencias"]::after { background: radial-gradient(circle, rgba(231, 196, 90, .6), transparent 65%); }
.cover[data-cat="producto"]::after { background: radial-gradient(circle, rgba(185, 138, 14, .4), transparent 65%); }
.cover[data-cat="historias"]::after { background: radial-gradient(circle, rgba(13, 13, 13, .12), transparent 65%); }
.cover-word {
  position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; line-height: .95;
  font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.01em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.cover-word b { color: var(--ink); -webkit-text-stroke: 0; font-weight: 700; }
.cover-lg { aspect-ratio: 21 / 8; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 32px; }
.cover-lg .cover-word { font-size: clamp(2.4rem, 6vw, 4.6rem); }
@media (max-width: 620px) { .cover-lg { aspect-ratio: 16 / 9; } }

.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

/* Artículo */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; margin-top: 18px; }
.article-meta span + span::before { content: "·"; margin-right: 18px; color: var(--dim); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-soft); }
.toc h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.toc li + li { margin-top: 8px; }
.toc a { color: var(--muted); display: block; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active { box-shadow: inset 2px 0 0 var(--gold-bright); padding-left: 10px; }
.toc .btn { margin-top: 20px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; order: -1; } }

.related { margin-top: 20px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(13, 13, 13, .3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  background: #fff; border: 1px solid #E6D8D4; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 146, 90, .2); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-error { font-size: .82rem; color: var(--danger); min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.check-pill span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 8px 10px;
  border-radius: 10px; border: 1px solid #E6D8D4; background: #fff; font-size: .86rem; font-weight: 700; letter-spacing: .02em;
  transition: all .2s; color: var(--muted);
}
.check-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.check-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-note { margin: 16px 0 0; font-size: .86rem; color: var(--dim); text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--gold-wash); border: 1px solid var(--line); color: var(--gold-soft); }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; }
.form-status.err { background: #FEF3F2; border: 1px solid #FDA29B; color: var(--danger); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .checks { grid-template-columns: repeat(2, 1fr); } }

.info-list { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.info-card .benefit-icon { margin: 0; flex: none; width: 46px; height: 46px; }
.info-card h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; font-weight: 700; }
.info-card p, .info-card a { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.info-card a:hover { color: var(--gold-soft); }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .2s; }
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

/* ---------- Temario de la Academia ---------- */
.temario { display: grid; gap: 14px; }
.modulo { border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .3s; }
.modulo[open] { border-color: var(--line); box-shadow: 0 24px 40px -36px rgba(28, 28, 28, .4); }
.modulo summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 56px 22px 22px; position: relative;
}
.modulo summary::-webkit-details-marker { display: none; }
.modulo summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold); transition: transform .25s;
}
.modulo[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.modulo-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--gold);
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-wash); border: 1px solid var(--line); font-variant-numeric: lining-nums;
}
.modulo-tit { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.modulo-tit small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.modulo-cuerpo { padding: 0 24px 24px 88px; }
.modulo-res { margin: 0 0 18px; color: var(--muted); font-size: 1rem; }
.modulo-lecciones { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.modulo-lecciones li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .98rem; color: var(--text); }
.modulo-lecciones li:last-child { border-bottom: 0; }
.lec-num { font-size: .82rem; font-weight: 500; color: var(--gold-soft); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 620px) {
  .modulo summary { gap: 12px; padding: 18px 46px 18px 16px; }
  .modulo-num { width: 40px; height: 40px; font-size: 1.2rem; }
  .modulo-tit { font-size: 1.25rem; }
  .modulo-cuerpo { padding: 0 16px 20px 16px; }
  .modulo-lecciones li { grid-template-columns: 46px 1fr; gap: 8px; font-size: .92rem; }
}

/* ---------- Ciudades / enlaces en píldora ---------- */
.city-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.city-grid a {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-soft); background: #fff;
  font-size: .92rem; color: var(--muted); transition: all .2s;
}
.city-grid a:hover { border-color: var(--gold); color: var(--gold-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Footer (negro con dorado) ---------- */
.site-footer { background: var(--ink); color: #A8A298; border-top: 2px solid var(--gold-bright); padding: 72px 0 32px; font-size: .94rem; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text b { color: var(--gold-light); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer .footer-top li { overflow-wrap: normal; }
.site-footer .footer-top a[href^="https://wa.me"] { white-space: nowrap; }
.footer-brand p { color: var(--blush-light); font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.45rem; line-height: 1.35; margin-top: 18px; max-width: 260px; }
.site-footer h2 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer a, .site-footer li { color: #A8A298; }
.site-footer a:hover { color: #fff; }
.footer-seo { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); color: #7D786F; font-size: .86rem; line-height: 1.7; }
.footer-seo a { color: #A8A298; text-decoration: underline; text-decoration-color: rgba(184, 146, 90, .3); text-underline-offset: 3px; }
.footer-legal { margin-top: 18px; color: #7D786F; font-size: .84rem; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; box-shadow: 0 12px 30px -8px rgba(13, 13, 13, .45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animaciones de scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s, border-color .35s; }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .30s; }
.js .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .36s; }
.js .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

.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; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- Por qué CEDIS 888: encabezado centrado ---------- */
.section-head.center .statement {
  display: inline-block; border-left: 0; border-radius: 16px; padding: 22px 34px;
  background: linear-gradient(90deg, rgba(251, 241, 239, 0), var(--gold-wash) 18%, var(--gold-wash) 82%, rgba(251, 241, 239, 0));
}
.section-head.center .statement::before {
  content: ""; display: block; width: 48px; height: 2px; margin: 0 auto 16px; background: var(--gold-bright);
}

/* ---------- Descuentos por volumen (Bronce · Plata · Oro) ---------- */
.section-dark { background: var(--ink); color: #F5EFEA; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; width: 620px; height: 620px; left: 50%; top: -360px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(184, 146, 90, .22), transparent 70%); pointer-events: none;
}
.section-dark > .container { position: relative; }
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: #BDB3AB; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .eyebrow::before { background: var(--gold-light); }
.gold-text { color: var(--gold-light); font-style: italic; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier {
  --metal: linear-gradient(135deg, #D8B98A, #B8925A 55%, #9C7A48);
  position: relative; text-align: center; padding: 40px 26px 34px; border-radius: 20px;
  background: linear-gradient(180deg, #262321 0%, #1F1D1C 100%);
  border: 1px solid rgba(217, 188, 140, .18);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.tier::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 72px; height: 3px; border-radius: 0 0 4px 4px; background: var(--metal);
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); border-color: rgba(217, 188, 140, .4); }
.tier-bronce { --metal: linear-gradient(135deg, #E0A982, #B4774B 55%, #8A5432); --metal-text: #E3AE87; }
.tier-plata  { --metal: linear-gradient(135deg, #F2F2F2, #C3C3C3 55%, #8F9196); --metal-text: #DADADA; }
.tier-oro    { --metal: linear-gradient(135deg, #EED8A8, #C9A267 55%, #9C7A48); --metal-text: #E5C893;
  border-color: rgba(217, 188, 140, .6); box-shadow: 0 0 0 1px rgba(217, 188, 140, .25), 0 30px 60px -34px rgba(184, 146, 90, .55); }
.tier-medal {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; color: #1C1C1C; background: var(--metal);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25), 0 10px 24px -10px rgba(0, 0, 0, .7);
}
.tier-name { margin: 0; font-family: var(--font-display); font-size: 2.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--metal-text); }
.tier-range { margin: 8px 0 22px; color: #F5EFEA; font-size: 1.1rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.tier-pct { margin: 0; padding-top: 22px; border-top: 1px solid rgba(217, 188, 140, .18); }
.tier-pct small { display: block; color: #A99F97; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.tier-pct b {
  display: block; margin: 6px 0 2px; font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: clamp(3.4rem, 6vw, 4.6rem); font-variant-numeric: lining-nums;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier-pct span { color: #BDB3AB; font-size: .95rem; }
.tier-flag {
  position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px;
  font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #1C1C1C; background: var(--metal);
}
.tiers-note { max-width: 720px; margin: 34px auto 0; text-align: center; color: #A99F97; font-size: .92rem; line-height: 1.6; }
.tiers-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.btn-ghost-light { border: 1px solid rgba(217, 188, 140, .5); color: #F5EFEA; background: transparent; }
.btn-ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }
@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .section-head.center .statement { padding: 18px 16px; }
  .tiers-cta .btn { width: 100%; }
}

/* Descuentos: subtítulo más grande y balanceado; "hasta" destacado */
#descuentos .section-head { max-width: 900px; }
#descuentos .section-head p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: #D6CCC4; text-wrap: balance; }
.tier-pct small em { font-style: normal; font-weight: 700; font-size: 1.25em; letter-spacing: .14em; color: var(--metal-text); }

/* Líneas: Bel-Color (imagen tipográfica), etiqueta y cierre "Y muchas líneas más" */
.line-img-text { background: linear-gradient(135deg, var(--gold-wash), #fff); border-color: var(--line); }
.line-img-text span { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.05; text-align: center; color: var(--gold); letter-spacing: .04em; }
.line-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: linear-gradient(135deg, #D8B98A, #B8925A 55%, #9C7A48); }
.lines-more {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: 26px 30px; border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-wash) 100%); border: 1px dashed var(--gold-bright);
}
.lines-more h3 { margin: 0 0 6px; font-size: 1.7rem; color: var(--ink); }
.lines h3 { text-align: left; }
.lines-more p { margin: 0; max-width: 620px; color: var(--muted); }
@media (max-width: 560px) { .lines-more { padding: 22px 20px; } .lines-more .btn { width: 100%; } }


/* Textos justificados (los bloques centrados se mantienen centrados) */
main p, .prose li, article.prose li, .modulo-lecciones li, main td, .site-footer p { text-align: justify; text-justify: inter-word; hyphens: manual; -webkit-hyphens: manual; }
.cta-band p, .section-head.center p, .center p, .text-center p, .testimonial p, .tier p, .stat p, .hero-actions p { text-align: center; hyphens: manual; }
main nav li, .breadcrumbs li, .toc li, .eco li, .nav li { text-align: left; hyphens: manual; }
.footer-brand p { text-align: left !important; hyphens: manual; }

/* ---------- Cómo empezar: 3 pasos + inversión mínima ---------- */
.gold-text-dark { color: var(--gold); font-style: italic; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; counter-reset: none; }
.step {
  position: relative; z-index: 1; text-align: center; padding: 30px 26px 30px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 28px 44px -40px rgba(28, 28, 28, .45);
}
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  background: linear-gradient(135deg, #D8B98A, #B8925A 55%, #9C7A48); box-shadow: 0 6px 14px -6px rgba(140, 106, 60, .8);
}
.step-icon {
  width: 56px; height: 56px; margin: 14px auto 18px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(184, 146, 90, .4);
}
.step-icon svg { width: 28px; height: 28px; }
.step h3 { margin: 0 0 10px; font-size: 1.7rem; }
main .step p { margin: 0; color: var(--muted); text-align: center; }
.start-min {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  margin-top: 34px; padding: 24px 32px; border-radius: 20px; background: var(--ink); color: #F5EFEA;
  border: 1px solid rgba(217, 188, 140, .45);
}
main .start-min-text { margin: 0; text-align: left; font-size: 1.15rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.start-min-text b { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums; }
.start-min-text strong { color: var(--gold-light); font-weight: 600; }
.start-min .btn-primary { background: linear-gradient(135deg, #D8B98A, #B8925A 55%, #9C7A48); color: var(--ink); }
.start-min .btn-primary .arrow { color: var(--ink); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin-inline: auto; }
  .start-min { padding: 22px 20px; justify-content: center; }
  main .start-min-text { justify-content: center; text-align: center; }
  .start-min .btn { width: 100%; }
}
