/* ===================================================================
   INRAI · Design System 2026
   Dark-first · Mobile-first · Multi-tenant · Spotify-tier
   =================================================================== */

/* ── Reset moderno ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

/* ── Theme tokens ──────────────────────────────────────────── */
:root {
    /* Brand (inyectado inline desde el contexto por emisora) */
    --brand: #EA580C;
    --brand-2: #9A3412;
    --accent: #FACC15;

    /* Tipografía · futurista editorial (Jarvis-style) */
    --font-display: "Sora", "Inter", system-ui, sans-serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;

    /* Radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Spacing scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-8: 32px;
    --s-10: 40px;
    --s-12: 48px;
    --s-16: 64px;
    --s-20: 80px;

    /* Easing */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    /* Containers */
    --max-w: 1440px;
    --gutter: clamp(16px, 4vw, 32px);
}

/* ── Dark theme (default) ─────────────────────────────────── */
:root, [data-theme="dark"] {
    --bg: #0a0a0c;
    --bg-1: #111114;
    --bg-2: #18181c;
    --bg-3: #222228;
    --fg: #fafafa;
    --fg-1: #e5e5ea;
    --fg-2: #a1a1aa;
    --fg-3: #71717a;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --glass: rgba(20, 20, 24, 0.65);
    --glass-2: rgba(20, 20, 24, 0.85);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-3: 0 24px 64px -16px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 40px color-mix(in srgb, var(--brand) 35%, transparent);
    color-scheme: dark;
}

/* ── Light theme ──────────────────────────────────────────── */
[data-theme="light"] {
    --bg: #ffffff;
    --bg-1: #fafafa;
    --bg-2: #f4f4f5;
    --bg-3: #e4e4e7;
    --fg: #09090b;
    --fg-1: #18181b;
    --fg-2: #52525b;
    --fg-3: #71717a;
    --line: rgba(15, 23, 42, 0.08);
    --line-2: rgba(15, 23, 42, 0.14);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-2: rgba(255, 255, 255, 0.9);
    --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-2: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-3: 0 24px 64px -16px rgba(15, 23, 42, 0.18);
    --shadow-glow: 0 0 32px color-mix(in srgb, var(--brand) 22%, transparent);
    color-scheme: light;
}

/* ── Base typography ────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--fg);
    background: var(--bg);
    overflow-x: hidden;
    transition: background 400ms var(--ease-soft), color 400ms var(--ease-soft);
}

/* Mesh gradient anclado al brand color (decorativo, no afecta layout) */
body::before {
    content: "";
    position: fixed;
    inset: -10%;
    background:
        radial-gradient(ellipse 50% 40% at 10% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%),
        radial-gradient(ellipse 40% 50% at 90% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%),
        radial-gradient(ellipse 70% 35% at 50% 100%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(60px) saturate(120%);
    opacity: 1;
    transition: opacity 600ms var(--ease-soft);
}

[data-theme="light"] body::before { opacity: 0.5; }

/* Grain sutil para textura editorial */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ── Typographic primitives ───────────────────────────── */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.02;
}

.kicker {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: color-mix(in srgb, var(--brand) 18%, transparent);
    color: var(--brand);
    border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
    border-radius: var(--r-pill);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

/* ── Glass surfaces ──────────────────────────────────── */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

.glass-2 {
    background: var(--glass-2);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--line-2);
}

/* ── ON AIR (con ondas de radio animadas) ─────────────── */
.onair {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #dc2626;
    color: white;
    border-radius: var(--r-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    isolation: isolate;
}

.onair::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px white;
    animation: onair-pulse 1.2s infinite;
}

.onair::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--r-pill);
    border: 2px solid #dc2626;
    opacity: 0;
    z-index: -1;
    animation: onair-ring 2s var(--ease-out) infinite;
}

@keyframes onair-pulse {
    0%, 60% { opacity: 1; transform: scale(1); }
    61%, 100% { opacity: 0.25; transform: scale(0.85); }
}

@keyframes onair-ring {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* ── Botón con brand color ───────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    border: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: transform 200ms var(--ease-spring),
                background 200ms var(--ease-soft),
                box-shadow 200ms var(--ease-soft);
    white-space: nowrap;
}

.btn-brand {
    background: var(--brand);
    color: white;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 38%, transparent);
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 50%, transparent);
}

.btn-ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ── Topbar utility ────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-2);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.topbar__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 10px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; min-width: 0; }
.topbar__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.topbar a, .topbar button {
    color: var(--fg-2);
    background: transparent;
    border: none;
    padding: 4px 8px;
    border-radius: var(--r-sm);
    transition: color 200ms;
}
.topbar a:hover, .topbar button:hover { color: var(--fg); }

.weather { display: inline-flex; align-items: center; gap: 6px; }

.topbar__widget {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 11px;
    color: var(--fg-2);
}
[data-theme="light"] .topbar__widget { background: rgba(15, 23, 42, 0.05); }

/* ── Header espectacular ──────────────────────────── */
.site-header {
    position: sticky;
    top: 38px;
    z-index: 99;
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 12px var(--gutter);
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo con ondas de radio animadas — pueden desbordar el header */
.brand-logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* El header explícitamente NO clipea las ondas */
.site-header { overflow: visible; }
.site-header__inner { overflow: visible; }

.brand-logo__waves {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    pointer-events: none;
    z-index: 0;
}

.brand-logo__waves circle {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.5;
    opacity: 0;
    transform-origin: center;
    animation: wave-out 3.6s var(--ease-out) infinite;
}

.brand-logo__waves circle:nth-child(2) { animation-delay: 1s; }
.brand-logo__waves circle:nth-child(3) { animation-delay: 2s; }

@keyframes wave-out {
    0%   { opacity: 0.6; transform: scale(0.4); }
    100% { opacity: 0; transform: scale(1.4); }
}

.brand-logo__img {
    height: 84px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .brand-logo__img { height: 78px; max-width: 260px; }
}
@media (max-width: 768px) {
    .brand-logo__img { height: 72px; max-width: 230px; }
}

.brand-logo__meta {
    display: none;
    flex-direction: column;
    line-height: 1.1;
}
@media (min-width: 1200px) { .brand-logo__meta { display: flex; } }

.brand-logo__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.01em;
}
.brand-logo__city {
    font-size: 10px;
    color: var(--fg-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}
.brand-logo__tag {
    margin-top: 3px;
    font-size: 10.5px;
    font-style: italic;
    color: var(--brand);
    letter-spacing: 0.02em;
    font-weight: 500;
    opacity: 0.88;
}

/* Nav principal */
.nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-2);
    white-space: nowrap;
    transition: color 200ms, background 200ms;
}

.nav a::after {
    content: "";
    position: absolute;
    inset: auto 14px 6px;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms var(--ease-out);
}

.nav a:hover, .nav a.is-active { color: var(--fg); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav__dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 8px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
    margin-top: 6px;
    z-index: 60;
}

.nav__dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    color: var(--fg-1);
}
.nav__dropdown a:hover { background: var(--bg-2); color: var(--brand); }
.nav__dropdown a::after { display: none; }

.btn-onair {
    padding: 11px 18px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--brand) 35%, transparent);
    transition: transform 220ms var(--ease-spring), box-shadow 200ms;
    flex-shrink: 0;
    cursor: pointer;
}
.btn-onair:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 50%, transparent);
}

/* Theme toggle */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--glass);
    color: var(--fg-1);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: border-color 200ms, transform 200ms;
}
.theme-toggle:hover { border-color: var(--brand); transform: rotate(15deg); }
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* Search modal trigger */
.search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--fg-3);
    font-size: 12px;
    cursor: pointer;
    transition: border-color 200ms;
}
.search-trigger:hover { border-color: var(--brand); color: var(--fg); }

/* ── Search con autocomplete (header) ── */
.search {
    position: relative;
    min-width: 200px;
}
.search__form {
    display: flex;
    align-items: center;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 4px 6px 4px 12px;
    transition: border-color 200ms, background 200ms;
}
.search__form:focus-within {
    border-color: var(--brand);
    background: var(--bg-1);
}
.search__icon {
    background: none;
    border: none;
    color: var(--fg-3);
    padding: 4px;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.search__icon:hover { color: var(--brand); }
.search__input {
    background: none;
    border: none;
    outline: none;
    color: var(--fg);
    font-size: 13px;
    font-family: var(--font-body);
    padding: 6px 10px;
    width: 100%;
    min-width: 0;
}
.search__input::placeholder { color: var(--fg-3); }

@media (max-width: 768px) {
    .search { min-width: 0; flex: 1; max-width: 220px; }
    .search__input { font-size: 12.5px; }
}

.search__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(420px, 92vw);
    max-height: 70vh;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
    z-index: 200;
}
.search__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s;
}

.search__result {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: var(--r-sm);
    text-decoration: none;
    color: var(--fg);
    transition: background 180ms;
}
.search__result:hover {
    background: color-mix(in srgb, var(--brand) 18%, transparent);
}
.search__result-img {
    width: 56px;
    height: 56px;
    border-radius: var(--r-sm);
    background-size: cover;
    background-position: center;
    background-color: var(--bg-2);
    flex-shrink: 0;
}
.search__result-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.search__result-kicker {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 700;
}
.search__result-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    color: var(--fg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search__result-date {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--fg-3);
    letter-spacing: 0.1em;
}
.search__seeall {
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    color: var(--brand);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12.5px;
}
.search__seeall:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.search__empty {
    padding: 26px 16px;
    text-align: center;
    color: var(--fg-3);
}
.search__empty strong {
    display: block;
    color: var(--fg);
    font-family: var(--font-display);
    font-size: 14px;
    margin-bottom: 4px;
}
.search__empty span { font-size: 12.5px; }

/* ── Breaking news ticker ─────────────────────────── */
.ticker {
    overflow: hidden;
    background: color-mix(in srgb, var(--brand) 35%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
    color: white;
    position: relative;
    box-shadow: inset 0 0 30px color-mix(in srgb, var(--brand) 25%, transparent);
}

/* El texto blanco necesita más contraste sobre fondo más translúcido */
.ticker__item, .ticker__label { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }

.ticker__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 36px;
}

.ticker__label {
    background: rgba(0, 0, 0, 0.32);
    color: white;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker__label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: onair-pulse 1.2s infinite;
}

.ticker__viewport { flex: 1; overflow: hidden; }

.ticker__track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 60s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
    color: white;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
}

