/* ==========================================================================
   LANGUAGE COACH — nueva versión
   Dirección: "reporte de puntaje". Papel cálido, tinta ciruela, el morado del
   logo como acento, serif editorial para titulares y números grandes.
   ========================================================================== */

:root {
  color-scheme: light;
  --purple: #7830b8;        /* logo */
  --purple-deep: #4b1a7a;
  --purple-soft: #efe6fa;
  --lime: #b8d020;          /* logo */
  --sky: #38b8f0;           /* logo */
  --ink: #241433;           /* ciruela casi negra */
  --text: #2d2338;
  --muted: #6c6276;
  --paper: #faf7f2;
  --paper-2: #f2ede5;
  --white: #ffffff;
  --line: #e5ddd3;
  --ok: #2f8f4e;

  /* color por examen (texto/fondo) */
  --c-toefl: #7830b8; --c-toefl-bg: #efe6fa;
  --c-ielts: #1b7fc4; --c-ielts-bg: #e4f2fc;
  --c-sat: #d9482f;   --c-sat-bg: #fde8e3;
  --c-gre: #4f8a12;   --c-gre-bg: #eef5d9;
  --c-gmat: #c47a07;  --c-gmat-bg: #fdf0d8;
  --c-ele: #0f8a7c;   --c-ele-bg: #dff4f0;
  --exam: var(--purple); --exam-bg: var(--purple-soft);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 18px 40px -22px rgba(36, 20, 51, .35);
}
.exam-toefl { --exam: var(--c-toefl); --exam-bg: var(--c-toefl-bg); }
.exam-ielts { --exam: var(--c-ielts); --exam-bg: var(--c-ielts-bg); }
.exam-sat   { --exam: var(--c-sat);   --exam-bg: var(--c-sat-bg); }
.exam-gre   { --exam: var(--c-gre);   --exam-bg: var(--c-gre-bg); }
.exam-gmat  { --exam: var(--c-gmat);  --exam-bg: var(--c-gmat-bg); }
.exam-ele   { --exam: var(--c-ele);   --exam-bg: var(--c-ele-bg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-variation-settings: "opsz" 144; font-weight: 600; line-height: 1.08; margin: 0; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 1.05em; height: 1.05em; flex: none; }
.note { font-size: .88rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* --- Datos de ejemplo (solo en la propuesta) ------------------------------ */
mark.mock { background: linear-gradient(transparent 55%, #fff1a8 55%); color: inherit; border-bottom: 1px dashed #c9a400; padding: 0 .1em; border-radius: 2px; }
.preview-bar { background: var(--ink); color: #e9e2f0; font-size: .85rem; padding: .55rem 0; }
.preview-bar strong { color: var(--lime); }
.preview-bar mark.mock { background: linear-gradient(transparent 55%, #6b5a1a 55%); color: #fff; border-color: #c9a400; }
.is-mock { cursor: help; }

/* --- Kicker, botones, chips --------------------------------------------- */
.kicker { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--exam); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--exam); }
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.3em; font-weight: 700; font-size: .95rem; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--ink); color: var(--white); }
.btn-primary { background: var(--purple); border-color: var(--purple); color: var(--white); box-shadow: 0 10px 24px -12px rgba(120, 48, 184, .8); }
.btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--purple-deep); }
.btn-light:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--purple-deep); }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: .4em; }
.chip { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; background: var(--exam-bg); color: var(--exam); }
.chip.big { font-size: .9rem; padding: .4em 1em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0; }

