/* Río FM — sistema visual editorial */
:root {
    color-scheme: dark;
    --bg: #100d19;
    --bg-deep: #0b0912;
    --surface: #191523;
    --surface-raised: #231d30;
    --text: #fbf9ff;
    --muted: #bdb6cb;
    --accent: #64e2dd;
    --accent-hover: #a2f0ed;
    --pink: #e68bbf;
    --live: #ff6474;
    --border: rgba(226, 215, 242, 0.13);
    --border-strong: rgba(226, 215, 242, 0.24);
    --radius: 20px;
    --nav-height: 80px;
    --gutter: clamp(16px, 4vw, 56px);
    --section-space: clamp(56px, 7vw, 96px);
    --heading-gap: clamp(24px, 4vw, 40px);
    --font: 'Montserrat', system-ui, -apple-system, sans-serif;
    --shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--bg-deep); }
.skip-link { position: fixed; z-index: 2000; top: 8px; left: 8px; padding: 12px 16px; background: var(--accent); color: var(--bg-deep); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.section-shell { width: 100%; max-width: 1328px; margin-inline: auto; padding-inline: var(--gutter); }
.site-section { padding-block: var(--section-space); border-top: 1px solid var(--border); }
.section-heading { max-width: 720px; margin-bottom: var(--heading-gap); }
.section-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--accent); font-size: .78rem; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.section-title { color: var(--text); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; }
.section-subtitle { color: var(--muted); font-size: clamp(.98rem, 1.4vw, 1.0625rem); margin-top: 12px; line-height: 1.7; }

