/* ===================================================================
   RADIO VITAL — Design System
   Modern digital media brand. Clean, premium, editorial.
   =================================================================== */

:root {
    /* ------------------------------------------------------------------
       COLOR — Primitive palette
       ------------------------------------------------------------------ */
    --rv-white:       #ffffff;
    --rv-black:       #0a0a0b;
    --rv-neutral-50:  #f8f9fc;
    --rv-neutral-100: #f0f2f6;
    --rv-neutral-200: #e2e6ee;
    --rv-neutral-300: #c8ceda;
    --rv-neutral-400: #9ca3b4;
    --rv-neutral-500: #6b7385;
    --rv-neutral-600: #4a5265;
    --rv-neutral-700: #323a4a;
    --rv-neutral-800: #1e2433;
    --rv-neutral-900: #121725;

    --rv-blue-50:  #eef4ff;
    --rv-blue-100: #dce5f8;
    --rv-blue-200: #b3c9f0;
    --rv-blue-300: #7aa2e3;
    --rv-blue-400: #4a7ed4;
    --rv-blue-500: #1a56db;
    --rv-blue-600: #003782;
    --rv-blue-600-rgb: 0, 55, 130;
    --rv-blue-700: #002a63;
    --rv-blue-800: #001f4a;
    --rv-blue-900: #001433;

    --rv-gold-50:  #fdf8ee;
    --rv-gold-100: #f5ebd0;
    --rv-gold-200: #ebd7a0;
    --rv-gold-300: #ddc070;
    --rv-gold-400: #cfa84a;
    --rv-gold-500: #c5a55a;
    --rv-gold-600: #a88840;
    --rv-gold-700: #8a6e30;
    --rv-gold-800: #6d5522;
    --rv-gold-900: #503e16;

    /* ------------------------------------------------------------------
       COLOR — Semantic tokens
       ------------------------------------------------------------------ */
    --rv-primary:       var(--rv-blue-600);
    --rv-primary-dark:  var(--rv-blue-700);
    --rv-primary-light: var(--rv-blue-500);
    --rv-accent:        var(--rv-gold-500);
    --rv-accent-light:  var(--rv-gold-400);
    --rv-accent-dark:   var(--rv-gold-600);

    --rv-surface:         var(--rv-white);
    --rv-surface-alt:     var(--rv-neutral-50);
    --rv-surface-raised:  var(--rv-white);
    --rv-border:          var(--rv-neutral-200);
    --rv-border-light:    var(--rv-neutral-100);
    --rv-border-dark:     var(--rv-neutral-300);

    --rv-text-primary:   var(--rv-neutral-900);
    --rv-text-secondary: var(--rv-neutral-500);
    --rv-text-tertiary:  var(--rv-neutral-400);
    --rv-text-inverse:   var(--rv-white);
    --rv-text-link:      var(--rv-blue-600);

    --rv-success: #10b981;
    --rv-warning: #f59e0b;
    --rv-error:   #ef4444;
    --rv-info:    var(--rv-blue-500);

    /* ---- Backward-compat aliases ---- */
    --rv-dark:  var(--rv-neutral-800);
    --rv-gray:  var(--rv-neutral-500);
    --rv-light: var(--rv-neutral-50);

    /* ------------------------------------------------------------------
       GRADIENT
       ------------------------------------------------------------------ */
    --rv-gradient:        linear-gradient(135deg, var(--rv-blue-600), var(--rv-blue-500));
    --rv-gradient-accent: linear-gradient(135deg, var(--rv-gold-500), var(--rv-gold-400));
    --rv-gradient-dark:   linear-gradient(135deg, var(--rv-neutral-900), var(--rv-neutral-800));

    /* ------------------------------------------------------------------
       TYPOGRAPHY — Scale
       ------------------------------------------------------------------ */
    --rv-font-display:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --rv-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --rv-font-mono:    'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;

    --rv-text-2xs:  0.625rem;  /* 10px */
    --rv-text-xs:   0.75rem;   /* 12px */
    --rv-text-sm:   0.8125rem; /* 13px */
    --rv-text-base: 0.9375rem; /* 15px */
    --rv-text-lg:   1.0625rem; /* 17px */
    --rv-text-xl:   1.25rem;   /* 20px */

    --rv-heading-sm:  1.5rem;  /* 24px */
    --rv-heading-md:  1.875rem;/* 30px */
    --rv-heading-lg:  2.375rem;/* 38px */
    --rv-heading-xl:  3rem;    /* 48px */
    --rv-heading-2xl: 3.75rem; /* 60px */

    --rv-leading-tight:   1.15;
    --rv-leading-snug:    1.35;
    --rv-leading-normal:  1.6;
    --rv-leading-relaxed: 1.75;

    --rv-tracking-tight:  -0.025em;
    --rv-tracking-normal: 0;
    --rv-tracking-wide:   0.05em;
    --rv-tracking-wider:  0.1em;

    --rv-font-weight-normal: 400;
    --rv-font-weight-medium: 500;
    --rv-font-weight-semibold: 600;
    --rv-font-weight-bold: 700;
    --rv-font-weight-extrabold: 800;

    /* ------------------------------------------------------------------
       SPACING
       ------------------------------------------------------------------ */
    --rv-space-0:   0;
    --rv-space-1:   0.25rem;  /* 4px */
    --rv-space-1-5: 0.375rem; /* 6px */
    --rv-space-2:   0.5rem;   /* 8px */
    --rv-space-3:   0.75rem;  /* 12px */
    --rv-space-4:   1rem;     /* 16px */
    --rv-space-5:   1.25rem;  /* 20px */
    --rv-space-6:   1.5rem;   /* 24px */
    --rv-space-7:   1.75rem;  /* 28px */
    --rv-space-8:   2rem;     /* 32px */
    --rv-space-10:  2.5rem;   /* 40px */
    --rv-space-12:  3rem;     /* 48px */
    --rv-space-16:  4rem;     /* 64px */
    --rv-space-20:  5rem;     /* 80px */
    --rv-space-24:  6rem;     /* 96px */
    --rv-space-32:  8rem;     /* 128px */

    --rv-section-padding: var(--rv-space-20);

    /* ------------------------------------------------------------------
       BORDER RADIUS
       ------------------------------------------------------------------ */
    --rv-radius-sm:    6px;
    --rv-radius-md:    10px;
    --rv-radius:       14px;
    --rv-radius-lg:    18px;
    --rv-radius-xl:    24px;
    --rv-radius-full:  9999px;

    /* ------------------------------------------------------------------
       SHADOWS
       ------------------------------------------------------------------ */
    --rv-shadow-sm:    0 1px 3px rgba(18, 23, 37, 0.04), 0 1px 2px rgba(18, 23, 37, 0.02);
    --rv-shadow-md:    0 4px 12px rgba(18, 23, 37, 0.05), 0 2px 4px rgba(18, 23, 37, 0.03);
    --rv-shadow:       0 4px 20px rgba(0, 55, 130, 0.08);
    --rv-shadow-lg:    0 8px 30px rgba(18, 23, 37, 0.07), 0 4px 10px rgba(18, 23, 37, 0.04);
    --rv-shadow-xl:    0 20px 50px rgba(18, 23, 37, 0.10), 0 8px 20px rgba(18, 23, 37, 0.05);
    --rv-shadow-glow:  0 0 30px rgba(197, 165, 90, 0.15);

    /* ------------------------------------------------------------------
       ANIMATION
       ------------------------------------------------------------------ */
    --rv-duration-150: 150ms;
    --rv-duration-200: 200ms;
    --rv-duration-250: 250ms;
    --rv-duration-300: 300ms;
    --rv-duration-400: 400ms;
    --rv-duration-500: 500ms;

    --rv-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --rv-ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);
    --rv-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --rv-transition:        all var(--rv-duration-300) var(--rv-ease-inout);
    --rv-transition-fast:   all var(--rv-duration-150) var(--rv-ease-out);
    --rv-transition-slow:   all var(--rv-duration-500) var(--rv-ease-inout);

    /* ------------------------------------------------------------------
       Z-INDEX
       ------------------------------------------------------------------ */
    --rv-z-dropdown:   100;
    --rv-z-sticky:     200;
    --rv-z-navbar:     500;
    --rv-z-player:     1050;
    --rv-z-modal:      1100;
}

/* ===================================================================
   BASE
   =================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--rv-font-body);
    font-size: var(--rv-text-base);
    font-weight: var(--rv-font-weight-normal);
    line-height: var(--rv-leading-normal);
    color: var(--rv-text-primary);
    background: var(--rv-surface);
    padding-bottom: 72px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rv-text-link);
    text-decoration: none;
    transition: var(--rv-transition-fast);
}

a:hover {
    color: var(--rv-primary-light);
}

::selection {
    background: var(--rv-blue-200);
    color: var(--rv-primary-dark);
}

/* ------------------------------------------------------------------
   TYPOGRAPHY — Utility classes
   ------------------------------------------------------------------ */
.rv-display {
    font-family: var(--rv-font-display);
    font-weight: var(--rv-font-weight-bold);
    line-height: var(--rv-leading-tight);
}

.rv-gradient-text {
    background: var(--rv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ------------------------------------------------------------------
   MAIN CONTENT — PJAX transition
   ------------------------------------------------------------------ */
#main-content {
    transition: opacity var(--rv-duration-200) var(--rv-ease-out),
                transform var(--rv-duration-200) var(--rv-ease-out);
    min-height: 40vh;
}

/* ------------------------------------------------------------------
   PJAX LOADER
   ------------------------------------------------------------------ */
.rv-pjax-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: calc(var(--rv-z-navbar) + 10);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--rv-duration-200) var(--rv-ease-out);
}

.rv-pjax-loader.loading {
    opacity: 1;
}

.rv-pjax-bar {
    height: 100%;
    width: 0;
    background: var(--rv-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.rv-pjax-loader.loading .rv-pjax-bar {
    width: 60%;
    animation: pjax-progress 2s ease-in-out infinite;
}

@keyframes pjax-progress {
    0%   { width: 0; margin-left: 0; }
    50%  { width: 70%; margin-left: 30%; }
    100% { width: 0; margin-left: 100%; }
}

/* ------------------------------------------------------------------
   BUTTON SYSTEM
   ------------------------------------------------------------------ */
.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rv-space-2);
    font-family: var(--rv-font-body);
    font-weight: var(--rv-font-weight-semibold);
    line-height: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    border-radius: var(--rv-radius-md);
    white-space: nowrap;
    position: relative;
}

