/* ===== Fuentes (alojadas en la propia web: rápidas y sin enviar datos a terceros) ===== */
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

/* ===== Marca ===== */
:root {
  --cream: #EFECE6;
  --navy: #1E3A5F;
  --navy-deep: #152B47;
  --ink-2: #4E5D70;
  --yellow: #FFE81A; /* limón (antes #FFC83D) */
  --yellow-soft: #FFF9C7;
  --white: #FFFFFF;
  --wa: #1FAF56;

  --f-title: "Poppins", system-ui, sans-serif;
  --f-text: "Nunito Sans", system-ui, sans-serif;

  --radius: 20px;
  --gutter: 20px;
  --shadow: 0 10px 30px rgba(30, 58, 95, .10);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f-text);
  font-size: 1.125rem;          /* 18 px */
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
strong { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 16px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: 1rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* Etiqueta pequeña en mayúsculas con línea amarilla (como el folleto) */
.eyebrow {
  font-family: var(--f-title); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 1rem;
}
.eyebrow::after { content: ""; display: block; width: 44px; height: 4px; margin-top: .55rem; border-radius: 4px; background: var(--yellow); }
.eyebrow--light { color: rgba(255,255,255,.85); }
.center .eyebrow::after { margin-left: auto; margin-right: auto; }

.h2 { font-size: clamp(1.85rem, 7.4vw, 2.8rem); margin-bottom: 1rem; }
.h2--light { color: var(--white); }
.h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.h3--icon { display: flex; align-items: center; gap: .6rem; }
.h3--icon svg { color: var(--navy); width: 28px; height: 28px; }
.lead { font-size: 1.2rem; }
.lead--light { color: rgba(255,255,255,.9); }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: .9rem 1.4rem; border-radius: 14px;
  font-family: var(--f-title); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; text-align: center;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--big { min-height: 62px; font-size: 1.2rem; }
.btn--primary { background: var(--yellow); color: var(--navy); box-shadow: 0 5px 0 #CDB800; }
.btn--primary:hover { background: #FFF05C; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--ghost svg { color: #6EE29A; }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-deep); }
.btn--dark svg { color: #6EE29A; }
.btn--wa { background: var(--white); color: var(--navy); border-color: #D8D3C9; }
.btn--wa svg { color: var(--wa); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 1.4rem; }
.small-note { margin: .6rem 0 0; font-size: .95rem; color: var(--ink-2); }

.icon-box {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy); color: var(--yellow);
}
.icon-box svg { width: 28px; height: 28px; }
.icon-box--sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-box--sm svg { width: 22px; height: 22px; }

.card { background: var(--white); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.card--accent { border-left: 6px solid var(--yellow); }

/* ===== Secciones ===== */
.section { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }

/* ===== 1. Hero ===== */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; padding-top: 22px; grid-template-areas: "text" "photo" "actions"; }
.hero__text { grid-area: text; padding-bottom: 20px; }
.hero__photo { grid-area: photo; }
.hero__actions { grid-area: actions; padding: 22px 0 44px; }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 232, 26, .14); color: var(--yellow);
  border: 1px solid rgba(255, 232, 26, .45);
  font-family: var(--f-title); font-weight: 600; font-size: .92rem;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }

.hero__title { font-size: clamp(2.2rem, 9.4vw, 3.9rem); margin-bottom: .8rem; }
.hl { color: var(--yellow); }
.hero__lead { font-size: 1.2rem; color: rgba(255,255,255,.92); margin-bottom: 0; }

/* La foto lleva el mismo marino de fondo que el hero: se funde sin bordes */
.hero__photo { position: relative; margin: -10px calc(var(--gutter) * -1) 0; }
.hero__photo img { width: 100%; aspect-ratio: 1320 / 1450; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(rgba(30,58,95,0), rgba(30,58,95,.92) 65%, var(--navy)); pointer-events: none; }
.hero__name {
  position: absolute; top: 12%; left: var(--gutter); z-index: 2;
  background: var(--white); color: var(--navy);
  border-radius: 12px; padding: .35rem .8rem; line-height: 1.2;
  font-family: var(--f-title); font-weight: 700; font-size: .95rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.hero__name span { display: block; font-family: var(--f-text); font-weight: 400; font-size: .85rem; color: var(--ink-2); }

.trust {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 4px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.trust li {
  display: flex; flex-direction: column; gap: .3rem;
  background: rgba(21, 43, 71, .82);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; padding: .55rem .6rem;
  font-size: .86rem; line-height: 1.28; color: rgba(255,255,255,.9);
}
.trust strong { color: var(--white); font-family: var(--f-title); font-weight: 700; }
.trust svg { color: var(--yellow); width: 22px; height: 22px; }

.cta-stack { display: flex; flex-direction: column; gap: 12px; }
.cta-note { margin: -2px 0 6px; text-align: center; font-size: 1rem; color: rgba(255,255,255,.88); }

/* ===== Índice ===== */
.toc { padding-bottom: 24px; }
.toc__list { display: grid; gap: 10px; margin-top: 1.4rem; counter-reset: toc; }
.toc__list a {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; min-height: 76px;
  background: var(--white); border-radius: 18px; padding: 12px 14px 12px 16px;
  text-decoration: none; box-shadow: var(--shadow);
  border: 2px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
.toc__list a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--yellow); }
.toc__list a:hover { border-color: var(--yellow); transform: translateY(-1px); }
.toc__n { font-family: var(--f-title); font-weight: 800; font-size: .95rem; color: #B9C2CE; width: 22px; flex: none; }
.toc__txt { flex: 1; display: flex; flex-direction: column; line-height: 1.3; font-size: .95rem; color: var(--ink-2); }
.toc__txt strong { font-family: var(--f-title); font-size: 1.08rem; color: var(--navy); }
.toc__arrow { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--cream); color: var(--navy); box-sizing: border-box; }
.toc__list a:hover .toc__arrow { background: var(--yellow); }

/* ===== 2. ¿Te suena? ===== */
.choices { display: grid; gap: 12px; margin-top: 1.4rem; }
.choice {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--white); border-radius: 18px; padding: 18px 20px;
  text-decoration: none; box-shadow: var(--shadow);
  border: 2px solid transparent; transition: border-color .15s ease;
}
.choice:hover { border-color: var(--yellow); }
.choice__quote { font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.choice__go { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-title); font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.choice__go svg { width: 20px; height: 20px; color: var(--navy); }

/* ===== 3. ¿Por qué fuerza? ===== */
.daily { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.4rem 0 2rem; }
.daily li {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--cream); border-radius: 18px; padding: 18px 16px;
  font-family: var(--f-title); font-weight: 700; font-size: 1.02rem; line-height: 1.3;
}
.quote { margin: 0; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.quote::before { content: "“"; position: absolute; top: -8px; right: 18px; font-family: var(--f-title); font-size: 5rem; line-height: 1; color: var(--yellow); }
.quote p { font-family: var(--f-title); font-weight: 600; font-size: 1.2rem; line-height: 1.45; }
.quote footer { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--yellow); }
.quote img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--yellow); }

