/* ============================================================
   FM COAST PINAMAR 98.9 MHz - ESTILOS PERSONALIZADOS (TEMA CLARO)
   Framework Multimedios 2027
   Tema Costero Claro + Video de Fondo YouTube + Winamp Visualizer
   ============================================================ */

:root {
    --coast-red: #dc3545;
    --coast-red-dark: #b02a37;
    --coast-red-light: #ef4444;
    
    --coast-blue: #0d6efd;
    --coast-blue-dark: #0a58ca;
    --coast-blue-light: #0284c7;
    --coast-cyan: #06b6d4;
    
    /* PALETA TEMA CLARO COSTERO */
    --coast-bg-page: #f1f5f9;
    --coast-bg-surface: #ffffff;
    --coast-bg-surface-elevated: #f8fafc;
    --coast-border: #e2e8f0;
    --coast-border-subtle: #cbd5e1;
    --coast-text-main: #1e293b;
    --coast-text-muted: #64748b;
    --coast-text-headings: #0f172a;
}

/* 1. Fondo General Claro y Tipografía */
body {
    background-color: var(--coast-bg-page) !important;
    color: var(--coast-text-main) !important;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 2. Lienzo de Fondo Global de la Web (HTML5 video.mp4 con Capa Translúcida Clara) */
.global-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: #0b0f19;
}

.global-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.global-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: rgba(241, 245, 249, 0.88); /* Overlay claro para permitir ver el movimiento del mar manteniendo estética clara */
    transition: background 0.4s ease;
}

/* ============================================================
   PRELOADER - PANTALLA DE PRECARGA (FM COAST 98.9)
   ============================================================ */
.coast-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    opacity: 1;
    visibility: visible;
}

.coast-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.coast-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 360px;
    padding: 24px;
}

.coast-preloader-logo-box {
    margin-bottom: 20px;
    animation: preloaderPulse 2s infinite ease-in-out;
}

.coast-preloader-logo {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.coast-preloader-eq {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 28px;
    margin-bottom: 20px;
}

.coast-preloader-eq span {
    width: 5px;
    background: linear-gradient(180deg, var(--coast-red), var(--coast-blue));
    border-radius: 3px;
    animation: preloaderEq 0.9s infinite ease-in-out alternate;
}

.coast-preloader-eq span:nth-child(1) { height: 10px; animation-delay: 0.1s; }
.coast-preloader-eq span:nth-child(2) { height: 22px; animation-delay: 0.3s; }
.coast-preloader-eq span:nth-child(3) { height: 28px; animation-delay: 0.2s; }
.coast-preloader-eq span:nth-child(4) { height: 18px; animation-delay: 0.4s; }
.coast-preloader-eq span:nth-child(5) { height: 12px; animation-delay: 0.15s; }

@keyframes preloaderEq {
    0% { height: 6px; }
    100% { height: 28px; }
}

.coast-preloader-progress-track {
    width: 220px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.coast-preloader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--coast-blue), var(--coast-red));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.coast-preloader-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coast-preloader-station {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0f172a;
    text-transform: uppercase;
}