.rv-btn:focus-visible {
    outline: 2px solid var(--rv-primary);
    outline-offset: 2px;
}

/* Sizes */
.rv-btn-sm {
    padding: var(--rv-space-2) var(--rv-space-4);
    font-size: var(--rv-text-sm);
    border-radius: var(--rv-radius-sm);
}

.rv-btn-md {
    padding: var(--rv-space-3) var(--rv-space-6);
    font-size: var(--rv-text-base);
}

.rv-btn-lg {
    padding: var(--rv-space-4) var(--rv-space-8);
    font-size: var(--rv-text-lg);
    border-radius: var(--rv-radius-lg);
}

/* Variants */
.rv-btn-primary {
    background: var(--rv-gradient);
    color: var(--rv-text-inverse);
}

.rv-btn-primary:hover {
    box-shadow: 0 4px 16px rgba(0, 55, 130, 0.25);
    transform: translateY(-1px);
}

.rv-btn-accent {
    background: var(--rv-accent);
    color: var(--rv-text-inverse);
}

.rv-btn-accent:hover {
    background: var(--rv-accent-light);
    color: var(--rv-text-inverse);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(197, 165, 90, 0.3);
}

.rv-btn-ghost {
    background: transparent;
    color: var(--rv-text-primary);
    border: 1px solid var(--rv-border);
}

.rv-btn-ghost:hover {
    background: var(--rv-surface-alt);
    border-color: var(--rv-border-dark);
}

.rv-btn-outline {
    background: transparent;
    color: var(--rv-primary);
    border: 1.5px solid var(--rv-primary);
}

.rv-btn-outline:hover {
    background: var(--rv-primary);
    color: var(--rv-text-inverse);
}

/* ===================================================================
   HEADER — Custom navigation (no Bootstrap)
   =================================================================== */
.rv-header-spacer {
    height: 72px;
}

.rv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--rv-z-navbar);
    background: var(--rv-surface);
    border-bottom: 1px solid var(--rv-border-light);
    transition: background var(--rv-duration-300) var(--rv-ease-out),
                border-color var(--rv-duration-300) var(--rv-ease-out),
                box-shadow var(--rv-duration-300) var(--rv-ease-out);
}

/* --- Header: sobre hero (azul sólido) --- */
.rv-header--hero,
.rv-header--hero.rv-header--scrolled {
    background: var(--rv-primary);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* --- Header: sólido blanco (scroll pasado el hero, o páginas sin hero) --- */
.rv-header--solid {
    background: var(--rv-surface);
    border-bottom-color: var(--rv-border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Texto e iconos para estado hero (sobre fondo oscuro) */
.rv-header--hero .rv-nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.rv-header--hero .rv-nav-link:hover {
    color: #fff;
}

.rv-header--hero .rv-nav-link.active {
    color: #fff;
}

.rv-header--hero .rv-nav-link.active::after {
    background: var(--rv-accent);
}

.rv-header--hero .rv-header-title {
    color: rgba(255, 255, 255, 0.95);
}

.rv-header--hero .rv-clock-time {
    color: rgba(255, 255, 255, 0.9);
}

.rv-header--hero .rv-clock-label {
    color: rgba(255, 255, 255, 0.65);
}

.rv-header--hero .rv-header-clock {
    border-right-color: rgba(255, 255, 255, 0.15);
}

.rv-header--hero .rv-nav-toggle span {
    background: #fff;
}

.rv-header--hero .rv-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rv-header--hero .rv-btn-accent {
    background: var(--rv-accent);
    color: var(--rv-text-inverse);
}

.rv-header--hero .rv-btn-accent:hover {
    background: var(--rv-accent-dark);
    color: var(--rv-text-inverse);
}

/* Texto para estado sólido blanco (reset a colores originales) */
.rv-header--solid .rv-nav-link {
    color: var(--rv-text-secondary);
}

.rv-header--solid .rv-nav-link:hover {
    color: var(--rv-primary);
}

.rv-header--solid .rv-nav-link.active {
    color: var(--rv-primary);
}

.rv-header--solid .rv-header-title {
    color: var(--rv-primary);
}

.rv-header--solid .rv-clock-time {
    color: var(--rv-primary);
}

.rv-header--solid .rv-clock-label {
    color: var(--rv-accent);
}

.rv-header--solid .rv-header-clock {
    border-right-color: var(--rv-border);
}

.rv-header--solid .rv-nav-toggle span {
    background: var(--rv-text-primary);
}

.rv-header--solid .rv-nav-toggle:hover {
    background: var(--rv-blue-50);
}



.rv-header-inner {
    height: 72px;
    display: flex;
    align-items: center;
}

.rv-header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rv-space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rv-space-4);
}

.rv-header-brand {
    display: flex;
    align-items: center;
    gap: var(--rv-space-4);
    text-decoration: none;
    flex-shrink: 0;
}

.rv-header-logo {
    display: block;
    width: auto;
    height: 50px;
    flex-shrink: 0;
}

.rv-header-title {
    font-family: var(--rv-font-display);
    font-size: 1.1rem;
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-primary);
    line-height: 1.2;
}

.rv-nav-list {
    display: flex;
    align-items: center;
    gap: var(--rv-space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.rv-nav-link {
    display: block;
    padding: var(--rv-space-1-5) var(--rv-space-3);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-text-secondary);
    text-decoration: none;
    border-radius: var(--rv-radius-sm);
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    position: relative;
    letter-spacing: -0.01em;
}

.rv-nav-link:hover {
    color: var(--rv-primary);
}

.rv-nav-link.active {
    color: var(--rv-primary);
    font-weight: var(--rv-font-weight-semibold);
}

.rv-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--rv-space-3);
    right: var(--rv-space-3);
    height: 2px;
    background: var(--rv-accent);
    border-radius: 2px;
}

.rv-header-actions {
    display: flex;
    align-items: center;
    gap: var(--rv-space-3);
    flex-shrink: 0;
}

.rv-header-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
    gap: 1px;
    padding-right: var(--rv-space-3);
    margin-right: var(--rv-space-1);
    border-right: 1px solid var(--rv-border);
}

.rv-clock-time {
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: var(--rv-tracking-tight);
}

.rv-clock-label {
    font-size: 0.5rem;
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Nav toggle (hamburger) --- */
.rv-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--rv-radius-sm);
    transition: background var(--rv-duration-200) var(--rv-ease-out);
}

.rv-nav-toggle:hover {
    background: var(--rv-blue-50);
}

.rv-nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--rv-text-primary);
    border-radius: 2px;
    transition: all var(--rv-duration-250) var(--rv-ease-inout);
    transform-origin: center;
}

.rv-nav-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.rv-nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.rv-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.rv-header-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    opacity: 0;
    transition: opacity var(--rv-duration-300) var(--rv-ease-inout);
}

.rv-header-overlay.open {
    opacity: 1;
}

/* --- Mobile nav --- */
@media (max-width: 991.98px) {
    .rv-nav-toggle {
        display: flex;
    }

    .rv-nav {
        position: fixed;
        top: 72px;
        right: 0;
        height: calc(100vh - 72px);
        width: 320px;
        max-width: 80vw;
        background: var(--rv-surface);
        border-left: 1px solid var(--rv-border);
        padding: var(--rv-space-8) var(--rv-space-6);
        transform: translateX(100%);
        transition: transform var(--rv-duration-300) var(--rv-ease-inout);
        z-index: 9999;
        overflow-y: auto;
        box-shadow: var(--rv-shadow-xl);
    }

    .rv-nav.open {
        transform: translateX(0);
    }

    .rv-header-overlay.open {
        display: block;
    }

    .rv-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--rv-space-2);
    }

    .rv-nav .rv-nav-link,
    .rv-header--hero .rv-nav .rv-nav-link,
    .rv-header--solid .rv-nav .rv-nav-link {
        padding: var(--rv-space-3) var(--rv-space-6);
        font-size: 0.875rem;
        border-radius: var(--rv-radius);
        color: var(--rv-text-secondary);
        font-weight: var(--rv-font-weight-medium);
        background: transparent;
    }

    .rv-nav .rv-nav-link:hover,
    .rv-header--hero .rv-nav .rv-nav-link:hover,
    .rv-header--solid .rv-nav .rv-nav-link:hover {
        color: var(--rv-primary);
        background: var(--rv-blue-50);
    }

    .rv-nav .rv-nav-link.active,
    .rv-header--hero .rv-nav .rv-nav-link.active,
    .rv-header--solid .rv-nav .rv-nav-link.active {
        color: var(--rv-primary);
        background: var(--rv-blue-50);
    }

    .rv-nav-link.active::after {
        display: none;
    }

    .rv-nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--rv-space-4);
        margin-top: var(--rv-space-8);
        padding-top: var(--rv-space-6);
        border-top: 1px solid var(--rv-border);
    }

    .rv-nav-footer .rv-btn-accent {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }

    .rv-nav-clock {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .rv-nav-clock .rv-clock-time {
        font-size: var(--rv-text-sm);
        color: var(--rv-text-primary);
        font-weight: var(--rv-font-weight-semibold);
    }

    .rv-nav-clock .rv-clock-label {
        font-size: 0.65rem;
        color: var(--rv-text-tertiary);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .rv-header-clock {
        display: none;
    }

    .rv-header-actions {
        gap: var(--rv-space-2);
    }

    .rv-header-actions .rv-btn-accent {
        display: none;
    }

    #header-live:not(.d-none),
    #header-podcast:not(.d-none) {
        display: flex;
    }

    .rv-header-brand {
        display: none;
    }

    .rv-header-actions {
        width: 100%;
    }

    .rv-nav-toggle {
        position: absolute;
        left: var(--rv-space-5);
        top: 50%;
        transform: translateY(-50%);
    }

    .rv-header-actions {
        justify-content: center;
    }

    /* Player en responsive: equalizer visible, texto oculto */
    .player-info > div:last-child {
        display: none;
    }

    .player-bar .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    #live-program:not(.d-none) {
        display: flex;
    }

    #stream-time {
        display: none !important;
    }

    .player-volume-container {
        display: none !important;
    }

    #player-badge-podcast {
        display: none !important;
    }
}