/* ===== 4. Grupos ===== */
.groups { display: grid; gap: 22px; margin-top: 1.6rem; }
.group { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.group__photo { position: relative; }
.group__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
#mayores .group__photo img { object-position: 50% 30%; }
.group__tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--f-title); font-weight: 700; font-size: .95rem;
  padding: .35rem .85rem; border-radius: 999px;
}
.group__body { padding: 22px 20px 26px; }
.group__body .h3 { font-size: 1.55rem; }
.group__size {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy); color: var(--white);
  padding: .45rem .9rem; border-radius: 12px; margin: .3rem 0 1rem;
  font-size: 1.05rem;
}
.group__size svg { color: var(--yellow); }
.group__size strong { color: var(--yellow); }
.checks { display: grid; gap: 8px; margin: .4rem 0 1.4rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; padding: .2rem 0; }
.checks svg { color: var(--navy); margin-top: 2px; }
.checks li.is-key { background: var(--yellow-soft); border-radius: 12px; padding: .6rem .7rem; }
.group .btn { width: 100%; }
.note-box { background: var(--cream); border-left: 4px solid var(--navy); border-radius: 10px; padding: .7rem .9rem; font-size: 1rem; line-height: 1.45; }
.perk { display: flex; gap: .6rem; align-items: flex-start; background: var(--navy); color: var(--white); border-radius: 12px; padding: .75rem .9rem; font-size: 1rem; line-height: 1.45; }
.perk svg { color: var(--yellow); margin-top: 1px; }
.perk strong { color: var(--yellow); }
.doubt { margin-top: 1.8rem; }
.doubt a { font-weight: 700; color: var(--navy); }