/* Botones y acciones */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; max-width: 100%; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; font-size: .92rem; font-weight: 700; line-height: 1.35; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn i { flex-shrink: 0; font-size: 1.15em; }
.btn-primary { background: var(--accent); color: #101c20; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: rgba(255,255,255,.035); border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { background: rgba(255,255,255,.085); border-color: var(--accent); color: var(--accent); }

/* Navegación */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(16,13,25,.79); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: background-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { background: rgba(16,13,25,.94); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.nav-shell { width: 100%; max-width: 1480px; min-height: var(--nav-height); padding: 12px var(--gutter); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar-logo { width: 54px; height: 54px; object-fit: contain; }
.brand-text { font-family: 'Bebas Neue', var(--font); font-size: 1.55rem; line-height: 1; letter-spacing: .08em; white-space: nowrap; }
.brand-text span { font-size: .85em; color: var(--accent); }
.nav-menu, .nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links { list-style: none; padding: 0; margin: 0; }
.nav-link { display: block; padding: 10px 14px; border-radius: 8px; color: var(--muted); font-size: .88rem; font-weight: 600; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.nav-link:hover { color: var(--text); }
.nav-link.active { background: rgba(255,255,255,.07); color: var(--accent); }
.nav-live { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-left: 12px; white-space: nowrap; min-height: 40px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--border-strong); font-size: .88rem; font-weight: 600; color: var(--text); }
.nav-live:hover { border-color: var(--accent); }
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.navbar-toggler { display: none; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.navbar-toggler span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .18s, opacity .18s; }
.navbar-toggler[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero y transmisión: el video es la pieza dominante */
.hero-section { background: linear-gradient(135deg, #171020 0%, #24172e 53%, #110e1b 100%); padding-block: calc(var(--nav-height) + clamp(32px, 5vw, 64px)) clamp(44px, 6vw, 80px); }
.hero-stream-layout { display: grid; align-items: center; grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr); gap: clamp(24px, 3vw, 48px); width: 100%; max-width: 1550px; padding-inline: clamp(16px, 3.2vw, 48px); margin-inline: auto; }
.hero-copy { min-width: 0; }
.hero-logo { width: clamp(112px, 10vw, 152px); height: auto; max-height: 160px; object-fit: contain; margin-bottom: 24px; }
.hero-eyebrow { color: var(--accent); font-weight: 700; font-size: .76rem; line-height: 1.5; letter-spacing: .065em; text-transform: uppercase; margin-bottom: 12px; }
.hero-eyebrow span { color: var(--pink); margin-inline: 3px; }
.hero-title { font-size: clamp(2rem, 3.1vw, 3.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.12; text-wrap: balance; margin-bottom: 16px; }
.hero-subtitle { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.75; max-width: 43ch; }
.hero-social { margin-top: 24px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; font-weight: 600; min-height: 44px; }
.social-link i { font-size: 1.2rem; color: var(--pink); }
.social-link:hover { color: var(--text); }
.hero-stream { min-width: 0; background: #13111c; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.hero-stream-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 8px 14px; }
.radio-player-info, .radio-player-tools { display: flex; align-items: center; min-width: 0; gap: 12px; }
.radio-player-tools { justify-content: flex-end; flex-shrink: 0; }
.radio-player-text { display: flex; flex-direction: column; gap: 2px; }
.radio-player-title { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.radio-player-caption { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.radio-player-status { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--border); background: var(--surface); border-radius: 7px; padding: 6px 9px; white-space: nowrap; line-height: 1.3; }
.radio-player-status::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.radio-player-status.live { color: #ff8794; border-color: rgba(255,100,116,.24); background: rgba(255,100,116,.09); }
.radio-player-status.live::before { background: var(--live); }
.hero-sound-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 9px; background: transparent; color: var(--text); font-size: .78rem; font-weight: 600; line-height: 1.3; }
.hero-sound-btn:hover { background: var(--surface-raised); }
.hero-sound-btn i { font-size: 1rem; }
.radio-video-container { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #08070c; }
.radio-video-container video { display: block; width: 100%; height: 100%; object-fit: contain; background: #08070c; }
.radio-video-container.is-idle video { object-fit: cover; }
.radio-video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 16px; text-align: center; background: rgba(8,7,12,.64); pointer-events: none; }
.radio-video-overlay.is-ready { background: linear-gradient(180deg, rgba(8,7,12,.18), rgba(8,7,12,.47)); }
.radio-video-overlay p { font-size: .9rem; color: var(--text); }
.radio-video-action { pointer-events: auto; display: inline-flex; justify-content: center; align-items: center; gap: 12px; max-width: 100%; min-height: 56px; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; padding: 13px 24px; color: #0e1b1d; background: var(--accent); font-family: var(--font); font-weight: 700; font-size: clamp(.93rem, 1.6vw, 1.08rem); line-height: 1.35; box-shadow: 0 8px 28px rgba(0,0,0,.28); transition: background-color .18s ease; }
.radio-video-action i { flex: none; font-size: 1.65rem; line-height: 1; }
.radio-video-action:hover { background: var(--accent-hover); }

/* Instagram: el marco editorial no modifica el contenido del iframe */
.section-ig-feed { background: var(--bg); }
.ig-link, .ig-feed-handle { color: var(--accent); font-weight: 600; }
.ig-link:hover, .ig-feed-handle:hover { text-decoration: underline; }
.ig-feed-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, var(--surface-raised), var(--surface)); }
.ig-feed-intro { min-width: 0; }
.ig-feed-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ig-feed-avatar { width: 80px; height: 80px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); padding: 7px; background: var(--bg-deep); }
.ig-feed-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.ig-feed-identity { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ig-feed-name { font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.ig-feed-handle { font-size: .92rem; overflow-wrap: anywhere; }
.ig-feed-description { max-width: 43ch; font-size: 1rem; color: var(--muted); margin-bottom: 24px; }
.ig-profile-embed { width: 100%; max-width: 558px; min-width: 0; margin-inline: auto; padding: 8px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ig-profile-embed .instagram-media, .ig-profile-embed iframe { display: block; width: 100% !important; min-width: 0 !important; max-width: 540px !important; margin: 0 auto !important; border: 0; border-radius: 8px; }
.ig-profile-embed blockquote.instagram-media { background: var(--surface); padding: 24px; }
.ig-profile-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; gap: 16px; text-align: center; font-size: .95rem; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.ig-profile-fallback i { color: var(--pink); font-size: 2.3rem; }
.ig-profile-fallback:hover { color: var(--text); }

/* Programación: fotografía y jerarquía editorial */
.section-programacion { background: #15111e; }
.featured-program { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; overflow: hidden; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; }
.featured-program-logo { min-width: 0; min-height: 280px; display: flex; align-items: center; justify-content: center; background: #110e19; }
.featured-program-logo img { display: block; width: 100%; max-height: 360px; height: 100%; object-fit: contain; }
.featured-program-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(24px, 4vw, 48px); }
.featured-badge { background: rgba(100,226,221,.08); border: 1px solid rgba(100,226,221,.23); color: var(--accent); border-radius: 6px; padding: 5px 9px; font-size: .73rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.featured-program-name { font-size: clamp(1.9rem, 3.3vw, 2.8rem); color: var(--text); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; margin-block: 16px; }
.featured-program-schedule, .featured-program-host, .featured-program-desc { color: var(--muted); font-size: .96rem; line-height: 1.7; }
.featured-program-schedule, .featured-program-host { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.featured-program-schedule i, .featured-program-host i { color: var(--accent); font-size: 1rem; }
.featured-program-host { margin-top: 8px; }
.featured-program-host strong { color: var(--text); }
.featured-program-desc { margin-top: 16px; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.program-card { display: flex; flex-direction: column; min-width: 0; height: 100%; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .2s ease, background-color .2s ease; }
.program-card:hover { border-color: rgba(100,226,221,.33); background: var(--surface-raised); }
.program-icon-wrap { width: 100%; aspect-ratio: 4/3; background: var(--bg-deep); overflow: hidden; }
.program-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.program-card:hover .program-img { transform: scale(1.025); }
.program-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.program-name { font-weight: 700; font-size: 1.12rem; color: var(--text); letter-spacing: -.025em; line-height: 1.4; }
.program-desc { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* Publicidad y métricas */
.section-mediakit { background: var(--bg); }
.advertising-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; column-gap: clamp(24px, 4vw, 56px); row-gap: clamp(24px, 4vw, 40px); padding: clamp(24px, 5vw, 56px); background: linear-gradient(145deg, #242033, #191523); border: 1px solid var(--border); border-radius: var(--radius); }
.advertising-copy { min-width: 0; }
.mediakit-text { color: var(--muted); max-width: 48ch; font-size: 1rem; margin: 16px 0 24px; }
.advertising-image { min-width: 0; display: flex; align-items: center; justify-content: center; }
.mediakit-img { width: 100%; max-width: 360px; max-height: 290px; object-fit: contain; }
.metrics-row { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); padding-top: 28px; gap: 16px; }
.metric-box { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 4px clamp(8px, 2vw, 24px); border-right: 1px solid var(--border); }
.metric-box:first-child { padding-left: 0; }
.metric-box:last-child { border: 0; padding-right: 0; }
.metric-number { color: var(--text); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.metric-label { color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* Pie de página */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-block: clamp(40px, 5vw, 64px) 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .7fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.footer-logo { width: 110px; max-height: 96px; object-fit: contain; margin-bottom: 16px; }
.footer-text { font-size: .88rem; max-width: 38ch; color: var(--muted); line-height: 1.75; }
.footer-heading { color: var(--text); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-links, .footer-contact-list { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.footer-links a:hover, .footer-contact-list a:hover { color: var(--accent); }
.footer-contact-list li { display: flex; align-items: baseline; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.footer-contact-list i { flex: none; color: var(--accent); }
.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.footer-social-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 9px; color: var(--text); font-size: 1.15rem; }
.footer-social-icon:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 40px; }
.footer-copy, .footer-legal { color: var(--muted); font-size: .78rem; line-height: 1.6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.btn-top { display: grid; place-items: center; width: 44px; height: 44px; position: fixed; bottom: 24px; right: 24px; z-index: 100; color: var(--text); background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.btn-top.visible { opacity: 1; visibility: visible; transform: none; }
.btn-top:hover { border-color: var(--accent); color: var(--accent); }

/* Movimiento: una sola entrada sutil; contenido visible si JS no está disponible. */
.reveal-enabled .reveal:not(.visible) { opacity: 0; transform: translateY(14px); }
.reveal-enabled .reveal { transition: opacity .45s ease, transform .45s ease; }

/* Adaptación */
@media (max-width: 1050px) {
    .hero-stream-layout { grid-template-columns: minmax(0,1fr); gap: 32px; max-width: 960px; }
    .hero-stream { grid-row: 1; }
    .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero-logo { width: 120px; margin-bottom: 16px; }
    .hero-title { max-width: 22ch; font-size: clamp(2rem, 4.3vw, 3rem); }
    .hero-subtitle { max-width: 60ch; }
    .hero-social { margin-top: 16px; }
    .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    :root { --nav-height: 72px; }
    .nav-shell { padding-block: 10px; gap: 12px; }
    .navbar-logo { width: 48px; height: 48px; }
    .navbar-toggler { display: flex; flex: none; }
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px var(--gutter) 24px; background: #14101e; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(0,0,0,.22); }
    .nav-menu.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 12px; }
    .nav-links { align-items: stretch; flex-direction: column; gap: 4px; }
    .nav-link { padding: 13px 12px; min-height: 44px; }
    .nav-live { margin: 0; align-self: flex-start; }
    .ig-feed-card { grid-template-columns: minmax(0,1fr); max-width: 680px; margin-inline: auto; gap: 24px; }
    .ig-feed-intro { text-align: center; }
    .ig-feed-brand { justify-content: center; text-align: left; margin-bottom: 16px; }
    .ig-feed-description { margin-inline: auto; margin-bottom: 20px; }
    .featured-program { grid-template-columns: minmax(0,1fr); }
    .featured-program-logo { min-height: 0; height: auto; }
    .featured-program-logo img { height: auto; max-height: 320px; }
    .advertising-panel { column-gap: 24px; }
    .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .footer-intro { grid-column: 1/-1; }
}
@media (max-width: 575px) {
    :root { --section-space: 48px; --heading-gap: 24px; --radius: 15px; }
    html { scroll-padding-top: calc(var(--nav-height) + 8px); }
    .hero-section { padding-top: calc(var(--nav-height) + 24px); padding-bottom: 40px; }
    .hero-stream-layout { gap: 28px; }
    .hero-stream { padding: 7px; }
    .hero-stream-header { flex-wrap: wrap; gap: 8px; padding: 4px 4px 9px; }
    .radio-player-title { font-size: .86rem; }
    .radio-player-caption { font-size: .72rem; }
    .radio-player-tools { flex-wrap: wrap; flex-shrink: 1; gap: 6px; }
    .radio-player-status { font-size: .63rem; padding: 5px 6px; }
    .radio-player-status::before { width: 6px; height: 6px; }
    .hero-sound-btn { width: auto; padding: 7px 9px; min-height: 38px; font-size: .72rem; white-space: nowrap; }
    .hero-sound-btn span { display: inline; }
    .radio-video-container { border-radius: 8px; }
    .radio-video-action { min-height: 48px; padding: 10px 14px; gap: 8px; }
    .radio-video-action i { font-size: 1.3rem; }
    .hero-eyebrow { font-size: .72rem; }
    .hero-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
    .ig-feed-card { padding: 16px; gap: 20px; }
    .ig-feed-avatar { width: 64px; height: 64px; }
    .ig-profile-embed { padding: 4px; }
    .ig-profile-embed blockquote.instagram-media { padding: 12px; }
    .ig-profile-fallback { min-height: 160px; }
    .program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .program-body { padding: 14px; }
    .program-name { font-size: .98rem; }
    .program-desc { font-size: .85rem; }
    .featured-program-info { padding: 20px; }
    .advertising-panel { grid-template-columns: minmax(0,1fr); padding: 24px; row-gap: 24px; }
    .mediakit-img { max-width: 250px; max-height: 200px; }
    .metrics-row { grid-template-columns: minmax(0,1fr); padding-top: 12px; gap: 0; }
    .metric-box { flex-direction: row; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px solid var(--border); padding: 14px 0; gap: 16px; }
    .metric-box:last-child { border: 0; }
    .metric-label { text-align: right; }
    .footer-grid { grid-template-columns: minmax(0,1fr); }
    .footer-intro { grid-column: auto; }
    .footer-bottom { margin-top: 32px; }
    .btn-top { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
    .brand-text { font-size: 1.3rem; }
    .program-grid { grid-template-columns: minmax(0,1fr); }
    .radio-player-caption { display: none; }
    .radio-player-status { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
    .reveal-enabled .reveal:not(.visible) { opacity: 1; transform: none; }
}
