/* ==========================================================================
   RUMBO A ESPAÑA — by AFUTBAL
   Mobile-first. Sin frameworks.
   ========================================================================== */

:root {
  --navy-950: #060B16;
  --navy-900: #0A1020;
  --navy-800: #111A2F;
  --navy-700: #1A2542;
  --navy-600: #2A3656;
  --red: #E4002B;
  --red-dark: #B8001F;
  --gold: #F4C300;
  --gold-soft: #FFE27A;
  --paper: #F5F3EE;
  --paper-2: #ECE8DF;
  --white: #FFFFFF;
  --ink: #0E1526;
  --ink-2: #26304A;
  --muted: #5B6478;
  --muted-dark: #9AA4BC;
  --line: #E1DDD3;
  --line-dark: rgba(255, 255, 255, .10);
  --green: #11875A;
  --blue: #1E5BD8;

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 16, 32, .06), 0 8px 24px rgba(10, 16, 32, .08);
  --shadow-lg: 0 20px 60px rgba(6, 11, 22, .35);
  --container: 1160px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }

/* ---------- Tipografía ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .005em;
  font-weight: 800;
}
.display { font-size: clamp(2.6rem, 10vw, 5.6rem); line-height: .92; }
.h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); line-height: .95; }
.h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1; }
.h3 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); line-height: 1.05; }
.lead { font-size: clamp(1.05rem, 2.5vw, 1.2rem); color: var(--muted); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .85rem;
  color: var(--red);
  margin: 0 0 .75rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.no-line::before { display: none; }
.accent { color: var(--gold); }
.text-red { color: var(--red); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(127, 127, 127, .08); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-sm { padding: .65rem 1.05rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
.inline-form { display: inline; margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; flex: none; color: currentColor; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; }
.brand-by { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .65; margin-top: 3px; }
.nav-toggle { background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900);
  border-bottom: 1px solid var(--line-dark);
  padding: .5rem var(--gutter) 1.25rem;
  flex-direction: column; gap: .25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a, .site-nav .link-btn {
  text-decoration: none; padding: .7rem 0; font-weight: 500; color: rgba(255,255,255,.85); font-size: 1rem;
}
.site-nav a:hover, .site-nav .link-btn:hover { color: var(--white); }
.site-nav .btn { margin-top: .5rem; color: var(--white); padding: .85rem 1.2rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.5rem; padding: 0; border: 0; background: none; }
  .site-nav a, .site-nav .link-btn { padding: 0; font-size: .93rem; }
  .site-nav .btn { margin: 0; }
}

/* ---------- Flash ---------- */
.flashes { padding-top: 1rem; }
.flash { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: .6rem; font-weight: 500; border: 1px solid; }
.flash-success { background: #E7F6EF; border-color: #A8DDC4; color: #0B5B3D; }
.flash-error { background: #FDECEF; border-color: #F5B5C0; color: #8A0F24; }
.flash-info { background: #EAF0FD; border-color: #BACCF5; color: #173E8F; }
.flash-warning { background: #FFF6D6; border-color: #F1D57A; color: #6E5200; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-sm { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark .lead, .section-dark .muted { color: var(--muted-dark); }
.section-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: clamp(3rem, 10vw, 6.5rem) 0 clamp(3.5rem, 10vw, 7rem);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(244, 195, 0, .16), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(228, 0, 43, .28), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='40' y='40' width='1120' height='720'/%3E%3Cline x1='600' y1='40' x2='600' y2='760'/%3E%3Ccircle cx='600' cy='400' r='110'/%3E%3Crect x='40' y='220' width='170' height='360'/%3E%3Crect x='990' y='220' width='170' height='360'/%3E%3Crect x='40' y='320' width='60' height='160'/%3E%3Crect x='1100' y='320' width='60' height='160'/%3E%3Cpath d='M210 330a90 90 0 010 140M990 330a90 90 0 000 140'/%3E%3C/svg%3E");
  background-size: cover; background-position: center;
}
.hero-media { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .35; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero-brand { font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.hero-brand strong { color: var(--white); }
.hero-title { margin: 0 0 1.25rem; }
.hero-title .line2 { display: block; color: var(--gold); }
.hero-claim { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.1rem, 3vw, 1.35rem); margin-bottom: 1rem; }
.hero-text { color: rgba(255,255,255,.78); font-size: clamp(1.02rem, 2.4vw, 1.18rem); max-width: 34em; }
.hero .btn-row { margin: 1.75rem 0 1.5rem; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .4rem .9rem; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-badges li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-badges .icon { width: 16px; height: 16px; color: var(--gold); }
.hero-price { margin-top: 1.1rem; font-size: .92rem; color: rgba(255,255,255,.65); }
.hero-price strong { color: var(--white); }

.route-card {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.route-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.route-list { list-style: none; margin: 0; padding: 0; position: relative; }
.route-list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--red), var(--gold)); opacity: .6; }
.route-list li { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: .6rem 0; }
.route-dot { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 2px solid rgba(255,255,255,.2); font-family: var(--font-display); font-weight: 800; z-index: 1; }
.route-list li.is-active .route-dot { background: var(--red); border-color: var(--red); }
.route-list li.is-goal .route-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.route-list strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; }
.route-list span { font-size: .88rem; color: rgba(255,255,255,.65); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 4rem; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 2rem; }
.intro-quote { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.02; }
.intro-quote em { font-style: normal; color: var(--red); }
.intro-body p { font-size: 1.08rem; color: var(--ink-2); }
.intro-body .intro-closing { font-weight: 700; color: var(--ink); }
@media (min-width: 900px) { .intro-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }

/* ---------- Etapas ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.5rem;
}
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); }
.step h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; margin: .5rem 0 .6rem; letter-spacing: .02em; }
.step p { color: var(--muted-dark); margin: 0; font-size: .97rem; }
.step:last-child { background: linear-gradient(160deg, var(--red-dark), var(--red)); border-color: transparent; }
.step:last-child .step-num { -webkit-text-stroke-color: rgba(255,255,255,.6); }
.step:last-child p { color: rgba(255,255,255,.9); }
.step-arrow { display: none; }
.route-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem .7rem; margin-top: 2rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; color: rgba(255,255,255,.7); }
.route-strip b { color: var(--white); }
.route-strip .sep { color: var(--gold); }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: "→"; position: absolute; right: -.95rem; top: 2.2rem; z-index: 2;
    width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%;
    background: var(--gold); color: var(--ink); font-weight: 800; font-size: .95rem;
  }
}

/* ---------- Aprender ---------- */
.learn-grid { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.learn-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; font-weight: 600; display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.learn-item .icon { color: var(--red); width: 20px; height: 20px; flex: none; margin-top: 2px; }
.spain-box { margin-top: 2rem; background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.2rem; position: relative; overflow: hidden; }
.spain-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(244,195,0,.22), transparent 70%); }
.spain-box p { color: rgba(255,255,255,.82); margin: 0; font-size: 1.05rem; }
.spain-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { display: inline-block; padding: .35rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
@media (min-width: 800px) { .learn-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Público ---------- */
.audience { display: grid; gap: 2rem; align-items: center; }
.audience-quote { border-left: 4px solid var(--red); padding: .25rem 0 .25rem 1.25rem; font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 600; line-height: 1.45; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 1px; }
.section-dark .check-list .icon { color: var(--gold); }
@media (min-width: 900px) { .audience { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Temario / acordeones ---------- */
.syllabus-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.5rem; color: var(--muted); font-weight: 500; }
.syllabus-meta strong { color: var(--ink); }
.accordion { display: grid; gap: .6rem; }
.acc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
  padding: 1rem 1.1rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--red); min-width: 2.1rem; }
.acc-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; letter-spacing: .01em; }
.acc-sub { display: block; font-family: var(--font-body); text-transform: none; font-weight: 500; font-size: .82rem; color: var(--muted); margin-top: .25rem; letter-spacing: 0; }
.acc-chev { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform .2s; font-weight: 700; }
.acc[open] .acc-chev { transform: rotate(45deg); background: var(--red); color: var(--white); }
.acc-body { padding: 0 1.1rem 1.2rem; }
.acc-body > p { color: var(--muted); margin: 0 0 1rem; }
.lesson-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lesson-list li { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.lesson-list li:last-child { border-bottom: 0; }
.lesson-list .icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.lesson-list .l-title { flex: 1; }
.lesson-list .l-title small { display: block; color: var(--muted); font-size: .8rem; }
.lesson-list .l-dur { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.lesson-list a { text-decoration: none; }
.lesson-list a:hover .l-title { color: var(--red); }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pill-free { background: var(--gold); color: var(--ink); }
.pill-done { background: #DDF3E8; color: var(--green); }
.pill-progress { background: #E6EDFC; color: var(--blue); }
.pill-muted { background: var(--paper); color: var(--muted); }
.acc-dark .acc { background: var(--navy-800); border-color: var(--line-dark); color: var(--white); }
.acc-dark .acc-sub, .acc-dark .acc-body > p { color: var(--muted-dark); }

/* ---------- Lección gratuita CTA ---------- */
.free-cta { display: grid; gap: 1.5rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.free-cta .play { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; }
.free-cta .play .icon { width: 26px; height: 26px; margin-left: 3px; }
@media (min-width: 800px) { .free-cta { grid-template-columns: auto 1fr auto; } }

/* ---------- Precios ---------- */
.pricing { display: grid; gap: 1.25rem; align-items: stretch; }
.price-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.2rem); display: flex; flex-direction: column; border: 1px solid var(--line); position: relative; }
.price-card.featured { border: 2px solid var(--red); box-shadow: var(--shadow-lg); }
.price-card .ribbon { position: absolute; top: -13px; left: 1.5rem; background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }
.price-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; margin-bottom: .3rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; margin: 1rem 0 .2rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); margin-left: .3rem; }
.price-card .check-list { margin: 1.25rem 0 1.75rem; font-size: .96rem; }
.price-card .btn { margin-top: auto; }
.price-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .75rem; }
@media (min-width: 860px) { .pricing { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Evaluación ---------- */
.eval-grid { display: grid; gap: 2rem; align-items: center; }
.eval-areas { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.eval-area { background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.1rem; }
.eval-area strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; }
.eval-area span { font-size: .82rem; color: var(--muted-dark); }
@media (min-width: 900px) { .eval-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- FAQ ---------- */
.faq .acc summary { grid-template-columns: 1fr auto; }
.faq .acc-title { font-family: var(--font-body); text-transform: none; font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.faq .acc-body p { color: var(--ink-2); margin: 0; }

/* ---------- Cierre ---------- */
.closing { text-align: center; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(228,0,43,.22), transparent 60%); z-index: 0; }
.closing > .container { position: relative; z-index: 1; }
.closing .display .line2 { display: block; color: var(--gold); }
.closing-copy { font-size: clamp(1.1rem, 3vw, 1.35rem); color: rgba(255,255,255,.85); max-width: 32em; margin: 1.5rem auto 2rem; }
.closing-brand { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.closing-brand .brand-mark { width: 44px; height: 44px; color: var(--white); margin-bottom: .5rem; }
.closing-brand strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .08em; }
.closing-brand span { color: rgba(255,255,255,.7); }
.closing-brand small { letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; color: rgba(255,255,255,.55); }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: var(--white); margin-bottom: .8rem; }
.footer-claim { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--white); font-weight: 700; }
.footer-disclaimer { font-size: .82rem; color: rgba(255,255,255,.5); max-width: 36em; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.5); font-weight: 600; margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(255,255,255,.45); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 80; background: var(--navy-900); color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-lg); display: grid; gap: .8rem; max-width: 640px; margin: 0 auto; font-size: .9rem; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.85); }
.cookie-banner a { color: var(--gold); }
.cookie-banner .btn-ghost { color: var(--white); }
.cookie-actions { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Formularios ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow); }
.card-dark { background: var(--navy-900); color: var(--white); border-color: transparent; }
.auth-wrap { max-width: 520px; margin: 0 auto; }
.form-grid { display: grid; gap: 1rem; }
.form-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], input[type=url], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(26, 37, 66, .12); }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; }
.checkbox input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--red); }
.form-errors { background: #FDECEF; border: 1px solid #F5B5C0; color: #8A0F24; border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin: 0; }
.fieldset legend { font-weight: 700; padding: 0 .4rem; font-size: .95rem; }
.fieldset.is-guardian { background: #FFFBEB; border-color: #F1D57A; }
.steps-mini { display: flex; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.steps-mini .on { color: var(--red); }

/* ---------- Página simple ---------- */
.page-head { background: var(--navy-900); color: var(--white); padding: clamp(2.5rem, 7vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.page-head .lead { color: var(--muted-dark); margin: 0; }
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.prose h2, .prose h3 { font-family: var(--font-display); text-transform: uppercase; color: var(--ink); margin: 2rem 0 .75rem; letter-spacing: .01em; }
.prose h3 { font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red); }
.prose blockquote { border-left: 4px solid var(--gold); margin: 1.5rem 0; padding: .5rem 1rem; background: var(--white); border-radius: 0 10px 10px 0; }
.prose img { border-radius: 10px; margin: 1rem 0; }
.legal-draft { background: #FFF6D6; border: 1px solid #F1D57A; border-radius: 10px; padding: .8rem 1rem; font-weight: 600; color: #6E5200; margin-bottom: 1.5rem; }

/* ---------- Dashboard jugador ---------- */
.dash-hero { background: var(--navy-900); color: var(--white); padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(4.5rem, 10vw, 6rem); position: relative; overflow: hidden; }
.dash-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(228,0,43,.3), transparent 70%); }
.dash-hero .h1 { margin-bottom: .4rem; }
.dash-hero p { color: var(--muted-dark); margin: 0; }
.dash-pull { margin-top: clamp(-3.5rem, -8vw, -2.5rem); position: relative; z-index: 2; }
.dash-grid { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .dash-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.progress-card { display: grid; gap: 1.25rem; }
.progress-top { display: flex; align-items: center; gap: 1.25rem; }
.ring { --p: 0; width: 104px; height: 104px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--red) calc(var(--p) * 1%), var(--paper-2) 0); }
.ring span { width: 80px; height: 80px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; }
.bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: inherit; }
.bar.sm { height: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stat { background: var(--paper); border-radius: 12px; padding: .8rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.stat span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.next-lesson { background: var(--paper); border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; gap: 1rem; align-items: center; }
.next-lesson .icon { width: 36px; height: 36px; color: var(--red); flex: none; }
.next-lesson small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.next-lesson strong { display: block; line-height: 1.3; }
.module-rows { display: grid; gap: .5rem; }
.module-row { display: grid; grid-template-columns: 2rem 1fr auto; gap: .75rem; align-items: center; padding: .7rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.module-row:last-child { border-bottom: 0; }
.module-row .n { font-family: var(--font-display); font-weight: 800; color: var(--muted); font-size: 1.1rem; }
.module-row.is-done .n { color: var(--green); }
.module-row .t { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.module-row .bar { margin-top: .35rem; }
.cta-card { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2rem); position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(244,195,0,.25), transparent 70%); }
.cta-card .h3 { margin-bottom: .6rem; }
.cta-card p { color: rgba(255,255,255,.8); }
.cta-card.red { background: linear-gradient(160deg, var(--red-dark), var(--red)); }
.cta-card.red p { color: rgba(255,255,255,.92); }
.card-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.35rem; margin: 0 0 1rem; letter-spacing: .02em; }
.timeline { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.timeline li { display: flex; gap: .7rem; align-items: center; font-size: .93rem; color: rgba(255,255,255,.6); }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); flex: none; }
.timeline li.done { color: var(--white); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.current { color: var(--white); font-weight: 700; }
.timeline li.current::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(228,0,43,.25); }

/* ---------- Lección ---------- */
.lesson-layout { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem) 0 4rem; }
@media (min-width: 1000px) { .lesson-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; } }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.video-wrap { position: relative; padding-top: 56.25%; background: #000; border-radius: var(--radius); overflow: hidden; margin: 1.25rem 0 1.5rem; box-shadow: var(--shadow); }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.lesson-video .video-wrap { margin-bottom: .6rem; }
.video-status { display: flex; align-items: center; gap: .4rem; margin: 0 0 1.5rem; font-size: .9rem; color: var(--muted); }
.video-status.is-done { color: var(--green); font-weight: 700; }
.video-status.is-warning { color: var(--red-dark); font-weight: 600; }
.video-status .icon { width: 18px; height: 18px; }
.video-placeholder { display: grid; gap: .35rem; place-content: center; text-align: center; aspect-ratio: 16 / 9; margin: 1.25rem 0 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--white); color: var(--muted); padding: 1rem; font-size: .92rem; }
.video-placeholder strong { color: var(--ink); font-size: 1rem; }
.keypoints { background: var(--navy-900); color: var(--white); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 2rem 0; }
.keypoints h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .06em; color: var(--gold); margin-bottom: .8rem; }
.keypoints ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.keypoints li { display: flex; gap: .6rem; align-items: flex-start; }
.keypoints .icon { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; width: 100%; }
.gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.downloads { display: grid; gap: .5rem; margin: 1.5rem 0; }
.download { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.download .icon { color: var(--red); width: 22px; height: 22px; }
.download:hover { border-color: var(--red); }
.quiz { margin: 2rem 0; }
.quiz-q { margin-bottom: 1.25rem; }
.quiz-q > p { font-weight: 700; margin-bottom: .6rem; }
.quiz-opt { display: flex; gap: .6rem; align-items: center; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: .4rem; cursor: pointer; background: var(--white); }
.quiz-opt input { accent-color: var(--red); width: 18px; height: 18px; }
.quiz-opt.is-correct { border-color: var(--green); background: #E7F6EF; }
.quiz-opt.is-wrong { border-color: var(--red); background: #FDECEF; }
.quiz-explain { font-size: .88rem; color: var(--muted); margin-top: .3rem; }
.quiz-result { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; font-weight: 800; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.lesson-done { display: inline-flex; gap: .5rem; align-items: center; color: var(--green); font-weight: 700; }
.lesson-done .icon { width: 22px; height: 22px; }
.lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.lesson-nav a { display: block; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--white); font-size: .92rem; line-height: 1.3; }
.lesson-nav a small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: .2rem; }
.lesson-nav a.next { text-align: right; grid-column: 2; }
.lesson-nav a:hover { border-color: var(--ink); }
.side-module { position: sticky; top: 84px; }
.side-module .lesson-list li { font-size: .88rem; }
.side-module .lesson-list li.is-current { font-weight: 700; }
.side-module .lesson-list li.is-current .l-title { color: var(--red); }
.empty-content { background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }
.locked-box { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1.5rem; }
.locked-box .icon-lock { width: 48px; height: 48px; color: var(--red); margin: 0 auto 1rem; }

/* ---------- Informe ---------- */
.report-cats { display: grid; gap: 1rem; }
@media (min-width: 800px) { .report-cats { grid-template-columns: 1fr 1fr; } }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.score-row:last-child { border-bottom: 0; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); }
.dots i.on { background: var(--red); }
.cat-avg { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--red); }
.report-text { white-space: pre-line; }
.disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }

/* ---------- Tablas simples ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .65rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; white-space: nowrap; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }

@media print {
  .site-header, .site-footer, .cookie-banner, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* Evita desbordes de elementos de grid en móvil */
.hero-grid > *, .intro-grid > *, .audience > *, .eval-grid > *, .dash-grid > *, .lesson-layout > * { min-width: 0; }

/* Datos legales pendientes de completar (visibles para detectarlos) */
.legal-missing { background: #FFE9A8; color: #6E5200; padding: 0 .25em; border-radius: 4px; font-weight: 600; }
.prose .table-wrap { margin: 1rem 0; }
.prose table.table { font-size: .92rem; background: var(--white); border-radius: 10px; overflow: hidden; }

/* Selector de moneda en la compra */
.currency-choice { border: 0; padding: 0; margin: .75rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; }
.currency-choice legend { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; padding: 0; }
.currency-opt { position: relative; cursor: pointer; }
.currency-opt input { position: absolute; opacity: 0; pointer-events: none; }
.currency-opt span { display: block; border: 2px solid var(--line); border-radius: 12px; padding: .8rem 1rem; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.currency-opt strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.currency-opt small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.currency-opt input:checked + span { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228, 0, 43, .12); }
.currency-opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.price-alt { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--muted); margin-top: .35rem; }