.ticker__item::before {
    content: "•";
    margin-right: 14px;
    opacity: 0.55;
    font-weight: 800;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Hero principal (parallax) ───────────────────── */
.hero-wrap {
    position: relative;
    margin-top: var(--s-8);
    padding-bottom: var(--s-12);
}

.hero {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 21 / 10;
    background: var(--bg-1);
    isolation: isolate;
    box-shadow: var(--shadow-3);
}

@media (max-width: 768px) { .hero { aspect-ratio: 16 / 12; border-radius: var(--r-lg); } }

.hero__img {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    transition: transform 600ms var(--ease-out);
    will-change: transform;
}

.hero[data-parallax] .hero__img { transform: translate3d(0, var(--parallax, 0px), 0); }

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(120deg, color-mix(in srgb, var(--brand) 50%, transparent), transparent 55%);
    z-index: 1;
}

.hero__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: var(--s-10) var(--s-8);
    z-index: 2;
    color: white;
    max-width: 900px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 14px 0 12px;
    color: white;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.5;
    max-width: 720px;
    margin-bottom: var(--s-8);
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero side rail con destacadas */
.hero-rail {
    margin-top: var(--s-6);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s-4);
}
@media (max-width: 1000px) { .hero-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .hero-rail { grid-template-columns: 1fr; } }

/* ── Gallery editorial (mosaic) ─────────────── */
.gallery-grid {
    display: grid;
    grid-template-areas:
        "g1 g1 g2 g3"
        "g1 g1 g4 g5"
        "g6 g6 g6 g6";
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: var(--s-3);
}
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-areas:
            "g1 g1"
            "g2 g3"
            "g4 g5"
            "g6 g6";
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 540px) {
    .gallery-grid {
        grid-template-areas: "g1" "g2" "g3" "g4" "g5" "g6";
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--bg-2);
    isolation: isolate;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.88));
    color: white;
    z-index: 1;
}
.gallery-item__overlay h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    margin: 6px 0 0;
    color: white;
    letter-spacing: -0.01em;
}

/* ── Programs list ──────────────────────────── */
.programs-list {
    padding: 6px;
}
.program-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    transition: background 200ms;
}
.program-row:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.program-row__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--bg-2);
    color: var(--brand);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
}
.program-row__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--fg);
}
.program-row__sub {
    font-size: 11px;
    color: var(--fg-3);
    margin-top: 2px;
    letter-spacing: 0.04em;
}
.program-row__time {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--brand);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

/* ── Ad leaderboard placeholder ────────────── */
.ad-leaderboard { margin-top: var(--s-10); }

/* ── News card · backing IA (vignette brand + scan line + glow halo al hover) ── */
.news-card {
    position: relative;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--brand) 18%, transparent) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--brand-2) 14%, transparent) 0%, transparent 50%),
        var(--bg-1);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 280ms var(--ease-out),
                box-shadow 280ms var(--ease-out),
                border-color 280ms var(--ease-out);
    will-change: transform;
    display: flex;
    flex-direction: column;
    height: 100%;
    isolation: isolate;
}

/* Halo glow rotativo · solo al hover, capa de fondo bajo todo */
.news-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        color-mix(in srgb, var(--brand) 60%, transparent) 40deg,
        color-mix(in srgb, var(--accent) 50%, transparent) 80deg,
        transparent 140deg,
        transparent 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 1.5px;
    opacity: 0;
    transition: opacity 320ms;
    animation: news-card-orbit 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes news-card-orbit { to { transform: rotate(360deg); } }

/* Scan line diagonal · sweep al hover sobre la imagen */
.news-card .news-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 0%,
        transparent 38%,
        color-mix(in srgb, var(--brand) 32%, transparent) 50%,
        transparent 62%,
        transparent 100%);
    transform: translateX(-110%);
    transition: transform 800ms var(--ease-out);
    z-index: 2;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.42),
        0 0 24px color-mix(in srgb, var(--brand) 28%, transparent);
    border-color: color-mix(in srgb, var(--brand) 55%, var(--line-2));
}
.news-card:hover::before { opacity: 0.85; }
.news-card:hover .news-card__media::after { transform: translateX(110%); }

.news-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-2);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease-out);
}

.news-card:hover .news-card__media img { transform: scale(1.07); }

/* Cuando la imagen falla (onerror) la card se queda con un placeholder
   sutil con el gradiente brand: NUNCA ícono de imagen rota del browser. */
.news-card__media--empty {
    background:
        radial-gradient(60% 80% at 50% 40%,
            color-mix(in srgb, var(--brand) 18%, var(--bg-2)) 0%,
            var(--bg-2) 75%);
    position: relative;
}
.news-card__media--empty::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23ffffff30' stroke-width='1.5'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='8.5' cy='8.5' r='1.5'/><polyline points='21 15 16 10 5 21'/></svg>") center / 32px no-repeat;
    opacity: 0.6;
}

.news-card__body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-card__title {
    font-family: var(--font-display);
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.018em;
    color: var(--fg);
    margin: 0;
    transition: color 200ms;
}

.news-card:hover .news-card__title { color: var(--brand); }

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fg-3);
    font-size: 11px;
    margin-top: auto;
    font-variant-numeric: tabular-nums;
}

.video-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: var(--r-xs);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Section heading ─────────────────────────── */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--s-6);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--line);
    gap: var(--s-4);
}

.section-head__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    letter-spacing: -0.022em;
    margin: 0;
    color: var(--fg);
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
}

.section-head__title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 22px;
    background: var(--brand);
    border-radius: 1px;
    transform: translateY(2px);
}

.section-head__link {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
}

.section-head__link:hover { text-decoration: underline; }

/* ── Layout grids ─────────────────────────────── */
.layout-main {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: var(--s-10);
}
@media (max-width: 1024px) { .layout-main { grid-template-columns: 1fr; } }

.grid-news {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--s-5);
}

/* Bloomberg-style mosaic */
.mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: var(--s-4);
}
.mosaic > * { grid-column: span 4; }
.mosaic > .mosaic-lg { grid-column: span 8; grid-row: span 2; }
.mosaic > .mosaic-md { grid-column: span 4; grid-row: span 2; }
@media (max-width: 900px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .mosaic > * { grid-column: span 1 !important; grid-row: span 1 !important; }
}
@media (max-width: 540px) {
    .mosaic { grid-template-columns: 1fr; }
}

/* ── Widgets sidebar ──────────────────────────── */
.widget {
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: var(--s-6);
}

.widget__title {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg);
    margin: 0 0 var(--s-4);
    padding-bottom: var(--s-3);
    border-bottom: 2px solid var(--brand);
    display: inline-block;
}

.trending-list { display: grid; gap: 16px; }
.trending-list li { display: flex; gap: 14px; align-items: flex-start; }
.trending-list__num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 0.9;
    color: var(--brand);
    opacity: 0.55;
    flex-shrink: 0;
    width: 28px;
    font-variant-numeric: tabular-nums;
}
.trending-list__link {
    color: var(--fg-1);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    transition: color 200ms;
}
.trending-list__link:hover { color: var(--brand); }

/* ═══════════════════════════════════════════════════════════════
   NOW PLAYING CARD · widget sidebar (programa al aire en tiempo real)
   ═══════════════════════════════════════════════════════════════ */
.now-playing-card {
    padding: var(--s-5);
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 22%, var(--bg-1)), var(--bg-1) 70%);
    border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
    border-radius: var(--r-md);
    position: relative;
    isolation: isolate;
}

.now-playing-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.now-playing-card__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
}

.now-playing-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 10px #dc2626;
    animation: onair-pulse 1.4s infinite;
}

.now-playing-card__time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-3);
    font-variant-numeric: tabular-nums;
}

.now-playing-card__body {
    display: flex;
    gap: 12px;
    align-items: center;
}

.now-playing-card__cover {
    width: 56px;
    height: 56px;
    border-radius: var(--r-sm);
    overflow: hidden;
    display: grid;
    place-items: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.now-playing-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.now-playing-card__info { min-width: 0; flex: 1; }

.now-playing-card__program {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--fg);
    line-height: 1.2;
    letter-spacing: -0.012em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.now-playing-card__host {
    font-size: 12px;
    color: var(--fg-2);
    margin-top: 3px;
}

.now-playing-card__progress {
    margin-top: 14px;
    height: 4px;
    background: var(--bg-2);
    border-radius: 2px;
    overflow: hidden;
}

.now-playing-card__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 2px;
    transition: width 1s linear;
}

.now-playing-card__sponsor {
    margin-top: 12px;
    padding: 8px 12px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.now-playing-card__sponsor-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-3);
}

.now-playing-card__sponsor-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    color: var(--brand);
}

.now-playing-card__cta {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   BILLBOARD HERO SPONSOR · 1920×250 sobre carrusel
   ═══════════════════════════════════════════════════════════════ */
.billboard-hero {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 250;
    border-radius: var(--r-md);
    overflow: hidden;
    margin-top: var(--s-4);
    border: 1px solid var(--line);
    background: var(--bg-1);
    transition: transform 200ms, box-shadow 200ms;
}

.billboard-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.billboard-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.billboard-hero__brand {
    position: absolute;
    bottom: 14px;
    left: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-pill);
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
}

.billboard-hero__logo {
    height: 22px;
    width: auto;
    background: white;
    padding: 2px;
    border-radius: 3px;
}

.billboard-hero__tag {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: var(--r-xs);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
    .billboard-hero { aspect-ratio: 4 / 1; }
}

/* ═══════════════════════════════════════════════════════════════
   SPONSORED STORY · noticia patrocinada en feed (look editorial)
   ═══════════════════════════════════════════════════════════════ */
.sponsored-story {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg-1)), var(--bg-1) 60%);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 280ms var(--ease-out), border-color 280ms;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sponsored-story:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.sponsored-story__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-2);
}

.sponsored-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease-out);
}

.sponsored-story:hover .sponsored-story__media img { transform: scale(1.05); }

.sponsored-story__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--accent);
    color: #0f172a;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--r-xs);
}

.sponsored-story__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sponsored-story__sponsor {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.sponsored-story__logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 2px;
}

.sponsored-story__brand {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--fg-2);
    text-transform: uppercase;
}

.sponsored-story__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fg);
    margin: 0;
    letter-spacing: -0.012em;
}

