/* =====================================================
   Mi Hijo & Yo — landing (mobile-first)
   Identidad del dossier AMPP: titulares Laca Black en
   mayúsculas, bloques de color planos, formas geométricas.
   Base = móvil · @media (min-width) = escritorio
   ===================================================== */

:root {
  --y: #fbb01b;  --o: #c4501a;  --r: #8e2800;  --p: #551d84;
  --b: #0057b8;  --s: #6aa9d6;  --g: #85bb06;
  --ink: #401c00; --paper: #f5f0e0; --paper-2: #ede5cc;
  --gut: 20px;
}
@media (min-width: 760px) { :root { --gut: 40px; } }

.mhy { background: var(--paper); color: var(--ink); }
.mhy .wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gut); }
.mhy section { padding-block: 56px; }
@media (min-width: 760px) { .mhy section { padding-block: 88px; } }

/* ---------- Tipografía ---------- */
.mhy .t1, .mhy .t2 {
  font-family: var(--font-serif); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; margin: 0; text-wrap: balance;
}
.mhy .t1 { font-size: clamp(52px, 14vw, 120px); line-height: 0.92; }
.mhy .t2 { font-size: clamp(28px, 7.4vw, 52px); line-height: 1; }
.mhy .it { font-family: var(--font-serif); font-style: italic; font-weight: 700; }
.mhy p { margin: 0; font-size: 17px; line-height: 1.55; }
.mhy .sub { margin-top: 10px; color: var(--brown-soft); }

/* ---------- Botón ---------- */
.mhy .bt {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--bt-bg, var(--r)); color: var(--bt-fg, var(--paper));
  transition: transform .15s ease, filter .2s ease;
}
.mhy .bt:active { transform: scale(0.98); }
@media (hover: hover) { .mhy .bt:hover { filter: brightness(1.08); } }

/* ---------- Header ---------- */
.mhy .lp-header { padding: 14px 0; background: var(--paper); border-bottom: 0; }
.mhy .lp-header .container { padding-inline: var(--gut); }
.mhy .lp-header .brand-logo { height: 28px; }

/* =====================================================
   1 · HERO — título + elegir grupo, todo arriba
   ===================================================== */
.mhy .hero { background: var(--r); color: var(--paper); padding-block: 36px 40px; overflow: hidden; }
.hero .kick { color: var(--y); font-size: 15px; letter-spacing: 0.04em; }
.hero .t1 { color: var(--paper); margin-top: 10px; }
.hero .tagline { color: var(--y); font-size: clamp(22px, 6vw, 34px); line-height: 1.1; margin-top: 8px; display: block; }
.hero .pitch { margin-top: 16px; color: rgba(245,240,224,0.88); max-width: 40ch; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--paper); }
.hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero .meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--y); }

.pick { margin-top: 28px; }
.pick .q { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: 0.06em; color: var(--y); }
.pick-list { display: grid; gap: 10px; margin-top: 12px; }
.pick-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 10px 20px 10px 14px; border-radius: 999px; text-decoration: none;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-serif); font-weight: 700; font-size: 19px;
}
.pick-list a .dot { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--c); }
.pick-list a .lbl { flex: 1; }
.pick-list a .lbl small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--brown-soft); }
.pick-list a .go { font-size: 20px; color: var(--r); }

.hero .art { display: none; }
@media (min-width: 900px) {
  .mhy .hero { padding-block: 72px; }
  .hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .hero .art { display: block; width: 100%; max-width: 520px; justify-self: end; }
  .hero .art text { font-family: var(--font-serif); font-style: italic; font-weight: 700; fill: var(--paper); font-size: 26px; }
  .pick-list { max-width: 460px; }
}

/* =====================================================
   2 · GRUPOS
   ===================================================== */