/* Para tus padres */
.zones { font-family: var(--f-title); font-weight: 600; color: var(--yellow); }

/* ===== 5. Cuándo y dónde ===== */
.two-col { display: grid; gap: 18px; margin-top: 1.4rem; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 1rem 0 1.2rem; }
.week li {
  display: grid; place-items: center; aspect-ratio: 1;
  border-radius: 12px; background: var(--cream); color: var(--ink-2);
  font-family: var(--f-title); font-weight: 700; font-size: 1.1rem;
}
.week li.on { background: var(--yellow); color: var(--navy); }
.facts { display: grid; gap: 12px; }
.facts li, .place li { display: flex; align-items: center; gap: .75rem; line-height: 1.4; }
.facts svg { color: var(--navy); }
.place { display: grid; gap: 12px; margin: 1rem 0 1.2rem; font-weight: 700; }
.place li span:not(.icon-box) { font-weight: 400; }
.place li span strong { font-weight: 700; }

/* ===== 6. Sesión ===== */
.session { display: grid; gap: 26px; margin-top: 1.4rem; }
.session__photo { border-radius: 24px; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.pillars { display: grid; gap: 14px; }
.pillars li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.9); }
.pillars strong { color: var(--white); }
.pillars__n {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--f-title); font-weight: 800; font-size: 1.05rem;
}
.versions { margin-top: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 20px; }
.versions__title { font-family: var(--f-title); font-weight: 700; font-size: 1.15rem; color: var(--yellow); margin-bottom: .9rem; }
.versions__kicker { display: table; margin-bottom: .5rem; background: var(--yellow); color: var(--navy); border-radius: 999px; padding: .1rem .7rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }.versions__list { display: grid; gap: 10px; counter-reset: v; }
.versions__list li { display: flex; align-items: center; gap: .8rem; background: var(--white); color: var(--navy); border-radius: 12px; padding: .7rem .9rem; font-weight: 700; position: relative; }
.versions__step { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--f-title); font-weight: 800; flex: none; }
.versions__note { margin: .9rem 0 0; color: rgba(255,255,255,.85); font-size: 1rem; }

/* ===== 7. Social ===== */
.social { display: grid; gap: 12px; margin: 1.4rem 0 1.6rem; }
.social li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: var(--white); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.social .icon-box { grid-row: span 2; }
.social strong { font-family: var(--f-title); font-size: 1.1rem; }
.social span:last-child { color: var(--ink-2); font-size: 1rem; line-height: 1.4; }
.community { display: grid; gap: 14px; }
.community .btn { width: 100%; }

/* ===== 8. Quién soy ===== */
.about { display: grid; gap: 24px; margin-top: 1.2rem; }
.about__photo { border-radius: 24px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__text .h3 { margin-top: 1.4rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 2rem 0 2.4rem; }
.stats li { background: var(--navy); color: rgba(255,255,255,.85); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; line-height: 1.3; font-size: .95rem; }
.stats strong { font-family: var(--f-title); font-size: 1.45rem; color: var(--yellow); margin-bottom: .2rem; }
.stats__wide { grid-column: 1 / -1; }
.sub { font-size: 1.4rem; margin: 0 0 1.1rem; }
.timeline { position: relative; display: grid; gap: 18px; margin-bottom: 2.6rem; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; background: var(--yellow); border-radius: 3px; }
.timeline li { position: relative; display: flex; flex-direction: column; line-height: 1.4; }
.timeline__dot { position: absolute; left: -30px; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--navy); border: 4px solid var(--yellow); }
.timeline span:last-child { color: var(--ink-2); font-size: 1rem; }
.worked { display: grid; gap: 18px; margin-bottom: 1rem; }
.body-map { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 18px; }
.body-map__svg { width: 120px; height: 180px; }
.body-map__fig { fill: #C9D2DD; stroke: none; }
.body-map__fig .limb { fill: none; stroke: #C9D2DD; stroke-width: 18; stroke-linecap: round; }
.body-map__pts circle { fill: var(--yellow); stroke: var(--navy); stroke-width: 3; }
.body-map__title { font-family: var(--f-title); font-weight: 700; margin-bottom: .5rem; }
.body-map__list { display: grid; gap: 6px; }
.body-map__list li { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.body-map__list li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--navy); }
.people { display: grid; gap: 10px; }
.people li { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid #E5E1D8; border-radius: 18px; padding: 14px; }
.people strong { display: block; font-family: var(--f-title); font-size: 1.05rem; }
.people span span, .people li > span:last-child { line-height: 1.4; }
.people li > span:last-child { color: var(--ink-2); font-size: 1rem; }
.people li > span:last-child strong { color: var(--navy); }

/* Deporte */
.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 22px; margin: 1rem 0 1rem;
  scrollbar-width: thin;
}
.gallery li { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; position: relative; border-radius: 20px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery span {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--yellow); color: var(--navy); border-radius: 999px;
  padding: .25rem .8rem; font-family: var(--f-title); font-weight: 700; font-size: .95rem;
}

/* ===== 9. Cómo empezar ===== */
.steps { display: grid; gap: 14px; margin: 1.4rem 0 2rem; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 20px; padding: 20px 18px; box-shadow: var(--shadow); }
.steps__n { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); font-family: var(--f-title); font-weight: 800; font-size: 1.5rem; }
.steps p { margin: 0; }
.steps .h3 { margin-bottom: .3rem; }

