/* ===== MacaLaoshi — Páginas de video (Grupo A) — estilos compartidos ===== */

@font-face {
  font-family: 'Feather';
  src: url('../fonts/feather.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jersey 10';
  src: url('../fonts/jersey10.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-yellow-top: #FFDE59;
  --bg-yellow-bottom: #FFBD59;
  --heading-black: #000000;
  --navy-1: #1a2744;
  --cream: #fffaf0;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --pill-bg: #FFBD59;
  --shadow-card: 0 6px 18px rgba(0,0,0,0.10);
  --maxw: 900px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1f2430;
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; line-height: 1.2; margin: 0 0 6px; }
p { margin: 0 0 1em; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
.site-header {
  background: #FFD35F;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header .inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 24px;
  min-height: 32px;
}
.brand-center { text-align: center; }
.brand-center .sub { display: block; font-family: 'Feather', 'Nunito', sans-serif; font-weight: 700; font-size: 0.8rem; color: #1a1a1a; line-height: 1; }
.brand-center .name { display: block; font-family: 'Feather', 'Nunito', sans-serif; font-weight: 700; font-size: 1.75rem; color: #000; line-height: 1.05; }
.brand-center a { display: inline-block; }

.nav-toggle {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

.nav-menu {
  position: absolute;
  top: 100%;
  right: 20px;
  margin-top: 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 230px;
  z-index: 50;
}
.nav-menu.is-open { display: flex; }
.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-1);
}
.nav-menu a:hover { background: rgba(0,0,0,0.05); }
.nav-menu-link-label { display: flex; align-items: center; gap: 8px; }
.nav-menu-app-icon { width: 22px; height: 22px; border-radius: 6px; }
.nav-menu-yt-label { display: flex; align-items: center; gap: 8px; }
.nav-menu-yt-icon { flex-shrink: 0; }
.nav-menu-subs { font-size: 0.72rem; color: #888; font-weight: 600; white-space: nowrap; }

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex !important;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    box-shadow: none;
    background: none;
    padding: 0;
    min-width: 0;
    gap: 6px;
  }
  .nav-menu a { padding: 6px 12px; }
  .nav-menu .nav-menu-yt { display: none; }
  .nav-menu-subs { display: none; }
}

/* ---------- Video page ---------- */
.video-page { padding: 36px 0 60px; }
.video-page .eyebrow {
  display: inline-block;
  background: var(--bg-yellow-top);
  color: var(--heading-black);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.video-page h1 { font-size: 1.5rem; color: var(--navy-1); }
.video-page .subhead { font-size: 1.05rem; color: #555; margin-bottom: 22px; }

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #000;
  border: 0;
  padding: 0;
}
.yt-facade-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0,0,0,0.75);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.yt-facade-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade-play:hover { background: #ff0000; }

/* ---------- Recomendados ---------- */
.recomendados { margin-top: 44px; margin-left: -20px; margin-right: -20px; }
.recomendados h2 { font-size: 1.1rem; color: var(--navy-1); margin-bottom: 16px; }
.recomendados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}
.recomendados-grid .video-embed { box-shadow: none; border: 1px solid rgba(0,0,0,0.08); }
.recomendados-grid .yt-facade-play { width: 40px; height: 30px; border-radius: 8px; }
.recomendados-grid .yt-facade-play::before { border-width: 7px 0 7px 12px; }
.recomendados-caption { font-size: 0.85rem; color: #555; margin-top: 6px; }
.recomendados-label { font-weight: 700; font-size: 0.8rem; color: #1a1a1a; text-align: left; margin: 0 0 6px; line-height: 1.3; }
@media (min-width: 480px) {
  .recomendados-grid .yt-facade-play { width: 52px; height: 38px; border-radius: 10px; }
  .recomendados-grid .yt-facade-play::before { border-width: 9px 0 9px 15px; }
  .recomendados-label { font-size: 0.92rem; }
}

/* ---------- Paginas de prosa (institucionales) ---------- */
.prose-page { padding: 36px 0 60px; max-width: 720px; margin: 0 auto; }
.prose-page .container { max-width: 720px; }
.prose-page p { font-size: 1.02rem; color: #333; }
.prose-page ul { margin: 0 0 1em; padding-left: 22px; }
.prose-page li { margin-bottom: 6px; }
.prose-h1 { font-size: 1.7rem; color: var(--navy-1); margin-top: 0; margin-bottom: 14px; }
.prose-h2 { font-size: 1.3rem; color: var(--navy-1); margin-top: 30px; margin-bottom: 10px; }
.prose-h3 { font-size: 1.08rem; color: var(--navy-1); margin-top: 22px; margin-bottom: 8px; }
.prose-h4 { font-size: 0.98rem; color: var(--navy-1); margin-top: 16px; margin-bottom: 6px; }
.prose-page h2:first-child, .prose-page h1:first-child { margin-top: 0; }
.lead-in { margin-top: 16px; margin-bottom: 6px; }
.lang-divider { border: none; border-top: 2px dashed rgba(0,0,0,0.12); margin: 48px 0; }
.lang-note { font-size: 0.85rem; color: #888; font-style: italic; margin-bottom: 16px; }

/* ---------- FAQ (preguntas) ---------- */
.prose-page details.faq { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 12px 0; }
.prose-page details.faq summary { font-weight: 700; color: var(--navy-1); cursor: pointer; }

/* ---------- Home ---------- */
.home-page { padding-bottom: 60px; }

.app-splash {
  background-image: url('../img/sky.png');
  background-size: cover;
  background-position: center;
  border-top: 10px solid #FFD35F;
  border-bottom: 10px solid #FFD35F;
  padding: 34px 0;
  text-align: center;
}
.app-splash-label {
  font-family: 'Jersey 10', 'Nunito', sans-serif;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
.app-splash-badges { display: flex; gap: 12px; justify-content: center; margin-bottom: 4px; }
.app-splash-badge { height: 42px; width: auto; display: block; }
.app-splash-logo { margin: 4px 0 22px; }
.app-splash-word { display: block; margin: 0 auto; }
.app-splash-word-1 { width: 78%; max-width: 380px; }
.app-splash-word-2 { width: 92%; max-width: 440px; margin-top: -6%; }
.app-splash-cta { background: #FFD35F; color: #1a1a1a; display: inline-block; }
@media (max-width: 759px) {
  .app-splash { padding-top: 14px; }
  .app-splash-label { margin-bottom: 6px; }
  .app-splash-word-2 { margin-top: -11%; }
  .app-splash-logo { margin-bottom: 8px; }
}

.home-hero {
  background: #FFD35F;
  padding: 18px 0 16px;
  text-align: center;
}
.home-hero .badge {
  display: inline-block;
  background: var(--white);
  color: var(--navy-1);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.home-hero h1 { font-size: 1.7rem; color: #3a3f52; margin-bottom: 6px; text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.btn-col { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 14px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
  text-align: center;
}
.btn-primary, .btn-green { background: #6EC24D; color: var(--white); }
.btn-secondary, .btn-white-blue { background: var(--white); color: #3E8FDE; }
.home-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.home-hero-grid .hero-media { margin: 0 auto; order: 2; }
.home-hero-text { text-align: center; order: 1; }
@media (min-width: 760px) {
  .home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    text-align: left;
  }
  .home-hero-grid .hero-media { margin: 0; order: 1; }
  .home-hero-text { text-align: left; order: 2; }
  .home-hero h1 { text-align: left; }
  .btn-col { max-width: 380px; }
}
.home-section { padding: 34px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.home-section:last-of-type { border-bottom: none; }
.home-section h2 { font-size: 1.25rem; color: var(--navy-1); margin-bottom: 10px; }
.home-section p { color: #333; margin-bottom: 14px; }

.home-cta { background: #373B4D; padding: 26px 0; text-align: center; }
.home-cta h2 { font-size: 1.6rem; color: var(--white); margin-bottom: 16px; }
.home-cta-grid { display: flex; flex-direction: column; gap: 18px; }
.home-cta-col p { color: var(--white); font-size: 1.02rem; line-height: 1.5; }
.home-cta-col u { text-decoration: underline; text-underline-offset: 2px; }
.home-cta-col .hl-green { color: #7FD65B; }
.home-cta-col .btn-col { margin-top: 8px; max-width: 320px; margin-left: auto; margin-right: auto; }
.home-cta .btn { font-size: 1rem; }
@media (min-width: 760px) {
  .home-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
}
.home-cta-final { margin-top: 22px; text-align: center; }
.home-cta-final h2 { font-size: 1.35rem; color: var(--bg-yellow-top); font-weight: 800; margin-bottom: 12px; }
.home-cta-final .btn-green { display: inline-block; }

/* ---------- Home: bloques reciclados de /mexico ---------- */
.home-photo-hero {
  background: linear-gradient(90deg, var(--bg-yellow-top) 0%, var(--bg-yellow-bottom) 70%);
  padding: 30px 0 0;
}
.hero-media {
  position: relative;
  max-width: 552px;
  margin: 0 auto;
}
.hero-media img.maca-photo { width: 100%; display: block; }
.hero-media .hanzi-deco {
  position: absolute;
  right: 1%;
  top: 2%;
  width: 26%;
}
.hero-media .porque-photo { width: 100%; max-width: none; display: block; }
.pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--white);
  font-family: 'Feather', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 8px 15px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.black-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #000;
  margin: 0 0 12px;
}
.info-box {
  background: var(--pill-bg);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 20px;
}

.porque-block { padding: 30px 0 10px; text-align: left; }
.porque-row { position: relative; min-height: 290px; }
.info-box-narrow { width: 55%; margin-bottom: 0; }
.porque-photo-wrap { position: absolute; right: -8%; top: -20px; width: 82%; }
.porque-photo-wrap .porque-photo { position: relative; width: 100%; max-width: none; display: block; }
.porque-gif {
  position: absolute;
  left: 57.7%;
  top: 39.48%;
  width: 35.02%;
  height: 22.94%;
  max-width: none;
  object-fit: cover;
  z-index: 2;
  transform: rotate(-10deg);
}

.manu-block { padding: 10px 0 30px; text-align: left; }
.manu-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.manu-header .black-title { margin: 0; }
.btn-white {
  display: inline-block;
  background: var(--white);
  color: #000;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
  white-space: nowrap;
}
.manu-photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 110%;
  margin-top: 10px;
}
.manu-photo-wrap .manu-photo {
  position: absolute;
  left: -15.39%;
  top: 10px;
  width: 130.77%;
  max-width: none;
  z-index: 2;
}
.manu-photo-wrap .manu-yt {
  position: absolute;
  max-width: none;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  background: var(--white);
}
.manu-yt.yt1 { left: calc(4% - 15px); top: calc(7.67% + 10px); width: 43.47%; z-index: 1; transform: rotate(-8deg); }
.manu-yt.yt2 { right: calc(1% - 15px); top: calc(4.44% + 10px); width: 38.85%; z-index: 1; transform: rotate(6deg); }
.manu-yt.yt3 { left: calc(1.8% - 15px); top: calc(39.9% + 10px); width: 38.54%; z-index: 3; transform: rotate(-5deg); }
.manu-yt.yt4 { right: calc(0% - 15px); top: calc(39.9% + 10px); width: 35.7%; z-index: 3; transform: rotate(7deg); }

.lili-section-v2 { background: var(--white); padding: 6px 0 50px; }
.lili-grid {
  display: grid;
  grid-template-columns: 52% 1fr;
  grid-template-areas:
    "illust heading"
    "text text";
  column-gap: 20px;
  row-gap: 14px;
  align-items: start;
}
.lili-illust-wrap { grid-area: illust; }
.lili-illust { width: 100%; display: block; }
.lili-heading-v2 {
  grid-area: heading;
  align-self: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #3E8FDE;
  margin: 0;
}
.lili-text-v2 {
  grid-area: text;
  color: #222;
  font-size: 1.02rem;
  line-height: 1.6;
  text-align: left;
}
.lili-hl { color: #3E8FDE; }
@media (min-width: 760px) {
  .lili-grid {
    grid-template-columns: 46% 1fr;
    grid-template-areas:
      "illust heading"
      "illust text";
    column-gap: 50px;
  }
}

@media (min-width: 760px) {
  .porque-block .container,
  .manu-block .container,
  .lili-section .container {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .porque-row { min-height: 400px; }
  .porque-photo-wrap { right: 0; top: -50px; width: 58%; }
  .manu-photo-wrap { width: 65%; padding-top: 71.5%; margin-left: auto; margin-right: auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  padding: 24px;
}

/* ---------- Home: bio Maca/Manu (fondo blanco) ---------- */
.bio-section { background: var(--white); padding: 20px 0 4px; display: flex; flex-direction: column; }
.bio-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.bio-photo-wrap {
  width: 90%;
  max-width: 362px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bio-photo { width: 100%; display: block; }
.bio-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #5DC13B;
  margin-bottom: 14px;
}
.bio-text { color: #222; font-size: 1.02rem; line-height: 1.6; margin-bottom: 22px; }
.btn-outline-blue {
  background: var(--white);
  color: #3E8FDE;
  border: 1px solid rgba(0,0,0,0.12);
}
.bio-photo-wrap-manu { border-radius: 0; overflow: visible; width: 75%; max-width: 340px; }
.bio-photo-wrap-manu .manu-photo-wrap {
  width: 100%;
  padding-top: 110%;
  margin: 0;
}
@media (min-width: 760px) {
  .bio-block {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 60px;
  }
  .bio-block-maca .bio-photo-wrap { order: -1; }
  .bio-block-historia .bio-photo-wrap { order: 2; }
  .bio-photo-wrap { flex: 0 0 45.15%; width: 45.15%; max-width: none; margin: 0; }
  .bio-content { flex: 1; }
  .bio-photo-wrap-manu { flex: 0 0 34%; width: 34%; max-width: none; }
  .bio-photo-wrap-manu .manu-photo-wrap { padding-top: 90%; }
}

/* ---------- Somos: hero Maca+Manu ---------- */
.somos-hero { background: #FFD35F; display: flex; flex-direction: column; }
.somos-hero-text { text-align: center; padding: 30px 0 10px; }
.somos-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #4a4f66;
  margin-bottom: 12px;
}
.somos-lead { font-weight: 800; color: #1a1a1a; font-size: 1.05rem; line-height: 1.5; margin-bottom: 18px; }
.somos-photo-wrap img { width: 100%; display: block; }
@media (min-width: 760px) {
  .somos-hero { flex-direction: row; align-items: center; }
  .somos-hero-text { flex: 1; order: 2; text-align: left; padding: 30px 0; }
  .somos-photo-wrap { flex: 0 0 46%; order: 1; }
}

.bio-video-wrap { width: 100%; }
@media (min-width: 760px) {
  .bio-video-wrap { flex: 0 0 45.15%; }
}

/* ---------- Somos: bloques con video (facade) a la izquierda ---------- */
.bio-block-video-cards .bio-content { order: 0; }
@media (min-width: 760px) {
  .bio-block-video-cards .bio-content { order: 2; }
}

/* ---------- Somos: orden explicito de bloques dentro de bio-section ----------
   El orden visual en desktop difiere del orden mobile/DOM en algunos bloques
   (igual que en el sitio original), asi que se fija un order numerico
   explicito a cada bloque en vez de depender del order:0 por default. */
@media (min-width: 760px) {
  .bio-order-1 { order: 1; }
  .bio-order-2 { order: 2; }
  .bio-order-3 { order: 3; }
  .bio-order-4 { order: 4; }
  .bio-order-5 { order: 5; }
  .bio-order-6 { order: 6; }
  .bio-order-7 { order: 7; }
  .bio-order-8 { order: 8; }
  .bio-order-9 { order: 9; }
  .bio-order-10 { order: 10; }
}

/* ---------- Somos: seccion final (Pero hay mucho mas para contar) ---------- */
.somos-final { background: #373B4D; padding: 30px 0; }
.somos-final-row { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.somos-final-heading { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.8rem; color: #5DC13B; margin-bottom: 14px; }
.somos-final-lead { color: var(--white); font-weight: 800; font-size: 1.02rem; line-height: 1.6; }
.somos-final-photo img { width: 100%; border-radius: var(--radius-lg); display: block; }
.somos-final-buttons { display: flex; flex-direction: column; gap: 14px; max-width: 320px; margin: 24px auto 0; }

/* ---------- Curso: hero (video + botones) ---------- */
.curso-hero { background: #FFD35F; padding: 26px 0; }
.curso-hero-heading { font-size: 1.5rem; color: #4a4f66; text-align: center; margin-bottom: 20px; }
.curso-hero-row { display: flex; flex-direction: column; gap: 20px; }
.curso-hero-video { width: 100%; }
.curso-hero-buttons { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) {
  .curso-hero-heading { text-align: left; font-size: 2rem; }
  .curso-hero-row { flex-direction: row; align-items: center; gap: 40px; }
  .curso-hero-video { order: 2; flex: 0 0 55%; }
  .curso-hero-buttons { flex: 0 0 38%; }
}

/* ---------- Curso: Que incluye / Los Materiales ---------- */
.curso-section { background: var(--white); padding: 30px 0; }
.curso-section-heading { font-size: 1.6rem; color: var(--navy-1); margin-bottom: 12px; }
.curso-section-lead { color: #222; font-size: 1.02rem; line-height: 1.6; }
.curso-materiales-heading { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.7rem; color: #5DC13B; margin-top: 34px; margin-bottom: 12px; }
.curso-materiales-text { color: #222; font-size: 1.02rem; line-height: 1.6; }
.curso-materiales-text strong { color: #5DC13B; }
.curso-materiales-collage { display: flex; justify-content: center; margin-top: 24px; }
.curso-materiales-collage img { width: 42%; max-width: 260px; margin-left: -14%; display: block; position: relative; }
.curso-materiales-collage img:first-child { margin-left: 0; }
.curso-materiales-collage img:nth-child(1) { z-index: 3; }
.curso-materiales-collage img:nth-child(2) { z-index: 2; }
.curso-materiales-collage img:nth-child(3) { z-index: 1; }
@media (min-width: 760px) {
  .curso-materiales-collage img { width: 30%; max-width: 320px; margin-left: -8%; }
}
@media (min-width: 760px) {
  .somos-final-row { flex-direction: row; align-items: center; text-align: left; gap: 60px; }
  .somos-final-text { flex: 1; }
  .somos-final-photo { flex: 0 0 40%; }
}

/* ---------- Curso: secciones tomadas de /mexico (Lili, Testimonios, Razones, App) ---------- */
@media (min-width: 760px) {
  .lili-section .container,
  .testimonios-section .container,
  .razones-section .container,
  .app-carousel-wrap {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Nuestra Lili */
.lili-section {
  background: linear-gradient(90deg, #4DB3D0 0%, #4E9CDE 100%);
  padding: 50px 0 50px;
}
.lili-title-box {
  display: inline-block;
  background: #3D9BE9;
  border-radius: var(--radius-lg);
  padding: 18px 26px;
  margin-bottom: 20px;
}
.lili-title {
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
}
.lili-info-box {
  background: #3D9BE9;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
.lili-info-box em { color: #FFD35F; font-style: italic; }
.lili-row { display: flex; align-items: flex-start; gap: 0; }
.lili-photo { width: 55%; flex: 0 0 55%; }
.lili-caption {
  flex: 1;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  margin: 6px 0 0;
}

/* Testimonios */
.testimonios-section {
  background: linear-gradient(90deg, var(--bg-yellow-top) 0%, var(--bg-yellow-bottom) 70%);
  padding: 50px 0 50px;
}
.testimonios-title-box {
  background: var(--pill-bg);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  margin-bottom: 22px;
}
.testimonios-title {
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}
.testimonios-info-box {
  background: var(--pill-bg);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
  margin-bottom: 26px;
}
.testimonios-video-frame {
  border: 10px solid #2b2420;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.testimonios-video-frame .video-embed { max-width: none; border-radius: 0; }

/* 7 Razones */
.razones-section {
  background: linear-gradient(90deg, #2FA84F 0%, #A8E98F 100%);
  padding: 50px 0 60px;
}
.razones-scenes { position: relative; }
.razones-pin { position: sticky; top: 30px; }
.razones-title-box {
  background: #1E8449;
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  margin-bottom: 16px;
}
.razones-title {
  color: var(--white);
  font-family: 'Feather', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.25;
}
.razones-card {
  position: relative;
  overflow: hidden;
  background: #1E8449;
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform-origin: top center;
}
.razones-card h4 {
  font-family: 'Feather', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.25;
}
.razones-card p {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
}
.razones-card p em { color: #FFD35F; font-style: normal; font-weight: 800; }
.razones-precio {
  text-align: center;
  color: var(--navy-1);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 8px 0 0;
}

/* App (En 2026 lanzamos...) */
.app-section {
  background-image: url('../img/skybluesat.webp');
  background-size: cover;
  background-position: center top;
  padding: 40px 0 40px;
}
.app-block { text-align: center; }
.app-text {
  font-family: 'Jersey 10', 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.app-text .hl { color: #FFDE59; }
.app-cta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 2px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-card); }
.app-carousel-wrap { position: relative; margin-top: 20px; }
.app-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 60px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.app-carousel::-webkit-scrollbar { display: none; }
.app-carousel img {
  flex: 0 0 76%;
  max-width: 76%;
  scroll-snap-align: center;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  transform: scale(0.86);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.app-carousel img.active { transform: scale(1); box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
@media (min-width: 760px) {
  .app-carousel img { flex: 0 0 auto; width: auto; max-width: none; height: 420px; }
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

/* ---------- Curso: Nuestros planes ---------- */
.planes-section { background: var(--navy-1); padding: 50px 0 60px; }
.planes-heading { color: var(--white); text-align: center; font-size: 1.9rem; margin-bottom: 34px; }
.planes-grid { display: flex; flex-direction: column; gap: 50px; }
.planes-col { display: flex; flex-direction: column; align-items: center; }
.planes-badge {
  display: inline-block;
  background: var(--white);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  margin-bottom: -18px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.planes-card {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 20px 26px;
}
.planes-card-plus { background: #3a3a3a; }
.planes-duration {
  background: var(--white);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -14px -20px 20px;
}
.planes-card-plus .planes-duration { background: #3a3a3a; color: var(--white); }
.planes-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FBEEDC;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
  margin: 18px 0;
  box-shadow: 4px 6px 0 rgba(0,0,0,0.06);
}
.planes-row-dark { background: #000; color: var(--white); padding: 22px 20px; }
.planes-price { font-size: 1.2rem; font-weight: 800; }
.planes-row-dark .planes-price { font-size: 1.4rem; }
.planes-note { color: #1a1a1a; font-size: 0.92rem; line-height: 1.5; text-align: center; margin: 0 0 18px; }
.planes-note-light { color: var(--white); }
@media (min-width: 760px) {
  .planes-grid { flex-direction: row; align-items: flex-start; gap: 40px; }
  .planes-col { flex: 1; }
}

/* ---------- Curso: Ya Quiero Sumarme / Descuento Amigo ---------- */
.sumarme-section { background: #373B4D; padding: 40px 0; text-align: center; }
.amigo-section { background: #3a3a3a; padding: 40px 0; text-align: center; }
.sumarme-heading { color: var(--bg-yellow-bottom); font-size: 1.6rem; margin-bottom: 16px; }
.sumarme-text { color: var(--white); font-weight: 700; font-size: 1.05rem; line-height: 1.6; max-width: 480px; margin: 0 auto 22px; }
.amigo-section .sumarme-text { margin-bottom: 0; }
.sumarme-btn { display: inline-block; }

/* ---------- Contenido: hero ---------- */
.contenido-hero { background: #FFD35F; padding: 30px 0; text-align: center; }
.contenido-hero-heading { font-size: 1.9rem; color: #4a4f66; margin-bottom: 20px; }
.contenido-hero-buttons { display: flex; flex-direction: column; gap: 14px; max-width: 320px; margin: 0 auto; }

/* ---------- Contenido: Tus Profesores ---------- */
.contenido-section { background: var(--white); padding: 34px 0; text-align: center; }
.contenido-profesores-heading { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.8rem; color: #5DC13B; margin-bottom: 14px; }
.contenido-profesores-text { color: #000; font-weight: 700; font-size: 1.02rem; line-height: 1.6; max-width: 620px; margin: 0 auto 24px; }
.contenido-profesores-photo { border-radius: var(--radius-lg); overflow: hidden; }
.contenido-profesores-photo img { width: 100%; display: block; }

/* ---------- Contenido: lista de clases (heading celeste) ---------- */
.contenido-clases { background: var(--white); max-width: none; margin: 0; }
.contenido-clases .prose-h2 { color: #3E8FDE; }

/* ---------- Video pages: Video de Resolucion de Actividades ---------- */
.resolucion-heading { font-size: 1.5rem; color: var(--navy-1); margin-top: 30px; margin-bottom: 14px; }

/* ---------- Video pages: promo App (Premium / Super Apoyo) ---------- */
.app-promo { margin-top: 44px; margin-left: -20px; margin-right: -20px; padding: 22px 20px; background: var(--bg-yellow-top); border-radius: var(--radius-md); text-align: center; }
.app-promo-heading { font-size: 1.05rem; color: #1a1a1a; margin-bottom: 18px; }
.app-promo-badges { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.app-promo-badges img { height: 44px; width: auto; display: block; }
.app-promo .recomendados-grid { text-align: left; }