.sponsored-story__excerpt {
    font-size: 13px;
    line-height: 1.4;
    color: var(--fg-2);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MINI PLAYER móvil · sticky bottom (solo en <768)
   ═══════════════════════════════════════════════════════════════ */
.mini-player {
    display: none;
    position: fixed;
    inset: auto 0 calc(var(--mobile-nav-h, 64px) + env(safe-area-inset-bottom)) 0;
    z-index: 75;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: white;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    align-items: center;
    gap: 10px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.mini-player__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 8px white;
    animation: blink 1.4s infinite;
    flex-shrink: 0;
}

.mini-player__info {
    flex: 1;
    min-width: 0;
}

.mini-player__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.mini-player__sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    color: var(--brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .mini-player { display: flex; }
    body { padding-bottom: 130px; }
    /* Sube todo el stack derecho por encima del mini-player sticky */
    .wa-float       { bottom: 146px; }
    .ia-fab--video  { bottom: 230px; }
    .ia-fab--radio  { bottom: 230px; }
    body:has(.ia-fab--video) .ia-fab--radio { bottom: 314px; }
}

/* ── Live now strip ─────────────────────────── */
.live-strip {
    margin: var(--s-8) 0;
    padding: var(--s-5) var(--s-6);
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--bg-1)), var(--bg-1) 70%);
    border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
    border-radius: var(--r-md);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--s-5);
}

.live-strip__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
}

.live-strip__sub {
    color: var(--fg-2);
    font-size: 13px;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .live-strip { grid-template-columns: 1fr; text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════
   IA FAB · botones flotantes premium estética IA 2026
   Stack derecho: WhatsApp (base) → Video → Radio (arriba)
   Variantes: .ia-fab--radio (azul brand), .ia-fab--video (rojo)
   Estados: paused | loading | playing | idle
   ═══════════════════════════════════════════════════════════════ */

.ia-fab {
    position: fixed;
    right: 24px;
    z-index: 80;
    width: 64px;
    height: 64px;
    padding: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    display: grid;
    place-items: center;
    grid-template-areas: "stack";
    isolation: isolate;
    transition: transform 280ms var(--ease-spring);
}
.ia-fab > * { grid-area: stack; }
.ia-fab:hover { transform: translateY(-2px) scale(1.04); }
.ia-fab:active { transform: translateY(0) scale(0.97); }

/* ── posicionamiento del stack ── */
/* Stack derecho con espacio amplio entre los 3 FABs · gap ~ 28-32px visual */
.ia-fab--video { bottom: 116px; }
.ia-fab--radio { bottom: 116px; }
body:has(.ia-fab--video) .ia-fab--radio { bottom: 208px; }

/* ── Núcleo glass ── */
.ia-fab__core {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    z-index: 3;
    transition: filter 280ms;
}

/* Color por variante: glass + esfera con gradient + glow interior */
.ia-fab--radio .ia-fab__core {
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,0.32), transparent 55%),
        radial-gradient(circle at 70% 85%, color-mix(in srgb, var(--brand-2) 60%, transparent), transparent 60%),
        linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
    box-shadow:
        0 18px 44px color-mix(in srgb, var(--brand) 50%, transparent),
        0 2px 8px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -10px 16px rgba(0, 0, 0, 0.22);
}
.ia-fab--video .ia-fab__core {
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,0.32), transparent 55%),
        radial-gradient(circle at 70% 85%, rgba(127, 29, 29, 0.7), transparent 60%),
        linear-gradient(140deg, #ef4444 0%, #b91c1c 100%);
    box-shadow:
        0 18px 44px rgba(220, 38, 38, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -10px 16px rgba(0, 0, 0, 0.22);
}

/* ── Halos pulsantes (2 capas) ── */
.ia-fab__halo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.ia-fab__halo--outer {
    border: 1px solid currentColor;
    animation: ia-fab-ping 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    opacity: 0.7;
}
.ia-fab__halo--inner {
    border: 1px solid currentColor;
    animation: ia-fab-ping 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 0.9s;
    opacity: 0.5;
}
.ia-fab--radio { color: color-mix(in srgb, var(--brand) 80%, white); }
.ia-fab--video { color: #fca5a5; }

@keyframes ia-fab-ping {
    0%   { transform: scale(1);    opacity: 0.75; }
    80%  { opacity: 0.05; }
    100% { transform: scale(1.85); opacity: 0; }
}

/* ── Anillo orbital sweep (conic gradient rotando) ── */
.ia-fab__orbit {
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        currentColor 28deg,
        rgba(255, 255, 255, 0.6) 60deg,
        transparent 110deg,
        transparent 360deg);
    -webkit-mask:
        radial-gradient(circle, transparent 64%, #000 65%);
            mask:
        radial-gradient(circle, transparent 64%, #000 65%);
    animation: ia-fab-orbit 4s linear infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}
@keyframes ia-fab-orbit { to { transform: rotate(360deg); } }

/* ── Iconos ── */
.ia-fab__icon {
    width: 22px;
    height: 22px;
    line-height: 0;
    display: none;
}
.ia-fab--radio[data-state="paused"]  [data-icon="play"]    { display: block; }
.ia-fab--radio[data-state="playing"] [data-icon="pause"]   { display: block; }
.ia-fab--radio[data-state="loading"] [data-icon="loading"] { display: block; }
.ia-fab--video[data-state="idle"]    [data-icon="play"]    { display: block; }
.ia-fab--video[data-state="loading"] [data-icon="loading"] { display: block; }
.ia-fab--video[data-state="playing"] [data-icon="play"]    { display: block; opacity: 0.6; }

/* ── Loader de 4 dots orbitales (estilo IA voice) ── */
.ia-fab__loader {
    position: relative;
    width: 24px;
    height: 24px;
    animation: ia-fab-orbit 1.4s linear infinite;
}
.ia-fab__loader span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,0.9);
}
.ia-fab__loader span:nth-child(1) { top: 0;    left: 50%; transform: translateX(-50%); }
.ia-fab__loader span:nth-child(2) { top: 50%;  right: 0;  transform: translateY(-50%); opacity: 0.75; }
.ia-fab__loader span:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); opacity: 0.5; }
.ia-fab__loader span:nth-child(4) { top: 50%;  left: 0;   transform: translateY(-50%); opacity: 0.3; }

/* ── Estado playing: orbital y halos más intensos ── */
.ia-fab[data-state="playing"] .ia-fab__orbit { animation-duration: 2.2s; opacity: 0.95; }
.ia-fab[data-state="playing"] .ia-fab__halo  { animation-duration: 1.6s; }

/* ═══════════════════════════════════════════════════════════════
   AL AIRE · ondas sonoras + equalizer mini para .ia-fab--radio
   Solo aparece cuando el streaming está playing.
   ═══════════════════════════════════════════════════════════════ */

/* Ondas sonoras radiales (3 capas) — invisibles por default */
.ia-fab__wave {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
    box-shadow: 0 0 12px currentColor;
}
.ia-fab--radio[data-state="playing"] .ia-fab__wave {
    animation: ia-fab-airwave 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.ia-fab--radio[data-state="playing"] .ia-fab__wave--2 { animation-delay: 0.8s; }
.ia-fab--radio[data-state="playing"] .ia-fab__wave--3 { animation-delay: 1.6s; }

@keyframes ia-fab-airwave {
    0%   { transform: scale(1);    opacity: 0.7; border-width: 2.5px; }
    60%  { opacity: 0.2; }
    100% { transform: scale(2.5);  opacity: 0;   border-width: 0.5px; }
}

/* Equalizer mini · 4 barras animadas dentro del core, solo visible en playing */
.ia-fab__eq {
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: flex-end;
    gap: 2.5px;
    height: 10px;
    z-index: 5;
    pointer-events: none;
}
.ia-fab--radio[data-state="playing"] .ia-fab__eq { display: inline-flex; }
.ia-fab__eq span {
    display: block;
    width: 2.5px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
    animation: ia-fab-eq 0.85s ease-in-out infinite;
    height: 30%;
}
.ia-fab__eq span:nth-child(1) { animation-delay: 0s;    }
.ia-fab__eq span:nth-child(2) { animation-delay: 0.18s; }
.ia-fab__eq span:nth-child(3) { animation-delay: 0.36s; }
.ia-fab__eq span:nth-child(4) { animation-delay: 0.54s; }
@keyframes ia-fab-eq {
    0%, 100% { height: 28%; }
    50%      { height: 100%; }
}

/* Core late con glow brand cuando está al aire */
.ia-fab--radio[data-state="playing"] .ia-fab__core {
    animation: ia-fab-core-pulse 1.8s ease-in-out infinite;
}
@keyframes ia-fab-core-pulse {
    0%, 100% {
        box-shadow:
            0 18px 44px color-mix(in srgb, var(--brand) 50%, transparent),
            0 2px 8px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.32),
            inset 0 -10px 16px rgba(0, 0, 0, 0.22);
    }
    50% {
        box-shadow:
            0 22px 56px color-mix(in srgb, var(--brand) 75%, transparent),
            0 0 0 4px color-mix(in srgb, var(--brand) 28%, transparent),
            0 2px 8px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.42),
            inset 0 -10px 16px rgba(0, 0, 0, 0.22);
    }
}

/* Subir el icono pause unos pixels para dejar espacio al equalizer */
.ia-fab--radio[data-state="playing"] [data-icon="pause"] {
    transform: translateY(-5px);
}

/* ── Estado loading: glow más vivo + orbital rapidísimo ── */
.ia-fab[data-state="loading"] .ia-fab__orbit { animation-duration: 1.2s; opacity: 1; }
.ia-fab[data-state="loading"] .ia-fab__halo  { animation-duration: 1.2s; }
.ia-fab[data-state="loading"] .ia-fab__core  { filter: brightness(1.08) saturate(1.1); }

/* ── Pill flotante a la izquierda (texto cambia por estado) ── */
.ia-fab__pill {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    padding: 9px 14px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.94));
    backdrop-filter: blur(14px);
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ia-fab__pill::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(2, 6, 23, 0.94);
}
.ia-fab__pill > [data-pill] { display: none; }
.ia-fab[data-state="paused"]  [data-pill="paused"],
.ia-fab[data-state="playing"] [data-pill="playing"],
.ia-fab[data-state="loading"] [data-pill="loading"],
.ia-fab[data-state="idle"]    [data-pill="idle"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Pill visible siempre durante loading; en otros estados, solo al hover */
.ia-fab:hover .ia-fab__pill,
.ia-fab[data-state="loading"] .ia-fab__pill {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Dots animados "..." en el pill durante loading ── */
.ia-fab__dots {
    display: inline-flex;
    gap: 3px;
    margin-left: 4px;
}
.ia-fab__dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent, #facc15);
    animation: ia-fab-dots 1.2s ease-in-out infinite;
}
.ia-fab__dots i:nth-child(2) { animation-delay: 0.18s; }
.ia-fab__dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes ia-fab-dots {
    0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
    40%           { opacity: 1;    transform: scale(1.2); }
}

/* ── Badge LIVE pulsante solo en el video FAB ── */
.ia-fab__live {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: white;
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.6);
    z-index: 4;
    animation: ia-fab-live 1.4s ease-in-out infinite;
}
@keyframes ia-fab-live {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(1.12); opacity: 0.85; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .ia-fab { width: 56px; height: 56px; right: 16px; }
    .ia-fab__icon, .ia-fab__loader { width: 20px; height: 20px; }
    .ia-fab__pill { display: none; }
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms var(--ease-soft);
}