/* ===== 10. Preguntas ===== */
.faq { display: grid; gap: 10px; margin-top: 1.4rem; }
.faq details { background: var(--cream); border-radius: 16px; padding: 0 18px; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; font-family: var(--f-title); font-weight: 700; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; margin: 0; }

/* ===== 11. Charla ===== */
.charla__head { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.charla__kicker { margin: 0; font-family: var(--f-title); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.charla__title { font-size: 1.45rem; }
.charla .btn { width: 100%; margin-top: .4rem; }

/* ===== 12. Cierre ===== */
.closing .cta-stack { max-width: 420px; margin: 1.6rem auto 0; }
.closing__motto { font-family: var(--f-title); font-weight: 700; font-size: 1.2rem; }
.closing__motto span { color: var(--yellow); }

/* ===== Pie ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 40px 0 110px; font-size: 1rem; } /* abajo: hueco para la barra fija */
.footer a { color: var(--white); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--yellow); }
.footer__brand span { display: flex; flex-direction: column; line-height: 1.3; }
.footer__brand strong { font-family: var(--f-title); color: var(--white); font-size: 1.1rem; }
.footer__legal { margin-top: 1.4rem; }

/* ===== Barra fija (móvil) ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  box-shadow: 0 -6px 24px rgba(30,58,95,.15);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta[hidden] { display: grid; visibility: hidden; }
.sticky-cta.is-visible { transform: translateY(0); visibility: visible; }
.sticky-cta .btn { min-height: 54px; padding: .7rem .8rem; }
.sticky-cta .btn--primary { box-shadow: none; }

/* ===== Aparecer al hacer scroll (suave) ===== */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===== Tablet / escritorio ===== */
@media (min-width: 700px) {
  .choices { grid-template-columns: 1fr 1fr; }
  .daily { grid-template-columns: repeat(4, 1fr); }
  .btn-row { flex-direction: row; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .social { grid-template-columns: repeat(3, 1fr); }
  .social li { grid-template-columns: 1fr; row-gap: .6rem; }
  .social .icon-box { grid-row: auto; }
  .stats { grid-template-columns: 2fr 1fr 1fr; }
  .stats__wide { grid-column: auto; }
  .toc__list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
  .community { grid-template-columns: 1fr auto; align-items: center; }
  .community .btn { width: auto; }
}
@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
  .sticky-cta { display: none !important; }
  .section { padding: 96px 0; }
  .hero__grid {
    grid-template-columns: 1.1fr .9fr; column-gap: 56px; padding-top: 64px;
    grid-template-areas: "text photo" "actions photo"; grid-template-rows: auto 1fr;
  }
  .hero__text { align-self: end; }
  .hero__actions { padding: 28px 0 72px; }
  .cta-stack { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta-note { order: 3; flex-basis: 100%; text-align: left; margin: 4px 0 0; }
  .closing .cta-stack { flex-direction: column; }
  .closing .cta-note { text-align: center; }
  .hero__photo { align-self: end; margin: 0; }
  .hero__photo img { aspect-ratio: auto; max-height: 720px; object-position: 50% 0; }
  .hero__photo::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 20%; background: linear-gradient(90deg, var(--navy), rgba(30,58,95,0)); z-index: 1; pointer-events: none; }
  .toc__list { grid-template-columns: repeat(4, 1fr); } .toc__n { display: none; }
  .groups { grid-template-columns: 1fr 1fr; align-items: start; }
  .session { grid-template-columns: 420px 1fr; align-items: start; }
  .about { grid-template-columns: 400px 1fr; align-items: center; }
  .worked { grid-template-columns: 1fr 1fr; align-items: start; }
  .gallery { justify-content: center; overflow: visible; }
  .gallery li { flex: 0 0 200px; }
  .charla { max-width: 720px; margin: 0 auto; }
}

/* Respeta "reducir movimiento" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Hero: funde el borde superior de la foto con el fondo */
.hero__photo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 11%; background: linear-gradient(var(--navy), rgba(30,58,95,0)); z-index: 1; pointer-events: none; }
@media (min-width: 900px) {
  .hero__photo::before { inset: 0 auto 0 0; width: 20%; height: auto; background: linear-gradient(90deg, var(--navy), rgba(30,58,95,0)); }
}