.coast-preloader-sub {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Contenido por encima del video de fondo */
.marquesina-bar,
.coast-top-bar,
.coast-header,
.contenido,
footer {
    position: relative;
    z-index: 2;
}

/* 3. Tarjetas y Paneles en Blanco con Sombras Suaves (Tema Claro) */
.noticia_simple_articulo,
.coast-sidebar-card,
.coast-tira-wrap,
.coast-programas-wrap,
.articulo-completo,
.weather-widget,
.p-3.bg-light {
    background-color: var(--coast-bg-surface) !important;
    border: 1px solid var(--coast-border) !important;
    color: var(--coast-text-main) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

.noticia_simple_titulo,
.articulo-titulo {
    color: var(--coast-text-headings) !important;
    transition: color 0.2s ease;
}

.noticia_simple_titulo:hover,
.noticia_portada_titulo:hover,
.articulo-titulo:hover {
    color: var(--coast-blue) !important;
}

.noticia_simple_copete,
.articulo-copete,
.coast-sidebar-card p,
.text-muted {
    color: var(--coast-text-muted) !important;
}


/* ============================================================
   NOTICIA PRINCIPAL DE PORTADA: TIPOGRAFÍA BLANCA DE ALTO CONTRASTE
   ============================================================ */
.noticia_portada_articulo {
    background-color: #0b0f19 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
}

.noticia_portada_titulo,
.noticia_portada_titulo a,
.noticia_portada_articulo .noticia_portada_titulo,
.noticia_portada_articulo .noticia_portada_titulo a {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
    line-height: 1.25 !important;
}

.noticia_portada_articulo:hover .noticia_portada_titulo,
.noticia_portada_articulo:hover .noticia_portada_titulo a {
    color: #38bdf8 !important;
}

.noticia_portada_volanta,
.noticia_portada_articulo .noticia_portada_volanta {
    color: #ffffff !important;
    background: var(--coast-red) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.noticia_portada_copete,
.noticia_portada_articulo .noticia_portada_copete {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

/* 4. Barra de Menú Superior Visible y Sticky (Tema Claro) */
.coast-top-bar {
    background: #ffffff;
    border-bottom: 2px solid var(--coast-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.coast-top-bar-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coast-top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.coast-top-left .hamburger {
    color: var(--coast-text-headings) !important;
    font-size: 18px;
}

.coast-top-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coast-top-links li a {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.coast-top-links li a:hover,
.coast-top-links li a.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--coast-blue), var(--coast-red));
}

.coast-top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coast-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.coast-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.coast-social-btn.facebook  { background: #1877f2; }
.coast-social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.coast-social-btn.twitter   { background: #0f172a; }
.coast-social-btn.whatsapp  { background: #25d366; }

/* 5. Header Principal (Tema Claro) */
.coast-header {
    background: #ffffff;
    border-bottom: 1px solid var(--coast-border);
    padding: 16px 0;
}

.coast-header-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.coast-header-brand-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.coast-header-brand-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 72px;
}

/* Barras Volumétricas Detrás del Logo en el Header */
.header-volumetric-canvas {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 75px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

body.radio-playing .header-volumetric-canvas {
    opacity: 0.90;
}

.coast-header-brand-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Header Móvil: Barras Volumétricas */
.coast-header-brand-wrap-mob {
    position: relative;
    display: flex;
    align-items: center;
}

.header-volumetric-canvas-mobile {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 50px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

body.radio-playing .header-volumetric-canvas-mobile {
    opacity: 0.90;
}

/* Efecto de latido (Heartbeat) en el logo de Coast sobre las barras de sonido */
@keyframes logoCoastHeartbeat {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    }
    14% {
        transform: scale(1.06);
        filter: drop-shadow(0 4px 10px rgba(220, 53, 69, 0.35));
    }
    28% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    }
    42% {
        transform: scale(1.08);
        filter: drop-shadow(0 6px 14px rgba(13, 110, 253, 0.4));
    }
    70% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    }
}

.coast-header-brand-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    animation: logoCoastHeartbeat 2.4s infinite ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

body.radio-playing .coast-header-brand-logo {
    animation: logoCoastHeartbeat 1.6s infinite ease-in-out;
}

.coast-header-brand-link:hover .coast-header-brand-logo {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Subtítulo ubicado prolijamente debajo de las barras de audio */
.coast-brand-subtitle-line {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--coast-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    margin-left: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.coast-brand-subtitle-line span:nth-child(2) {
    color: var(--coast-red);
}

/* 6. Badges y Widget de Radio en Vivo */
.coast-badges-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coast-badge-card {
    background: var(--coast-bg-surface-elevated);
    border: 1px solid var(--coast-border);
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--coast-text-main);
    transition: all 0.2s ease;
}

.coast-badge-card:hover {
    border-color: var(--coast-blue);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.12);
}

.coast-badge-card .badge-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.coast-badge-card .badge-subtitle {
    font-size: 10px;
    color: var(--coast-text-muted);
    text-transform: uppercase;
    display: block;
}

/* Reproductor de Radio Header Claro */
.coast-radio-widget {
    background: #f8fafc;
    border: 1px solid var(--coast-border-subtle);
    border-radius: 30px;
    padding: 6px 16px 6px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.coast-radio-info {
    display: flex;
    flex-direction: column;
}

.coast-radio-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 900;
    color: var(--coast-text-headings);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.coast-radio-status {
    font-size: 10px;
    font-weight: 700;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.coast-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px #16a34a;
    animation: pulse-live 1.6s infinite ease-in-out;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Mini Ecualizador Winamp */
.coast-mini-winamp {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 11px;
    margin-left: 4px;
}

.coast-mini-bar {
    width: 2.5px;
    background: #16a34a;
    border-radius: 1px;
    height: 3px;
    transition: height 0.15s ease;
}

body.radio-playing .coast-mini-bar:nth-child(1) { animation: miniEq 0.5s infinite alternate ease-in-out; }
body.radio-playing .coast-mini-bar:nth-child(2) { animation: miniEq 0.7s infinite alternate 0.15s ease-in-out; }
body.radio-playing .coast-mini-bar:nth-child(3) { animation: miniEq 0.4s infinite alternate 0.05s ease-in-out; }
body.radio-playing .coast-mini-bar:nth-child(4) { animation: miniEq 0.6s infinite alternate 0.2s ease-in-out; }

@keyframes miniEq {
    0% { height: 2px; }
    100% { height: 11px; }
}

.coast-radio-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coast-red), #e11d48);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.4);
    transition: transform 0.15s ease, background 0.2s ease;
}

.coast-radio-btn:hover {
    transform: scale(1.08);
}

/* ============================================================
   7. HERO CON VIDEO DE FONDO Y REPRODUCTOR COAST TV
   (Igual que coastpinamar.com actual con fondo YouTube y capa degradada)
   ============================================================ */
.coast-hero-portada {
    position: relative;
    width: 100%;
    min-height: auto;
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Capa de Degradado Costero Rojo - Azul sobre el fondo */
.coast-hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.35) 0%, rgba(13, 110, 253, 0.45) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Contenido del Hero sobre el Video de Fondo */
.coast-hero-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
}

.coast-hero-top-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.coast-hero-top-badge h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coast-hero-top-badge span {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Caja de Coast TV Centrada y Prominente (Sin Slider) */
.coast-tv-box-centered {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

/* Caja de Coast TV Estándar / Móvil */
.coast-tv-box {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.coast-tv-header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coast-tv-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.coast-tv-sub {
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.coast-tv-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coast-tv-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.coast-tv-btn-action:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

.coast-tv-btn-mac {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.coast-tv-btn-mac:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.coast-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
}

.coast-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 8. Showcase de Programación Radial (Tema Claro) */
.coast-programas-wrap {
    margin: 28px 0;
    padding: 20px;
    background: var(--coast-bg-surface);
    border-radius: 12px;
    border: 1px solid var(--coast-border);
}

.coast-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--coast-border);
    padding-bottom: 8px;
}

.coast-section-heading h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--coast-text-headings);
    display: flex;
    align-items: center;
    gap: 8px;
}

.coast-section-heading a {
    color: var(--coast-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.coast-section-heading a:hover {
    color: var(--coast-red);
}

.coast-program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .coast-program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .coast-program-grid {
        grid-template-columns: 1fr;
    }
}

.coast-program-card {
    background: var(--coast-bg-surface-elevated);
    border: 1px solid var(--coast-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.coast-program-card:hover {
    transform: translateY(-4px);
    border-color: var(--coast-blue);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

.coast-program-media {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
    background: #000;
}

.coast-program-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.coast-program-card:hover .coast-program-media img {
    transform: scale(1.06);
}

.coast-program-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.coast-program-time {
    font-size: 11px;
    font-weight: 800;
    color: var(--coast-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.coast-program-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--coast-text-headings);
    margin-bottom: 4px;
    line-height: 1.3;
}

.coast-program-desc {
    font-size: 12px;
    color: var(--coast-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* 9. Tira de Sponsors y Auspiciantes (Tema Claro) */
.coast-tira-wrap {
    margin: 24px 0;
    padding: 14px;
    border-radius: 10px;
    background: var(--coast-bg-surface);
    border: 1px solid var(--coast-border);
}

.coast-tira-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--coast-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 10. Sidebar Cards (Tema Claro) */
.coast-sidebar-card {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: var(--coast-bg-surface);
    border: 1px solid var(--coast-border);
}

.coast-sidebar-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--coast-text-headings);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--coast-border);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 11. Footer (Diseño Limpio) */
.coast-footer {
    background: #0f172a;
    border-top: 2px solid var(--coast-blue);
    margin-top: 40px;
    padding: 40px 16px 20px;
    color: #cbd5e1;
}

.coast-footer-grid {
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    .coast-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .coast-footer-grid {
        grid-template-columns: 1fr;
    }
}

.coast-footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coast-footer a:not(.coast-social-btn):not(.coast-footer-brand-link) {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.coast-footer a:not(.coast-social-btn):not(.coast-footer-brand-link):hover {
    color: #38bdf8;
    transform: translateX(3px);
}

/* Botones de Redes Sociales en Footer y Header */
.coast-social-btn,
.coast-footer .coast-social-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 15px !important;
    text-decoration: none !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

.coast-social-btn:hover,
.coast-footer .coast-social-btn:hover {
    transform: translateY(-3px) scale(1.1) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.coast-social-btn.facebook  { background: #1877f2 !important; }
.coast-social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }
.coast-social-btn.twitter   { background: #0f172a !important; border: 1px solid #334155 !important; }
.coast-social-btn.whatsapp  { background: #25d366 !important; }

.coast-footer-bottom {
    max-width: 1260px;
    margin: 0 auto;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
}

/* 12. Floating Buttons (WhatsApp & Scroll-to-Top alineados) */
#scroll-to-top {
    position: fixed;
    bottom: 84px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coast-blue), #0284c7);
    color: #ffffff;
    border: none;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9995 !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

#scroll-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, var(--coast-red), #e11d48);
}

.floating-wpp {
    right: 16px !important;
    bottom: 16px !important;
    z-index: 9990 !important;
}

.floating-wpp .floating-wpp-button {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
}

#wpdiv {
    z-index: 9990 !important;
}

.floating-wpp-popup .close {
    position: static !important;
}


/* ============================================================
   ESTILOS MÓVIL: SUB-BARRA DE REDES SOCIALES Y AJUSTES DE ESPACIO
   ============================================================ */
.coast-mob-sub-bar {
    background: #f8fafc;
    border-top: 1px solid var(--coast-border);
    padding: 3px 12px;
}

.coast-mob-badge-dial {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: var(--coast-text-headings);
    letter-spacing: 0.5px;
}

.coast-mob-badge-city {
    font-size: 10px;
    font-weight: 700;
    color: var(--coast-blue);
    letter-spacing: 1px;
}

.coast-mob-sub-bar .coast-social-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .coast-header {
        padding: 4px 0 0 0 !important;
    }
    .coast-header-brand-logo {
        height: 40px !important;
    }
    .coast-hero-portada {
        margin: 6px 0 14px 0 !important;
    }
    .renglon-blanco-header {
        display: none !important;
    }
    .marquesina-superior {
        margin-bottom: 0 !important;
    }
    .marquesina-servicios {
        border-top: 1px solid #e2e8f0 !important;
        margin-bottom: 0 !important;
    }
}