.grupos { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 900px) { .grupos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.gc { background: #fff; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 16px; box-shadow: 0 1px 0 rgba(64,28,0,0.06); }
.gc .ph { position: relative; height: 210px; background: var(--c1); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.gc .ph::before { content: ""; position: absolute; border-radius: 50%; background: var(--c2); width: 190px; height: 190px; right: -40px; top: -50px; }
.gc .ph img { position: relative; height: 100%; width: 100%; object-fit: contain; object-position: bottom center; padding-top: 14px; }
.gc .bd { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.gc .edad { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 34px; line-height: 1; color: var(--c3); }
.gc .edad small { display: block; font-style: normal; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 0.16em; color: var(--brown-soft); margin-bottom: 6px; }
.gc .info { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 16px; }
.gc .info b { font-weight: 700; }
.gc .info .dia { text-transform: lowercase; }
.gc .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1.5px dashed rgba(64,28,0,0.14); }
.gc .precio { font-family: var(--font-serif); font-weight: 900; font-size: 28px; line-height: 1; }
.gc .precio small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 12px; color: var(--brown-soft); margin-top: 4px; }
.gc .cupos { font-size: 13px; font-weight: 700; color: var(--c3); text-align: right; }
.gc .bt { --bt-bg: var(--c3); width: 100%; }
.gc.is-full .bt { --bt-bg: var(--brown-soft); }
.g-06  { --c1: var(--y); --c2: var(--o); --c3: var(--r); }
.g-612 { --c1: var(--s); --c2: var(--g); --c3: #0b4d8f; }
.g-ado { --c1: var(--p); --c2: var(--b); --c3: var(--p); }
.g-ado .ph { align-items: center; }
.g-ado .ph img { padding: 14px 10px; }

/* =====================================================
   3 · FRASES — carrusel deslizable
   ===================================================== */
.mhy .frases-sec { background: var(--paper-2); }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 12px; margin: 24px calc(-1 * var(--gut)) 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.fr {
  width: 250px; height: 220px; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 18px; line-height: 1.3; padding: 26px 30px;
}
.fr.a { background: var(--y); color: var(--r); border-radius: 0 0 125px 125px; padding-bottom: 54px; }
.fr.b { background: var(--g); color: var(--ink); border-radius: 0 125px 0 0; text-align: left; font-size: 16px; padding-right: 44px; }
.fr.c { background: var(--p); color: var(--s); border-radius: 50%; width: 220px; }
.fr.d { background: var(--r); color: var(--y); border-radius: 48px; }
.fr.e { background: var(--s); color: var(--p); border-radius: 125px 125px 0 0; padding-top: 56px; }
.hint { font-size: 13px; color: var(--brown-soft); margin-top: 6px; }
.remate { margin-top: 22px; font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.25; max-width: 30ch; }
.remate em { color: var(--o); }
@media (min-width: 1100px) {
  .rail { overflow: visible; flex-wrap: wrap; justify-content: center; margin-inline: 0; padding-inline: 0; }
  .hint { display: none; }
  .remate { margin-inline: auto; text-align: center; }
  .frases-sec .t2 { text-align: center; }
}

/* =====================================================
   4 · QUÉ APRENDES
   ===================================================== */
.learn { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 900px) { .learn { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.temas { list-style: none; margin: 0; padding: 0; }
.temas li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1.5px solid rgba(64,28,0,0.12); font-size: 17px; line-height: 1.3; font-weight: 600; }
.temas li:first-child { padding-top: 0; }
.temas li small { display: block; font-weight: 400; font-size: 15px; color: var(--brown-soft); margin-top: 2px; }
.ic { width: 36px; height: 36px; flex-shrink: 0; }
.apoya { background: var(--r); color: var(--paper); border-radius: 28px 120px 28px 28px; padding: 28px 24px; }
.apoya h3 { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; color: var(--y); font-size: 24px; margin: 0; }
.apoya ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.apoya li { display: flex; gap: 12px; font-size: 17px; line-height: 1.35; }
.apoya li::before { content: "✓"; color: var(--y); font-weight: 900; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; padding: 10px 16px 10px 12px; border-radius: 999px 999px 999px 999px; background: var(--bg); color: var(--fg); display: inline-flex; align-items: center; gap: 8px; }
.chips span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--hd); }
.chips-lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); opacity: 0.75; margin-top: 24px; }