.video-modal[data-state="open"] {
    pointer-events: auto;
    opacity: 1;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal__panel {
    position: relative;
    max-width: 1100px;
    width: calc(100vw - 32px);
    margin: 5vh auto;
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-3);
    transform: scale(0.92) translateY(20px);
    transition: transform 360ms var(--ease-spring);
}

.video-modal[data-state="open"] .video-modal__panel {
    transform: scale(1) translateY(0);
}

.video-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.video-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--fg);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.video-modal__close:hover { border-color: var(--brand); color: var(--brand); }

.video-modal__video {
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-modal__video iframe,
.video-modal__video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════
   PODCAST CARDS (estilo Spotify)
   ═══════════════════════════════════════════════════════════════ */

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--s-4);
}

@media (max-width: 540px) {
    .podcast-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--s-3);
    }
}

.podcast-card {
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 240ms var(--ease-out), border-color 240ms, box-shadow 240ms;
    cursor: pointer;
}

.podcast-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: var(--shadow-2), var(--shadow-glow);
}

.podcast-card__cover {
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    color: white;
    overflow: hidden;
    isolation: isolate;
}

.podcast-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 70%);
    z-index: 1;
}

.podcast-card__play {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--brand);
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 240ms var(--ease-spring), opacity 200ms;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.podcast-card:hover .podcast-card__play {
    transform: translateY(0);
    opacity: 1;
}

.podcast-card__body {
    padding: 14px 16px 16px;
}

.podcast-card__title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
    color: var(--fg);
    letter-spacing: -0.012em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-card__sub {
    font-size: 11px;
    color: var(--fg-3);
    margin: 0;
    letter-spacing: 0.04em;
}

/* ── WhatsApp flotante (base del stack derecho) ─────────────────────── */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.24), transparent 55%),
        linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: grid;
    place-items: center;
    color: white;
    box-shadow:
        0 14px 36px rgba(37, 211, 102, 0.48),
        0 2px 6px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -8px 14px rgba(0, 0, 0, 0.18);
    transition: transform 240ms var(--ease-spring), box-shadow 240ms;
    animation: wa-bob 3.6s ease-in-out infinite;
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow:
        0 18px 42px rgba(37, 211, 102, 0.62),
        0 2px 6px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -8px 14px rgba(0, 0, 0, 0.18);
}

@keyframes wa-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ── Poll ──────────────────────────────────── */
.poll-option {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--fg);
    font-size: 14px;
    transition: border-color 200ms, background 200ms, transform 200ms;
    cursor: pointer;
}
.poll-option:hover {
    background: color-mix(in srgb, var(--brand) 14%, var(--bg-2));
    border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
    transform: translateX(4px);
}

.poll-result {
    position: relative;
    padding: 12px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.poll-result__bar {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--brand) 26%, transparent),
        color-mix(in srgb, var(--brand) 12%, transparent)
    );
    transition: width 600ms var(--ease-out);
}

.poll-result__content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.poll-result__pct {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--brand);
}

/* ── Reveal animations ─────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Article body ──────────────────────── */
.article-body {
    font-size: 18px;
    line-height: 1.75;
    color: var(--fg-1);
}
.article-body p { margin: 0 0 1.2em; }
.article-body h2, .article-body h3 {
    font-family: var(--font-display);
    color: var(--fg);
    margin: 1.8em 0 0.6em;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.article-body h2 { font-size: 1.6em; }
.article-body h3 { font-size: 1.3em; }
.article-body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.article-body a:hover { text-decoration-color: var(--brand); }
.article-body img { border-radius: var(--r-md); margin: 1.4em 0; }
.article-body blockquote {
    margin: 1.6em 0;
    padding: 16px 24px;
    border-left: 3px solid var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--fg);
}

/* ── Share buttons ─────────────────────── */
.share-btn {
    padding: 8px 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-2);
    background: var(--bg-1);
    color: var(--fg-1);
    font-size: 12px;
    transition: border-color 200ms, color 200ms, transform 200ms;
}
.share-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ── Pagination ──────────────────────── */
.pagination {
    margin-top: var(--s-10);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.pagination a {
    padding: 10px 16px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-1);
    transition: border-color 200ms, color 200ms;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination__current { color: var(--fg-3); font-size: 13px; font-variant-numeric: tabular-nums; }

/* ── Ads premium ──────────────────────── */
.ad-slot {
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
    background: var(--bg-1);
    transition: border-color 200ms, transform 200ms;
}
.ad-slot:hover { border-color: var(--brand); transform: translateY(-2px); }
.ad-slot img { width: 100%; height: auto; display: block; }

.ad-slot--leaderboard, .ad-carousel--leaderboard { aspect-ratio: 1456 / 180; }
.ad-slot--rectangle,   .ad-carousel--rectangle   { aspect-ratio: 6 / 5; }
.ad-slot--lateral,     .ad-carousel--lateral     { aspect-ratio: 6 / 5; }
.ad-slot--inferior,    .ad-carousel--inferior    { aspect-ratio: 1940 / 500; }

.ad-slot--leaderboard img, .ad-slot--rectangle img, .ad-slot--lateral img, .ad-slot--inferior img,
.ad-carousel__slide img {
    width: 100%; height: 100%; object-fit: cover;
}

.ad-slot__brand {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--r-xs);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ad-slot__tag {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    padding: 3px 9px;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--r-xs);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Carrusel de anunciantes — crossfade 600ms */
.ad-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-1);
    isolation: isolate;
}

.ad-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms var(--ease-out);
    display: block;
    z-index: 1;
}

.ad-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.ad-carousel__count {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 5;
    padding: 3px 9px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: var(--r-xs);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Site footer · estilo viejo con branding emisora + corporativo INRAI ── */
.site-footer {
    margin-top: var(--s-20);
    background:
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--brand) 10%, transparent) 0%, transparent 40%),
        var(--bg-1);
    border-top: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
}
.site-footer__grid {
    max-width: var(--max-w);
    margin-inline: auto;
    /* padding-right ampliado para esquivar los FABs flotantes (radio, video, whatsapp) */
    padding: var(--s-16) clamp(110px, 9vw, 130px) var(--s-10) var(--gutter);
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
}
@media (max-width: 980px) {
    .site-footer__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Columna 1: branding emisora */
.site-footer__brand { display: flex; flex-direction: column; }
.site-footer__station-logo {
    height: 104px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 6px 20px color-mix(in srgb, var(--brand) 25%, transparent));
}
.site-footer__tagline {
    color: var(--fg-soft);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 16px;
}
.site-footer__contact {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    font-size: 13px;
    color: var(--fg-soft);
    line-height: 1.75;
}
.site-footer__contact a { color: var(--brand); text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; }

/* Barra INRAI · centrada horizontalmente al final del footer */
.site-footer__inrai-bar {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 14px clamp(110px, 9vw, 130px) 14px var(--gutter);
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}
.site-footer__inrai-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 220ms;
    opacity: 0.85;
}
.site-footer__inrai-link:hover { opacity: 1; }
.site-footer__product-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-3);
}
.site-footer__inrai-logo {
    height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(1.1);
}
.site-footer__inrai-mail {
    font-size: 12.5px;
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}
.site-footer__inrai-mail:hover { text-decoration: underline; }

@media (max-width: 720px) {
    .site-footer__inrai-bar { justify-content: center; }
}

.site-footer__newsletter-lead {
    color: var(--fg-soft);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
}

/* Iconos sociales */
.site-footer__social {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}
.site-footer__social-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 10px;
}
.site-footer__social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.site-footer__social-icons a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--fg-1);
    transition: all 200ms;
}
.site-footer__social-icons a:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.site-footer__bottom {
    border-top: 1px solid var(--line);
    padding: 18px clamp(110px, 9vw, 130px) 18px var(--gutter);
    max-width: var(--max-w);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--fg-3);
}
.site-footer__bottom strong { color: var(--fg-1); font-weight: 700; }
.site-footer__bottom a {
    color: var(--brand);
    text-decoration: none;
}
.site-footer__bottom a:hover { text-decoration: underline; }
.site-footer__legal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.site-footer__legal span[aria-hidden] { opacity: 0.4; }

/* Crédito desarrollador · mismo tono que el copyright (legible, sutil) */
.site-footer__credit {
    color: var(--fg-3) !important;
    text-decoration: none !important;
    font-size: 12px;
    transition: color 200ms;
}
.site-footer__credit:hover { color: var(--brand) !important; }

.footer-list { display: grid; gap: 10px; font-size: 13px; }
.footer-list a { color: var(--fg-2); transition: color 200ms; }
.footer-list a:hover { color: var(--brand); }

.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2);
    background: var(--bg-2);
    color: var(--fg);
    font-size: 13px;
}
.newsletter-form input:focus { outline: none; border-color: var(--brand); }
.newsletter-form button {
    padding: 12px 18px;
    border-radius: var(--r-sm);
    border: none;
    background: var(--brand);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: background 200ms;
}
.newsletter-form button:hover { background: var(--brand-2); }

/* ── Mobile bottom nav ───────────────────── */
:root {
    --mobile-nav-h: 64px;
}
.mobile-nav {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 70;
    background: var(--glass-2);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--line);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    min-height: var(--mobile-nav-h);
}
.mobile-nav a,
.mobile-nav__btn {
    display: grid;
    grid-template-rows: 22px auto;
    place-items: center;
    gap: 3px;
    padding: 6px 2px;
    color: var(--fg-3);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    transition: color 200ms;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    min-height: 0;
    height: auto;
    position: relative;
}
.mobile-nav a.is-active { color: var(--brand); }
.mobile-nav svg { width: 22px; height: 22px; }
.mobile-nav__btn:hover,
.mobile-nav__btn:active { color: var(--brand); }
.mobile-nav__live-dot {
    position: absolute;
    top: 4px;
    right: 22%;
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    box-shadow: 0 0 8px #dc2626;
    animation: onair-pulse 1.2s infinite;
}

