/* =========================================================
   SONORAMA · MEDIA KIT 2026 — presentación web animada
   ========================================================= */
@font-face { font-family: "Made Mirage"; src: url("../assets/fonts/mirage/mirage-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Made Mirage"; src: url("../assets/fonts/mirage/mirage-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Made Mirage"; src: url("../assets/fonts/mirage/mirage-thin.otf") format("opentype"); font-weight: 300; font-display: swap; }

:root {
  --bg: #0b0b0d;
  --bg-2: #141418;
  --panel: #1c1c21;
  --line: #2e2e35;
  --ink: #f4f1e9;
  --muted: #a7a6ad;
  --red: #e5222f;
  --red-2: #ff3b47;
  --cream: #f1eee7;
  --dark-ink: #17171b;
  --serif: "Made Mirage", Georgia, "Times New Roman", serif;
  --sans: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pad-x: clamp(20px, 5vw, 80px);
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body { font-family: var(--ui); -webkit-font-smoothing: antialiased; overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
p { margin: 0; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }
.serif-light { font-family: var(--serif); font-weight: 300; text-transform: none; letter-spacing: -.01em; }

/* ---------- Barra superior ---------- */
.mk-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad-x);
  background: linear-gradient(to bottom, rgba(11, 11, 13, .85), rgba(11, 11, 13, 0));
  pointer-events: none;
}
.mk-bar > * { pointer-events: auto; }
.mk-logo img { width: clamp(110px, 12vw, 150px); height: auto; transition: opacity .3s; }
.mk-bar.on-light .mk-logo img { filter: invert(1) brightness(.15); }
.mk-bar-right { display: flex; align-items: center; gap: 10px; }
.mk-count { margin-right: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.mk-count b { color: var(--ink); }
.mk-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(20, 20, 24, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; transition: background .2s, border-color .2s;
}
.mk-btn svg { width: 18px; height: 18px; }
.mk-btn:hover { background: var(--red); border-color: var(--red); }
.mk-bar.on-light .mk-count { color: #6b6a70; }
.mk-bar.on-light .mk-count b { color: var(--dark-ink); }
.mk-bar.on-light .mk-btn { color: var(--dark-ink); border-color: rgba(0, 0, 0, .2); background: rgba(255, 255, 255, .6); }
.mk-bar.on-light .mk-btn:hover { color: #fff; background: var(--red); border-color: var(--red); }
.mk-bar.on-light { background: linear-gradient(to bottom, rgba(241, 238, 231, .9), rgba(241, 238, 231, 0)); }
body.sport-slide .mk-bar.on-light { background: none; }
body.sport-slide .mk-bar.on-light .mk-logo img { filter: none; }
.mk-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.mk-progress i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform .6s var(--ease-out); }

/* ---------- Puntos de navegación ---------- */
.mk-dots {
  position: fixed; right: clamp(10px, 1.6vw, 24px); top: 50%; z-index: 50; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
}
.mk-dots button {
  position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .28); transition: background .3s, transform .3s var(--ease);
}
.mk-dots button::after {
  content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translate(6px, -50%);
  padding: 5px 10px; border-radius: 6px; background: var(--panel); color: var(--ink); white-space: nowrap;
  font-size: .72rem; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.mk-dots button:hover::after, .mk-dots button:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.mk-dots button[aria-current="true"] { background: var(--red); transform: scale(1.5); }
body.light-slide .mk-dots button:not([aria-current="true"]) { background: rgba(0, 0, 0, .22); }

/* ---------- Flechas ---------- */
.mk-arrows { position: fixed; right: var(--pad-x); bottom: clamp(16px, 3vh, 30px); z-index: 50; display: flex; gap: 10px; }
.mk-arrows button {
  display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: rgba(20, 20, 24, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s var(--ease), opacity .3s;
}
.mk-arrows button svg { width: 22px; height: 22px; }
.mk-arrows button:hover { background: var(--red); border-color: var(--red); }
.mk-arrows button:active { transform: scale(.92); }
.mk-arrows button[disabled] { opacity: .25; pointer-events: none; }
body.light-slide .mk-arrows button { color: var(--dark-ink); border-color: rgba(0, 0, 0, .2); background: rgba(255, 255, 255, .7); }
body.light-slide .mk-arrows button:hover { color: #fff; background: var(--red); border-color: var(--red); }

/* ---------- Mazo de diapositivas ---------- */
.deck {
  height: 100vh; height: 100dvh; overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory; scroll-behavior: smooth; overscroll-behavior: contain;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }
.slide {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden;
  display: flex; align-items: center;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: var(--bg);
}
.slide.light { background: var(--cream); color: var(--dark-ink); }
.slide.light .muted { color: #5e5d64; }
.slide-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto;
  padding: calc(var(--bar-h) + 24px) calc(var(--pad-x) + 24px) 96px var(--pad-x);
}
.slide-inner.center { text-align: center; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.col { position: relative; }

/* ---------- Tipografía ---------- */
.eyebrow { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { color: var(--red); }
.mini { margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.h-big, .h-mid {
  margin: 0 0 18px; font-family: var(--sans); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em;
}
.h-big { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.h-mid { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.h-mid.serif { font-family: var(--serif); text-transform: none; font-weight: 400; letter-spacing: -.01em; line-height: 1.05; }
.h-serif { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: 0 0 18px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.35; margin-bottom: 12px; }
.strong { font-weight: 800; }
.body { font-size: clamp(.92rem, 1.1vw, 1.05rem); line-height: 1.6; margin-bottom: 14px; max-width: 60ch; }
.narrow { max-width: 52ch; }
.small { font-size: .84rem; line-height: 1.5; }
.label { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 10px; }
.mega { font-size: clamp(3.6rem, 9vw, 8rem); line-height: 1; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.rule { display: block; width: 80px; height: 4px; margin: 14px 0 20px; background: var(--red); transform-origin: left; }
.tag { display: inline-block; padding: 6px 12px; margin-bottom: 18px; background: var(--dark-ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.bullets { padding-left: 1.1em; }
.bullets li { margin-bottom: 8px; }
.bullets li::marker { color: var(--red); }
.note { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.source { margin-top: 22px; font-size: .72rem; color: var(--muted); }

/* ---------- Onda (waveform) ---------- */
.wave { display: flex; align-items: center; gap: 2px; height: 46px; margin: 10px 0 22px; width: min(100%, 420px); transform-origin: left; }
.wave.long { width: min(100%, 900px); }
.wave i { flex: 1; height: 2px; min-height: 2px; background: var(--red); border-radius: 2px; }
.wave i.spike { height: var(--h); }
.slide.is-active .wave i.spike { animation: wave 1.6s ease-in-out infinite alternate; animation-delay: var(--dl); }

/* ---------- Sistema de animaciones ---------- */
[data-a] { --i: 0; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), clip-path .9s var(--ease-out); transition-delay: calc(var(--i) * 90ms + 120ms); }
[data-a="up"] { opacity: 0; transform: translateY(34px); }
[data-a="left"] { opacity: 0; transform: translateX(-50px); }
[data-a="right"] { opacity: 0; transform: translateX(60px); }
[data-a="zoom"] { opacity: 0; transform: scale(.85); }
[data-a="fade"] { opacity: 0; transition-duration: 1.2s; }
[data-a="line"] { opacity: 0; transform: scaleX(0); transform-origin: left; }
[data-a="mask"] { display: block; clip-path: inset(0 0 100% 0); transform: translateY(40%); }
.slide.is-active [data-a] { opacity: 1; transform: none; clip-path: inset(-10% -10% -10% -10%); }
.slide.is-leaving [data-a] { transition-delay: 0s; transition-duration: .3s; }

/* ---------- 01 Portada ---------- */
.s-cover { background: #121215; }
.s-cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--red); z-index: 3; }
.cover-media { position: absolute; inset: 0 0 0 46%; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .cover-media img { animation: kenburns 16s ease-out forwards; }
.cover-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121215 0%, rgba(18, 18, 21, .55) 22%, transparent 55%); }
.cover-copy { position: relative; z-index: 2; padding: calc(var(--bar-h) + 10px) var(--pad-x) 90px; max-width: 640px; }
.cover-logo { width: clamp(200px, 24vw, 320px); height: auto; margin-bottom: clamp(30px, 6vh, 60px); }
.cover-title { margin: 0; font-weight: 800; line-height: .85; text-transform: uppercase; }
.cover-title span:first-child { font-family: var(--sans); font-size: clamp(3rem, 6.5vw, 5.4rem); }
.cover-title span:last-child { font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 12vw, 10rem); }
.cover-tags { font-size: .82rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.cover-tags i { color: var(--red); font-style: normal; }
.cover-claim { margin-top: 22px; font-family: var(--sans); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #d9d6cf; }
.start-hint { display: flex; align-items: center; gap: 10px; margin-top: clamp(30px, 7vh, 70px); font-size: .78rem; color: var(--muted); }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; font: 700 .9rem var(--ui); color: var(--ink); }
.slide.is-active .start-hint kbd { animation: nudge 1.6s ease-in-out infinite 1.5s; }

/* ---------- 02 Marca ---------- */
.photo { margin: 0; position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.photo-redline::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 6px; background: var(--red); }
.slide.is-active .photo img { animation: kenburns 14s ease-out forwards; }
.photo { overflow: visible; }
.photo img { clip-path: inset(0); }
.pillars { margin-top: 20px; font-weight: 800; color: var(--red); }
.pillars span { color: var(--red); }
.big-years { position: absolute; right: 0; top: -10px; text-align: right; font-family: var(--serif); color: rgba(229, 34, 47, .1); line-height: .8; pointer-events: none; }
.big-years b { display: block; font-size: clamp(6rem, 14vw, 12rem); font-weight: 700; }
.big-years small { font-size: 1.4rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(229, 34, 47, .35); }

.s-brand .h-big { font-size: clamp(2.2rem, 4.8vw, 4.4rem); }
.s-brand .photo img { aspect-ratio: auto; height: min(68vh, 620px); }
.s-brand .big-years { top: auto; bottom: -20px; right: 10px; }

/* ---------- 03 Comunidad ---------- */
.community-grid { display: grid; grid-template-columns: 1fr 1.1fr .9fr; gap: clamp(20px, 4vw, 60px); align-items: center; margin-top: 10px; }
.kpi strong { display: block; font-size: clamp(3.4rem, 7vw, 6.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-label { display: block; margin-top: 8px; font-family: var(--sans); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: .04em; text-transform: uppercase; }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.platforms li { display: grid; grid-template-columns: 38px 1fr 80px; gap: 14px; align-items: center; }
.platforms svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--dark-ink); color: #fff; }
.platforms .bar { height: 8px; border-radius: 8px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.platforms .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--red), #ff7a52); border-radius: 8px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out); }
.slide.is-active .platforms .bar i { transform: scaleX(1); }
.platforms li:nth-child(2) .bar i { transition-delay: .55s; }
.platforms li:nth-child(1) .bar i { transition-delay: .45s; }
.platforms li:nth-child(3) .bar i { transition-delay: .65s; }
.platforms li:nth-child(4) .bar i { transition-delay: .75s; }
.platforms li:nth-child(5) .bar i { transition-delay: .85s; }
.platforms b { font-size: .92rem; font-variant-numeric: tabular-nums; text-align: right; }
.kpi-right { text-align: center; }

/* ---------- 04 Resultados ---------- */
.s-action { background: radial-gradient(80% 90% at 0% 100%, rgba(229, 34, 47, .12), transparent 60%), #1a1a1f; }
.watermark { position: absolute; left: 30%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-weight: 700; font-size: 70vh; color: rgba(255, 255, 255, .03); line-height: 1; pointer-events: none; }
.slide.is-active .watermark { animation: drift 20s ease-in-out infinite alternate; }
.stat-list { list-style: none; margin: 0; padding: 0; border-bottom: 2px solid var(--red); }
.stat-list li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.stat-list strong { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-list small { grid-row: 2; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.stat-list .ico { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; color: var(--ink); }
.slide.is-active .stat-list li:hover .ico { color: var(--red); }
.ico { width: 34px; height: 34px; }

/* ---------- 05 Audiencia ---------- */
.s-audience { background: #0d0d10; }
.audience-map { position: absolute; inset: 0; }
.audience-map img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; opacity: .9; }
.audience-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 13, 16, .95) 0%, rgba(13, 13, 16, .75) 50%, rgba(13, 13, 16, .2) 100%); }
.slide.is-active .audience-map img { animation: mapglow 5s ease-in-out infinite alternate; }
.audience-grid { display: grid; grid-template-columns: 1fr 1.1fr .5fr; gap: clamp(20px, 4vw, 56px); margin-top: 26px; align-items: start; }
.gender, .ages { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(20, 20, 24, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.donuts { display: flex; gap: 18px; justify-content: space-around; }
.donut { position: relative; margin: 0; width: clamp(110px, 11vw, 150px); }
.donut svg { transform: rotate(-90deg); }
.donut circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.donut .arc { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s var(--ease-out) .5s; }
.donut + .donut .arc { stroke: #f4f1e9; }
.slide.is-active .donut .arc { stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); }
.donut figcaption { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut figcaption small { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.donut figcaption b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-variant-numeric: tabular-nums; }
.donut-notes { display: flex; justify-content: space-around; gap: 12px; margin: 10px 0 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.chip { display: inline-block; padding: 7px 12px; border-radius: 8px; background: #26262d; font-size: .8rem; }
.red-chip { background: rgba(229, 34, 47, .18); color: #ffb3b8; }
.age-bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.age-bars li { display: grid; grid-template-columns: 64px 1fr 44px; gap: 12px; align-items: center; font-size: .86rem; }
.age-bars i { height: 12px; border-radius: 3px; background: linear-gradient(90deg, #7d1219, var(--red)); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease-out); }
.age-bars li.core i { background: linear-gradient(90deg, var(--red), var(--red-2)); box-shadow: 0 0 18px rgba(229, 34, 47, .5); }
.slide.is-active .age-bars i { transform: scaleX(1); }
.age-bars li:nth-child(1) i { transition-delay: .5s; } .age-bars li:nth-child(2) i { transition-delay: .6s; }
.age-bars li:nth-child(3) i { transition-delay: .7s; } .age-bars li:nth-child(4) i { transition-delay: .8s; } .age-bars li:nth-child(5) i { transition-delay: .9s; }
.age-bars b { text-align: right; }
.coverage { align-self: center; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d4d1ca; }

/* ---------- 06 Radio ---------- */
.s-radio { background: radial-gradient(70% 80% at 100% 50%, rgba(229, 34, 47, .25), transparent 60%), #0e0e11; }
.radio-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; margin: 0; }
.radio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.radio-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e0e11 0%, rgba(14, 14, 17, .3) 40%, transparent 70%); }
.slide.is-active .radio-photo img { animation: sway 6s ease-in-out infinite alternate; }
.s-radio .slide-inner { padding-right: 44%; }
.radio-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.radio-brand img { width: 54px; height: 54px; object-fit: cover; object-position: left; }
.radio-brand span { font-family: var(--sans); font-weight: 700; line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 14px; }
.radio-kpis { display: flex; gap: clamp(20px, 4vw, 50px); margin: 26px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.radio-kpis > div { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; }
.radio-kpis .ico { grid-row: 1 / span 2; width: 44px; height: 44px; }
.radio-kpis strong { font-family: var(--sans); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.radio-kpis strong em { display: block; font-size: .8rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.radio-kpis small { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.fm { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fm .ico { width: 46px; height: 46px; }
.fm strong { display: block; font-family: var(--sans); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.fm small { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eq { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-left: 12px; }
.eq i { width: 5px; height: 30%; background: var(--red); border-radius: 3px; }
.slide.is-active .eq i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s !important; } .eq i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4) { animation-delay: -.15s !important; } .eq i:nth-child(5) { animation-delay: -.45s !important; }
.eq i:nth-child(6) { animation-delay: -.75s !important; } .eq i:nth-child(7) { animation-delay: -.2s !important; }
.cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(28, 28, 33, .7); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cities svg { width: 18px; height: 18px; color: var(--red); }
.slide.is-active .cities svg { animation: bounce 2.4s ease-in-out infinite; }
.cities li:nth-child(2n) svg { animation-delay: .3s; } .cities li:nth-child(3n) svg { animation-delay: .6s; }

/* ---------- 07 Tu marca ---------- */
.yb-photo { position: absolute; inset: 0; }
.yb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.slide.is-active .yb-photo img { animation: kenburns 18s ease-out forwards; }
.yb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 60%); }
.yb-card { max-width: 440px; padding: clamp(26px, 4vw, 46px); background: var(--cream); color: var(--dark-ink); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.yb-card .h-big { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.quote { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.45; color: #3a393f; }
.yb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.yb-list li { position: relative; padding-left: 22px; font-family: var(--sans); font-weight: 700; font-size: 1.02rem; }
.yb-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--red); }

/* ---------- 08/09 Programas coproducidos ---------- */
.s-shows { background: #121215; }
.blob { position: absolute; right: -8vw; top: -10vw; width: 26vw; height: 26vw; border-radius: 50%; background: var(--red); z-index: 1; }
.slide.is-active .blob { animation: float 8s ease-in-out infinite alternate; }
.s-shows .h-mid { margin-bottom: 8px; }
.shows-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: clamp(14px, 2vw, 26px); margin-top: 24px; align-items: stretch; }
.show { display: flex; flex-direction: column; }
.show figure { margin: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #000; flex: 1; max-height: 52vh; }
.show figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease-out); }
.show:hover figure img { transform: scale(1.05); }
.show-time { margin-top: 12px; font-family: var(--sans); font-weight: 800; font-size: 1.05rem; }
.show-days { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.show-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.show-kpi { text-align: right; font-family: var(--sans); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.show-kpi small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.summary { padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.summary h3 { margin: 0 0 6px; font-size: 1.3rem; }
.sum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.sum-grid div { display: grid; gap: 2px; padding: 12px; border-radius: 10px; background: #26262c; text-align: center; }
.sum-grid small { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sum-grid b { font-size: 1.15rem; text-transform: uppercase; }
.sum-grid span { font-size: .68rem; color: var(--muted); }
.summary .bullets { margin: 0; color: #cfcdd3; }

/* ---------- 10 Deporte ---------- */
.s-sport { display: grid; grid-template-columns: 1.4fr 1fr; align-items: stretch; background: var(--cream); color: var(--dark-ink); }
.sport-photo { position: relative; overflow: hidden; }
.sport-photo img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .sport-photo img { animation: kenburns 18s ease-out forwards; }
.sport-word { position: absolute; left: 40%; bottom: 10%; font-family: var(--sans); font-weight: 900; font-style: italic; font-size: clamp(2.6rem, 6vw, 5rem); color: #fff; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.sport-panel { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar-h) + 20px) calc(var(--pad-x) + 30px) 96px clamp(24px, 4vw, 56px); }
.sport-panel .h-big { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.sport-kpi { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 14px; }
.sport-kpi strong { font-size: clamp(2.6rem, 4.6vw, 4rem); }
.sport-kpi small { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6b6a70; }
.tag.dark { align-self: flex-start; }

/* ---------- 11 Transmisiones ---------- */
.s-streams { background: radial-gradient(70% 60% at 50% 30%, rgba(229, 34, 47, .2), transparent 65%), #0b0b0d; }
.streams-logo { width: 120px; height: auto; margin: 0 auto 18px; }
.streams-kpis { display: flex; justify-content: center; gap: clamp(14px, 3vw, 34px); margin: 30px 0 34px; flex-wrap: wrap; }
.stream-card { display: grid; justify-items: center; gap: 4px; min-width: clamp(220px, 24vw, 300px); padding: 24px 26px; border: 2px solid var(--red); border-radius: 18px; background: rgba(28, 28, 33, .8); box-shadow: 0 0 40px rgba(229, 34, 47, .25); }
.platform-pills { display: flex; gap: 8px; margin-bottom: 8px; }
.platform-pills svg { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: #fff; color: var(--dark-ink); }
.platform-pills svg:first-child { background: #ff0000; color: #fff; }
.platform-pills svg:last-child:not(:first-child) { background: #1877f2; color: #fff; }
.stream-card .plus { padding: 2px 10px; border-radius: 6px; background: var(--red); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.stream-card strong { font-family: var(--sans); font-weight: 900; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stream-card small { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.matches { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.matches-track { display: flex; width: max-content; gap: 0; }
.matches-track img { height: clamp(110px, 16vh, 170px); width: auto; }
.slide.is-active .matches-track { animation: marquee 22s linear infinite; }

/* ---------- 12–16 Formatos ---------- */
.s-format:not(.light) { background: #0e0e11; }
.format-media { margin: 0; position: relative; justify-self: center; }
.format-media img { width: min(100%, 440px); max-height: 70vh; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.format-media.tilt img { transform: rotate(-3deg); transition: transform .6s var(--ease); }
.format-media.tilt:hover img { transform: rotate(0) scale(1.02); }
.format-media.tall img { width: min(100%, 340px); border: 10px solid #fff; }
.rec { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.slide.is-active .rec { animation: blink 1.2s steps(2) infinite; }
.social-row { display: flex; gap: 10px; margin: 18px 0 20px; }
.social-row svg, .social-row a { width: 40px; height: 40px; }
.social-row svg { padding: 9px; border-radius: 50%; background: var(--dark-ink); color: #fff; transition: transform .25s var(--ease), background .25s; }
.s-format:not(.light) .social-row svg { background: #fff; color: var(--dark-ink); }
.social-row a:hover svg, .social-row svg:hover { transform: translateY(-3px); background: var(--red); color: #fff; }
.freq > .social-row.inline { display: flex; flex-direction: row; margin: 0; align-self: end; }
.freq { display: flex; gap: clamp(20px, 4vw, 60px); padding-top: 16px; border-top: 1px solid rgba(128, 128, 128, .35); }
.freq > div { display: grid; }
.freq small { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.freq b { font-family: var(--sans); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.freq > div > span { font-size: .78rem; color: var(--muted); }
.slide.light .freq > div > span { color: #6b6a70; }
.big-bullets li { margin-bottom: 16px; font-size: clamp(1rem, 1.4vw, 1.2rem); }

/* Teléfono */
.phone { position: relative; justify-self: center; display: block; width: clamp(220px, 22vw, 300px); padding: 12px; border-radius: 38px; background: #050506; border: 2px solid #3a3a42; box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px #000; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 12px; background: #050506; z-index: 3; }
.phone-screen { position: relative; display: block; overflow: hidden; border-radius: 28px; aspect-ratio: 9 / 18.5; background: #111; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .phone { animation: float 5s ease-in-out infinite alternate 1s; }
.tap { position: absolute; right: -14px; bottom: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: .74rem; font-weight: 800; box-shadow: 0 10px 30px rgba(229, 34, 47, .5); z-index: 4; }
.tap svg { width: 18px; height: 18px; }
.slide.is-active .tap { animation: pulse 1.8s ease-in-out infinite; }
.story-bars { position: absolute; left: 12px; right: 12px; top: 14px; z-index: 2; display: flex; gap: 4px; }
.story-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.story-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide.is-active .story-bars i::after { animation: story 9s linear infinite; }
.slide.is-active .story-bars i:nth-child(2)::after { animation-name: story2; }
.slide.is-active .story-bars i:nth-child(3)::after { animation-name: story3; }

/* Pila de carrusel */
.stack { position: relative; justify-self: center; width: clamp(240px, 26vw, 360px); aspect-ratio: 4 / 5; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.slide.is-active .stack img { transition: transform .9s var(--ease-out), opacity .8s, z-index 0s; }
.slide.is-active .stack img[data-pos="0"] { transform: translateX(0) rotate(0); z-index: 3; }
.slide.is-active .stack img[data-pos="1"] { transform: translateX(22%) rotate(6deg) scale(.92); z-index: 2; }
.slide.is-active .stack img[data-pos="2"] { transform: translateX(-22%) rotate(-6deg) scale(.92); z-index: 1; }
.stack .tap { bottom: -14px; }

/* ---------- 17 Contacto ---------- */
.s-contact { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; background: #1a1a1f; }
.contact-panel { order: -1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar-h) + 20px) clamp(24px, 4vw, 60px) 96px var(--pad-x); }
.contact-photo { position: relative; overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) brightness(.85); }
.slide.is-active .contact-photo img { animation: kenburns 18s ease-out forwards; }
.contact-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1a1a1f, transparent 35%); }
.contact-logo { width: 170px; height: auto; margin-bottom: 30px; }
.contact-title { margin: 0; line-height: .92; text-transform: uppercase; }
.contact-title span { display: block; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-family: var(--sans); font-weight: 800; }
.contact-title .serif-light { font-size: clamp(3rem, 6.4vw, 5.6rem); text-transform: uppercase; }
.contact-title .red { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.contact-card { margin-top: 22px; padding: 20px 22px; border-left: 3px solid var(--red); background: rgba(255, 255, 255, .04); }
.contact-name { font-size: 1.6rem; font-style: italic; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cta { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: .86rem; transition: background .2s, transform .2s var(--ease); }
.cta svg { width: 20px; height: 20px; }
.cta:hover { background: var(--red-2); transform: translateY(-2px); }
.cta.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .3); }
.cta.ghost:hover { border-color: var(--red); background: rgba(229, 34, 47, .15); }
.contact-foot { margin-top: 26px; font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.contact-foot a { color: var(--ink); }

/* ---------- Keyframes ---------- */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes wave { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes eq { from { height: 18%; } to { height: 100%; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes drift { from { transform: translate(-50%, -50%) rotate(-4deg); } to { transform: translate(-45%, -52%) rotate(4deg); } }
@keyframes mapglow { from { filter: brightness(.9) saturate(1); transform: scale(1); } to { filter: brightness(1.25) saturate(1.3); transform: scale(1.04); } }
@keyframes sway { from { transform: scale(1.05) rotate(-1deg); } to { transform: scale(1.1) rotate(1deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes story { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes story2 { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes story3 { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .community-grid { grid-template-columns: 1fr 1fr; }
  .kpi-right { grid-column: 1 / -1; text-align: left; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .coverage { display: none; }
  .shows-grid { grid-template-columns: 1fr 1fr; }
  .summary { grid-column: 1 / -1; }
  .show figure { max-height: 40vh; }
}

@media (max-width: 860px) {
  :root { --bar-h: 58px; }
  .deck { scroll-snap-type: y proximity; }
  .slide { scroll-snap-stop: normal; align-items: flex-start; }
  .slide-inner { padding: calc(var(--bar-h) + 24px) var(--pad-x) 100px; }
  .split { grid-template-columns: 1fr; }
  .mk-dots { display: none; }
  .mk-arrows button { width: 44px; height: 44px; }
  .mk-btn span { display: none; }

  .cover-media { inset: 0; }
  .cover-media::after { background: linear-gradient(0deg, #121215 25%, rgba(18, 18, 21, .7) 60%, rgba(18, 18, 21, .35)); }
  .s-cover { align-items: flex-end; }
  .cover-logo { margin-bottom: 24px; }

  .photo img { aspect-ratio: 4 / 3; }
  .photo-redline::before { left: 0; top: -10px; bottom: auto; width: 60px; height: 5px; }
  .big-years { display: none; }

  .community-grid { grid-template-columns: 1fr; }
  .platforms li { grid-template-columns: 34px 1fr 74px; }
  .kpi-right { text-align: left; }

  .watermark { font-size: 50vh; }

  .audience-grid { grid-template-columns: 1fr; }
  .audience-map img { object-position: 75% 50%; }
  .audience-map::after { background: linear-gradient(180deg, rgba(13, 13, 16, .6), rgba(13, 13, 16, .95) 40%); }

  .s-radio .slide-inner { padding-right: var(--pad-x); }
  .radio-photo { width: 100%; height: 46vh; bottom: auto; opacity: .22; }
  .radio-photo::after { background: linear-gradient(0deg, #0e0e11, transparent); }
  .radio-kpis { flex-direction: column; gap: 14px; }

  .s-yourbrand { align-items: flex-end; }
  .yb-card { max-width: none; }

  .shows-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .show figure { max-height: 34vh; }
  .show-foot { flex-direction: column; align-items: flex-start; }
  .show-kpi { text-align: left; font-size: 1.2rem; }
  .blob { width: 40vw; height: 40vw; }

  .s-sport { grid-template-columns: 1fr; }
  .sport-photo { height: 40vh; }
  .sport-panel { padding: 26px var(--pad-x) 100px; }

  .format-media, .phone, .stack { order: 2; }
  .format-media img { max-height: 55vh; }
  .phone { width: min(70vw, 260px); }
  .stack { width: min(70vw, 300px); margin: 10px auto 20px; }
  .freq { flex-wrap: wrap; }

  .s-contact { grid-template-columns: 1fr; }
  .contact-photo { position: absolute; inset: 0; opacity: .16; }
  .contact-panel { position: relative; z-index: 2; padding: calc(var(--bar-h) + 24px) var(--pad-x) 100px; }
}

@media (max-height: 760px) and (min-width: 861px) {
  .slide-inner { padding-top: calc(var(--bar-h) + 8px); padding-bottom: 70px; }
  .h-big { font-size: clamp(2.2rem, 5vw, 4.4rem); }
  .wave { height: 34px; margin-bottom: 14px; }
  .body { margin-bottom: 10px; }
  .show figure { max-height: 44vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .deck { scroll-behavior: auto; }
}

@media print {
  body { overflow: visible; }
  .mk-bar, .mk-dots, .mk-arrows { display: none; }
  .deck { height: auto; overflow: visible; }
  .slide { page-break-after: always; min-height: 100vh; }
  [data-a] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