/* --- Nav footer (visible solo en mobile dentro del drawer) --- */
@media (min-width: 992px) {
    .rv-nav-footer {
        display: none;
    }
}

/* --- Legacy .nav-link support for updateActiveNav --- */
.nav-link {
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-text-secondary);
    padding: var(--rv-space-2) var(--rv-space-3);
    border-radius: var(--rv-radius-sm);
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    font-size: var(--rv-text-sm);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rv-primary);
    background: var(--rv-blue-50);
}

/* ===================================================================
   HERO — Custom
   =================================================================== */
.rv-hero {
    position: relative;
    height: calc(100vh - 144px);
    min-height: 500px;
    overflow: hidden;
    background: var(--rv-neutral-900);
}

.rv-hero-slides {
    position: relative;
    height: 100%;
}

.rv-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--rv-duration-500) var(--rv-ease-inout);
    display: flex;
    align-items: center;
}

.rv-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.rv-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.rv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(18, 23, 37, 0.75) 0%,
        rgba(18, 23, 37, 0.35) 50%,
        rgba(18, 23, 37, 0.1) 100%);
}

.rv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 0 var(--rv-space-6);
    margin: auto auto 10vh 0;
    opacity: 0;
    transform: translateY(24px);
    transition: all var(--rv-duration-500) var(--rv-ease-out) 0.3s;
}

.rv-hero-slide.active .rv-hero-content {
    opacity: 1;
    transform: translateY(0);
}

.rv-hero-badge {
    display: inline-block;
    background: rgba(197, 165, 90, 0.2);
    backdrop-filter: blur(4px);
    color: var(--rv-accent);
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-semibold);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--rv-radius-full);
    margin-bottom: var(--rv-space-4);
}

.rv-hero-title {
    font-family: var(--rv-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-inverse);
    margin: 0 0 var(--rv-space-3);
    line-height: var(--rv-leading-tight);
    letter-spacing: -0.03em;
}

.rv-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--rv-accent);
    font-weight: var(--rv-font-weight-medium);
    margin: 0 0 var(--rv-space-2);
}

.rv-hero-desc {
    font-size: var(--rv-text-lg);
    color: rgba(255, 255, 255, 0.75);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-6);
    max-width: 480px;
}

.rv-hero-cta {
    margin-top: var(--rv-space-2);
}

.rv-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--rv-text-inverse);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    padding: 0;
}

.rv-hero-arrow:hover {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
    box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.rv-hero-arrow--prev { left: var(--rv-space-6); }
.rv-hero-arrow--next { right: var(--rv-space-6); }

.rv-hero-dots {
    position: absolute;
    bottom: var(--rv-space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--rv-space-3);
    z-index: 3;
}

.rv-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
}

.rv-hero-dot.active {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
    box-shadow: 0 0 12px rgba(197, 165, 90, 0.4);
}

/* ---- Legacy schedule styles for other pages ---- */
.schedule-nav {
    display: flex;
    gap: var(--rv-space-2);
    margin-bottom: var(--rv-space-8);
    overflow-x: auto;
    padding-bottom: var(--rv-space-2);
}

.schedule-nav-link {
    flex-shrink: 0;
    padding: var(--rv-space-3) var(--rv-space-5);
    font-family: var(--rv-font-body);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-text-secondary);
    background: transparent;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-md);
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.schedule-nav-link:hover {
    border-color: var(--rv-primary);
    color: var(--rv-primary);
}

.schedule-nav-link.active {
    background: var(--rv-primary);
    border-color: var(--rv-primary);
    color: var(--rv-text-inverse);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--rv-space-4);
}

.schedule-card {
    position: relative;
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius);
    padding: var(--rv-space-5);
    transition: all var(--rv-duration-200) var(--rv-ease-out);
}

.schedule-card:hover {
    box-shadow: var(--rv-shadow-md);
    transform: translateY(-2px);
}

.schedule-time {
    font-size: var(--rv-text-xs);
    color: var(--rv-text-tertiary);
    font-weight: var(--rv-font-weight-medium);
    margin-bottom: var(--rv-space-2);
    letter-spacing: var(--rv-tracking-wide);
    text-transform: uppercase;
}

.schedule-program {
    font-size: var(--rv-text-base);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-text-primary);
    margin-bottom: var(--rv-space-1);
}

.schedule-host {
    font-size: var(--rv-text-sm);
    color: var(--rv-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--rv-space-1);
}

.schedule-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--rv-space-10);
    color: var(--rv-text-tertiary);
    background: var(--rv-surface);
    border: 2px dashed var(--rv-border);
    border-radius: var(--rv-radius);
}

/* ---- Legacy news styles for noticias pages ---- */
.news-card {
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-lg);
    overflow: hidden;
    transition: all var(--rv-duration-300) var(--rv-ease-out);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--rv-shadow-lg);
    transform: translateY(-4px);
}

.news-card-img {
    height: 200px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rv-duration-500) var(--rv-ease-out);
}

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

.news-card-body {
    padding: var(--rv-space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-badge {
    display: inline-block;
    background: var(--rv-blue-50);
    color: var(--rv-primary);
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-semibold);
    padding: 4px 12px;
    border-radius: var(--rv-radius-full);
    margin-bottom: var(--rv-space-3);
    align-self: flex-start;
}

.news-card-title {
    font-size: var(--rv-text-lg);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-primary);
    margin: 0 0 var(--rv-space-2);
    line-height: var(--rv-leading-snug);
}

.news-card-text {
    font-size: var(--rv-text-sm);
    color: var(--rv-text-secondary);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-5);
    flex: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--rv-space-4);
    border-top: 1px solid var(--rv-border-light);
}

.news-date {
    font-size: var(--rv-text-xs);
    color: var(--rv-text-tertiary);
}

.news-link {
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-primary);
    text-decoration: none;
    transition: gap var(--rv-duration-200) var(--rv-ease-out);
}

.news-link:hover {
    color: var(--rv-primary-light);
}

/* ------------------------------------------------------------------
   Page header
   ------------------------------------------------------------------ */
.rv-page-header {
    position: relative;
    overflow: hidden;
    background: var(--rv-gradient);
    color: var(--rv-text-inverse);
    padding: var(--rv-space-20) 0 var(--rv-space-16);
}

.rv-page-header::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 35%, rgba(255,255,255,0.07) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(197,165,90,0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.rv-page-header > * {
    position: relative;
    z-index: 1;
}

.rv-page-header .rv-hero-badge {
    margin-bottom: var(--rv-space-4);
}

.rv-page-title {
    font-family: var(--rv-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-inverse);
    margin: 0 0 var(--rv-space-2);
}

.rv-page-subtitle {
    font-size: var(--rv-text-lg);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

.rv-page-header--sm {
    padding: var(--rv-space-16) 0 var(--rv-space-12);
}

.rv-back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-1-5);
    color: rgba(255,255,255,0.7);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    text-decoration: none;
    margin-bottom: var(--rv-space-4);
    transition: color var(--rv-duration-200) var(--rv-ease-out);
}

.rv-back-link:hover {
    color: var(--rv-text-inverse);
}

.rv-page-meta {
    display: flex;
    align-items: center;
    gap: var(--rv-space-3);
    margin-top: var(--rv-space-3);
}

.rv-page-meta .rv-news-tag {
    background: rgba(255,255,255,0.15);
    color: var(--rv-text-inverse);
}

.rv-page-meta .rv-news-date {
    color: rgba(255,255,255,0.7);
}

/* ---- Article (single news) ---- */
.rv-container--narrow {
    max-width: 800px;
}

.rv-article-image {
    border-radius: var(--rv-radius-lg);
    overflow: hidden;
    margin-bottom: var(--rv-space-8);
    box-shadow: var(--rv-shadow-md);
}

.rv-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rv-article-content {
    max-width: 720px;
    margin: 0 auto;
}

.rv-article-lead {
    font-size: var(--rv-text-xl);
    color: var(--rv-text-secondary);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-6);
    font-weight: var(--rv-font-weight-medium);
}

.rv-article-body {
    font-size: var(--rv-text-base);
    line-height: var(--rv-leading-relaxed);
    color: var(--rv-text-primary);
}

.rv-article-body p {
    margin: 0 0 var(--rv-space-5);
}

.rv-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rv-radius);
    margin: var(--rv-space-6) 0;
}

/* ---- Legacy page-header (noticias, podcasts, etc.) ---- */
.page-header {
    background: var(--rv-gradient);
    color: var(--rv-text-inverse);
    padding: var(--rv-space-20) 0 var(--rv-space-16);
}

.page-title {
    font-family: var(--rv-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--rv-font-weight-bold);
    margin-bottom: var(--rv-space-2);
}

.page-subtitle {
    font-size: var(--rv-text-lg);
    opacity: 0.85;
    max-width: 600px;
}

/* ---- Legacy .section for other pages ---- */
.section {
    padding: var(--rv-section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--rv-space-12);
}

.section-badge {
    display: inline-block;
    background: var(--rv-blue-50);
    color: var(--rv-primary);
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: var(--rv-radius-full);
    margin-bottom: var(--rv-space-4);
}

.section-title {
    font-family: var(--rv-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-primary);
    margin: 0 0 var(--rv-space-3);
}

.section-desc {
    font-size: var(--rv-text-lg);
    color: var(--rv-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--rv-leading-relaxed);
}

/* ===================================================================
   KEYFRAMES
   =================================================================== */
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ===================================================================
   LAYOUT — Sections & containers
   =================================================================== */
.rv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rv-space-5);
}

.rv-section {
    padding: var(--rv-space-24) 0;
}

.rv-section--alt {
    background: var(--rv-surface-alt);
}

.rv-section-header {
    text-align: center;
    margin-bottom: var(--rv-space-12);
}

.rv-section-action {
    text-align: center;
    margin-top: var(--rv-space-10);
}