/* Estados del botón "En vivo" del mobile-nav (radio pro feedback) */
.mobile-nav__btn [data-icon="loading"] { display: none; }
.mobile-nav__btn[data-state="loading"] [data-icon="idle"] { display: none; }
.mobile-nav__btn[data-state="loading"] [data-icon="loading"] {
    display: block;
    width: 22px;
    height: 22px;
    animation: nav-spin 0.9s linear infinite;
    color: var(--brand);
}
.mobile-nav__btn[data-state="loading"] { color: var(--brand); }
.mobile-nav__btn[data-state="loading"] .mobile-nav__live-dot {
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
}
.mobile-nav__btn[data-state="playing"] {
    color: #ef4444;
}
.mobile-nav__btn[data-state="playing"] [data-icon="idle"] {
    color: #ef4444;
}
@keyframes nav-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .mobile-nav { display: grid; }
    body { padding-bottom: 140px; }
}

/* ═══════════════════════════════════════════════════════════════
   Móvil · optimizaciones específicas (≤640px)
   Header compacto, FABs reducidos, safe-area iOS, tap targets 44px
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    /* Topbar: una sola línea sin reflow, prioridad ciudad + sociales + theme */
    .topbar { font-size: 11px; }
    .topbar__inner { padding: 8px 12px; gap: 10px; }
    .topbar__left { gap: 10px; min-width: 0; flex: 1; overflow: hidden; }
    .topbar__left > span:first-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
    .topbar__right { gap: 8px; }

    /* Widgets secundarios (clima, USD, hora) ocupan demasiado en pantallas
       pequeñas y obligan al reflow del header. Se ocultan; siguen disponibles
       desde la home y secciones. */
    .topbar__widget,
    .topbar .clock { display: none !important; }

    /* Logo brand con presencia clara en mobile (ondas siguen detrás) */
    .brand-logo__img { height: 80px; max-width: 240px; }
}

@media (max-width: 480px) {
    .topbar__inner { padding: 7px 10px; gap: 8px; }
    .topbar__left { gap: 8px; }
    .topbar__right { gap: 6px; }
    .topbar a, .topbar button { padding: 6px; }   /* tap target ≥ 32px */
    .brand-logo__img { height: 72px; max-width: 200px; }
}

@media (max-width: 768px) {
    /* Mini-player eliminado en móvil. */
    .mini-player { display: none !important; }

    /* FAB video se OCULTA en móvil porque la tab "En vivo" del nav ya
       abre el modal de video (misma función, mismo trigger).
       FAB radio QUEDA — es el único acceso para escuchar streaming sin
       salir de la página actual (la tab "Radio" del nav navega a /radio/). */
    .ia-fab--video { display: none !important; }

    /* FAB radio: arriba a la derecha del WhatsApp, compacto */
    .ia-fab--radio {
        width: 50px; height: 50px; right: 14px;
        bottom: calc(var(--mobile-nav-h, 64px) + env(safe-area-inset-bottom) + 74px) !important;
    }
    /* WhatsApp: arriba del nav, esquina inferior derecha */
    .wa-float {
        bottom: calc(var(--mobile-nav-h, 64px) + env(safe-area-inset-bottom) + 14px);
        right: 14px;
        width: 48px;
        height: 48px;
    }

    /* Anti scroll horizontal por elementos absolutos o anchos mayores al viewport. */
    html, body { overflow-x: hidden; }

    /* Hamburger debe ganar sobre la regla default `display:none` que viene
       después en el stylesheet — el media query es igual especificidad pero
       el orden cuenta y la default está debajo. Usamos !important para
       garantizar visibilidad en móvil. */
    .menu-trigger { display: inline-flex !important; }

    /* Nav inferior respeta safe-area-inset-bottom */
    .mobile-nav  { padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px)); }
    .mobile-nav a { min-height: 44px; }

    /* En móvil el menú principal y el buscador inline se ocultan; los
       sustituye el botón hamburger que abre el drawer lateral. */
    .site-header .nav,
    .site-header .search { display: none !important; }
    .menu-trigger { display: inline-flex; }
    .site-header__inner { gap: 12px; }

    /* Reducir el padding-bottom del body (sin mini-player ya no hace falta tanto) */
    body { padding-bottom: calc(var(--mobile-nav-h, 64px) + env(safe-area-inset-bottom) + 8px); }
}

/* ── Hamburger trigger (oculto en desktop) ─────────────── */
.menu-trigger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 180ms;
    flex-shrink: 0;
}
.menu-trigger:hover { background: rgba(255, 255, 255, 0.06); }
.menu-trigger__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform 220ms var(--ease-out), opacity 180ms;
}
.menu-trigger[aria-expanded="true"] .menu-trigger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-trigger[aria-expanded="true"] .menu-trigger__bar:nth-child(2) { opacity: 0; }
.menu-trigger[aria-expanded="true"] .menu-trigger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Drawer móvil ──────────────────────────────────────── */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}
.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}
.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 240ms var(--ease-out);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--bg-1);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    transition: transform 280ms var(--ease-out);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0px);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}
.drawer__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}
.drawer__brand {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.drawer__name {
    font-weight: 700;
    font-size: 14px;
    color: var(--fg);
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.drawer__sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--fg-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
}
.drawer__close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--fg-2);
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.drawer__close:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

.drawer__search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 16px 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--fg-3);
}
.drawer__search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--fg);
    font-size: 14px;
    min-width: 0;
}
.drawer__search input::placeholder { color: var(--fg-3); }

.drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 6px 8px 16px;
    -webkit-overflow-scrolling: touch;
}
.drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    color: var(--fg);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--r-sm);
    min-height: 44px;
    transition: background 160ms;
}
.drawer__link:hover { background: rgba(255, 255, 255, 0.05); }
.drawer__link.is-active { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.drawer__link--cat {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    color: var(--fg-3);
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 14px;
}
.drawer__subs {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}
.drawer__sublink {
    padding: 10px 12px;
    color: var(--fg-2);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--r-sm);
    min-height: 40px;
    display: flex;
    align-items: center;
}
.drawer__sublink:hover { background: rgba(255, 255, 255, 0.04); color: var(--fg); }

.drawer__foot {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer__social { display: flex; gap: 10px; }
.drawer__social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--fg-2);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--r-sm);
}
.drawer__social a:hover { color: var(--brand); }
.drawer__tagline {
    margin: 0;
    font-size: 11px;
    color: var(--fg-3);
    font-style: italic;
}

/* Bloquear scroll del body cuando drawer abierto (la clase la pone el JS) */
body.is-drawer-open { overflow: hidden; touch-action: none; }

/* ── Utilidades ────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { scrollbar-width: none; }

[x-cloak] { display: none !important; }

/* ═════════════════════════════════════════════════════════════════
   HOME EDITORIAL · hero asimétrico + AI Cabina Console + secciones
   Diseño Swiss-grid; tipografía Sora/Inter ya cargadas en base.html.
   No usa carrusel: hero estático = sin solapes.
   ═════════════════════════════════════════════════════════════════ */

.home-section { margin-top: clamp(48px, 6vw, 88px); }
.home-ad-slot { margin-top: clamp(32px, 4vw, 56px); }

/* ═══════════════════════════════════════════════════════════════
   HERO · Carrusel rotativo (6 noticias) + lista lateral (5 cards)
   Columna izq: slides absolutas con crossfade + Ken Burns.
   Columna der: lista estática que comparte altura con el carrusel.
   ═══════════════════════════════════════════════════════════════ */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    grid-template-rows: 4fr 1fr;
    grid-template-areas:
        "carousel list"
        "ad       list";
    gap: clamp(10px, 1vw, 14px);
    margin-top: var(--s-6);
    align-items: stretch;
}
.hero__carousel { grid-area: carousel; }
.hero__ad      { grid-area: ad; align-self: stretch; }
.hero__list    { grid-area: list; min-height: clamp(440px, 38vw, 620px); }

/* ── Slot publicidad debajo del carrusel · mismo ancho y alineado al bottom de la lista ── */
.hero__ad {
    width: 100%;
    min-height: 0;
    display: flex;
}
.hero__ad .ad-carousel,
.hero__ad .ad-slot {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: var(--r-md);
    overflow: hidden;
}
.hero__ad .ad-slot--leaderboard,
.hero__ad .ad-carousel--leaderboard {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
}

/* ── Carrusel container · llena su row del grid (4fr); altura controlada por .hero__list ── */
.hero__carousel {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: #000;
    isolation: isolate;
    color: white;
}
.hero__track {
    position: absolute;
    inset: 0;
}

/* ── Slide individual ── */
.hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
    color: inherit;
}
.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 700ms var(--ease-out), visibility 0s;
    z-index: 1;
}

/* ── Imagen con Ken Burns (zoom lento solo en slide activo) ── */
.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}
.hero__slide.is-active .hero__img {
    animation: hero-ken-burns 9s ease-out forwards;
}
@keyframes hero-ken-burns {
    from { transform: scale(1.02) translate(0, 0); }
    to   { transform: scale(1.12) translate(-1%, -1%); }
}

/* ── Gradient overlay + body ── */
.hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.65) 78%, rgba(0,0,0,0.95) 100%),
        linear-gradient(100deg, rgba(0,0,0,0.35) 0%, transparent 45%);
    z-index: 1;
}
.hero__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: clamp(16px, 1.8vw, 28px);
    padding-right: clamp(16px, 1.8vw, 28px);
    padding-bottom: 52px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 600ms var(--ease-out) 180ms, opacity 600ms var(--ease-out) 180ms;
}
.hero__slide.is-active .hero__body {
    transform: translateY(0);
    opacity: 1;
}
.hero__kicker {
    align-self: flex-start;
    background: var(--brand);
    color: white;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(20px, 1.8vw, 28px);
    line-height: 1.1;
    letter-spacing: -0.022em;
    margin: 0;
    text-shadow: 0 4px 28px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero__excerpt {
    color: rgba(255,255,255,0.88);
    font-size: clamp(12.5px, 0.85vw, 13.5px);
    line-height: 1.45;
    margin: 0;
    max-width: 56ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
}
.hero__cta {
    margin-top: 2px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: white;
    color: var(--brand-2);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    transition: transform 200ms;
}
.hero__slide:hover .hero__cta { transform: translateX(3px); }

/* ── Flechas glass ── */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(14px);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 240ms, background 240ms, transform 240ms var(--ease-spring);
}
.hero__carousel:hover .hero__nav,
.hero__nav:focus-visible {
    opacity: 1;
}
.hero__nav:hover {
    background: rgba(15, 23, 42, 0.72);
    transform: translateY(-50%) scale(1.08);
}
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }

/* ── Dots con barra de progreso integrada (centrados sobre el carrusel) ── */
.hero__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__dot {
    position: relative;
    width: 28px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    overflow: hidden;
    transition: background 240ms, width 320ms var(--ease-out);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.55); }
.hero__dot.is-active {
    width: 52px;
    background: rgba(255, 255, 255, 0.18);
}
.hero__dot.is-active::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: linear-gradient(90deg, var(--accent), white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    animation: hero-dot-fill var(--hero-duration, 6000ms) linear forwards;
}
.hero__carousel[data-paused="true"] .hero__dot.is-active::after {
    animation-play-state: paused;
}
@keyframes hero-dot-fill {
    to { width: 100%; }
}

/* ── Lista lateral (5 cards split: imagen + texto sobre degradado) ──
   height: 100% en .hero__list para heredar el alto del row del grid,
   flex: 1 1 0 en cada card reparte ese alto entre las 5. */
.hero__list {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 0.8vw, 12px);
    height: 100%;
    min-height: 0;
}

.hero__card {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 40% 1fr;
    border-radius: var(--r-md);
    overflow: hidden;
    isolation: isolate;
    /* Degradado sofisticado de fondo: glass dark con tinte sutil de marca */
    background:
        radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--brand) 18%, var(--bg-1)) 0%,
            var(--bg-1) 45%,
            color-mix(in srgb, var(--brand-2) 12%, var(--bg-2)) 100%);
    border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 320ms var(--ease-spring), box-shadow 320ms, border-color 320ms;
}
.hero__card:hover {
    transform: translateX(-3px);
    border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.42),
        0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Imagen a la izquierda, contenida en su propia celda */
.hero__card-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}
.hero__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms var(--ease-out);
}
.hero__card:hover .hero__card-img { transform: scale(1.06); }

/* Texto a la derecha sobre el degradado */
.hero__card-body {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}
.hero__card-kicker {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
}
.hero__card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(12.5px, 0.92vw, 14.5px);
    line-height: 1.22;
    letter-spacing: -0.012em;
    margin: 0;
    color: var(--fg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero__card-time {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--fg-3);
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero {
        /* Reset del aspect-ratio + overflow del primer bloque .hero, que
           aplastaba todo el contenido al apilar en 1 columna. */
        aspect-ratio: auto;
        overflow: visible;
        height: auto;
        min-height: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "carousel"
            "ad"
            "list";
        gap: var(--s-4);
    }
    .hero__carousel { aspect-ratio: 16 / 10; min-height: 240px; }
    .hero__list { display: grid; grid-template-columns: repeat(2, 1fr); height: auto; min-height: 0; }
    .hero__card { flex: none; min-height: 110px; }
}
@media (max-width: 540px) {
    .hero__list { grid-template-columns: 1fr; }
    .hero__nav { display: none; }
    .hero__carousel { aspect-ratio: 16 / 11; }
}

.kicker--ondark { color: rgba(255,255,255,0.95); }

/* ── Section head editorial: eyebrow + título serif-display ── */
.section-head__eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 6px;
}

/* ── Sidebar de la home (envuelve AI Console + widgets) ── */
.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
}
.widget__loading {
    color: var(--fg-3);
    font-size: 13px;
    margin: 0;
}

/* ═════════════════════════════════════════════════════════════════
   AI CABINA CONSOLE · widget futurista de radio profesional
   ═════════════════════════════════════════════════════════════════ */

.ai-console {
    position: relative;
    border-radius: var(--r-md);
    padding: 18px 18px 16px;
    background:
        radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),
        linear-gradient(160deg, #0a0e16 0%, #050810 100%);
    border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
    color: #cfd6e0;
    isolation: isolate;
    overflow: hidden;
}
.ai-console::before {
    content: "";
    position: absolute; inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--brand) 55%, transparent),
        transparent 40%, transparent 60%,
        color-mix(in srgb, var(--accent) 35%, transparent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.55;
}

.ai-console__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.ai-console__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #dc2626;
}
.ai-console__live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 12px #dc2626;
    animation: ai-live-pulse 1.2s ease-in-out infinite;
}
@keyframes ai-live-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.85); }
}
.ai-console__clock {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #6b7480;
    font-variant-numeric: tabular-nums;
}

/* Spectrum bars (16 animated columns) */
.ai-console__spectrum {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 38px;
    margin-bottom: 14px;
    padding: 0 2px;
}
.ai-console__spectrum span {
    flex: 1;
    background: linear-gradient(to top,
        var(--brand) 0%,
        color-mix(in srgb, var(--brand) 60%, var(--accent)) 60%,
        var(--accent) 100%);
    border-radius: 2px;
    transform-origin: bottom;
    animation: ai-spectrum 1.4s ease-in-out infinite;
    box-shadow: 0 0 6px color-mix(in srgb, var(--brand) 50%, transparent);
}
@keyframes ai-spectrum {
    0%, 100% { height: 18%; }
    50%      { height: 100%; }
}
.ai-console__spectrum span:nth-child(1)  { animation-delay: 0.00s; }
.ai-console__spectrum span:nth-child(2)  { animation-delay: 0.07s; }
.ai-console__spectrum span:nth-child(3)  { animation-delay: 0.14s; }
.ai-console__spectrum span:nth-child(4)  { animation-delay: 0.21s; }
.ai-console__spectrum span:nth-child(5)  { animation-delay: 0.28s; }
.ai-console__spectrum span:nth-child(6)  { animation-delay: 0.35s; }
.ai-console__spectrum span:nth-child(7)  { animation-delay: 0.42s; }
.ai-console__spectrum span:nth-child(8)  { animation-delay: 0.49s; }
.ai-console__spectrum span:nth-child(9)  { animation-delay: 0.56s; }
.ai-console__spectrum span:nth-child(10) { animation-delay: 0.50s; }
.ai-console__spectrum span:nth-child(11) { animation-delay: 0.43s; }
.ai-console__spectrum span:nth-child(12) { animation-delay: 0.36s; }
.ai-console__spectrum span:nth-child(13) { animation-delay: 0.29s; }
.ai-console__spectrum span:nth-child(14) { animation-delay: 0.22s; }
.ai-console__spectrum span:nth-child(15) { animation-delay: 0.15s; }
.ai-console__spectrum span:nth-child(16) { animation-delay: 0.08s; }

.ai-console__nowblock { margin-bottom: 14px; }

/* ── Programa al aire con foto DJ ── */
.ai-console__program-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
}
.ai-console__dj-photo {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.2), transparent 55%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    display: grid;
    place-items: center;
    color: white;
    border: 2px solid color-mix(in srgb, var(--brand) 60%, transparent);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 30%, transparent);
    flex-shrink: 0;
}
.ai-console__dj-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ai-console__dj-initial {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.ai-console__dj-ping {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #16a34a;
    border: 2px solid #0a0e14;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4);
    animation: ai-dj-blink 1.6s ease-in-out infinite;
}
@keyframes ai-dj-blink {
    0%, 100% { box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4); }
    50%      { box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
}
.ai-console__program-meta { min-width: 0; }
.ai-console__label {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #6b7480;
    display: block;
    margin-bottom: 6px;
}
.ai-console__program {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #f1f4f8;
}
.ai-console__host {
    font-size: 12px;
    color: #8b94a3;
    margin-top: 2px;
}
.ai-console__progress {
    margin-top: 12px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.ai-console__progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 2px;
    transition: width 600ms var(--ease-out);
}
.ai-console__times {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #6b7480;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

/* AI Badge: orbe pulsante + meta */
.ai-console__ai {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ai-console__ai-orb {
    position: relative;
    width: 28px; height: 28px;
    flex-shrink: 0;
}
.ai-console__ai-orb span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--accent), var(--brand) 70%, transparent 100%);
    animation: ai-orb-pulse 2.4s ease-in-out infinite;
}
.ai-console__ai-orb span:nth-child(2) { animation-delay: 0.4s; opacity: 0.5; }
.ai-console__ai-orb span:nth-child(3) { animation-delay: 0.8s; opacity: 0.25; }
@keyframes ai-orb-pulse {
    0%, 100% { transform: scale(0.9); filter: blur(0); }
    50%      { transform: scale(1.15); filter: blur(1px); }
}
.ai-console__ai-title {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
}
.ai-console__ai-sub {
    font-size: 11.5px;
    color: #8b94a3;
    margin-top: 1px;
}

/* ── Divider entre bloques del console ── */
.ai-console__divider {
    margin: 18px 0 16px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        color-mix(in srgb, var(--brand) 35%, transparent) 50%,
        transparent 100%);
}

/* ═══════════════════════════════════════════════════════════════
   AI CONSOLE · Programación con waves background performante
   GPU-only animations: solo translateX + opacity. Sin filter.
   ═══════════════════════════════════════════════════════════════ */
.ai-console__schedule {
    position: relative;
    border-radius: 12px;
    padding: 14px 14px 12px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(20, 26, 36, 0.55), rgba(10, 14, 20, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Capa de ondas: 3 líneas que cruzan horizontalmente en loop */
.ai-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.ai-waves__line {
    position: absolute;
    left: -120%;
    width: 240%;
    height: 1.5px;
    background: linear-gradient(90deg,
        transparent 0%,
        transparent 20%,
        color-mix(in srgb, var(--brand) 70%, transparent) 50%,
        transparent 80%,
        transparent 100%);
    will-change: transform, opacity;
    opacity: 0;
}
.ai-waves__line--1 {
    top: 20%;
    animation: ai-wave-sweep 7s linear infinite;
}
.ai-waves__line--2 {
    top: 55%;
    background: linear-gradient(90deg,
        transparent 0%,
        transparent 25%,
        color-mix(in srgb, var(--accent) 60%, transparent) 50%,
        transparent 75%,
        transparent 100%);
    animation: ai-wave-sweep 9s linear infinite;
    animation-delay: 2s;
}
.ai-waves__line--3 {
    top: 80%;
    background: linear-gradient(90deg,
        transparent 0%,
        transparent 30%,
        color-mix(in srgb, var(--brand-2) 65%, transparent) 50%,
        transparent 70%,
        transparent 100%);
    animation: ai-wave-sweep 11s linear infinite;
    animation-delay: 4s;
}
@keyframes ai-wave-sweep {
    0%   { transform: translate3d(0, 0, 0);   opacity: 0; }
    15%  { opacity: 0.8; }
    85%  { opacity: 0.6; }
    100% { transform: translate3d(50%, 0, 0); opacity: 0; }
}

/* Header del schedule */
.ai-console__schedule-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    gap: 10px;
}
.ai-console__schedule-link {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 200ms;
}
.ai-console__schedule-link:hover { opacity: 1; }

/* Lista compacta de programación */
.ai-schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ai-schedule-row {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: center;
    padding: 6px 4px;
    border-radius: 6px;
    transition: background 200ms;
}
.ai-schedule-row:hover { background: rgba(255, 255, 255, 0.04); }
.ai-schedule-row__time {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}
.ai-schedule-row__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.ai-schedule-row__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12.5px;
    line-height: 1.2;
    color: #e6ebf2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ai-schedule-row__dj {
    font-size: 10.5px;
    color: #7f8a96;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
    .ai-waves__line { animation: none; opacity: 0.4; }
}

