/* Home: hero con dos acciones, parrilla de historias y formulario. Se carga tras landing.css. */

.hero--home h1 { max-width: 16ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.btn--outline-light { background: transparent; color: var(--color-white); border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: var(--color-white); border-color: var(--color-white); color: var(--color-navy); }
.hero--home .frame--photo { height: clamp(18.75rem, 10rem + 22vw, 27.5rem); }

/* ---------- Historias ---------- */
.stories__head { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-7); }
.stories__head h2 { margin: 0; }
.stories__head .lead { margin: 0; max-width: 46ch; }

.stories { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr)); }
.story { background: var(--color-white); border: 1px solid var(--line); border-top: 0; padding-top: 6px; position: relative; border-radius: var(--radius); overflow: hidden; display: flex; }
.story__bar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c); z-index: 2; }
.story__link { display: flex; flex-direction: column; width: 100%; color: var(--color-navy); text-decoration: none; }
.story__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--c) 20%, var(--color-cream)); position: relative; }
.story__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.story__num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 6.5rem; line-height: 1; color: var(--c); }
.story__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5) var(--space-5) var(--space-3); flex: 1; }
.story__kicker { font-size: var(--fs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--fg-muted); }
.story__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.story__blurb { color: var(--fg-muted); font-size: var(--fs-small); }
.story__more, .story__chip { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 var(--space-5) var(--space-5); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--ls-label); text-transform: uppercase; }
.story__more svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; transition: transform .25s; }
.story__chip { align-self: flex-start; padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--fg-muted); }
a.story__link:hover .story__more svg { transform: translateX(5px); }
a.story__link:hover .story__media img { transform: scale(1.04); }
a.story__link:hover .story__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-color: var(--c); }
.story--soon { background: transparent; border-style: dashed; border-top: 0; }
.story--soon .story__link { opacity: .72; cursor: default; }

/* ---------- Formulario ---------- */
.feedback { padding-block: var(--space-8); }
.feedback__inner { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; justify-content: space-between; }
.feedback h2 { margin: 0 0 var(--space-3); }
.feedback .lead { margin: 0; }
.feedback .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }

.story__media--dark { background: var(--bg-dark); }
.story__media--dark img { object-fit: contain; padding: 14%; }

.story__media img { object-position: var(--pos, 50% 50%); }

/* ---------- Home = e-shot de agradecimiento, adaptado a web ---------- */
.hm-hero { padding-block: clamp(var(--space-6), 3rem + 3vw, var(--space-8)) clamp(var(--space-7), 3rem + 5vw, var(--space-9)); }
.hm-banner { display: block; width: min(100%, 600px); height: auto; }
.hm-kicker { margin: 0; font-size: var(--fs-lead); font-weight: 300; font-style: italic; color: #F9D6B9; }
.hm-hero h1 { max-width: 20ch; }
.hm-panel { background: var(--color-cream); border-top: 3px solid var(--color-navy); padding: clamp(1.5rem, 4vw, 2.5rem); }
.hm-panel h2 { margin: 0 0 var(--space-4); }
.hm-panel p { margin: 0 0 var(--space-3); }
.hm-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.hm-stats li { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4) var(--space-5); border-top: 1px solid #D1CFC8; }
.hm-stat__num { font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1.1; font-weight: 300; color: var(--color-navy); font-variant-numeric: tabular-nums; }
.hm-stat__label { font-size: var(--fs-small); line-height: 1.4; color: var(--color-navy); }
.hm-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.hm-list li { padding: var(--space-5) 0; border-bottom: 1px solid #D1CFC8; }
.hm-list li:last-child { border-bottom: 0; }
.hm-list h3 { font-family: var(--font-body); font-size: var(--fs-lead); font-weight: 700; margin: 0 0 var(--space-2); }
.hm-list p { margin: 0 0 var(--space-2); }
.hm-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; color: var(--color-navy); text-decoration: underline; text-underline-offset: .2em; }
.hm-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; transition: transform .25s; }
.hm-link:hover svg { transform: translateX(5px); }
.hm-sign { margin-top: var(--space-4); }
.hm-tagline { font-style: italic; font-weight: 300; margin-top: var(--space-5); }