/* Badge */
.rv-badge {
    display: inline-block;
    background: var(--rv-blue-50);
    color: var(--rv-primary);
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: var(--rv-radius-full);
    margin-bottom: var(--rv-space-4);
}

.rv-section-title {
    font-family: var(--rv-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-primary);
    margin: 0 0 var(--rv-space-3);
    letter-spacing: -0.02em;
}

.rv-section-desc {
    font-size: var(--rv-text-lg);
    color: var(--rv-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--rv-leading-relaxed);
}

/* ===================================================================
   SCHEDULE CARDS
   =================================================================== */
/* ---- Pastel palette ---- */
.rv-pastel-0 { --rv-pastel-bg: #e9f0fb; --rv-pastel-icon: #3b82f6; }
.rv-pastel-1 { --rv-pastel-bg: #fde8e8; --rv-pastel-icon: #ef4444; }
.rv-pastel-2 { --rv-pastel-bg: #e5f4ea; --rv-pastel-icon: #22c55e; }
.rv-pastel-3 { --rv-pastel-bg: #fdf4d6; --rv-pastel-icon: #eab308; }
.rv-pastel-4 { --rv-pastel-bg: #f0eaff; --rv-pastel-icon: #8b5cf6; }

.rv-schedule-card {
    position: relative;
    background: var(--rv-pastel-bg, var(--rv-surface));
    border-radius: var(--rv-radius);
    padding: var(--rv-space-5);
    padding-top: var(--rv-space-6);
    transition: all var(--rv-duration-250) var(--rv-ease-out);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    cursor: default;
    border: 1px solid rgba(0,0,0,0.04);
}

.rv-schedule-card:hover {
    box-shadow: var(--rv-shadow-md);
    transform: translateY(-2px);
}

.rv-schedule-card.rv-schedule-live {
    border-color: #fca5a5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(239,68,68,0.12);
}

.rv-card-icon {
    width: 28px;
    height: 28px;
    color: var(--rv-pastel-icon, var(--rv-primary));
    margin-bottom: var(--rv-space-3);
    display: block;
}

.rv-schedule-time {
    font-size: var(--rv-text-2xs);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-text-tertiary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--rv-space-1);
}

.rv-schedule-program {
    font-size: var(--rv-text-base);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-text-primary);
    margin-bottom: var(--rv-space-1);
    line-height: var(--rv-leading-snug);
}

.rv-schedule-host {
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-normal);
    color: var(--rv-text-muted);
}

.rv-live-badge {
    position: absolute;
    top: var(--rv-space-3);
    right: var(--rv-space-3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--rv-error);
    color: var(--rv-text-inverse);
    font-size: 0.6rem;
    font-weight: var(--rv-font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 10px;
    border-radius: var(--rv-radius-full);
    z-index: 2;
}

.rv-next-badge {
    background: var(--rv-primary);
}

.rv-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rv-text-inverse);
    animation: livePulse 1.2s ease-in-out infinite;
}

/* --- Navbar live badge --- */
.rv-live-badge-nav {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--rv-error);
    color: var(--rv-text-inverse);
    font-size: 0.55rem;
    font-weight: var(--rv-font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: var(--rv-radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.rv-live-badge-nav .rv-live-dot {
    width: 4px;
    height: 4px;
    background: #fff;
    animation: livePulse 1.2s ease-in-out infinite;
}

#header-live,
#header-podcast {
    display: none;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

#header-live:not(.d-none),
#header-podcast:not(.d-none) {
    display: flex;
    cursor: pointer;
    transition: opacity 150ms ease;
}

#header-live:hover,
#header-podcast:hover {
    opacity: 0.75;
}

.rv-live-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

/* Sobre hero (texto blanco) */
.rv-header--hero .rv-live-name {
    color: rgba(255, 255, 255, 0.9);
}

/* Sobre sólido (texto azul) */
.rv-header--solid .rv-live-name {
    color: var(--rv-primary);
}



/* --- Swiper overrides --- */
.rv-schedule-swiper {
    position: relative;
    padding: 0 52px;
}

.rv-schedule-swiper .swiper-wrapper {
    padding: var(--rv-space-2) 0;
}

.rv-swiper-prev,
.rv-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--rv-border);
    background: var(--rv-surface);
    color: var(--rv-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    z-index: 10;
}

.rv-swiper-prev:hover,
.rv-swiper-next:hover {
    background: var(--rv-primary);
    border-color: var(--rv-primary);
    color: var(--rv-text-inverse);
    box-shadow: var(--rv-shadow-md);
}

.rv-swiper-prev { left: 0; }
.rv-swiper-next { right: 0; }

/* ===================================================================
   SCHEDULE TABS (custom)
   =================================================================== */
.rv-tab-list {
    display: flex;
    gap: var(--rv-space-2);
    margin-bottom: var(--rv-space-8);
    overflow-x: auto;
    padding-bottom: var(--rv-space-2);
    -webkit-overflow-scrolling: touch;
}

.rv-tab {
    flex-shrink: 0;
    padding: var(--rv-space-3) var(--rv-space-5);
    font-family: var(--rv-font-body);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-text-secondary);
    background: transparent;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-md);
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    white-space: nowrap;
    line-height: 1;
}

.rv-tab:hover {
    border-color: var(--rv-primary);
    color: var(--rv-primary);
}

.rv-tab.active {
    background: var(--rv-primary);
    border-color: var(--rv-primary);
    color: var(--rv-text-inverse);
    box-shadow: 0 4px 12px rgba(0, 55, 130, 0.2);
}

.rv-tab-short { display: none; }

.rv-tab-panel {
    display: none;
}

.rv-tab-panel.active {
    display: block;
}

/* Schedule grid */
.rv-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--rv-space-4);
}

.rv-schedule-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--rv-space-10);
    color: var(--rv-text-tertiary);
    background: var(--rv-surface);
    border: 2px dashed var(--rv-border);
    border-radius: var(--rv-radius);
}

.rv-schedule-empty i {
    font-size: 2rem;
    margin-bottom: var(--rv-space-3);
}

.rv-schedule-empty p {
    margin: 0;
    font-size: var(--rv-text-base);
}

/* ===================================================================
   NEWS
   =================================================================== */
.rv-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rv-space-6);
}

.rv-news-card {
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-lg);
    overflow: hidden;
    transition: all var(--rv-duration-300) var(--rv-ease-out);
    display: flex;
    flex-direction: column;
}

.rv-news-card:hover {
    box-shadow: var(--rv-shadow-lg);
    transform: translateY(-4px);
}

.rv-news-image {
    height: 200px;
    overflow: hidden;
}

.rv-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rv-duration-500) var(--rv-ease-out);
}

.rv-news-card:hover .rv-news-image img {
    transform: scale(1.05);
}

.rv-news-body {
    padding: var(--rv-space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rv-news-tag {
    display: inline-block;
    background: var(--rv-blue-50);
    color: var(--rv-primary);
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-semibold);
    padding: 4px 12px;
    border-radius: var(--rv-radius-full);
    margin-bottom: var(--rv-space-3);
    align-self: flex-start;
}

.rv-news-title {
    font-size: var(--rv-text-lg);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-primary);
    margin: 0 0 var(--rv-space-2);
    line-height: var(--rv-leading-snug);
}

.rv-news-text {
    font-size: var(--rv-text-sm);
    color: var(--rv-text-secondary);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-5);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--rv-space-4);
    border-top: 1px solid var(--rv-border-light);
}

.rv-news-date {
    font-size: var(--rv-text-xs);
    color: var(--rv-text-tertiary);
    display: flex;
    align-items: center;
    gap: var(--rv-space-1);
}

.rv-news-link {
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-1);
    transition: gap var(--rv-duration-200) var(--rv-ease-out);
}

.rv-news-link:hover {
    gap: var(--rv-space-2);
    color: var(--rv-primary-light);
}

/* ---- Pagination ---- */
.rv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--rv-space-2);
    margin-top: var(--rv-space-10);
}

.rv-pagination-pages {
    display: flex;
    align-items: center;
    gap: var(--rv-space-1);
}

.rv-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 36px;
    font-size: var(--rv-text-sm);
    color: var(--rv-text-tertiary);
    letter-spacing: 2px;
}

.rv-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: var(--rv-radius);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-text-secondary);
    text-decoration: none;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    border: 1px solid transparent;
}

.rv-pagination-page:hover {
    background: var(--rv-surface-alt);
    color: var(--rv-text-primary);
}

.rv-pagination-page.active {
    background: var(--rv-primary);
    color: var(--rv-text-inverse);
    font-weight: var(--rv-font-weight-semibold);
}

.rv-pagination-link {
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-1);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-primary);
    text-decoration: none;
    padding: var(--rv-space-1-5) var(--rv-space-3);
    border-radius: var(--rv-radius);
    transition: all var(--rv-duration-200) var(--rv-ease-out);
}

.rv-pagination-link:hover {
    background: var(--rv-blue-50);
    color: var(--rv-primary-dark);
}

/* ---- Podcast ---- */
.rv-podcast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rv-space-6);
}

.rv-podcast-card {
    display: flex;
    gap: var(--rv-space-5);
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-lg);
    padding: var(--rv-space-5);
    transition: all var(--rv-duration-250) var(--rv-ease-out);
}

.rv-podcast-card:hover {
    box-shadow: var(--rv-shadow-md);
    transform: translateY(-2px);
}

.rv-podcast-media {
    flex-shrink: 0;
    width: 160px;
}

.rv-podcast-img-wrap {
    position: relative;
    border-radius: var(--rv-radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--rv-surface-alt);
}

.rv-podcast-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rv-duration-500) var(--rv-ease-out);
}

.rv-podcast-card:hover .rv-podcast-img-wrap img {
    transform: scale(1.05);
}

.rv-podcast-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity var(--rv-duration-200) var(--rv-ease-out);
}

.rv-podcast-card:hover .rv-podcast-overlay {
    opacity: 1;
}

.rv-podcast-play-btn,
.podcast-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--rv-accent);
    color: var(--rv-text-inverse);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.rv-podcast-play-btn:hover,
.podcast-play-btn:hover {
    transform: scale(1.1);
    background: var(--rv-accent-light);
}