/* --- Barras superiores y cabecera -------------------------------------- */
.topbar { background: var(--ink); color: #cfc6d9; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4em; }
.topbar .mode { color: var(--lime); font-weight: 600; }
.topbar .mode mark.mock { color: var(--lime); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand .mark { width: 36px; height: auto; }
.brand .word { width: 78px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav > a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav > a[aria-current="page"] { border-color: var(--purple); color: var(--purple); }
.nav > a:hover { text-decoration: none; color: var(--purple); }
.nav .btn { padding: .65em 1.1em; font-size: .88rem; }
.nav > a.btn-primary { color: var(--white); border-bottom: 1.5px solid var(--purple); }
.nav > a.btn-primary:hover { color: var(--white); background: var(--purple-deep); border-color: var(--purple-deep); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius-s); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); background:
  radial-gradient(60% 70% at 85% 10%, rgba(184, 208, 32, .18), transparent 60%),
  radial-gradient(50% 60% at 95% 90%, rgba(56, 184, 240, .16), transparent 60%),
  var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero h1 em, .hero h1 mark.mock { font-style: inherit; }
.hero .lead { margin-top: 1.2rem; }
.stats { list-style: none; margin: 2rem 0 0; padding: 1.4rem 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.6rem 2.4rem; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 1.85rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stats span { font-size: .82rem; color: var(--muted); display: block; max-width: 16ch; line-height: 1.3; margin-top: .3rem; }
.page-head .stats { border-color: rgba(36, 20, 51, .12); }

/* Scorecard */
.scorecard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.3rem; box-shadow: var(--shadow); }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.sc-head .kicker { margin: 0; }
.sc-head .sub { font-size: .85rem; color: var(--muted); font-weight: 600; }
.sc-total { display: flex; justify-content: space-between; margin: 1.1rem 0 .4rem; font-size: .9rem; color: var(--muted); }
.sc-total b { font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 2.6rem; color: var(--ink); margin-left: .3rem; vertical-align: -.1em; }
.sc-total .goal b { color: var(--purple); }
.sc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.sc-bars li { display: grid; grid-template-columns: 5.2rem 1fr 4.6rem; align-items: center; gap: .8rem; font-size: .88rem; }
.sc-bars .l { font-weight: 700; color: var(--ink); }
.sc-bars .track { position: relative; height: 12px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.sc-bars .track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.sc-bars .track .b { background: linear-gradient(90deg, var(--purple), #a76be0); }
.sc-bars .track .a { background: var(--ink); z-index: 1; }
.scorecard.in .track i { width: var(--w); }
.sc-bars .v { text-align: right; color: var(--muted); }
.sc-bars .v s { text-decoration: line-through; opacity: .7; }
.sc-bars .v b { color: var(--purple); }
.sc-foot { margin: 1.1rem 0 0; font-size: .82rem; color: var(--muted); }
.stamp { position: absolute; top: -14px; right: 22px; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; transform: rotate(3deg); }

/* --- Secciones ------------------------------------------------------------ */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .kicker { margin-bottom: .6rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* Cursos */
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.exam-grid.compact { grid-template-columns: repeat(5, 1fr); }
.exam-card { position: relative; display: flex; flex-direction: column; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; color: var(--text); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.exam-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--exam); }
.exam-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--exam); }
.exam-card h3 { font-size: 1.6rem; }
.exam-card p { color: var(--muted); margin: 0; flex: 1; }
.exam-card .meta { font-size: .82rem; font-weight: 600; color: var(--ink); }
.exam-card .more { color: var(--exam); font-weight: 700; display: inline-flex; align-items: center; gap: .4em; margin-top: .4rem; }
.compact .exam-card { padding: 1.1rem; }
.compact .exam-card h3 { font-size: 1.15rem; }
.compact .exam-card p, .compact .exam-card .meta { display: none; }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.steps .num, .principles .num { font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 2.4rem; color: var(--purple); line-height: 1; display: block; margin-bottom: .8rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Coach */
.coach-teaser .wrap { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.coach-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background:
  radial-gradient(70% 60% at 30% 20%, rgba(184, 208, 32, .35), transparent 60%),
  radial-gradient(60% 60% at 80% 80%, rgba(56, 184, 240, .35), transparent 60%),
  var(--purple-soft); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.coach-photo.has-photo { display: block; background: none; }
.coach-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-photo .initial { font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 9rem; color: var(--purple); opacity: .55; line-height: 1; }
.coach-photo .pending { position: absolute; bottom: 14px; left: 14px; right: 14px; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-deep); background: rgba(255,255,255,.85); border: 1px dashed #c9a400; padding: .45em .8em; border-radius: 999px; }
.creds { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: .5rem; }
.creds li { display: flex; gap: .6em; align-items: center; font-weight: 600; }
.creds svg { color: var(--ok); }
.coach-page { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose p { font-size: 1.08rem; }
.aliado { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.aliado-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; grid-template-columns: 56px 1fr; gap: .6rem 1rem; align-items: center; }
.aliado-card .initials { width: 56px; height: 56px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.aliado-card > div { display: flex; flex-direction: column; line-height: 1.3; }
.aliado-card b { color: var(--ink); font-size: 1.1rem; }
.aliado-card > div span { font-size: .85rem; color: var(--muted); }
.aliado-card p, .aliado-card .creds { grid-column: 1 / -1; margin: .4rem 0 0; }
.aliado-card p { color: var(--text); }
.formacion { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.formacion li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: .9rem 1.1rem; display: grid; gap: .15rem; }
.formacion b { color: var(--ink); }
.formacion span { font-size: .88rem; color: var(--muted); }
.timeline { list-style: none; margin: 1.2rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6.2rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.8rem; padding: 0 0 1.1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(6.2rem - 4px); top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--purple); border: 2px solid var(--paper-2); }
.timeline .when { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.timeline b { color: var(--ink); display: block; }
.timeline p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testi-grid.two { grid-template-columns: repeat(2, 1fr); }
.testi { position: relative; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.testi .q { color: var(--purple-soft); position: absolute; top: 12px; right: 16px; }
.testi .q svg { width: 36px; height: 36px; color: #e3d6f3; }
.testi blockquote { margin: 0; flex: 1; padding-right: 1.6rem; }
.testi blockquote p { margin: 0; font-size: .98rem; }
.testi figcaption { display: flex; align-items: center; gap: .8rem; }
.testi figcaption div { display: flex; flex-direction: column; line-height: 1.3; }
.testi figcaption span { font-size: .82rem; color: var(--muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--line); }
.avatar.initials { display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.testi .result { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: .9rem; }
.video-tag { display: inline-flex; align-items: center; gap: .3em; color: var(--muted); font-weight: 600; }
.unis { margin-top: 2.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.unis ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.unis li { font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 1.25rem; color: var(--ink); }

/* Paquetes */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.pack { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.pack.featured { border-color: var(--purple); box-shadow: var(--shadow); position: relative; }
.pack.featured::after { content: "Más elegido"; position: absolute; top: -12px; left: 1.4rem; background: var(--purple); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; }
.pack .price { font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 2.1rem; color: var(--ink); line-height: 1.1; }
.pack .price small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: .3rem; }
.pack p { color: var(--muted); margin: 0; }
.pack ul { list-style: none; margin: .6rem 0 1rem; padding: 0; display: grid; gap: .45rem; flex: 1; }
.pack li { display: flex; gap: .5em; align-items: flex-start; font-size: .93rem; }
.pack li svg { color: var(--ok); margin-top: .25em; }

/* FAQ */
.faq-list { display: grid; gap: .6rem; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: .75rem; font-size: 1.5rem; color: var(--purple); font-weight: 400; }
.faq[open] summary::after { content: "–"; }
.faq div { padding: 0 1.2rem 1.1rem; color: var(--text); }
.faq div p { margin: 0; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--purple-deep), var(--purple) 70%, #9a5bd6); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); margin: .6rem 0 0; }
.cta mark.mock { color: #fff; background: linear-gradient(transparent 55%, rgba(0,0,0,.25) 55%); }
.cta .actions { margin: 0; display: grid; gap: .75rem; justify-self: end; min-width: 320px; }
.cta .actions .btn { width: 100%; justify-content: center; }

/* --- Cabeceras de página --------------------------------------------------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); background: var(--paper-2); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 1rem; }
.page-head.exam { background: var(--exam-bg); }
.page-head.exam .kicker { color: var(--exam); }
.page-head.exam .btn-primary { background: var(--exam); border-color: var(--exam); box-shadow: none; }
.page-head.exam .btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.crumbs { display: flex; gap: .6rem; font-size: .85rem; margin-bottom: 1.4rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a::after { content: "/"; margin-left: .6rem; opacity: .5; }
.crumbs span { color: var(--ink); font-weight: 600; }
.page-head .chip.big { margin-bottom: .9rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(36, 20, 51, .12); }
.facts dt, .mini-facts dt { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd, .mini-facts dd { margin: .2rem 0 0; font-family: var(--display); font-variation-settings: "opsz" 144; font-size: 1.45rem; color: var(--ink); line-height: 1.15; }
.facts dd small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.mini-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.2rem; }
.bullets { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.bullets li { display: flex; gap: .6em; align-items: flex-start; }
.bullets svg { color: var(--exam); margin-top: .3em; }

/* Tablas */
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-s); overflow: hidden; font-size: .93rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
tbody th { font-weight: 700; color: var(--ink); }
tbody th a { color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; }
.compare th:first-child { white-space: nowrap; }

/* Fases, principios, sesión */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.phases li { background: var(--white); border-radius: var(--radius); padding: 1.4rem; border-top: 4px solid var(--exam); }
.phases b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-bottom: .5rem; }
.phases p { margin: 0; color: var(--muted); font-size: .95rem; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.principles li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.principles h3 { margin-bottom: .5rem; }
.principles p { color: var(--muted); margin: 0; }
.session { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.session li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: .9rem 1.1rem; }
.session b { font-family: var(--display); font-size: 1.4rem; color: var(--purple); }
.notes { margin-top: 2rem; }
.notes ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.notes ul.inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1rem; }
.agenda-card { background: var(--ink); color: #e9e2f0; border-radius: var(--radius); padding: 1.6rem; }
.agenda-card .kicker { color: var(--lime); }
.agenda-card .kicker::before { background: var(--lime); }
.agenda-card p { color: #cfc6d9; }
.agenda-card mark.mock { color: #fff; background: linear-gradient(transparent 55%, #6b5a1a 55%); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.1rem; }
.contact-item .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; flex: none; }
.contact-item .lbl { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item b { display: block; font-size: 1.05rem; color: var(--ink); }
.contact-item small { color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.form .sent { background: #e8f6ec; color: #1f6b38; border-radius: var(--radius-s); padding: 1rem 1.1rem; }
.form .note { margin: 0; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.form .check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--purple); }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal table.legal { margin: .6rem 0 1rem; font-size: .95rem; }
.legal table.legal th { width: 38%; color: var(--muted); font-weight: 700; }

/* Pie */
.site-footer { background: var(--ink); color: #cfc6d9; padding: 3.5rem 0 2rem; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .93rem; }
.site-footer a { color: #fff; }
.site-footer .about img { filter: none; margin-bottom: .9rem; }
.site-footer .tagline { font-size: .95rem; max-width: 36ch; }
.site-footer .since { font-size: .82rem; color: #9d92ab; }
.site-footer mark.mock { color: #fff; background: linear-gradient(transparent 55%, #6b5a1a 55%); }
.site-footer .legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; color: #9d92ab; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); z-index: 40; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

/* Aparición */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .sc-bars .track i { transition: none; } }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .exam-grid, .testi-grid, .packs, .principles { grid-template-columns: repeat(2, 1fr); }
  .exam-grid.compact { grid-template-columns: repeat(3, 1fr); }
  .steps, .phases { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar .mode { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav > a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav > a[aria-current="page"] { border-color: var(--line); }
  .nav .btn { margin-top: .8rem; justify-content: center; }
  .hero .wrap, .section-head, .two-col, .coach-teaser .wrap, .coach-page, .aliado, .cta .wrap, .contact { grid-template-columns: 1fr; }
  .cta .actions { justify-self: stretch; min-width: 0; }
  .coach-teaser .coach-photo, .coach-page .coach-photo { max-width: 280px; }
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.4rem; }
  .timeline li::before { left: 0; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar ul { gap: .9rem; }
  .topbar li:nth-child(2) { display: none; }
  .exam-grid, .testi-grid, .testi-grid.two, .packs, .principles, .steps, .phases, .facts, .mini-facts, .site-footer .cols { grid-template-columns: 1fr; }
  .exam-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  /* tablas comparativas: una tarjeta por examen */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { display: none; }
  .compare { background: transparent; }
  .compare tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: .8rem; overflow: hidden; }
  .compare tbody th { padding: .9rem 1rem .6rem; border-bottom: 1px solid var(--line); background: var(--paper-2); }
  .compare td { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 1rem; border-bottom: 1px solid var(--paper-2); text-align: right; }
  .compare td:last-child { border-bottom: 0; }
  .compare td::before { content: attr(data-label); flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; }
  .sc-bars li { grid-template-columns: 4.4rem 1fr 4.2rem; }
  .actions .btn { width: 100%; justify-content: center; }
  .page-head h1 { max-width: none; }
  .btn { white-space: normal; text-align: center; }
  .contact > *, .contact-list > *, .hero .wrap > *, .two-col > * { min-width: 0; }
  .agenda-card .btn { width: 100%; justify-content: center; }
  .wa-float { width: 48px; height: 48px; right: 12px; bottom: 12px; }
  .wa-float svg { width: 24px; height: 24px; }
}
