/* Stereo Vida 102.3 FM — estilos
   Estructura y estilo inspirados en la plantilla de referencia (layout, bloques y tipografía);
   colores de la marca. Tipografías alojadas en el sitio (Bricolage Grotesque y Manrope, licencia OFL). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colores de marca (ver plan §4b) */
  --aqua: #00f9d2;
  --yellow: #f3ff22;
  --blue: #0089f7;
  --bg: #13162f;          /* fondo de página (marino del encabezado del sitio actual) */
  --bg-deep: #0d1024;
  --card: #1b2156;        /* tarjetas: marino de títulos aclarado para que se distingan del fondo */
  --card-2: #232a66;
  --ink: #0b0e24;         /* texto sobre aqua y amarillo */
  --text: #d7dbf5;
  --muted: #a3a9d4;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .22);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 20px;
  --r-img: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --player-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.7 var(--font-body);
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: #fff; margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--aqua); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Íconos */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.i-fill { fill: currentColor; stroke: none; }
.ic-pause, .ic-load { display: none; }
.is-playing > .ic-play, .is-playing .ic-play { display: none; }
.is-playing > .ic-pause, .is-playing .ic-pause { display: inline-flex; }
.is-loading .ic-play, .is-loading .ic-pause { display: none !important; }
.is-loading .ic-load { display: inline-block; width: 1.2em; height: 1.2em; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.ic-play, .ic-pause { display: inline-flex; align-items: center; }
.ic-pause { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn--primary { background: var(--aqua); color: var(--ink); box-shadow: 0 8px 32px rgba(0, 249, 210, .4); }
.btn--primary:hover { box-shadow: 0 10px 38px rgba(0, 249, 210, .55); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--white { background: #fff; color: #10142e; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: inline-grid; place-items: center; cursor: pointer; color: #fff; transition: background .2s, border-color .2s; }
.round-btn:hover { background: rgba(255, 255, 255, .1); border-color: var(--aqua); }

.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .8rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .78rem; line-height: 1.4; letter-spacing: .01em; }
.chip .i { width: 1em; height: 1em; }
.chip--live { background: var(--aqua); }
.chip--soft { background: rgba(19, 22, 47, .82); color: #fff; backdrop-filter: blur(6px); }
.pulse { width: .55em; height: .55em; border-radius: 50%; background: currentColor; display: inline-block; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 .55em transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(19, 22, 47, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 1.4rem; margin-inline: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--text); padding: .4rem .1rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-color: var(--aqua); }
.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; place-items: center; cursor: pointer; color: #fff; }

/* Portada */
.hero { position: relative; }
.hero__track { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; transition: height .35s ease; }
.hero__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(460px, 62vh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 22, 47, .15) 0%, rgba(19, 22, 47, .55) 55%, var(--bg) 100%), linear-gradient(90deg, rgba(19, 22, 47, .85) 0%, rgba(19, 22, 47, 0) 65%); }
.slide__body { position: relative; padding-block: 48px 76px; display: grid; gap: 1rem; justify-items: start; }
.slide__title { font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.05; max-width: 16ch; }
.slide__meta { font-size: 1.05rem; color: #fff; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.slide__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.slide__meta .i { color: var(--aqua); }
.slide__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.slide--brand { background: radial-gradient(900px 500px at 82% 30%, rgba(0, 249, 210, .22), transparent 60%), radial-gradient(700px 480px at 12% 90%, rgba(0, 137, 247, .22), transparent 60%), linear-gradient(180deg, #181c42 0%, var(--bg) 100%); align-items: center; }
.slide--brand .slide__body { grid-template-columns: 1.3fr .8fr; align-items: center; justify-items: stretch; padding-block: 56px 80px; gap: 2rem; }
.brand-copy { display: grid; gap: 1.1rem; justify-items: start; }
.brand-copy h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.04; }
.brand-copy h1 em { font-style: normal; color: var(--aqua); }
.brand-copy p { font-size: 1.1rem; max-width: 54ch; color: var(--text); }
.brand-desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.brand-logo { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 20px 50px rgba(0, 249, 210, .25)); transform: rotate(-3deg); }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; margin-inline: auto; }
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: .5rem; }
.dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .25s, background .25s; }
.dot[aria-selected="true"] { width: 30px; background: var(--aqua); }
.hero__arrows { display: flex; gap: .6rem; }