.rv-podcast-play-btn.playing,
.podcast-play-btn.playing {
    background: var(--rv-error);
}

.rv-podcast-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rv-podcast-title {
    font-size: var(--rv-text-lg);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-primary);
    margin: 0 0 var(--rv-space-2);
    line-height: var(--rv-leading-snug);
}

.rv-podcast-desc {
    font-size: var(--rv-text-sm);
    color: var(--rv-text-secondary);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-podcast-meta {
    display: flex;
    align-items: center;
    gap: var(--rv-space-4);
    margin-bottom: var(--rv-space-3);
}

.rv-podcast-date,
.rv-podcast-duration {
    font-size: var(--rv-text-xs);
    color: var(--rv-text-tertiary);
    display: flex;
    align-items: center;
    gap: var(--rv-space-1);
}

.rv-podcast-player,
.podcast-player {
    display: flex;
    align-items: center;
    gap: var(--rv-space-3);
    padding: var(--rv-space-3);
    background: var(--rv-surface-alt);
    border-radius: var(--rv-radius);
    margin-top: auto;
}

.rv-podcast-player.playing,
.podcast-player.playing {
    background: var(--rv-blue-50);
}

.rv-podcast-play-btn-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--rv-primary);
    color: var(--rv-text-inverse);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
}

.rv-podcast-play-btn-small:hover {
    background: var(--rv-primary-light);
    transform: scale(1.05);
}

.rv-podcast-track {
    flex: 1;
    min-width: 0;
}

.rv-podcast-progress,
.player-progress {
    height: 4px;
    background: var(--rv-border);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    margin-bottom: var(--rv-space-1);
}

.rv-podcast-progress-fill,
.player-progress-fill {
    height: 100%;
    background: var(--rv-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.rv-podcast-progress-thumb {
    display: none;
}

.rv-podcast-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--rv-text-tertiary);
    font-variant-numeric: tabular-nums;
}

.rv-podcast-speed {
    background: transparent;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-sm);
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-text-secondary);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
}

.rv-podcast-speed:hover {
    border-color: var(--rv-primary);
    color: var(--rv-primary);
}

@media (max-width: 991.98px) {
    .rv-podcast-grid {
        grid-template-columns: 1fr;
    }

    .rv-podcast-media {
        width: 120px;
    }
}

@media (max-width: 575.98px) {
    .rv-podcast-card {
        flex-direction: column;
    }

    .rv-podcast-media {
        width: 100%;
    }

    .rv-podcast-img-wrap {
        aspect-ratio: 16/9;
        max-height: 200px;
    }
}

/* ===================================================================
   NEWS CARDS
   =================================================================== */
.news-card {
    background: #fff;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius);
    overflow: hidden;
    transition: var(--rv-transition);
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 8px 30px rgba(0, 55, 130, 0.1);
    transform: translateY(-4px);
}

.news-card-img {
    height: 200px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-card-body {
    padding: 24px;
}

.news-badge {
    display: inline-block;
    background: rgba(0, 55, 130, 0.08);
    color: var(--rv-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rv-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-text {
    font-size: 0.9rem;
    color: var(--rv-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--rv-border);
}

.news-date {
    font-size: 0.8rem;
    color: var(--rv-gray);
}

.news-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rv-primary);
    text-decoration: none;
    transition: var(--rv-transition);
}

.news-link:hover {
    color: var(--rv-primary-light);
    gap: 4px;
}

/* ===================================================================
   CTA
   =================================================================== */
.rv-cta {
    position: relative;
    padding: var(--rv-space-20) 0;
    overflow: hidden;
    background: var(--rv-gradient);
}

.rv-cta::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.06) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(197,165,90,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.04) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.rv-cta-bg {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(255,255,255,0.025) 50px,
            rgba(255,255,255,0.025) 51px
        );
    pointer-events: none;
    z-index: 1;
}

.rv-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.rv-cta-content .rv-hero-badge {
    margin-bottom: var(--rv-space-5);
}

.rv-cta-title {
    font-family: var(--rv-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-inverse);
    margin: 0 0 var(--rv-space-4);
    line-height: var(--rv-leading-tight);
}

.rv-cta-text {
    font-size: var(--rv-text-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    margin: 0 auto var(--rv-space-4);
    line-height: var(--rv-leading-relaxed);
}

.rv-cta-text--sm {
    font-size: var(--rv-text-base);
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin-bottom: var(--rv-space-8);
}

.rv-cta .rv-btn-accent {
    box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
}

/* ------------------------------------------------------------------
   App download
   ------------------------------------------------------------------ */
.rv-app-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rv-space-12);
    align-items: center;
}

.rv-app-content {
    max-width: 480px;
}

.rv-app-content .rv-badge {
    margin-bottom: var(--rv-space-4);
}

.rv-app-content .rv-section-title {
    margin-bottom: var(--rv-space-3);
}

.rv-app-content .rv-section-desc {
    margin-bottom: var(--rv-space-8);
    font-size: var(--rv-text-lg);
    color: var(--rv-text-secondary);
}

.rv-app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rv-space-4);
}

.rv-app-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-3);
    padding: var(--rv-space-3) var(--rv-space-6);
    border-radius: var(--rv-radius);
    background: var(--rv-neutral-900);
    color: var(--rv-white);
    text-decoration: none;
    transition: background var(--rv-duration-200) var(--rv-ease-out), transform var(--rv-duration-200) var(--rv-ease-out);
}

.rv-app-btn:hover {
    background: var(--rv-black);
    color: var(--rv-white);
    transform: translateY(-2px);
}

.rv-app-btn i {
    font-size: 1.75rem;
    line-height: 1;
}

.rv-app-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rv-app-btn-text small {
    font-size: 0.65rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rv-app-btn-text strong {
    font-size: 0.95rem;
    font-weight: var(--rv-font-weight-semibold);
}

.rv-app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rv-app-frame {
    position: relative;
    width: 260px;
    border-radius: 36px;
    background: var(--rv-neutral-900);
    border: 3px solid var(--rv-neutral-700);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.06);
    padding: 8px;
}

.rv-app-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: var(--rv-neutral-900);
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.rv-app-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
}

@media (max-width: 768px) {
    .rv-app-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rv-app-content {
        max-width: 100%;
        order: 2;
    }
    .rv-app-mockup {
        order: 1;
    }
    .rv-app-buttons {
        justify-content: center;
    }
    .rv-app-frame {
        width: 200px;
        border-radius: 28px;
        padding: 6px;
    }
    .rv-app-img {
        border-radius: 22px;
    }
}

/* ===================================================================
   PAGE HEADER
   =================================================================== */
.page-header {
    background: var(--rv-gradient);
    color: #fff;
    padding: 80px 0 60px;
}

.page-header-sm {
    padding: 60px 0 40px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 600px;
}

.page-meta {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-header .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.page-header .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===================================================================
   CONTACT
   =================================================================== */

.rv-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rv-space-6);
}

.rv-contact-card {
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-xl);
    padding: var(--rv-space-8) var(--rv-space-6);
    text-align: center;
    transition: all var(--rv-duration-300) var(--rv-ease-out);
}

.rv-contact-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: transparent;
}

.rv-contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--rv-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 auto var(--rv-space-4);
    box-shadow: 0 4px 12px rgba(0, 55, 130, 0.15);
}

.rv-contact-card-label {
    font-size: var(--rv-text-xs);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--rv-space-2);
}

.rv-contact-card-value {
    font-size: var(--rv-text-base);
    color: var(--rv-dark);
    font-weight: var(--rv-font-weight-medium);
    line-height: 1.5;
    margin: 0;
}

.rv-contact-card-value a {
    color: var(--rv-primary);
    text-decoration: none;
    transition: color var(--rv-duration-200) var(--rv-ease-out);
}

.rv-contact-card-value a:hover {
    color: var(--rv-primary-light);
}

/* --- Main: Social + Form --- */
.rv-contact-main {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--rv-space-8);
    align-items: start;
}

.rv-contact-section-title {
    font-size: var(--rv-text-xl);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-dark);
    margin-bottom: var(--rv-space-2);
    letter-spacing: -0.02em;
}

.rv-contact-section-desc {
    font-size: var(--rv-text-sm);
    color: var(--rv-gray);
    line-height: 1.6;
    margin-bottom: var(--rv-space-6);
    max-width: 480px;
}

/* Social grid */
.rv-contact-social-grid {
    display: flex;
    flex-direction: column;
    gap: var(--rv-space-3);
}

.rv-contact-social-item {
    display: flex;
    align-items: center;
    gap: var(--rv-space-3);
    padding: var(--rv-space-3) var(--rv-space-4);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-lg);
    text-decoration: none;
    color: var(--rv-dark);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    transition: all var(--rv-duration-250) var(--rv-ease-out);
}

.rv-contact-social-item:hover {
    border-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: #fff;
}

.rv-contact-social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--rv-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(0, 55, 130, 0.08);
    color: var(--rv-primary);
    transition: all var(--rv-duration-250) var(--rv-ease-out);
}

.rv-contact-social-item:hover .rv-contact-social-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.rv-contact-social-name {
    flex: 1;
}

.rv-contact-social-arrow {
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--rv-duration-250) var(--rv-ease-out);
}

.rv-contact-social-item:hover .rv-contact-social-arrow {
    opacity: 0.7;
    transform: translateX(0);
}

.rv-contact-social-facebook:hover { background: #1877f2; }
.rv-contact-social-instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.rv-contact-social-tiktok:hover { background: #000; }
.rv-contact-social-whatsapp:hover { background: #25d366; }
.rv-contact-social-church:hover { background: var(--rv-primary); }
.rv-contact-social-link:hover { background: var(--rv-dark); }

/* Form wrap */
.rv-contact-form-wrap {
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-xl);
    padding: var(--rv-space-7) var(--rv-space-6);
}

/* --- Form Components --- */
.rv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rv-space-4);
}

.rv-form-group {
    margin-bottom: var(--rv-space-4);
}

.rv-label {
    display: block;
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-dark);
    margin-bottom: var(--rv-space-1-5);
}