/* ==========================================================================
   Tarjetas de precio (portada y entrenadores): «Lección gratuita» + «Recomendado»
   ========================================================================== */
:root { --brand-blue: #1F3F99; --shadow-solid: #050A18; }
.plans { display: grid; gap: 1.75rem; align-items: stretch; max-width: 920px; margin: 0 auto; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--navy-900); border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 2.25rem);
}
.plan-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .02em; margin: 0; line-height: 1.05; }
.plan-sub { margin: .35rem 0 0; font-weight: 600; font-size: .95rem; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: .4rem; margin: 1.1rem 0 .1rem; line-height: .9; }
.plan-price .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 12vw, 4.8rem); letter-spacing: -.01em; }
.plan-price .unit { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; opacity: .8; }
.plan-alt { font-size: .88rem; font-weight: 600; margin: .35rem 0 0; color: var(--muted); }
.plan-checks { list-style: none; padding: 0; margin: 1.4rem 0 1.75rem; display: grid; gap: .7rem; font-size: .98rem; }
.plan-checks li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; }
.plan-checks .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #E7F6EF; color: var(--green); stroke-width: 2.6; margin-top: 1px; }
.plan-btn { margin-top: auto; }
.plan .btn-ghost { border-color: var(--navy-900); color: var(--navy-900); }
.plan .btn-ghost:hover { background: var(--navy-900); color: var(--white); }
.plan-note { font-size: .8rem; text-align: center; margin: .75rem 0 0; opacity: .75; }

