/* Fuentes servidas desde el propio sitio (sin Google Fonts: privacidad y CSP estricta). Licencia SIL OFL. */
@font-face { font-family: "DM Serif Display"; src: url("../assets/fonts/dm-serif-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../assets/fonts/dm-serif-display-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ivory: #FAF7F2;
  --sand: #F1EAE0;
  --line: #E4DACC;
  --ink: #16303B;
  --text: #2B3A42;
  --muted: #5B6970;
  --teal: #1F5C63;
  --teal-dark: #164349;
  --clay: #C27A55;
  --clay-soft: #F3E1D5;
  --sage: #DCE7E2;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(22, 48, 59, .06), 0 4px 12px rgba(22, 48, 59, .05);
  --shadow: 0 2px 4px rgba(22, 48, 59, .04), 0 18px 40px -12px rgba(22, 48, 59, .18);
  --font-head: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 1.0625rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, iframe { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h1 em { font-style: italic; color: var(--teal); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 50%; background: radial-gradient(circle, var(--ivory) 0 22%, transparent 23%), conic-gradient(from 200deg, var(--teal), var(--clay), var(--teal)); }
.brand.light { color: var(--ivory); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--clay); transform: scaleX(0); transition: transform .2s; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.lang { display: flex; background: var(--sand); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: 700 .8rem var(--font-body); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font: 700 1rem var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -10px rgba(31, 92, 99, .7); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-wa { background: transparent; color: var(--ivory); border-color: rgba(250, 247, 242, .35); }
.btn-wa::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3DDC84; }
.btn-wa:hover { border-color: var(--ivory); }
.play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.link-arrow { font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow::after { content: " →"; color: var(--clay); }
.link-arrow:hover { color: var(--teal); }
.links { display: flex; flex-wrap: wrap; gap: 28px; margin: 40px 0 0; justify-content: center; }

/* Hero */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; background: radial-gradient(circle, var(--clay-soft), transparent 65%); z-index: -1; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, var(--sage), transparent 65%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .85rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 32px 0 0; font-size: .9rem; color: var(--muted); }
.platforms a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--line); }
.platforms a:hover { border-color: var(--clay); }

.hero-portrait { position: relative; margin: 0; }
.portrait-frame { border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.host-card { position: absolute; left: -36px; bottom: 28px; background: var(--white); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); display: grid; gap: 2px; max-width: 290px; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.host-card strong { color: var(--ink); font-size: .95rem; }
.host-label { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; color: var(--clay); }
.badge { position: absolute; right: -18px; top: 44px; width: 120px; height: 120px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-content: center; text-align: center; font-size: .7rem; line-height: 1.25; padding: 16px; box-shadow: var(--shadow); }
.badge strong { font-family: var(--font-head); font-weight: 400; font-size: 2.1rem; line-height: 1; }

/* Audience strip */
.audience { border-block: 1px solid var(--line); background: var(--white); padding: 26px 0; }
.audience .wrap { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; justify-content: center; }
.audience-title { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); }
.audience-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.audience-list li { padding: 8px 18px; border-radius: 999px; background: var(--sand); color: var(--ink); font-weight: 600; font-size: .92rem; }

/* Sections */
.section { padding: 112px 0; }
.tinted { background: var(--sand); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: #A8603C; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 24px; }

/* Episodes */
.cards { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 24px 26px 28px; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.video { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ink), var(--teal)); }
.video iframe { width: 100%; height: 100%; border: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--clay-soft); color: #8A4A2B; margin-bottom: 12px; }
.tag.soft { background: var(--sage); color: var(--teal-dark); }

/* Resources */
.res { grid-template-columns: repeat(4, 1fr); }
.res-card { background: var(--ivory); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--line); transition: background .2s, transform .25s; }
.res-card:hover { background: var(--white); transform: translateY(-4px); }
.res-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.res-num { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--clay); margin-bottom: 22px; }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: center; }
.about-media { position: relative; isolation: isolate; }
.about-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); border: 1.5px solid var(--clay); z-index: -1; }
.about-media img { border-radius: var(--radius-lg); width: 100%; height: auto; box-shadow: var(--shadow); }
.quote { margin: 8px 0 28px; padding-left: 24px; border-left: 3px solid var(--clay); font-family: var(--font-head); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; align-content: start; gap: 4px; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.facts strong { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; color: var(--teal); line-height: 1.1; }

/* Participate */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.form .consent input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--teal); }
.consent a { color: inherit; font-weight: 700; }
.contact .form .consent { color: rgba(250, 247, 242, .75); grid-column: 1 / -1; justify-content: center; }
.privacy a { color: var(--teal); font-weight: 700; }
.privacy { font-size: .9rem; color: var(--muted); padding: 14px 16px; background: var(--ivory); border-radius: 14px; border: 1px solid var(--line); }
.panel { background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); text-align: left; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--ivory); color: var(--text); width: 100%; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(31, 92, 99, .12); }
.form.inline { grid-template-columns: 1fr auto; align-items: end; margin-top: 12px; }
.form.inline .status { grid-column: 1 / -1; }
.status { margin: 0; min-height: 1.5em; font-weight: 600; font-size: .95rem; }
.status.ok { color: #1F7A4D; }
.status.err { color: #A3462A; }

/* Contact */
.contact { background: var(--ink); color: rgba(250, 247, 242, .8); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: -300px; transform: translateX(-50%); background: radial-gradient(circle, rgba(194, 122, 85, .25), transparent 65%); }
.contact .wrap { position: relative; }
.contact h2 { color: var(--ivory); }
.contact .sub { color: rgba(250, 247, 242, .75); }
.kicker.light { color: #E3A783; }
.contact .form input { background: rgba(255, 255, 255, .08); border-color: rgba(250, 247, 242, .2); color: var(--ivory); }
.contact .form input::placeholder { color: rgba(250, 247, 242, .5); }
.contact .form input:focus { background: rgba(255, 255, 255, .12); border-color: var(--ivory); box-shadow: none; }
.contact .status.ok { color: #7FD8A6; }
.contact .status.err { color: #F2A98A; }
.or { margin: 24px 0 16px; font-size: .9rem; }

.site-footer { background: #0F242C; color: rgba(250, 247, 242, .6); padding: 32px 0; font-size: .9rem; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .res { grid-template-columns: repeat(2, 1fr); }
  .about, .split { gap: 48px; }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 16px 28px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .about, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { max-width: 340px; margin-inline: auto; width: 100%; }
  .host-card { left: -8px; right: 24px; }
  .badge { right: -8px; top: 24px; width: 100px; height: 100px; font-size: .62rem; }
  .badge strong { font-size: 1.7rem; }
  .about-media { max-width: 340px; margin-inline: auto; }
  .facts { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .cards, .res, .row, .form.inline { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .about-media::before { inset: 16px -10px -10px 16px; }
  .audience .wrap { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .card:hover, .res-card:hover { transform: none; }
}

.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--ivory); }

/* Página legal */
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }

/* Turnstile */
.captcha { min-height: 65px; }
.contact .captcha { grid-column: 1 / -1; display: flex; justify-content: center; }