/* Home v2: banner a todo el ancho, texto centrado debajo, cifras a todo el ancho */
.hm-hero { padding: 0; background: var(--bg-dark); color: var(--fg-on-dark); }
.hm-banner { display: block; width: 100%; height: auto; }
.hm-hero__text { padding-block: clamp(var(--space-6), 2rem + 4vw, var(--space-8)) clamp(var(--space-7), 3rem + 5vw, var(--space-9)); text-align: center; }
.hm-hero__text .stack { align-items: center; }
.hm-hero h1 { max-width: 22ch; margin-inline: auto; }
.hm-numbers h2 { color: var(--fg-on-dark); margin: 0 0 var(--space-5); }
.hm-numbers .stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.hm-list { margin-top: var(--space-4); }
.hm-hero h1 { color: var(--fg-on-dark); font-size: var(--fs-display); line-height: 1; }
.hm-hero .eyebrow, .hm-kicker { margin: 0; }

/* Cifras de la home: una sola fila de 6 en pantalla ancha, dos filas de 3 en el resto, 2 columnas en móvil */
.hm-numbers .stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 40rem) { .hm-numbers .stat__num { font-size: 2rem; } .hm-numbers .stat__label { font-size: .8125rem; } }
.hm-numbers .stat__label { max-width: none; }

/* Listado de landings: imagen de cada una a la izquierda y texto a la derecha */
.hm-list li { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6); align-items: center; }
.hm-list__img { flex: 1 1 15rem; max-width: 20rem; aspect-ratio: 3 / 2; overflow: hidden; display: block; }
.hm-list__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hm-list li:hover .hm-list__img img { transform: scale(1.04); }
.hm-list__body { flex: 3 1 22rem; min-width: 0; }

/* ---------- Members Call: vídeos ---------- */
.mc-videos { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.mc-videos h3 { font-family: var(--font-body); font-size: var(--fs-lead); font-weight: 700; margin: var(--space-3) 0 var(--space-1); }
.mc-videos p { margin: 0; color: var(--fg-muted); font-size: var(--fs-small); }
.mc-videos .video__btn[aria-hidden] { color: var(--fg-on-dark); }

/* ---------- Members Call: panel, agenda y banner ---------- */
.hm-hero .lead { color: var(--fg-on-dark); margin: 0; }
.hm-banner { aspect-ratio: 12 / 5; object-fit: cover; }
.mc-panel { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.mc-panel li { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-5); align-items: flex-start; padding: var(--space-5) 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.mc-panel__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--line); flex: none; }
.mc-panel__body { flex: 1 1 18rem; min-width: 0; }
.mc-panel__body h3 { font-family: var(--font-body); font-size: var(--fs-h5); font-weight: 700; margin: 0 0 var(--space-1); }
.mc-panel__body p { margin: 0 0 var(--space-3); }
.mc-panel__role { font-size: var(--fs-small); }
.mc-panel__role span { color: var(--fg-muted); }
.mc-moderator { margin: var(--space-4) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.mc-agenda { list-style: none; margin: var(--space-5) 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.mc-agenda li { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.mc-agenda span { color: var(--fg-muted); font-size: var(--fs-small); }
.feedback .hm-panel { background: var(--color-navy); color: var(--fg-on-dark); border-top-color: var(--color-teal); }
.feedback .hm-panel h2, .feedback .hm-panel .lead { color: var(--fg-on-dark); }
.feedback .hm-panel .form-clean { border-top-color: var(--line-on-dark); }
.feedback .hm-panel .form-clean .q legend, .feedback .hm-panel label, .feedback .hm-panel .form-note, .feedback .hm-panel .q__hint { color: var(--fg-on-dark); }
.feedback .hm-panel a { color: var(--fg-on-dark); }
.feedback .hm-panel .btn { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-navy); }
.feedback .hm-panel .btn:hover { background: var(--color-white); border-color: var(--color-white); }
.feedback .hm-panel .form-err, .feedback .hm-panel .q__err { color: #ffb4a8; }

/* Preguntas repetibles */
.rep__item { position: relative; margin-bottom: var(--space-4); }
.rep__label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: var(--space-2); }
.rep__remove { position: absolute; top: 0; right: 0; background: none; border: 0; padding: 0; font: inherit; font-size: var(--fs-small); color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.rep__add { margin-top: var(--space-2); }
.feedback .hm-panel .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--color-white); }
.feedback .hm-panel .btn--ghost:hover { background: var(--color-white); border-color: var(--color-white); color: var(--color-navy); }

/* ---------- Páginas de panelista ---------- */
.mc-panel__body h3 a { color: inherit; text-decoration: none; }
.mc-panel__body h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.mc-panel__photo { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
a:hover > .mc-panel__photo { transform: scale(1.05); }
.mc-profile-hero { padding-block: clamp(var(--space-6), 2rem + 3vw, var(--space-8)); }
.mc-profile { display: grid; gap: var(--space-6); align-items: center; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); }
.mc-profile__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--color-sand); }
.mc-profile .stack { align-items: flex-start; text-align: left; }
.mc-profile h1 { margin: 0; text-align: left; margin-inline: 0; }
.mc-back { color: var(--color-peach); text-decoration: none; font-style: italic; }
.mc-back:hover { text-decoration: underline; text-underline-offset: .2em; }
.mc-chip { display: inline-block; margin: 0; padding: 4px 12px; border: 1px solid var(--color-teal); border-radius: 99px; color: var(--color-teal); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; }
.mc-facts { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin: var(--space-5) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.mc-facts dt { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.mc-facts dd { margin: 2px 0 0; }
.mc-more { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (max-width: 40rem) { .mc-profile { grid-template-columns: 1fr; } .mc-profile__photo { max-width: 14rem; } }

/* ---------- Hero con foto de fondo y el texto encima ---------- */
.hm-hero--photo { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(26rem, 72vh, 41rem); overflow: hidden; }
.hm-hero--photo .hm-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; aspect-ratio: auto; }
.hm-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 27, 52, .72) 0%, rgba(21, 27, 52, .6) 45%, rgba(21, 27, 52, .86) 100%); }
.hm-hero--photo .hm-hero__text { padding-block: clamp(var(--space-7), 5vw, var(--space-9)); }
.hm-hero--photo h1 { text-shadow: 0 2px 24px rgba(21, 27, 52, .45); }
.hm-hero--photo .hm-kicker { color: var(--color-peach); }