.rv-input {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--rv-text-sm);
    font-family: var(--rv-font-body);
    color: var(--rv-dark);
    background: #fff;
    border: 2px solid var(--rv-border);
    border-radius: var(--rv-radius-md);
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    outline: none;
}

.rv-input::placeholder {
    color: var(--rv-gray);
    opacity: 0.6;
}

.rv-input:focus {
    border-color: var(--rv-primary);
    box-shadow: 0 0 0 4px rgba(0, 55, 130, 0.08);
}

.rv-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}

.rv-textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.rv-field-error {
    font-size: var(--rv-text-xs);
    color: #dc3545;
    margin-top: var(--rv-space-1);
    min-height: 0;
}

.rv-contact-alert {
    border-radius: var(--rv-radius-md);
    padding: var(--rv-space-3) var(--rv-space-4);
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--rv-space-2);
    margin-bottom: var(--rv-space-4);
}

.rv-contact-alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rv-contact-alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Map --- */
.rv-section--map {
    padding: 0;
    margin-top: var(--rv-space-12);
}

.rv-map-container {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.rv-map-container iframe {
    filter: grayscale(0.3) contrast(1.05);
    transition: filter 0.4s ease;
}

.rv-map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

.rv-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--rv-space-7);
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.rv-map-card {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--rv-radius-lg);
    padding: var(--rv-space-4) var(--rv-space-5);
    max-width: 280px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.rv-map-card h3 {
    font-size: var(--rv-text-base);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-dark);
    margin-bottom: var(--rv-space-1);
}

.rv-map-card p {
    font-size: var(--rv-text-xs);
    color: var(--rv-gray);
    margin: 0;
}

.rv-map-pin {
    font-size: 1.3rem;
    color: var(--rv-accent);
    margin-bottom: var(--rv-space-2);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .rv-contact-main {
        grid-template-columns: 1fr;
    }

    .rv-map-container {
        height: 320px;
    }
}

@media (max-width: 767.98px) {
    .rv-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--rv-space-4);
    }

    .rv-contact-card {
        padding: var(--rv-space-6) var(--rv-space-4);
    }

    .rv-form-row {
        grid-template-columns: 1fr;
    }

    .rv-contact-main {
        gap: var(--rv-space-6);
    }

    .rv-contact-form-wrap {
        padding: var(--rv-space-5) var(--rv-space-4);
    }

    .rv-btn.rv-btn-primary {
        width: 100%;
    }

    .rv-map-container {
        height: 280px;
    }

    .rv-map-overlay {
        padding: var(--rv-space-4);
    }

    .rv-map-card {
        padding: var(--rv-space-3) var(--rv-space-4);
        max-width: 220px;
    }
}

/* ---- Legacy .btn-hero and .btn-cta for other pages ---- */
.btn-hero,
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-2);
    background: var(--rv-accent);
    color: var(--rv-text-inverse);
    font-family: var(--rv-font-body);
    font-weight: var(--rv-font-weight-semibold);
    border: none;
    padding: 12px 32px;
    border-radius: var(--rv-radius-full);
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    text-decoration: none;
}

.btn-hero:hover,
.btn-cta:hover {
    background: var(--rv-accent-light);
    color: var(--rv-text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 165, 90, 0.3);
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-2);
    background: transparent;
    color: var(--rv-primary);
    font-weight: var(--rv-font-weight-semibold);
    border: 1.5px solid var(--rv-primary);
    padding: 10px 28px;
    border-radius: var(--rv-radius-full);
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: var(--rv-primary);
    color: var(--rv-text-inverse);
}

/* ===================================================================
   DONATE
   =================================================================== */
.rv-donate-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rv-space-12);
    align-items: center;
}

.rv-donate-hero-content {
    max-width: 520px;
}

.rv-donate-intro {
    font-size: var(--rv-text-lg);
    color: var(--rv-text-secondary);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-8);
}

.rv-verse-block {
    margin: 0;
    padding: var(--rv-space-8) var(--rv-space-8) var(--rv-space-8) var(--rv-space-10);
    background: var(--rv-surface);
    border-left: 3px solid var(--rv-accent);
    border-radius: 0 var(--rv-radius-lg) var(--rv-radius-lg) 0;
}

.rv-verse-block p {
    font-family: var(--rv-font-display);
    font-size: var(--rv-text-xl);
    font-weight: var(--rv-font-weight-medium);
    color: var(--rv-text-primary);
    line-height: var(--rv-leading-relaxed);
    margin: 0 0 var(--rv-space-3);
    font-style: italic;
}

.rv-verse-block cite {
    font-size: var(--rv-text-sm);
    color: var(--rv-accent);
    font-style: normal;
    font-weight: var(--rv-font-weight-semibold);
}

.rv-donate-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rv-donate-image {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: var(--rv-radius-xl);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.rv-donate-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-xl);
    padding: var(--rv-space-16) var(--rv-space-10);
    text-align: center;
}

.rv-donate-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(197, 165, 90, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--rv-accent);
    margin: 0 auto var(--rv-space-6);
}

.rv-donate-title {
    font-family: var(--rv-font-display);
    font-size: 1.75rem;
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-text-primary);
    margin-bottom: var(--rv-space-4);
    letter-spacing: -0.02em;
}

.rv-donate-text {
    font-size: var(--rv-text-lg);
    color: var(--rv-text-secondary);
    max-width: 480px;
    margin: 0 auto var(--rv-space-8);
    line-height: var(--rv-leading-relaxed);
}

/* backward compat */
.donate-card { max-width: 600px; margin: 0 auto; background: var(--rv-surface); border: 1px solid var(--rv-border); border-radius: var(--rv-radius-xl); padding: var(--rv-space-16) var(--rv-space-10); text-align: center; }
.donate-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(197, 165, 90, 0.12); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--rv-accent); margin: 0 auto var(--rv-space-6); }
.donate-title { font-family: var(--rv-font-display); font-size: 1.75rem; font-weight: var(--rv-font-weight-bold); color: var(--rv-text-primary); margin-bottom: var(--rv-space-4); letter-spacing: -0.02em; }
.donate-text { font-size: var(--rv-text-lg); color: var(--rv-text-secondary); max-width: 480px; margin: 0 auto var(--rv-space-8); line-height: var(--rv-leading-relaxed); }

/* ===================================================================
   TOP RV
   =================================================================== */
.rv-top-grid {
    display: flex;
    flex-direction: column;
    gap: var(--rv-space-3);
    max-width: 720px;
    margin: 0 auto;
}

.rv-top-card {
    display: flex;
    align-items: center;
    gap: var(--rv-space-4);
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-lg);
    padding: var(--rv-space-3) var(--rv-space-4);
    transition: all var(--rv-duration-300) var(--rv-ease-out);
    animation: rvTopFadeIn 0.4s var(--rv-ease-out) both;
    animation-delay: var(--rv-top-delay, 0s);
}

.rv-top-card:hover {
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

@keyframes rvTopFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rv-top-pos {
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}

.rv-top-pos-num {
    font-size: 1.3rem;
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

.rv-top-img {
    width: 56px;
    height: 56px;
    border-radius: var(--rv-radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--rv-light);
}

.rv-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv-top-img--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--rv-gray);
}

.rv-top-img--fallback::after {
    content: '\F11F';
    font-family: 'bootstrap-icons';
}

.rv-top-body {
    flex: 1;
    min-width: 0;
}

.rv-top-title {
    font-size: var(--rv-text-base);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-dark);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv-top-artist {
    font-size: var(--rv-text-xs);
    color: var(--rv-gray);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv-top-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--rv-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    opacity: 0;
    transform: scale(0.8);
}

.rv-top-card:hover .rv-top-play {
    opacity: 1;
    transform: scale(1);
}

.rv-top-play:hover {
    box-shadow: 0 4px 12px rgba(0, 55, 130, 0.3);
    transform: scale(1.1);
}

/* Empty state */
.rv-top-empty {
    text-align: center;
    padding: var(--rv-space-12) var(--rv-space-4);
}

.rv-top-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--rv-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--rv-gray);
    margin: 0 auto var(--rv-space-4);
}

.rv-top-empty-title {
    font-size: var(--rv-text-lg);
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-dark);
    margin-bottom: var(--rv-space-2);
}

.rv-top-empty-desc {
    font-size: var(--rv-text-sm);
    color: var(--rv-gray);
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================================================
   TOP RV — EXTENDED
   =================================================================== */

.rv-top-header {
    text-align: center;
    padding: var(--rv-space-10) 0 var(--rv-space-6);
}

.rv-top-countdown-wrap {
    display: flex;
    justify-content: center;
    gap: var(--rv-space-4);
    margin-top: var(--rv-space-6);
}

.rv-top-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.rv-top-countdown-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--rv-primary);
    letter-spacing: -0.03em;
}

.rv-top-countdown-label {
    font-size: var(--rv-text-xs);
    color: var(--rv-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--rv-space-1);
}

.rv-top-vote-bar {
    flex: 1;
    height: 8px;
    background: var(--rv-light);
    border-radius: 99px;
    overflow: hidden;
    margin: 0 var(--rv-space-3);
}

.rv-top-vote-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--rv-primary), var(--rv-blue-500));
    transition: width 0.6s var(--rv-ease-out);
}

.rv-top-vote-btn {
    flex-shrink: 0;
    padding: var(--rv-space-1) var(--rv-space-4);
    border: 2px solid var(--rv-primary);
    border-radius: 99px;
    background: transparent;
    color: var(--rv-primary);
    font-size: var(--rv-text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    white-space: nowrap;
}

.rv-top-vote-btn:hover {
    background: var(--rv-primary);
    color: #fff;
}

.rv-top-vote-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rv-top-vote-btn.rv-voted {
    background: var(--rv-primary);
    color: #fff;
    border-color: var(--rv-primary);
}

.rv-top-card--votable {
    cursor: pointer;
    position: relative;
}

.rv-top-card--votable:hover {
    border-color: var(--rv-primary);
    box-shadow: 0 4px 20px rgba(0, 55, 130, 0.1);
    transform: translateX(4px);
}

.rv-top-card--votable.rv-voted-card {
    border-color: var(--rv-primary);
    background: var(--rv-blue-50);
}

.rv-top-stats-row {
    display: flex;
    justify-content: center;
    gap: var(--rv-space-6);
    margin-top: var(--rv-space-8);
    flex-wrap: wrap;
}

.rv-top-stat {
    text-align: center;
    padding: var(--rv-space-4) var(--rv-space-6);
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius-lg);
    min-width: 140px;
}