/* =====================================================
   5 · TESTIMONIOS — carrusel
   ===================================================== */
.mhy .testi-sec { background: var(--paper-2); }
.ts { width: min(84vw, 360px); margin: 0; background: var(--paper); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ts::before { content: "“"; font-family: var(--font-serif); font-weight: 900; font-size: 72px; line-height: 0.5; color: var(--o); height: 26px; }
.ts blockquote { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: 18px; line-height: 1.45; }
.ts figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ts figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ts figcaption b { display: block; font-size: 15px; }
.ts figcaption span { font-size: 13px; color: var(--brown-soft); }
@media (min-width: 1100px) { .testi-sec .rail { flex-wrap: nowrap; align-items: stretch; } .ts { width: auto; flex: 1 1 0; } }

/* =====================================================
   6 · BIO — corta
   ===================================================== */
.mhy .bio { background: var(--g); }
.bio .head { display: flex; align-items: center; gap: 18px; }
.bio .head img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; flex-shrink: 0; border: 4px solid var(--paper); }
.bio .head .t2 { font-size: clamp(26px, 6.6vw, 44px); }
.bio .head .rol { font-size: 15px; font-weight: 600; margin-top: 6px; }
.bio p { margin-top: 20px; font-size: 17px; font-weight: 500; max-width: 62ch; }
.bio details { margin-top: 20px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 16px 20px; }
.bio summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.bio summary::-webkit-details-marker { display: none; }
.bio summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--y); }
.bio details[open] summary::after { content: "–"; }
.bio .creds { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; line-height: 1.45; }
.bio .creds b { color: #fff; }
@media (min-width: 900px) { .bio .head img { width: 160px; height: 160px; } }

/* =====================================================
   7 · FAQ + CIERRE
   ===================================================== */
.mhy .lp-faq { margin-top: 20px; max-width: 760px; }
.mhy .lp-faq details { padding: 16px 0; }
.mhy .lp-faq summary { font-family: var(--font-serif); font-weight: 700; font-size: 18px; }
.mhy .lp-faq summary::after { color: var(--o); }
.mhy .lp-faq details p { font-size: 16px; margin-top: 10px; }

.mhy .final { background: var(--o); color: var(--paper); text-align: center; }
.final .t2 { color: var(--y); max-width: 20ch; margin-inline: auto; }
.final p { margin-top: 12px; }
.final .pick-list { max-width: 420px; margin: 24px auto 0; text-align: left; }

.mhy .lp-footer { background: var(--ink); padding-bottom: calc(22px + 84px); }
@media (min-width: 761px) { .mhy .lp-footer { padding-bottom: 22px; } }

/* Barra fija móvil */
.mhy .lp-sticky { padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
.mhy .lp-sticky .p { font-family: var(--font-serif); font-weight: 900; text-transform: uppercase; font-size: 16px; }
.mhy .lp-sticky .btn { background: var(--r); color: var(--paper); min-height: 48px; padding: 12px 22px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

html:has(body.mhy) { scroll-behavior: smooth; }

/* Ajustes escritorio */
@media (min-width: 1100px) {
  .frases-sec .rail { flex-wrap: nowrap; gap: 16px; }
  .fr { width: 205px; height: 205px; font-size: 16px; padding: 22px; }
  .fr.c { width: 205px; }
  .fr.a { border-radius: 0 0 103px 103px; }
  .fr.b { border-radius: 0 103px 0 0; font-size: 14.5px; }
  .fr.e { border-radius: 103px 103px 0 0; }
}
.mhy .lp-faq { margin-left: 0; }
.bio details { max-width: 640px; }