/* ---------- Página de panelista v2: hero sin solapes, biografía + vídeo en dos columnas, otros panelistas con foto ---------- */
.mc-profile .stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.mc-profile .stack > * { margin: 0; }
.mc-profile h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.12; padding-bottom: .08em; }
.mc-profile .lead { margin-top: var(--space-1); }
.mc-profile .mc-chip { margin-top: var(--space-2); }

.mc-bio { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 72fr) minmax(0, 28fr); align-items: start; }
.mc-bio__main > h2 { margin: 0; }
.mc-bio__video { position: sticky; top: calc(var(--header-h, 77px) + var(--space-5)); }
.mc-bio__video-title { font-size: var(--fs-h5); font-family: var(--font-body); font-weight: 700; line-height: 1.25; margin: 0 0 var(--space-3); }
.mc-vid + .mc-vid { margin-top: var(--space-5); }
.mc-vid h3 { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; margin: var(--space-3) 0 var(--space-1); }
.mc-vid p { margin: 0; color: var(--fg-muted); font-size: var(--fs-small); }
@media (max-width: 62rem) { .mc-bio { grid-template-columns: 1fr; gap: var(--space-6); } .mc-bio__video { position: static; } }

.mc-others { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.mc-other { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); background: var(--color-white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--color-navy); text-decoration: none; height: 100%; transition: box-shadow .25s, transform .25s; }
.mc-other:hover { box-shadow: 0 10px 28px rgba(21, 27, 52, .12); transform: translateY(-2px); }
.mc-other img { width: 96px; height: 120px; flex: none; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--line); }
.mc-other__body { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); min-width: 0; }
.mc-other__body strong { font-size: var(--fs-h5); line-height: 1.2; }
.mc-other__body em { font-style: normal; color: var(--fg-muted); }
.mc-other__body .hm-link { margin-top: var(--space-2); }
.mc-others__cta { margin: var(--space-6) 0 0; }

/* Quién aparece en cada vídeo: foto en miniatura y nombre */
.mc-vid__who { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); color: inherit; text-decoration: none; }
.mc-vid__who img { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: var(--line); }
.mc-vid__who div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mc-vid__who strong { font-size: var(--fs-body); }
.mc-vid__who span { font-size: var(--fs-label); color: var(--fg-muted); }
a.mc-vid__who:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.mc-vid__who + h3 { margin-top: var(--space-2); }
.mc-videos h3 { margin-top: var(--space-2); }

/* ---------- Meet the panel: tarjetas, tres columnas en pantalla ancha ---------- */
.mc-panel { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-top: var(--space-6); }
.mc-panel li.mc-pcard { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-top: 0; background: var(--color-white); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 62rem) { .mc-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mc-pcard__photo { display: block; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--line); }
.mc-pcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mc-pcard:hover .mc-pcard__photo img { transform: scale(1.04); }
.mc-pcard__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.mc-pcard__body h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; font-weight: 400; margin: 0 0 var(--space-2); }
.mc-pcard__body p { margin: 0 0 var(--space-3); }
.mc-pcard__bio { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-small); color: var(--fg-muted); }
.mc-pcard__more { margin-top: auto !important; padding-top: var(--space-2); }