/* ═════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   DESTACADAS GRID · 2 cards lado a lado, estilo hero card panorámico
   ═══════════════════════════════════════════════════════════════ */
.destacadas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 1.6vw, 22px);
}
@media (max-width: 720px) {
    .destacadas-grid { grid-template-columns: 1fr; }
}

.destacadas-card {
    position: relative;
    display: grid;
    grid-template-columns: 44% 1fr;
    min-height: 180px;
    background:
        radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--brand) 22%, var(--bg-1)) 0%,
            var(--bg-1) 50%,
            color-mix(in srgb, var(--brand-2) 16%, var(--bg-2)) 100%);
    border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
    border-radius: var(--r-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--fg);
    box-shadow:
        0 8px 26px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 320ms var(--ease-spring), box-shadow 320ms, border-color 320ms;
    isolation: isolate;
}
.destacadas-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--brand) 60%, var(--line));
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.45),
        0 0 0 1px color-mix(in srgb, var(--brand) 38%, transparent),
        0 0 28px color-mix(in srgb, var(--brand) 22%, transparent);
}
.destacadas-card__media {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}
.destacadas-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms var(--ease-out);
}
.destacadas-card:hover .destacadas-card__media img { transform: scale(1.06); }
.destacadas-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, color-mix(in srgb, var(--bg-1) 65%, transparent) 100%);
    pointer-events: none;
}
.destacadas-card__body {
    padding: clamp(16px, 1.8vw, 24px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-width: 0;
}
.destacadas-card__kicker {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand);
    padding: 4px 10px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    border-radius: var(--r-pill);
}
.destacadas-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.22;
    letter-spacing: -0.018em;
    margin: 0;
    color: var(--fg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 200ms;
}
.destacadas-card:hover .destacadas-card__title { color: var(--brand); }
.destacadas-card__excerpt {
    font-size: 13px;
    line-height: 1.45;
    color: var(--fg-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.destacadas-card__time {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN AURORA · background mesh gradient para "Nuestra Radio"
   (estética busycol — blobs orgánicos, glass, glow)
   ═══════════════════════════════════════════════════════════════ */
.home-section--aurora {
    position: relative;
    padding: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px);
    border-radius: var(--r-lg);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
    border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
}
/* Mesh gradient: 3 blobs grandes con blur orgánico */
.home-section--aurora::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 30%, color-mix(in srgb, var(--brand) 38%, transparent) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 70%, color-mix(in srgb, var(--brand-2) 35%, transparent) 0%, transparent 65%),
        radial-gradient(ellipse 40% 45% at 60% 20%, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 60%),
        radial-gradient(ellipse 55% 40% at 30% 85%, color-mix(in srgb, var(--brand) 25%, transparent) 0%, transparent 60%);
    filter: blur(40px) saturate(1.2);
    opacity: 0.55;
    z-index: -2;
    animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
    0%   { transform: translate(0, 0) scale(1);     filter: blur(40px) saturate(1.2) hue-rotate(0deg); }
    50%  { transform: translate(2%, -1%) scale(1.05); filter: blur(45px) saturate(1.3) hue-rotate(15deg); }
    100% { transform: translate(-1%, 2%) scale(1);   filter: blur(40px) saturate(1.2) hue-rotate(-10deg); }
}

/* Grain / noise overlay sutil para textura premium */
.home-section--aurora::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(255,255,255,0.012) 0,
            rgba(255,255,255,0.012) 1px,
            transparent 1px,
            transparent 2px);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
}

/* En la sección aurora, las news-cards tienen fondo glass para que el aurora se vea */
.home-section--aurora .news-card {
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--bg-1) 70%, transparent) 0%,
            color-mix(in srgb, var(--bg-2) 80%, transparent) 100%);
    backdrop-filter: blur(12px) saturate(1.1);
    border-color: rgba(255, 255, 255, 0.1);
}
.home-section--aurora .news-card:hover {
    border-color: color-mix(in srgb, var(--brand) 65%, transparent);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.55),
        0 0 32px color-mix(in srgb, var(--brand) 35%, transparent);
}

.home-section--aurora .section-head__title {
    color: white;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.home-section--aurora .section-head__eyebrow {
    color: var(--accent);
    text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent);
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA RADIO · institucional INRAI moderno
   ═══════════════════════════════════════════════════════════════ */

.radio-hero {
    text-align: center;
    padding: var(--s-10) 0 var(--s-12);
    position: relative;
}
.radio-hero__logo {
    height: 96px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    margin: var(--s-6) auto var(--s-4);
    display: block;
    filter: drop-shadow(0 8px 24px color-mix(in srgb, var(--brand) 28%, transparent));
}
.radio-hero__title {
    font-size: clamp(36px, 6vw, 72px);
    margin: var(--s-5) 0 var(--s-3);
}
.radio-hero__sub {
    font-size: 16px;
    color: var(--fg-2);
    margin: 0;
}
.radio-hero__cta {
    margin-top: var(--s-6);
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn--ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-pill);
    background: transparent;
    border: 1px solid var(--line);
    color: var(--fg);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: border-color 200ms, color 200ms;
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ── Red de emisoras · grid de cards institucional ── */
.radio-network {
    margin-top: var(--s-10);
    padding: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-1), color-mix(in srgb, var(--bg-2) 70%, var(--bg-1)));
    border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
}
.radio-network__grid {
    margin-top: var(--s-6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(14px, 1.5vw, 22px);
}

/* Card de cada emisora */
.radio-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 20px;
    border-radius: var(--r-md);
    background: var(--bg-1);
    border: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
    transition: transform 280ms var(--ease-spring), border-color 280ms, box-shadow 280ms;
}
.radio-card__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 55%),
        linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%);
    z-index: -1;
    opacity: 0.85;
}
.radio-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.4),
        0 0 24px color-mix(in srgb, var(--brand) 22%, transparent);
}
.radio-card.is-current {
    border-color: color-mix(in srgb, var(--brand) 70%, transparent);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.45),
        0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent),
        0 0 28px color-mix(in srgb, var(--brand) 35%, transparent);
}

.radio-card__logo {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 76px;
    height: 76px;
    border-radius: 14px;
    background: white;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    align-self: start;
}
.radio-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
.radio-card__initial {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.radio-card__info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
.radio-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.15;
    margin: 0 0 4px;
    color: var(--fg);
}
.radio-card__city {
    margin: 0 0 4px;
    font-size: 12.5px;
    color: var(--fg-2);
    letter-spacing: 0.02em;
}
.radio-card__city strong {
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
}
.radio-card__tagline {
    margin: 0;
    font-size: 11.5px;
    color: var(--fg-3);
    font-style: italic;
}

.radio-card__actions {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}
.radio-card__play {
    padding: 8px 16px;
    font-size: 12.5px;
}
.radio-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--brand) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 50%, transparent);
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.radio-card__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 30%, transparent);
    animation: radio-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes radio-badge-pulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 30%, transparent); }
    50%      { transform: scale(1.15); box-shadow: 0 0 0 6px color-mix(in srgb, #16a34a 0%, transparent); }
}

/* ── Programación: tiles con foto DJ ── */
.program-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--bg-1)) 0%, var(--bg-1) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: transform 240ms var(--ease-spring), border-color 240ms;
}
.program-tile:hover { transform: translateY(-3px); border-color: var(--brand); }
.program-tile__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid color-mix(in srgb, var(--brand) 40%, transparent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.program-tile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-tile__body { min-width: 0; flex: 1; }
.program-tile__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    margin: 0 0 3px;
    line-height: 1.2;
    color: var(--fg);
}
.program-tile__dj {
    font-size: 12px;
    color: var(--fg-3);
    margin: 0 0 6px;
}
.program-tile__times {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--brand);
    letter-spacing: 0.04em;
}
.program-tile__times strong { color: var(--fg-3); font-weight: 600; margin-right: 4px; }

/* ── Playlist ── */
.playlist-glass { padding: 8px; }
.playlist-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    transition: background 200ms;
}
.playlist-row:last-child { border-bottom: none; }
.playlist-row:hover { background: var(--bg-2); }
.playlist-row__num {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--brand);
    width: 28px;
    text-align: center;
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
}
.playlist-row__info { flex: 1; min-width: 0; }
.playlist-row__title { margin: 0; font-weight: 600; font-size: 14px; }
.playlist-row__artist { margin: 2px 0 0; font-size: 12px; color: var(--fg-3); }
.playlist-row__play {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--fg);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    transition: border-color 200ms, color 200ms;
}
.playlist-row__play:hover { border-color: var(--brand); color: var(--brand); }

/* ── Reduced motion ─────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .hero[data-parallax] .hero__img { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE · detalle de noticia
   ═══════════════════════════════════════════════════════════════ */

.article {
    max-width: 880px;
    margin: 0 auto;
}

.article__head { margin-bottom: var(--s-10); }

.article__kicker {
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: none;
    padding: 6px 14px;
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    border-radius: var(--r-pill);
    transition: background 200ms;
}
.article__kicker:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }

.article__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.026em;
    margin: 14px 0 16px;
    color: var(--fg);
}

.article__deck {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.5;
    color: var(--fg-1);
    margin: 0;
}

.article__meta {
    margin-top: var(--s-6);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg-3);
    font-size: 13px;
    flex-wrap: wrap;
}
.article__meta time, .article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article__meta-sep { opacity: 0.45; }

.article__media {
    margin: 0 0 var(--s-8);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
    aspect-ratio: 16 / 9;
    background: #000;
}
.article__media iframe,
.article__media img {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.article__audio {
    padding: 18px 22px;
    margin-bottom: var(--s-8);
    display: flex;
    align-items: center;
    gap: 16px;
}
.article__audio-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: var(--brand);
    display: grid;
    place-items: center;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}
.article__audio audio { flex: 1; }

/* ═══════════════════════════════════════════════════════════════
   SHARE · HUD Jarvis (sci-fi, holográfico)
   Label izq, botones centrados, status der · corners cortados,
   scan line al hover, glow brand pulsante.
   ═══════════════════════════════════════════════════════════════ */