.rv-top-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rv-primary);
    line-height: 1;
}

.rv-top-stat-label {
    font-size: var(--rv-text-xs);
    color: var(--rv-gray);
    margin-top: var(--rv-space-1);
}

.rv-top-floating-vote {
    position: fixed;
    bottom: 80px;
    right: var(--rv-space-4);
    z-index: 100;
    display: none;
}

.rv-top-vote-count {
    font-size: var(--rv-text-xs);
    font-weight: 700;
    color: var(--rv-primary);
    margin-left: auto;
    padding-left: var(--rv-space-2);
    white-space: nowrap;
}

.rv-top-progress-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    gap: var(--rv-space-2);
    min-width: 0;
}

.rv-top-toast-vote {
    position: fixed;
    top: var(--rv-space-4);
    right: var(--rv-space-4);
    background: var(--rv-primary);
    color: #fff;
    padding: var(--rv-space-3) var(--rv-space-5);
    border-radius: var(--rv-radius-lg);
    font-size: var(--rv-text-sm);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s var(--rv-ease-out);
    z-index: 1000;
}

.rv-top-toast-vote.show {
    transform: translateY(0);
    opacity: 1;
}

.rv-top-toast-vote.error {
    background: #dc3545;
}

.rv-top-section-title {
    font-size: var(--rv-text-xl);
    font-weight: 700;
    color: var(--rv-dark);
    text-align: center;
    margin-bottom: var(--rv-space-2);
}

.rv-top-section-desc {
    font-size: var(--rv-text-sm);
    color: var(--rv-gray);
    text-align: center;
    max-width: 500px;
    margin: 0 auto var(--rv-space-8);
    line-height: 1.6;
}

.rv-top-auth-required {
    text-align: center;
    padding: var(--rv-space-8);
    color: var(--rv-gray);
}

/* ===================================================================
   PODCAST
   =================================================================== */
.podcast-card {
    background: #fff;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius);
    overflow: hidden;
    transition: var(--rv-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.podcast-card:hover {
    box-shadow: 0 8px 30px rgba(0, 55, 130, 0.1);
}

.podcast-card-img {
    height: 200px;
    overflow: hidden;
}

.podcast-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.podcast-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rv-dark);
    margin-bottom: 8px;
}

.podcast-card-desc {
    font-size: 0.9rem;
    color: var(--rv-gray);
    line-height: 1.6;
    flex: 1;
}

.podcast-card-footer {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--rv-gray);
    margin-bottom: 12px;
}

.podcast-audio {
    border-radius: 8px;
    height: 40px;
}

.podcast-audio::-webkit-media-controls-panel {
    background: var(--rv-light);
}

/* ===================================================================
   PODCAST HORIZONTAL PREMIUM
   =================================================================== */
.podcast-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: #fff;
    overflow: hidden;
}

.podcast-card:hover {
    box-shadow: 0 12px 40px rgba(0, 55, 130, 0.12);
    transform: translateY(-2px);
}

.podcast-card-inner {
    display: flex;
    gap: 0;
    min-height: 200px;
}

.podcast-card-image {
    flex: 0 0 200px;
    position: relative;
    overflow: hidden;
}

.podcast-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.podcast-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.podcast-card:hover .podcast-img {
    transform: scale(1.05);
}

.podcast-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 55, 130, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podcast-card:hover .podcast-img-overlay {
    opacity: 1;
}

.podcast-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.podcast-play-btn:hover {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
    transform: scale(1.1);
}

.podcast-play-btn.playing {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
}

.podcast-card-content {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.podcast-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rv-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-card-desc {
    font-size: 0.85rem;
    color: var(--rv-gray);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--rv-gray);
    margin-bottom: 14px;
}

.podcast-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.podcast-meta-item i {
    font-size: 0.75rem;
    color: var(--rv-accent);
}

/* ===================================================================
   CUSTOM AUDIO PLAYER
   =================================================================== */
.podcast-player {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--rv-light);
    border: 1px solid var(--rv-border);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.podcast-player.playing {
    border-color: var(--rv-accent);
}

.player-btn-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--rv-primary);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.player-btn-small:hover {
    background: var(--rv-primary-light);
    transform: scale(1.08);
}

.player-btn-small.playing {
    background: var(--rv-accent);
}

.player-track {
    flex: 1;
    min-width: 0;
}

.player-progress {
    position: relative;
    height: 4px;
    background: var(--rv-border);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 3px;
}

.player-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--rv-primary), var(--rv-accent));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.player-progress-thumb {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--rv-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.player-progress:hover .player-progress-thumb {
    opacity: 1;
}

.player-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--rv-gray);
    font-variant-numeric: tabular-nums;
}

.player-speed-btn {
    flex-shrink: 0;
    padding: 2px 8px;
    border: 1px solid var(--rv-border);
    border-radius: 6px;
    background: #fff;
    color: var(--rv-gray);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.player-speed-btn:hover {
    border-color: var(--rv-primary);
    color: var(--rv-primary);
}

.player-speed-btn.active {
    background: var(--rv-primary);
    border-color: var(--rv-primary);
    color: #fff;
}

/* ===================================================================
   PODCAST PREMIUM RESPONSIVE
   =================================================================== */
@media (max-width: 767.98px) {
    .podcast-card-inner {
        flex-direction: column;
        min-height: auto;
    }

    .podcast-card-image {
        flex: 0 0 200px;
        height: 200px;
    }

    .podcast-img-overlay {
        opacity: 1;
        background: linear-gradient(135deg, rgba(0, 55, 130, 0.3) 0%, rgba(0, 0, 0, 0.05) 100%);
    }

    .podcast-card-content {
        padding: 20px;
    }
}

/* ===================================================================
   NOTICIA SINGLE
   =================================================================== */
.noticia-img img {
    width: 100%;
    border-radius: 12px;
}

.noticia-extracto {
    font-size: 1.15rem;
    color: var(--rv-gray);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 24px;
}

.noticia-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--rv-dark);
}

.noticia-body h2,
.noticia-body h3,
.noticia-body h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--rv-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.noticia-body p {
    margin-bottom: 16px;
}

.noticia-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

/* ===================================================================
   CMS CONTENT
   =================================================================== */
.cms-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--rv-dark);
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--rv-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.cms-content p {
    margin-bottom: 16px;
}

.cms-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

/* ===================================================================
   FOOTER — Redesigned
   =================================================================== */
.rv-footer {
    position: relative;
    background: var(--rv-neutral-900);
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.rv-footer-content {
    padding: var(--rv-space-20) 0 0;
}

.rv-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--rv-space-6);
}

.rv-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--rv-space-12);
}

.rv-footer-brand {
    display: flex;
    align-items: center;
    gap: var(--rv-space-3);
    text-decoration: none;
    margin-bottom: var(--rv-space-4);
    font-size: 1.2rem;
    font-weight: var(--rv-font-weight-bold);
    color: var(--rv-white);
}

.rv-footer-brand img {
    height: 28px;
    width: auto;
}

.rv-footer-desc {
    font-size: var(--rv-text-sm);
    line-height: 1.7;
    margin: 0 0 var(--rv-space-5);
    color: rgba(255, 255, 255, 0.55);
    max-width: 360px;
}

.rv-footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--rv-space-2);
}

.rv-footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--rv-space-2);
    font-size: var(--rv-text-sm);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--rv-duration-200) var(--rv-ease-out);
}

.rv-footer-contact-item i {
    font-size: 0.85rem;
    color: var(--rv-accent);
    width: 16px;
    text-align: center;
}

.rv-footer-contact-item:hover {
    color: var(--rv-accent);
}

.rv-footer-heading {
    font-size: var(--rv-text-sm);
    font-weight: var(--rv-font-weight-semibold);
    color: var(--rv-white);
    margin: 0 0 var(--rv-space-5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.rv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--rv-space-2);
}

.rv-footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: var(--rv-text-sm);
    transition: all var(--rv-duration-200) var(--rv-ease-out);
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-1);
}

.rv-footer-links a:hover {
    color: var(--rv-accent);
    transform: translateX(4px);
}

.rv-footer-social {
    display: flex;
    gap: var(--rv-space-2);
    flex-wrap: wrap;
    margin-bottom: var(--rv-space-5);
}

.rv-footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--rv-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1.15rem;
    transition: all var(--rv-duration-200) var(--rv-ease-out);
}

.rv-footer-social-link:hover {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
    color: var(--rv-white);
    transform: translateY(-2px);
    box-shadow: var(--rv-shadow-glow);
}

.rv-footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: var(--rv-space-2);
    font-size: var(--rv-text-xs);
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color var(--rv-duration-200) var(--rv-ease-out);
    padding: var(--rv-space-1) var(--rv-space-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rv-radius-sm);
}

.rv-footer-admin-link:hover {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.rv-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--rv-space-6) 0;
    margin-top: var(--rv-space-16);
    font-size: var(--rv-text-xs);
    color: rgba(255, 255, 255, 0.35);
}

.rv-footer-bottom p {
    margin: 0;
}

.rv-footer-slogan {
    color: var(--rv-accent);
    font-weight: var(--rv-font-weight-medium);
}

/* --- Legacy footer support --- */
.site-footer {
    display: none;
}

/* ===================================================================
   STICKY PLAYER
   =================================================================== */
.player-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    overflow-x: hidden;
}