.plan-featured {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 45%, var(--brand-blue) 100%);
  color: var(--white); border-color: var(--navy-900);
  box-shadow: 8px 8px 0 var(--shadow-solid);
}
.plan-featured .plan-sub, .plan-featured .plan-alt { color: rgba(255, 255, 255, .78); }
.plan-featured .plan-checks .icon { background: rgba(244, 195, 0, .18); color: var(--gold); }
.plan-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem;
  padding: .35rem 1rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.plan-wide { max-width: 920px; margin: 1.75rem auto 0; display: grid; gap: .5rem 2rem; }
.plan-wide .plan-checks { margin: .5rem 0 1rem; }
@media (min-width: 820px) {
  .plan-wide { grid-template-columns: 1fr 1.2fr auto; align-items: center; }
  .plan-wide .plan-checks { margin: 0; }
  .plan-wide .plan-btn { margin-top: 0; }
}
.plans-account { text-align: center; margin: 2rem 0 0; font-size: 1rem; }
.plans-account a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.section-dark .plans-account a { color: var(--gold); }

/* Datos destacados (entrenadores) */
.stats-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-big { background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 1.3rem 1.2rem; }
.stat-big b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1; color: var(--gold); text-transform: uppercase; }
.stat-big span { display: block; margin-top: .6rem; font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.45; }