/* Firma de Martín sobre la foto: discreta, con la línea amarilla de la marca */
.hero__sign {
  position: absolute; z-index: 2; top: 13%; left: var(--gutter);
  display: flex; flex-direction: column; gap: 2px;
  padding: 2px 0 2px 12px; border-left: 3px solid var(--yellow);
  line-height: 1.25; text-shadow: 0 1px 8px rgba(10,25,45,.55);
}
.hero__sign-name { font-family: var(--f-title); font-weight: 700; font-size: 1.05rem; color: var(--white); letter-spacing: .01em; }
.hero__sign-role { font-size: .85rem; color: rgba(255,255,255,.78); }
@media (min-width: 900px) { .hero__sign { top: 10%; left: 24px; } }

/* Nota pequeña al pie de las fotos de entrenamiento */
.photo-note { margin: 0; padding: .45rem 20px 0; font-size: .82rem; line-height: 1.35; color: var(--ink-2); font-style: italic; }
.photo-note--light { padding: .5rem 2px 0; color: rgba(255,255,255,.7); }
.session__fig { margin: 0; }

/* Foto de la sala */
.sala { position: relative; margin: 18px 0 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.sala img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 55%; }
.sala figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px;
  background: linear-gradient(rgba(21,43,71,0), rgba(21,43,71,.92));
  color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.4;
  display: flex; flex-direction: column;
}
.sala figcaption strong { font-family: var(--f-title); font-size: 1.2rem; color: var(--white); }
@media (min-width: 900px) { .sala { max-width: 760px; margin: 28px auto 0; } .sala img { aspect-ratio: 16 / 10; } }
.sala__note { margin-top: .45rem; font-size: .82rem; font-style: italic; color: rgba(255,255,255,.75); }

/* Índice: todas las tarjetas con la misma altura */
.toc__list { grid-auto-rows: 1fr; }
.toc__list li { display: flex; }
.toc__list a { width: 100%; }
@media (min-width: 700px) { .toc__n { display: none; } }

/* ===== Páginas sencillas (legales, gracias, 404) ===== */
.simple-bar { background: var(--navy); color: var(--white); }
.simple-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.simple-bar__brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.simple-bar__brand strong { font-family: var(--f-title); font-size: 1.05rem; }
.simple-bar__brand span { font-size: .9rem; color: rgba(255,255,255,.75); }
.simple-bar__back { color: var(--yellow); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.footer--simple { padding-bottom: 40px; }
.legal .h3 { margin-top: 2rem; }
.legal__date { color: var(--ink-2); font-size: .95rem; }
.legal__list { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; margin-bottom: 1rem; }
.legal a { color: var(--navy); font-weight: 700; }
.thanks { text-align: center; }
.thanks__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.thanks__card { margin-bottom: 2rem; }
.thanks__card .btn { width: 100%; }
.page-simple .btn--wa { margin-top: .5rem; }