/* Banners */
.ad-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.banner-b { padding: 28px var(--gutter) 0; display: grid; justify-items: center; gap: 6px; }
.banner-b a { display: block; width: min(300px, 100%); border-radius: var(--r-img); overflow: hidden; background: #fff; }
.banner-b img { width: 100%; aspect-ratio: 1; object-fit: contain; }

/* Secciones */
.section { padding-block: clamp(48px, 8vw, 96px) 0; }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(24px, 4vw, 40px); }
.eyebrow { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: .9rem; color: #fff; }
.eyebrow__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--aqua); color: var(--ink); display: inline-grid; place-items: center; }
.eyebrow__icon .i { width: 18px; height: 18px; }
.eyebrow__line { flex: 1; height: 1px; background: var(--line-strong); }
.section-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.section-head p { max-width: 62ch; color: var(--muted); }
.note { font-size: .85rem; border-left: 3px solid var(--yellow); padding-left: .8rem; }
.section-title-center { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 28px; }
.section-title-center span { flex: 1; height: 1px; background: var(--line-strong); }
.section-title-center h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); text-align: center; }
.carousel-btns { display: flex; gap: .5rem; }

/* Tarjetas */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: grid; gap: .75rem; align-content: start; min-width: 0; }
.card__media { position: relative; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 1; background: var(--bg-deep); }
.card__media > img { width: 100%; height: 100%; object-fit: cover; }
.card__media .chip { position: absolute; top: 12px; left: 12px; }
.card__play { position: absolute; left: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: #10142e; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 6px rgba(255, 255, 255, .28); transition: transform .15s ease; }
.card__play:hover { transform: scale(1.06); }
.card__play .i { width: 22px; height: 22px; }
.card__play.is-playing { background: var(--aqua); box-shadow: 0 0 0 6px rgba(0, 249, 210, .3); }
.card__tag { color: var(--yellow); font-weight: 800; font-size: .85rem; }
.card__tag::before { content: "# "; opacity: .8; }
.card__title { font-size: 1.25rem; line-height: 1.3; overflow-wrap: anywhere; }
.infobox { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: .55rem .9rem; border: 1px solid var(--line-strong); border-radius: 14px; font-size: .85rem; color: #fff; }
.infobox span { display: inline-flex; align-items: center; gap: .45rem; }
.infobox .i { color: var(--yellow); width: 1.1em; height: 1.1em; }
.card__link { text-decoration: none; display: contents; }
.card--click { cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.card--click:hover { transform: translateY(-3px); border-color: rgba(0, 249, 210, .5); }
.sponsor-line { font-size: .78rem; color: var(--muted); }
.sponsor-line a { color: #fff; text-underline-offset: 3px; }

/* En vivo (anterior, ahora, siguiente) */
.live-row { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: 20px; align-items: center; }
.card--prev, .card--next { opacity: .82; }
.card--live { border-color: var(--aqua); box-shadow: 0 0 0 1px rgba(0, 249, 210, .45), 0 24px 70px rgba(0, 249, 210, .2); padding: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.card--live .card__title { font-size: 1.5rem; }

/* Carruseles */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.news-card { display: grid; gap: .75rem; text-decoration: none; }
.news-card .card__media { aspect-ratio: 16 / 9; }
.news-card .chip { background: rgba(19, 22, 47, .85); color: #fff; }

/* Rejillas */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid--5 .card { padding: 12px; }
.grid--5 .card__title { font-size: 1.05rem; }
.card--now { border-color: var(--aqua); box-shadow: 0 0 0 1px rgba(0, 249, 210, .4); }

/* Horario */
.day-tabs { display: none; gap: .5rem; overflow-x: auto; padding-bottom: 8px; margin-bottom: 14px; scrollbar-width: none; position: relative; }
.day-tab { flex: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 800; cursor: pointer; }
.day-tab[aria-selected="true"] { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; display: grid; gap: 8px; align-content: start; }
.day--today { border-color: rgba(0, 249, 210, .55); }
.day h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 6px; border-bottom: 1px solid var(--line); }
.day h3 small { font: 800 .65rem var(--font-body); background: var(--yellow); color: var(--ink); padding: .1rem .5rem; border-radius: 999px; }
.slot { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; }
.slot b { color: #fff; font-size: .88rem; line-height: 1.25; }
.slot span { font-size: .72rem; color: var(--muted); }
.slot--music { background: transparent; }
.slot--music b { font-weight: 600; color: var(--muted); }
.slot--now { background: rgba(0, 249, 210, .14); border-color: var(--aqua); }
.slot--now span { color: var(--aqua); font-weight: 800; }

/* Contacto */
.cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: linear-gradient(120deg, #0a8f8a 0%, #05425b 55%, var(--card) 100%); border: 1px solid var(--line); }
.cta__main, .cta__social { padding: clamp(24px, 4vw, 48px); display: grid; gap: 1rem; align-content: center; justify-items: start; }
.cta__main h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta__main p { color: #e9ffff; max-width: 46ch; }
.cta__social { background: rgba(10, 13, 36, .35); }
.cta__social h3 { font-size: 1.3rem; }
.social { display: flex; flex-wrap: wrap; gap: .7rem; }
.social a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .06); transition: background .2s, border-color .2s, transform .15s; }
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); transform: translateY(-2px); }
.social .i { width: 24px; height: 24px; }

/* Pie */
.site-footer { margin-top: clamp(56px, 9vw, 110px); background: #101015; border-top: 1px solid var(--line); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand { display: grid; gap: .6rem; justify-items: start; }
.footer-tagline { font: 700 1.2rem var(--font-display); color: #fff; }
.site-footer h3 { font-size: 1rem; margin-bottom: .8rem; }
.site-footer nav { display: grid; gap: .5rem; align-content: start; }
.site-footer nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* Reproductor fijo */
.player { position: fixed; inset: auto 0 0 0; z-index: 60; background: rgba(13, 16, 36, .94); backdrop-filter: blur(16px); border-top: 1px solid var(--line-strong); padding-bottom: env(safe-area-inset-bottom); }
.player__row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 16px; align-items: center; min-height: var(--player-h); }
.player__meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player__thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--bg); flex: none; }
.player__text { display: grid; min-width: 0; line-height: 1.3; }
.player__label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); display: inline-flex; align-items: center; gap: .45rem; }
.player__title { color: #fff; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player__controls { display: flex; align-items: center; gap: 10px; }
.player__main { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--aqua); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 24px rgba(0, 249, 210, .45); transition: transform .15s; }
.player__main:hover { transform: scale(1.06); }
.player__main .i { width: 24px; height: 24px; }
.player__btn { min-width: 46px; height: 38px; padding: 0 .6rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 800; font-size: .8rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.player__btn:hover { border-color: var(--aqua); }
.player__side { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.player__vol { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }
.player__vol input { width: 110px; accent-color: var(--aqua); }
.player__progress { position: absolute; left: 0; right: 0; top: -9px; height: 18px; display: flex; align-items: center; }
.player__progress input { width: 100%; margin: 0; height: 18px; accent-color: var(--aqua); background: transparent; cursor: pointer; }
.player[data-mode="live"] .only-episode { display: none; }
.player[data-mode="episode"] .player__label { color: var(--yellow); }

/* Adaptación a pantallas más pequeñas */
@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(4, 1fr); }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .track { grid-auto-columns: calc((100% - 20px) / 2); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
  .slide--brand .slide__body { grid-template-columns: 1fr; }
  .brand-logo { width: min(60%, 260px); order: -1; justify-self: start; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; background: rgba(13, 16, 36, .98); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-toggle { display: inline-grid; }
  .site-header__row { gap: .8rem; }
  .brand { margin-right: auto; }
}
@media (max-width: 760px) {
  :root { --player-h: 76px; }
  .live-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; scrollbar-width: none; align-items: stretch; }
  .live-row::-webkit-scrollbar { display: none; }
  .live-row > * { scroll-snap-align: center; }
  .card--live { order: 0; }
  .track { grid-auto-columns: 82%; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .day-tabs { display: flex; }
  .week { grid-template-columns: 1fr; }
  .day { display: none; }
  .day.is-active { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header__actions .btn { display: none; }
  .player__row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .player__side { display: none; }
  .player__btn.only-episode { min-width: 40px; height: 34px; font-size: .72rem; }
  .player__controls { gap: 6px; }
  .player__main { width: 50px; height: 50px; }
  .slide { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Top 10: video a la izquierda, lista con scroll a la derecha ---------- */
.top10 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.top10__main { display: grid; gap: 12px; align-content: start; min-width: 0; }
.top10__stage { position: relative; border-radius: var(--r-card); overflow: hidden; background: #000; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.top10__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000; display: block; text-align: left; }
.poster img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.poster__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 40%, rgba(11, 14, 36, .92) 100%); }
.poster__chip { position: absolute; top: 16px; left: 16px; }
.poster__title { position: absolute; left: 20px; right: 96px; bottom: 18px; display: grid; gap: 2px; color: #fff; }
.poster__title strong { font: 700 clamp(1.3rem, 2.6vw, 2rem)/1.1 var(--font-display); }
.poster__title span { color: var(--text); font-size: .95rem; }
.poster__play { position: absolute; right: 18px; bottom: 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--aqua); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 32px rgba(0, 249, 210, .5); transition: transform .15s; }
.poster:hover .poster__play { transform: scale(1.08); }
.poster__play .i { width: 28px; height: 28px; }
.top10__caption { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.top10__caption b { color: #fff; }
.top10__caption a { color: var(--aqua); text-decoration: none; font-weight: 800; display: inline-flex; gap: .4rem; align-items: center; }
.top10__listwrap { position: relative; min-height: 280px; }
.top10__listwrap::after { content: ""; position: absolute; left: 0; right: 8px; bottom: 0; height: 64px; pointer-events: none; background: linear-gradient(180deg, rgba(19, 22, 47, 0), var(--bg)); }
.top10__list { list-style: none; margin: 0; padding: 0 8px 44px 0; position: absolute; inset: 0; overflow-y: auto; display: grid; gap: 10px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; scroll-snap-type: y proximity; }
.top10__item { display: grid; grid-template-columns: 30px 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; width: 100%; text-align: left; scroll-snap-align: start; transition: border-color .2s, background .2s; }
.top10__item:hover, .top10__item[aria-current="true"] { border-color: var(--aqua); background: var(--card-2); }
.top10__item > .i { width: 1.1em; color: var(--aqua); }
.top10__n { font: 800 1.35rem/1 var(--font-display); color: var(--yellow); text-align: center; }
.top10__thumb { width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; background: var(--bg-deep); }
.top10__txt { display: grid; min-width: 0; line-height: 1.3; }
.top10__t { font-weight: 800; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top10__a { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Páginas internas (podcast, locutores) ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 0; background: radial-gradient(900px 400px at 85% 0%, rgba(0, 249, 210, .14), transparent 60%); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--aqua); }
.lead { font-size: 1.1rem; max-width: 60ch; color: var(--text); margin-top: .8rem; }
.pod-head { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.pod-head__cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-strong); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.pod-head__info { display: grid; gap: 1rem; justify-items: start; }
.pod-head__info .lead { margin: 0; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: .45rem 1rem; border-radius: 999px; font-weight: 800; font-size: .85rem; cursor: pointer; color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--aqua); color: var(--ink); }
.eps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s; }
.ep:hover { border-color: rgba(0, 249, 210, .5); }
.ep__play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: #10142e; display: grid; place-items: center; cursor: pointer; flex: none; }
.ep__play.is-playing { background: var(--aqua); }
.ep__t { font: 700 1.1rem/1.3 var(--font-display); color: #fff; overflow-wrap: anywhere; }
.ep__m { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.chip--sm { font-size: .68rem; padding: .08rem .55rem; vertical-align: middle; margin-left: .4rem; }
.bios { display: grid; gap: clamp(32px, 5vw, 64px); }
.bio { display: grid; grid-template-columns: minmax(180px, 340px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; scroll-margin-top: 96px; }
.bio__photo { position: sticky; top: 100px; border-radius: 24px; overflow: hidden; aspect-ratio: 1; background: var(--bg-deep); border: 1px solid var(--line); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio__photo .chip { position: absolute; left: 14px; bottom: 14px; }
.bio__body { display: grid; gap: 1rem; justify-items: start; max-width: 70ch; }
.bio__body h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.bio__tagline { font: 700 1.25rem/1.4 var(--font-display); color: var(--aqua); }
.card__more { color: var(--aqua); font-weight: 800; font-size: .88rem; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.card__more:hover { text-decoration: underline; }
a.card__tag { text-decoration: none; }
a.card__tag:hover { text-decoration: underline; }
a.card--click { color: inherit; text-decoration: none; }
.notfound { display: grid; gap: 1rem; justify-items: start; padding-block: 60px; }

/* Slider: evento solo con imagen (el cartel ya trae el texto) */
.slide--image { min-height: 0; align-items: flex-start; justify-content: center; padding-bottom: 72px; background: var(--bg-deep); isolation: isolate; }
.slide--image::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--poster) center / cover; filter: blur(28px) brightness(.55) saturate(1.3); }
.slide--image .slide__img { position: relative; width: 100%; height: auto; object-fit: contain; }

/* Aviso emergente */
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; background: #fff; color: #10142e; padding: .8rem 1.2rem; border-radius: 14px; font-weight: 700; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); max-width: min(92vw, 520px); text-align: center; }

@media (max-width: 960px) {
  .top10 { grid-template-columns: 1fr; }
  .top10__listwrap { min-height: 0; height: 400px; }
  .pod-head { grid-template-columns: 1fr; }
  .pod-head__cover { max-width: 260px; }
  .bio { grid-template-columns: 1fr; }
  .bio__photo { position: relative; top: 0; max-width: 360px; }
}
@media (max-width: 760px) {
  .top10__item { grid-template-columns: 26px 84px minmax(0, 1fr); }
  .top10__item > .i { display: none; }
  .top10__thumb { width: 84px; }
  .poster__title { right: 84px; }
  .poster__play { width: 54px; height: 54px; }
}

/* ---------- Segunda ronda de ajustes ---------- */
/* Últimos episodios: un episodio de cada uno de 4 podcasts distintos, en una fila */
#eps-track { grid-auto-columns: calc((100% - 60px) / 4); }
@media (min-width: 1001px) { [data-carousel="eps-track"] { display: none; } }
@media (max-width: 1000px) { #eps-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 760px) { #eps-track { grid-auto-columns: 82%; } }

/* Top 10: el botón de play va al centro del video */
.poster__title { right: 20px; }
.poster__play { right: auto; bottom: auto; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); }
.poster:hover .poster__play { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 760px) { .poster__play { width: 60px; height: 60px; } }

/* Programas: fichas cuadradas; al pasar el mouse se oscurecen y muestran nombre, hora y días */
.prog { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--bg-deep); border: 1px solid var(--line); isolation: isolate; }
.prog img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prog::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(9, 12, 32, .74); opacity: 0; transition: opacity .25s ease; }
.prog__info { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: .55rem; padding: 16px; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.prog__info h3 { font-size: clamp(1.05rem, 1.7vw, 1.4rem); }
.prog__info span { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: #fff; font-weight: 700; }
.prog__info .i { color: var(--yellow); width: 1.1em; height: 1.1em; }
.prog__now { position: absolute; top: 12px; left: 12px; z-index: 3; }
.prog:hover img, .prog:focus-visible img { transform: scale(1.05); }
.prog:hover::after, .prog:focus-visible::after { opacity: 1; }
.prog:hover .prog__info, .prog:focus-visible .prog__info { opacity: 1; transform: none; }
.prog--now { border-color: var(--aqua); box-shadow: 0 0 0 1px rgba(0, 249, 210, .4); }
@media (hover: none) { /* sin mouse no hay "pasar encima": la información queda visible abajo */
  .prog::after { opacity: 1; background: linear-gradient(180deg, rgba(9, 12, 32, 0) 38%, rgba(9, 12, 32, .92) 100%); }
  .prog__info { opacity: 1; transform: none; place-content: end center; padding-bottom: 12px; gap: .25rem; }
  .prog__info h3 { font-size: 1rem; }
  .prog__info span { font-size: .78rem; }
}

@media (max-width: 560px) { .prog__info { padding: 10px; } .prog__info h3 { font-size: 1rem; } .prog__info span { font-size: .78rem; } }

/* Player: banner leaderboard entre los datos y los controles */
.player__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto minmax(0, .75fr); grid-template-areas: "meta ad controls side"; }
.player__meta { grid-area: meta; }
.player__ad { grid-area: ad; justify-self: center; display: grid; align-items: center; min-width: 0; max-width: 100%; }
.player__ad a { display: block; line-height: 0; }
.player__ad img { height: 56px; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.player__controls { grid-area: controls; }
.player__side { grid-area: side; }
@media (max-width: 1180px) {
  .player__row { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); grid-template-areas: "meta controls side"; }
  .player__ad { display: none; }
}
@media (max-width: 760px) { .player__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta controls"; } }

/* Aviso cuando el navegador no deja iniciar el sonido solo */
.autoplay-hint { position: fixed; left: 50%; bottom: calc(var(--player-h) + 18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border: 0; border-radius: 999px; background: var(--aqua); color: var(--ink); font-weight: 800; font-size: .95rem; cursor: pointer; box-shadow: 0 10px 40px rgba(0, 249, 210, .55); animation: bob 2.2s ease-in-out infinite; max-width: calc(100vw - 32px); white-space: nowrap; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } }

/* Nota de noticias dentro del sitio */
.news-wrap { max-width: 820px; }
.news-wrap h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.news-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.news-body p { font-size: 1.08rem; line-height: 1.8; margin: 0 0 1.2rem; color: var(--text); }
.news-body h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.news-fig { margin: 0 0 1.8rem; }
.news-fig img { width: 100%; height: auto; border-radius: var(--r-card); aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-deep); }
.news-fig figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.credit { margin-top: 2rem; padding: 20px 22px; border: 1px solid var(--line-strong); border-left: 4px solid var(--yellow); border-radius: 14px; background: var(--card); display: grid; gap: 1rem; justify-items: start; }
.credit p { margin: 0 !important; font-size: .98rem !important; }

/* ===== Cuarta ronda: carrusel de programas y player más grande ===== */
:root { --player-h: 108px; }

/* Carrusel de programas: una fila, 5 a la vista */
.marquee { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; margin-inline: -4px; padding: 4px; }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; gap: 16px; width: 100%; will-change: transform; }
.marquee__track > .prog { flex: 0 0 calc((100% - 4 * 16px) / 5); }
@media (max-width: 1000px) { .marquee__track > .prog { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 560px) { .marquee__track { gap: 12px; } .marquee__track > .prog { flex-basis: calc((100% - 12px) / 2.2); } }

/* Player */
.player > .container { width: min(100% - 2 * var(--gutter), 1600px); }
.player__row { grid-template-columns: auto minmax(0, 1.7fr) minmax(0, 1fr) auto auto; grid-template-areas: "logo meta ad controls side"; gap: 20px; }
.player__logo { grid-area: logo; display: block; padding-right: 20px; border-right: 1px solid var(--line-strong); line-height: 0; }
.player__logo img { width: 74px; height: auto; }
.player__meta { gap: 16px; }
.player__thumb { width: 84px; height: 84px; border-radius: 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.player__text { gap: 2px; }
.player__labelrow { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .8rem; min-width: 0; }
.player__range { font-size: .86rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.player__title { font-family: var(--font-display, 'Bricolage Grotesque', sans-serif); font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.15; letter-spacing: -.01em; }
.player__label { font-size: .74rem; }

/* «A continuación»: más oscuro, se aviva al pasar el mouse */
.player__next { display: grid; gap: 1px; min-width: 0; margin-left: 4px; padding: .5rem .9rem; border-left: 2px solid var(--line-strong); border-radius: 0 12px 12px 0; opacity: .42; transition: opacity .2s ease, background .2s ease, border-color .2s ease; cursor: default; }
.player__next:hover { opacity: 1; background: rgba(255, 255, 255, .06); border-color: var(--aqua); }
.player__next-label { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.player__next strong { color: #fff; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__next span:last-child { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player[data-mode="episode"] .only-live { display: none; }

/* Botón principal con barras de audio detrás */
.player__play { position: relative; display: grid; place-items: center; width: 64px; height: 64px; }
.player__main { position: relative; z-index: 1; width: 64px; height: 64px; }
.eq { position: absolute; z-index: 0; left: 50%; top: 50%; width: 138px; height: 64px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: space-between; pointer-events: none; opacity: .8; }
.eq i { display: block; width: 5px; height: 64px; border-radius: 3px; background: linear-gradient(180deg, var(--yellow), #ffd60a); transform: scaleY(.14); transform-origin: center; transition: transform .35s ease; }
.player__play.is-playing .eq i { animation: eq calc(var(--t, 1s) * .42) ease-in-out calc(var(--d, 0s) * .4) infinite alternate; }
@keyframes eq { 0% { transform: scaleY(.18); } 100% { transform: scaleY(var(--h, .8)); } }
.player__controls { gap: 14px; }
.player__side { padding-left: 48px; }
.player__side .btn { white-space: nowrap; }
.player__controls .player__btn { position: relative; z-index: 1; background: #0f1330; }
.player[data-mode="episode"] .eq { width: 124px; }
.player__logo, .player__meta, .player__next { min-width: 0; }

@media (max-width: 1280px) {
  .player__row { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo meta controls side"; }
  .player__ad { display: none; }
}
@media (max-width: 980px) {
  .player__next { display: none; }
  .eq { width: 148px; }
}
@media (max-width: 760px) {
  :root { --player-h: 88px; }
  .player__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "meta controls"; gap: 10px; }
  .player__logo { display: none; }
  .player__thumb { width: 60px; height: 60px; border-radius: 12px; }
  .player__title { font-size: 1.1rem; }
  .player__play, .player__main { width: 54px; height: 54px; }
  .eq { width: 86px; height: 54px; }
  .player[data-mode="episode"] .eq { width: 86px; }
  .eq i { height: 54px; width: 4px; }
  .eq i:nth-child(-n+3), .eq i:nth-last-child(-n+3) { display: none; }
  .player__controls { gap: 8px; }
}
.player__labelrow { flex-wrap: nowrap; }
.player[data-mode="episode"] .player__label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Anuncios propios (cuando no hay publicidad contratada) */
a.house-ad { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 14px; border-radius: 10px; color: #fff; text-decoration: none; background: linear-gradient(100deg, #1b2156 0%, #0b4b6e 100%); border: 1px solid var(--line-strong); max-width: 100%; transition: border-color .2s, transform .2s; }
a.house-ad:hover { border-color: var(--aqua); transform: translateY(-1px); }
.house-ad__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--aqua); color: var(--ink); }
.house-ad__ic .i { width: 18px; height: 18px; }
.house-ad__txt { display: grid; min-width: 0; line-height: 1.25; }
.house-ad__txt strong { font-family: var(--font-display); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.house-ad__txt span { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-b a.house-ad--square { width: min(300px, 100%); height: auto; aspect-ratio: 1; flex-direction: column; justify-content: center; text-align: center; gap: 14px; padding: 24px; background: linear-gradient(160deg, #1b2156 0%, #0b4b6e 100%); border-radius: var(--r-img); }
.house-ad--square .house-ad__ic { width: 64px; height: 64px; }
.house-ad--square .house-ad__ic .i { width: 32px; height: 32px; }
.house-ad--square .house-ad__txt strong { font-size: 1.4rem; white-space: normal; }
.house-ad--square .house-ad__txt span { font-size: .9rem; white-space: normal; }

/* ===== Slider en teléfono: cada diapositiva tiene una caja de imagen del mismo tamaño (6:5) =====
   Los carteles anchos de conciertos se recortan por ahora; el panel tendrá un banner web y otro móvil. */
@media (max-width: 760px) {
  .slide--brand .slide__body { padding-block: 0 84px; gap: 1.1rem; }
  .brand-logo { order: -1; justify-self: stretch; width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 6 / 5; object-fit: contain; padding: 22px 26px; transform: none; filter: drop-shadow(0 16px 40px rgba(0, 249, 210, .28)); }
  .slide--image { padding-bottom: 0; align-items: stretch; }
  .slide--image::before { display: none; }
  .slide--image .slide__img { aspect-ratio: 6 / 5; height: auto; object-fit: cover; object-position: center; }
  .slide--image::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(180deg, transparent, rgba(19, 22, 47, .85)); pointer-events: none; }
}

/* ===== Slider de portada: solo imágenes ===== */
.slide--banner { min-height: 0; display: block; background: var(--bg-deep); }
.slide--banner a, .slide--banner picture { display: block; }
.slide--banner img { display: block; width: 100%; height: auto; aspect-ratio: 1926 / 817; max-height: 72vh; object-fit: cover; object-position: var(--focus, 50%) 50%; }
.slide--banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(180deg, transparent, rgba(19, 22, 47, .8)); pointer-events: none; }
@media (max-width: 760px) {
  .slide--banner img { aspect-ratio: 6 / 5; max-height: none; }
  .slide--banner.has-mobile img { aspect-ratio: auto; }
}

/* ===== Instalar como app ===== */
.nav__install { display: none; }
.install { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: linear-gradient(120deg, #123a5c 0%, #1b2156 70%); border: 1px solid var(--line-strong); }
.install__icon { flex: none; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 28px rgba(0, 0, 0, .4); }
.install__txt { flex: 1; min-width: 0; display: grid; gap: .3rem; }
.install__txt h2 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.install__txt p { color: var(--muted); }
.install .btn { flex: none; }
@media (max-width: 640px) { .install { flex-direction: column; align-items: flex-start; } .install .btn { width: 100%; justify-content: center; } }
@media (max-width: 1100px) { .nav .nav__install:not([hidden]) { display: block; color: var(--aqua); } }
.dialog { width: min(92vw, 440px); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: #181c42; color: var(--text); box-shadow: 0 30px 90px rgba(0, 0, 0, .65); }
.dialog::backdrop { background: rgba(6, 8, 22, .72); backdrop-filter: blur(4px); }
.dialog form { display: grid; gap: 1.1rem; padding: 26px; }
.dialog h2 { font-size: 1.45rem; }
.dialog__steps { display: grid; gap: .8rem; padding-left: 1.3rem; }
.dialog__steps li { padding-left: .3rem; }
.dialog__steps b { color: #fff; }
.dialog .btn { justify-self: stretch; justify-content: center; }