/* Tarjetas de titulaciones y bloques de contenido */
.info-cards { display: grid; gap: 1rem; }
@media (min-width: 900px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.info-card .tag-level { align-self: flex-start; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; }
.info-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin: 0; }
.info-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.info-card .where { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .92rem; }
.info-card .where strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: .2rem; }
.notice { background: #FFF6D6; border: 1px solid #F1D57A; color: #6E5200; border-radius: 12px; padding: .9rem 1.1rem; font-size: .92rem; margin-top: 1.25rem; }
.two-col { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.coach-teaser { display: grid; gap: 1.25rem; align-items: center; background: linear-gradient(155deg, var(--navy-900), var(--brand-blue)); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 8px 8px 0 var(--shadow-solid); }
.coach-teaser p { color: rgba(255,255,255,.82); margin: 0; }
@media (min-width: 860px) { .coach-teaser { grid-template-columns: 1fr auto; } }

/* ==========================================================================
   Espacios jugador / entrenador y portada de elección
   ========================================================================== */
.brand-space { align-self: center; margin-left: .35rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding: .22rem .55rem; border-radius: 999px; line-height: 1; white-space: nowrap; }
.brand-space-jugador { background: var(--red); color: var(--white); }
.brand-space-entrenador { background: var(--gold); color: var(--ink); }
.site-footer .brand-space { display: none; }
.site-nav .nav-switch { opacity: .75; font-size: .88rem; }
@media (min-width: 900px) { .site-nav { gap: 1.1rem; } .site-nav a { font-size: .9rem; } }
.footer-switch { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-switch:hover { text-decoration: underline; }
.site-footer-min { padding: 1.25rem 0; }
.site-footer-min .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; align-items: center; }
.footer-legal-inline { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.footer-legal-inline a { text-decoration: none; color: rgba(255,255,255,.6); }
.footer-legal-inline a:hover { color: var(--white); }

body.portal { background: var(--navy-950); }
.portal-hero {
  position: relative; color: var(--white); isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 64px - 64px); display: flex; align-items: center;
  padding: clamp(1.75rem, 5vw, 3rem) 0;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(244, 195, 0, .16), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(228, 0, 43, .26), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.portal-inner { text-align: center; }
.center-flex { justify-content: center; }
.portal-title { font-size: clamp(2.3rem, 6.5vw, 3.9rem); margin: 0 auto .5rem; max-width: 16em; }
.portal-title .line2 { color: var(--gold); }
.portal-lead { color: rgba(255,255,255,.78); font-size: clamp(1rem, 2.4vw, 1.15rem); max-width: 36em; margin: 0 auto clamp(1.5rem, 4vw, 2.25rem); }
.portal-cards { display: grid; gap: 1.25rem; max-width: 940px; margin: 0 auto; text-align: left; }
@media (min-width: 760px) { .portal-cards { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.portal-card {
  position: relative; display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ink);
  background: var(--white); border: 2px solid var(--white); border-radius: 22px; padding: clamp(1.3rem, 3.5vw, 1.9rem);
  box-shadow: 8px 8px 0 #030712; transition: transform .15s ease, box-shadow .15s ease;
}
.portal-card:hover, .portal-card:focus-visible { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 #030712; }
.portal-card-entrenador { background: linear-gradient(155deg, var(--navy-800), var(--brand-blue)); color: var(--white); border-color: rgba(255,255,255,.18); }
.portal-card.is-last { outline: 3px solid var(--gold); outline-offset: 4px; }
.portal-badge { position: absolute; top: -14px; right: 1.25rem; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding: .3rem .8rem; border-radius: 999px; }
.portal-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: var(--white); margin-bottom: .35rem; }
.portal-card-entrenador .portal-icon { background: var(--gold); color: var(--ink); }
.portal-icon .icon { width: 26px; height: 26px; }
.portal-card-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 2.4rem); line-height: 1; }
.portal-card-sub { font-weight: 600; font-size: .95rem; color: var(--muted); }
.portal-card-entrenador .portal-card-sub { color: rgba(255,255,255,.75); }
.portal-points { list-style: none; padding: 0; margin: .8rem 0 1.25rem; display: grid; gap: .5rem; font-size: .96rem; }
.portal-points li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.4; }
.portal-points .icon { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.portal-card-entrenador .portal-points .icon { color: var(--gold); }
.portal-card .btn { margin-top: auto; }
.portal-account { margin: clamp(1.25rem, 3vw, 2rem) 0 0; color: rgba(255,255,255,.8); }
.portal-account a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.choose-type { display: grid; gap: .75rem; margin-top: 1.25rem; }
@media (min-width: 560px) { .choose-type { grid-template-columns: 1fr 1fr; } }
.choose-type .btn { flex-direction: column; padding: 1.2rem 1rem; font-size: 1.25rem; gap: .35rem; white-space: normal; }
.choose-type .choose-sub { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .85rem; opacity: .85; }
.choose-type .is-last { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.dash-tabs { display: inline-flex; gap: .25rem; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 999px; padding: .25rem; margin-bottom: 1.25rem; }
.dash-tabs a { text-decoration: none; color: rgba(255,255,255,.75); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .5rem 1.1rem; border-radius: 999px; font-size: .95rem; }
.dash-tabs a.is-active { background: var(--white); color: var(--ink); }
dl.data { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: .35rem .75rem; margin: 0; }
dl.data dt { color: var(--muted); }
dl.data dd { margin: 0; }
.site-nav.is-static { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; background: none; }
.site-nav.is-static .btn { margin: 0; }