.player-bar {
    height: 72px;
    padding-top: 18px;
    background: linear-gradient(90deg, #002a63 0%, #003782 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.player-info {
    min-width: 0;
}

.player-equalizer {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 24px;
}

.player-equalizer span {
    width: 3px;
    height: 100%;
    background: var(--rv-accent);
    border-radius: 2px;
    animation: equalize 1.2s ease-in-out infinite;
}

.player-equalizer span:nth-child(1) { animation-delay: 0s; }
.player-equalizer span:nth-child(2) { animation-delay: 0.15s; }
.player-equalizer span:nth-child(3) { animation-delay: 0.3s; }
.player-equalizer span:nth-child(4) { animation-delay: 0.45s; }
.player-equalizer span:nth-child(5) { animation-delay: 0.6s; }

@keyframes equalize {
    0%, 100% { height: 8px; }
    25% { height: 20px; }
    50% { height: 12px; }
    75% { height: 24px; }
}

.player-title {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
}

.player-subtitle {
    font-size: 0.75rem;
    color: var(--rv-accent);
    opacity: 0.8;
}

.live-program {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 12px;
}

.live-program-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.live-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

.live-program-host {
    font-size: 0.7rem;
    color: var(--rv-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.player-controls {
    flex-shrink: 0;
}

.player-progress-container {
    width: 120px;
}

.player-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.player-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--rv-accent);
    border-radius: 2px;
    transition: width 0.3s linear;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--rv-transition);
    flex-shrink: 0;
}

.player-btn:hover {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
}

.player-volume-container {
    gap: 6px;
}

.player-volume {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.player-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rv-accent);
    cursor: pointer;
}

.player-volume::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rv-accent);
    cursor: pointer;
    border: none;
}

/* ===================================================================
   BOTTOM PLAYER - PODCAST MODE
   =================================================================== */
.player-btn-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.player-btn-sm:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.player-btn-sm.active {
    background: var(--rv-accent);
    border-color: var(--rv-accent);
}

.podcast-player-info {
    min-width: 0;
}

.podcast-player-track {
    gap: 8px;
}

.podcast-player-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    min-width: 32px;
    text-align: center;
}

.podcast-player-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    min-width: 60px;
}

.podcast-player-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--rv-accent), #e0c070);
    border-radius: 2px;
    transition: width 0.1s linear;
}

#player-controls-podcast {
    flex: 1;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .rv-nav {
        width: 100%;
        max-width: 100%;
        border-left: none;
    }

    #player-controls-podcast {
        gap: 4px !important;
    }
}

/* ===================================================================
   FLOATING SOCIAL FAB
   =================================================================== */
.rv-fab {
    position: fixed;
    bottom: 170px;
    right: 24px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rv-fab-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rv-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(0, 55, 130, 0.3);
    transition: transform var(--rv-duration-200) var(--rv-ease-out),
                box-shadow var(--rv-duration-200) var(--rv-ease-out);
    animation: fabShake 4s ease-in-out infinite;
}

.rv-fab-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 55, 130, 0.4);
}

.rv-fab-trigger.open {
    transform: rotate(45deg);
    background: var(--rv-error);
    animation: none;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
}

@keyframes fabShake {
    0%, 80%, 100% { transform: rotate(0); }
    82% { transform: rotate(-16deg); }
    84% { transform: rotate(14deg); }
    86% { transform: rotate(-12deg); }
    88% { transform: rotate(10deg); }
    90% { transform: rotate(-6deg); }
    92% { transform: rotate(6deg); }
}

.rv-fab-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(12px) scale(0.85);
    pointer-events: none;
    transition: all var(--rv-duration-250) cubic-bezier(0.22, 1, 0.36, 1);
}

.rv-fab-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.rv-fab-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: transform var(--rv-duration-150) var(--rv-ease-out),
                box-shadow var(--rv-duration-150) var(--rv-ease-out);
}

.rv-fab-link:hover {
    transform: scale(1.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.rv-fab-link i {
    color: inherit;
}

.rv-fab-link.facebook { background: #1877f2; }
.rv-fab-link.instagram { background: #e4405f; }
.rv-fab-link.whatsapp { background: #25d366; }
.rv-fab-link.youtube { background: #ff0000; }
.rv-fab-link.tiktok { background: #111; }
.rv-fab-link.church { background: #e74c3c; }
.rv-fab-link.map { background: #34a853; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 991.98px) {
    .rv-donate-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rv-donate-hero-content {
        max-width: 100%;
    }

    .rv-donate-hero-visual {
        order: -1;
    }

    .rv-donate-image {
        max-width: 360px;
    }

    .rv-verse-block {
        text-align: left;
        border-left-width: 3px;
        padding: var(--rv-space-6);
    }

    .rv-section {
        padding: var(--rv-space-16) 0;
    }

    .rv-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rv-cta {
        padding: var(--rv-space-16) 0;
    }

    .rv-tab-full { display: none; }
    .rv-tab-short { display: inline; }
    .rv-tab {
        padding: var(--rv-space-2) var(--rv-space-3);
        font-size: var(--rv-text-xs);
    }

    /* Legacy backward compat */
    .section {
        padding: var(--rv-space-16) 0;
    }

    .rv-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--rv-space-10);
    }

    .rv-footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .rv-fab {
        bottom: 152px;
    }

    .rv-hero {
        height: auto;
        min-height: 220px;
        max-height: 60vh;
    }

    .rv-hero-content {
        margin: auto auto var(--rv-space-8) auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rv-hero-dots {
        display: none;
    }

    .rv-hero-title {
        font-size: clamp(1.15rem, 4vw, 1.5rem);
        margin-bottom: var(--rv-space-2);
    }

    .rv-hero-desc {
        font-size: var(--rv-text-sm);
        margin-bottom: var(--rv-space-4);
    }

    .rv-hero-badge {
        font-size: 0.55rem;
        padding: 4px 12px;
        margin-bottom: var(--rv-space-3);
    }

    .rv-hero-cta .rv-btn {
        font-size: var(--rv-text-sm);
        padding: var(--rv-space-2) var(--rv-space-5);
    }

    .rv-section {
        padding: var(--rv-space-12) 0;
    }

    .rv-section--alt {
        background: transparent;
    }

    .rv-pagination {
        flex-wrap: wrap;
        gap: var(--rv-space-1);
    }

    .rv-pagination-page {
        min-width: 32px;
        height: 32px;
        font-size: var(--rv-text-xs);
    }

    .rv-pagination-link {
        font-size: var(--rv-text-xs);
        padding: var(--rv-space-1) var(--rv-space-2);
    }

    .rv-news-grid {
        grid-template-columns: 1fr;
    }

    .rv-schedule-swiper {
        padding: 0 36px;
    }

    .rv-swiper-prev,
    .rv-swiper-next {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .rv-schedule-grid {
        grid-template-columns: 1fr;
    }

    .rv-cta {
        padding: var(--rv-space-12) 0;
    }

    .rv-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--rv-space-8);
    }

    .rv-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--rv-space-2);
    }

    .rv-footer-content {
        padding-top: var(--rv-space-16);
    }
}

@media (max-width: 767.98px) {
    .hero-carousel {
        height: 40vh;
        min-height: 280px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .player-volume-container {
        display: none !important;
    }
    
    .player-progress-container {
        display: none !important;
    }
    
    .player-info .player-subtitle {
        display: none;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .rv-fab {
        right: 16px;
    }

    .hero-carousel {
        height: 35vh;
        min-height: 240px;
    }
    
    .player-controls {
        gap: 8px !important;
    }

    .rv-donate-hero {
        gap: var(--rv-space-8);
    }

    .rv-donate-intro {
        font-size: var(--rv-text-base);
        margin-bottom: var(--rv-space-6);
    }

    .rv-verse-block p {
        font-size: var(--rv-text-lg);
    }

    .rv-donate-image {
        max-width: 280px;
    }

    .rv-donate-card,
    .donate-card {
        padding: var(--rv-space-10) var(--rv-space-6);
    }
}

/* ===================================================================
   THEME — App (naranja)
   Agrega clase .rv-theme-app al <html> para activar
   =================================================================== */
.rv-theme-app {
    --rv-blue-50:   #fff3e6;
    --rv-blue-100:  #ffdec2;
    --rv-blue-200:  #ffbd85;
    --rv-blue-300:  #ff9c47;
    --rv-blue-400:  #F28C28;
    --rv-blue-500:  #E07000;
    --rv-blue-600:  #cc6600;
    --rv-blue-700:  #b35900;
    --rv-blue-800:  #994d00;
    --rv-blue-900:  #804000;
    --rv-blue-600-rgb: 204, 102, 0;

    --rv-gold-500: #F5B400;
    --rv-gold-600: #d99a00;
    --rv-gold-700: #b88200;

    --rv-surface:     #F8F9FA;
    --rv-surface-alt: #f0f2f0;

    --rv-text-primary:   #222222;
    --rv-text-secondary: #6C757D;

    --rv-gradient:        linear-gradient(135deg, #cc6600, #E07000);
    --rv-gradient-accent: linear-gradient(135deg, #F5B400, #d99a00);
    --rv-gradient-dark:   linear-gradient(135deg, #1A0F00, #2a1a00);
}

.rv-theme-app .rv-page-header::before {
    background-image:
        radial-gradient(circle at 25% 35%, rgba(242,140,40,0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(245,180,0,0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.rv-theme-app .rv-cta::before {
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(245,180,0,0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(242,140,40,0.06) 0%, transparent 35%);
}

.rv-theme-app .rv-header-glow-orb--1 {
    background: radial-gradient(circle, rgba(242,140,40,0.15), transparent 70%);
}

.rv-theme-app .rv-header-glow-orb--3 {
    background: radial-gradient(circle, rgba(245,180,0,0.18), transparent 70%);
}

.rv-theme-app .rv-hero-badge {
    background: rgba(255,255,255,0.15);
    color: var(--rv-white);
}

.rv-theme-app .rv-badge {
    background: rgba(242,140,40,0.12);
    color: #E07000;
}

.rv-theme-app .rv-cta-content .rv-hero-badge {
    background: rgba(255,255,255,0.15);
    color: var(--rv-text-inverse);
}

.rv-theme-app .player-bar {
    background: linear-gradient(90deg, #1A0F00 0%, #2a1a00 100%);
}

.rv-theme-app .player-equalizer span {
    background: #F28C28;
}

.rv-theme-app .player-subtitle {
    color: #F28C28;
    opacity: 0.9;
}

.rv-theme-app .rv-fab-trigger {
    background: #E07000;
}

.rv-theme-app .rv-fab-trigger:hover {
    background: #cc6600;
}