.share-hud {
    margin-top: var(--s-12);
    padding: 22px 4px;
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    gap: 18px;
    position: relative;
    border-top: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
}
/* Ticks decorativos en las esquinas de la barra (HUD frame) */
.share-hud::before, .share-hud::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--brand);
    pointer-events: none;
    box-shadow: 0 0 8px color-mix(in srgb, var(--brand) 60%, transparent);
}
.share-hud::before {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
}
.share-hud::after {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
}

/* Label "[ Compartir ]" tipográfica HUD */
.share-hud__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--brand);
    text-shadow: 0 0 10px color-mix(in srgb, var(--brand) 55%, transparent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
}
.share-hud__bracket {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1;
    color: var(--brand);
    opacity: 0.65;
    font-weight: 400;
}

/* Status HUD a la derecha · dot pulsante + texto mono */
.share-hud__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: color-mix(in srgb, var(--brand) 85%, white);
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.share-hud__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    animation: share-hud-blink 1.8s ease-in-out infinite;
}
@keyframes share-hud-blink {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

/* Grupo de botones — centrado en la columna media */
.share-hud__group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* ── Botón HUD individual ── */
.share-hud-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--brand) 8%, transparent) 0%,
            transparent 50%,
            color-mix(in srgb, var(--brand) 12%, transparent) 100%);
    border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
    color: color-mix(in srgb, var(--brand) 80%, white);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    transition: color 220ms, border-color 220ms, transform 220ms var(--ease-spring), background 220ms;
    overflow: hidden;
    isolation: isolate;
}
.share-hud-btn svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 0 4px color-mix(in srgb, var(--brand) 55%, transparent));
    transition: filter 220ms;
}

/* Scan line al hover (sweep horizontal de brillo) */
.share-hud-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 0%,
        transparent 35%,
        color-mix(in srgb, var(--brand) 45%, transparent) 50%,
        transparent 65%,
        transparent 100%);
    transform: translateX(-110%);
    transition: transform 700ms var(--ease-out);
    pointer-events: none;
    z-index: 0;
}

/* Tick decorativo en la esquina superior izquierda */
.share-hud-btn::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 11px;
    width: 4px;
    height: 4px;
    background: var(--brand);
    box-shadow: 0 0 6px var(--brand);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 220ms;
    z-index: 2;
}

.share-hud-btn > * { position: relative; z-index: 1; }

.share-hud-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: var(--brand);
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--brand) 22%, transparent) 0%,
            color-mix(in srgb, var(--brand) 6%, transparent) 100%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent),
        0 0 22px color-mix(in srgb, var(--brand) 38%, transparent),
        inset 0 0 18px color-mix(in srgb, var(--brand) 22%, transparent);
    text-shadow: 0 0 6px color-mix(in srgb, var(--brand) 90%, transparent);
}
.share-hud-btn:hover svg {
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--brand) 90%, transparent));
}
.share-hud-btn:hover::before { transform: translateX(110%); }
.share-hud-btn:hover::after { opacity: 1; }

.share-hud-btn:active { transform: translateY(0) scale(0.97); }

/* Responsive · móvil colapsa a columna y el status se oculta */
@media (max-width: 720px) {
    .share-hud {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .share-hud__label { justify-self: start; }
    .share-hud__group { justify-content: flex-start; }
    .share-hud__status { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   COMMENTS
   ═══════════════════════════════════════════════════════════════ */

.comments {
    max-width: 880px;
    margin: var(--s-16) auto 0;
}
.comments__count {
    font-family: var(--font-mono);
    font-size: 0.7em;
    color: var(--fg-3);
    font-weight: 500;
}

.comments__messages {
    margin: var(--s-4) 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.comments__alert {
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    border: 1px solid;
}
.comments__alert--success {
    background: color-mix(in srgb, #16a34a 15%, transparent);
    border-color: color-mix(in srgb, #16a34a 45%, transparent);
    color: #86efac;
}
.comments__alert--error {
    background: color-mix(in srgb, #dc2626 15%, transparent);
    border-color: color-mix(in srgb, #dc2626 45%, transparent);
    color: #fca5a5;
}

.comments__form {
    margin: var(--s-6) 0;
    padding: clamp(18px, 2vw, 28px);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.comments__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 640px) { .comments__row { grid-template-columns: 1fr; } }
.comments__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fg-2);
}
.comments__field span { letter-spacing: 0.02em; }
.comments__field em { color: var(--brand); font-style: normal; }
.comments__field input,
.comments__field textarea {
    padding: 11px 14px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 200ms, background 200ms;
    resize: vertical;
}
.comments__field input:focus,
.comments__field textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--bg-1);
}
.comments__actions {
    display: flex;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: none;
    border-radius: var(--r-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform 200ms var(--ease-spring), box-shadow 200ms;
}
.btn--primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: white;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 35%, transparent);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 50%, transparent);
}

.comments__list {
    margin: var(--s-6) 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comments__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: border-color 200ms;
}
.comments__item:hover { border-color: rgba(255, 255, 255, 0.12); }
.comments__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: white;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--brand) 30%, transparent);
}
.comments__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.comments__head strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--fg);
}
.comments__time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-3);
}
.comments__text {
    margin: 0;
    color: var(--fg-1);
    font-size: 14.5px;
    line-height: 1.55;
    word-wrap: break-word;
}
.comments__empty {
    margin-top: var(--s-6);
    padding: 22px;
    text-align: center;
    color: var(--fg-3);
    background: var(--bg-1);
    border: 1px dashed var(--line);
    border-radius: var(--r-md);
    font-size: 14px;
}

.related { max-width: 1320px; margin: var(--s-16) auto 0; }

/* ═══════════════════════════════════════════════════════════════
   DETALLE · layout 2 cols (article + sidebar) + widgets sidebar
   ═══════════════════════════════════════════════════════════════ */
.detalle-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: clamp(24px, 3vw, 48px);
    max-width: 1280px;
    margin: 0 auto;
    align-items: start;
}
.detalle-layout > .article { max-width: 100%; margin: 0; }

@media (max-width: 1024px) {
    .detalle-layout { grid-template-columns: 1fr; }
}

.article-sidebar {
    position: sticky;
    top: calc(var(--s-6) + 80px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: start;
}
@media (max-width: 1024px) { .article-sidebar { position: static; } }

/* ── Mini-post (Más vistos) ── */
.mini-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mini-post {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: start;
}
.mini-post__media {
    display: block;
    width: 90px;
    height: 68px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--bg-2);
    flex-shrink: 0;
}
.mini-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease-out);
}
.mini-post:hover .mini-post__media img { transform: scale(1.05); }
.mini-post__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.mini-post__kicker {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}
.mini-post__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    color: var(--fg);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 200ms;
}
.mini-post:hover .mini-post__title { color: var(--brand); }
.mini-post__time {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-top: 2px;
}

/* ── Tags cloud (sidebar) ── */
.tags-cloud {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tags-cloud li a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--fg-1);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 200ms, color 200ms, background 200ms;
}
.tags-cloud li a:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 12%, transparent);
}

/* ── Widget Tweet del día / Tweet embed ── */
.widget--tweet .tweet-embed {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 12px;
    max-width: 100%;
    overflow: hidden;
}
.widget--tweet .tweet-embed iframe,
.widget--tweet .tweet-embed blockquote {
    max-width: 100% !important;
    margin: 0 !important;
}

/* ── Widget CTA WhatsApp ── */
.widget--cta {
    padding: 18px 20px;
    background:
        radial-gradient(circle at 80% 20%, color-mix(in srgb, #25D366 22%, transparent), transparent 60%),
        var(--bg-1);
    border: 1px solid color-mix(in srgb, #25D366 30%, var(--line));
    border-radius: var(--r-md);
}
.widget--cta .widget__text {
    margin: 4px 0 12px;
    font-size: 13px;
    color: var(--fg-1);
    line-height: 1.4;
}
.widget__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #25D366;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12.5px;
    border-radius: var(--r-pill);
    text-decoration: none;
    transition: transform 200ms;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.widget__cta:hover { transform: translateY(-2px); }

/* ── Tags al final del article ── */
.article__tags {
    margin-top: var(--s-8);
    padding: var(--s-6) 0;
    border-top: 1px dashed var(--line);
}
.article__tags-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 14px;
}
.article__tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article__tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--fg-1);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms;
}
.article__tag:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    transform: translateY(-1px);
}

/* ── Paginación de relacionadas ── */
.related__pagination {
    margin-top: var(--s-6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.page-btn {
    padding: 9px 18px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--fg);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12.5px;
    transition: border-color 200ms, color 200ms;
}
.page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page-info {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg-3);
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════
   TOAST · feedback flotante
   ═══════════════════════════════════════════════════════════════ */
.toast-host {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13.5px;
    color: white;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
    pointer-events: auto;
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast--ok  { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.toast--err { border-color: color-mix(in srgb, #dc2626 60%, transparent); }

/* ═══════════════════════════════════════════════════════════════
   PAGE · plantilla compartida (contacto, nosotros, política)
   ═══════════════════════════════════════════════════════════════ */
.page { max-width: 980px; margin: 0 auto; }
.page--legal, .page--about { max-width: 820px; }

.page__head {
    text-align: center;
    margin-bottom: var(--s-10);
}
.page__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand);
    padding: 6px 14px;
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    border-radius: var(--r-pill);
    margin-bottom: 16px;
}
.page__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.026em;
    margin: 0;
}
.page__tagline {
    margin-top: 14px;
    font-size: 17px;
    color: var(--brand);
    font-style: italic;
}
.page__lead {
    margin: 18px auto 0;
    max-width: 64ch;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.6;
    color: var(--fg-1);
}

.page__body { margin-top: var(--s-8); }

.page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(20px, 2.4vw, 36px);
    margin-top: var(--s-8);
}
@media (max-width: 840px) {
    .page__grid { grid-template-columns: 1fr; }
}

.contact-form {
    padding: clamp(20px, 2.2vw, 32px);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page__sidebar { display: flex; flex-direction: column; gap: 16px; }
.page__info-card {
    padding: 24px;
    border-radius: var(--r-md);
}
.page__info-title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}
.page__info-dial {
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--brand);
    text-transform: uppercase;
}
.page__info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.page__info-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--fg-1);
}
.page__info-list strong {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-3);
    font-weight: 600;
}
.page__info-list a { color: var(--brand); text-decoration: none; }
.page__info-list a:hover { text-decoration: underline; }
