/* ========================================= */
/* --- VARIABLES Y ESTILOS GLOBALES ---       */
/* ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.appstore-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 2px 8px;
    margin-top: 10px;
}

body {
    font-family: var(--font-main);
    background-color: var(--gray-light);
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    /* Rellena el cuadro cortando los bordes sobrantes */
    object-position: center;
    /* Centra la imagen para que no se vea movida */
    display: block;
    /* Evita espacios extra debajo de la imagen */
    border-radius: 4px;
    /* Opcional: un pequeño redondeado para que se vea mejor */
}

/* ========================================= */
/* --- BOTONES ---                           */
/* ========================================= */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #cc0000;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

/* ========================================= */
/* --- TÍTULOS DE SECCIÓN ---               */
/* ========================================= */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    padding-left: 12px;
}



.text-center {
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ========================================= */
/* --- 1. CABECERA PRINCIPAL (HEADER) ---    */
/* ========================================= */

.header-bg {
    background-color: #ff0000;
    background-image: var(--dynamic-img);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--primary-color);
}



.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo-area {
    flex-shrink: 0;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.header-banner-img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.logo-img {
    height: 100px !important;
    width: 100% !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.live-stream {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gray-light);
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid var(--gray-medium);
}

.live-indicator {
    height: 12px;
    width: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.live-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.play-btn {
    background-color: var(--success-color);
    color: var(--light-color);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.2rem;
    color: var(--gray-light);
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* ========================================= */
/* --- 2. NAVEGACIÓN (NAV) ---              */
/* ========================================= */
.main-nav {
    background-color: var(--dark-bg);
    color: var(--light-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    color: var(--light-color);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.search-item {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.search-item input {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 15px;
    border-radius: 20px 0 0 20px;
    color: var(--light-color);
}

.search-item input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-item button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 8px 12px;
    border-radius: 0 20px 20px 0;
    color: var(--light-color);
    cursor: pointer;
}

/* ========================================= */
/* --- 3. CONTENIDO PRINCIPAL ---           */
/* ========================================= */
.main-content {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    /*overflow-x: hidden;*/
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* ========================================= */
/* --- 4. NOTICIAS ---                      */
/* ========================================= */
.news-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    margin-bottom: 30px;
}

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

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-fast);
}

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

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Cuando category-tag está dentro de card-content (no de card-image), se muestra inline */
.card-content .category-tag {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-news {
    grid-column: 1 / -1;
}

.featured-news .card-title {
    font-size: 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-grid .news-card {
    margin-bottom: 0;
}

.news-grid .card-image {
    height: 180px;
}

.news-grid .card-image img {
    height: 100%;
}

.more-news-btn-container {
    text-align: center;
    margin-top: 30px;
}

/* ========================================= */
/* --- 5. SIDEBAR ---                       */
/* ========================================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.greeting-widget {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #880000);
    color: var(--light-color);
}

.greeting-widget img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.greeting-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.social-feed-placeholder {
    text-align: center;
    border: 2px dashed var(--gray-medium);
    padding: 20px;
    border-radius: 10px;
}

.social-feed-placeholder i {
    font-size: 3rem;
    color: #4267B2;
    margin-bottom: 10px;
}

.app-widget {
    background-color: #0d1117;
    color: var(--light-color);
    text-align: center;
}

.app-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.store-badge {
    height: 40px;
    cursor: pointer;
}

/* ========================================= */
/* --- 6. PROGRAMAS ---                     */
/* ========================================= */
.programs-section {
    background-color: var(--light-color);
    padding: 60px 0;
    margin-bottom: 40px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.program-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.program-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.program-host-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-light);
}

.program-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.host-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.schedule {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 5px 0;
}

.program-tags {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.program-tags span {
    background-color: var(--gray-light);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 15px;
}

/* ========================================= */
/* --- 7. PIE DE PÁGINA (FOOTER) ---        */
/* ========================================= */
.main-footer {
    background-color: #0d1117;
    color: #a3a3a3;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

/* ========================================= */
/* --- 8. PLAYER HERO CARD (NUEVO)         */
/* ========================================= */

/* La news-section ahora es player-hero-section */
.player-hero-section {
    min-height: auto;
    width: 930px;
}

/* Ajuste del grid: la columna izquierda ocupa todo el espacio bien */
.content-grid {
    align-items: start;
}

@keyframes bgPulse {

    0%,
    100% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes trackChange {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vinylSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes eqBar {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

.main-player-card {
    position: relative;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: #090a0f;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    min-height: 340px;
    transition: box-shadow 0.5s ease;
}

.main-player-card.is-playing {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

/* Fondo artístico borroso */
.player-card-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    background-image: url('https://radiokebuena.pe/update/img/icono-kb.png');
    filter: blur(15px) saturate(2.0) brightness(0.30);
    animation: bgPulse 8s ease-in-out infinite;
    z-index: 0;
}

.player-card-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(135deg, #001175 0%, #000940 100%);*/
    z-index: 1;
}

.player-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 32px;
    padding: 32px 36px;
    align-items: center;
}

/* ---- IZQUIERDA: portada ---- */
.player-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.player-cover-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 16px;
}

.player-cover-glow {
    position: absolute;
    inset: -12px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.8);
    opacity: 0.7;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.main-player-card.is-playing .player-cover-glow {
    opacity: 1;
}

.player-cover-ring {
    position: absolute;
    inset: -5px;
    border-radius: 19px;
    border: 10px solid #ffffff;
    z-index: 1;
}

.main-player-card.is-playing .player-cover-ring {
    border-color: var(--gray-light);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.player-cover-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}




/* Botones sociales */
.player-social-row {
    display: flex;
    gap: 10px;
}

.player-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.player-social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- DERECHA: info + controles ---- */
.player-card-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.player-on-air-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.35);
    color: #ff0000;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
}

.player-on-air-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4444;
    animation: pulse 1.5s infinite;
}

.player-track-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-title.track-change {
    animation: trackChange 0.5s ease;
}

.player-track-artist {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-program-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 7px 14px;
    border-radius: 10px;
    width: fit-content;
}

.player-program-row i {
    color: var(--secondary-color);
    font-size: 0.78rem;
}

.player-program-time {
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* eq-inline styles moved to player-eq-volume-row section */


/* Sección "sonó antes" */
.player-prev-track {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 14px;
}

.prev-track-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.prev-track-label i {
    margin-right: 4px;
    color: rgba(255, 211, 0, 0.5);
}

.prev-track-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prev-track-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.prev-track-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prev-track-artist {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botones de acción */
.player-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.player-main-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 24px rgba(255, 0, 0, 0.4);
    font-family: var(--font-main);
}

.player-main-play-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
}

.player-programs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: var(--font-main);
}

.player-programs-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive del player card */
@media (max-width: 768px) {

    .player-hero-section {
        min-height: auto;
        width: 339px;
    }

    .sidebar {
        min-height: auto;
        width: 339px;
    }


    .main-player-card {
        overflow: hidden;
        width: 100%;
    }


    .player-card-inner {
        flex-direction: column;
        align-items: center;
        padding: 24px 16px;
        gap: 20px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .player-card-left {
        width: 100%;
        align-items: center;
    }

    .player-card-right {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .player-cover-wrap {
        width: 140px;
        height: 140px;
    }

    .player-cover-img {
        width: 140px;
        height: 140px;
    }

    .player-cover-glow {
        inset: -6px;
    }

    .player-track-title {
        font-size: 1.2rem;
        white-space: normal;
        word-break: break-word;
    }

    .player-track-artist {
        white-space: normal;
        word-break: break-word;
    }

    .player-on-air-badge,
    .player-program-row {
        margin: 0 auto;
        max-width: 100%;
    }

    .player-program-row {
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .player-action-row {
        justify-content: center;
        width: 100%;
    }

    .player-main-play-btn,
    .player-programs-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .player-prev-track {
        width: 100%;
        box-sizing: border-box;
    }

    .prev-track-info {
        justify-content: flex-start;
    }

    .player-eq-volume-row {
        width: 100%;
    }
}

/* ========================================= */
/* --- RESPONSIVE ---                       */
/* ========================================= */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    body {
        padding-bottom: 0;
        overflow-x: hidden;
        width: 100%;
    }

    /* Header móvil: solo logo centrado, fondo rojo sólido */
    .header-bg {
        background-image: none !important;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 12px 15px;
        gap: 10px;
    }

    .logo-img {
        height: 70px;
    }

    .header-center {
        display: none;
    }

    /* Ocultar todo excepto el logo en móvil */
    .header-right {
        display: none;
    }

    /* Nav hamburguesa */
    .hamburger-btn {
        display: block;
    }

    /* EN VIVO: se muestra con position absolute sobre el nav, no afecta el menú */
    .nav-mobile-live {
        display: flex !important;
    }

    /* nav-inner necesita position relative para que el badge se ancle */
    .main-nav {
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 10px 0;
        animation: slideDown 0.3s ease;
    }

    .nav-links.open {
        display: flex;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        font-size: 0.95rem;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .search-item {
        width: 100%;
        padding: 10px 15px;
        margin-left: 0;
    }

    .search-item input {
        flex: 1;
        width: 100%;
    }

    .section-title {
        font-size: 1.3rem;
    }

    /* Programas */
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        flex-direction: row;
        text-align: left;
        padding: 14px;
        gap: 12px;
    }

    .program-host-img img {
        width: 60px;
        height: 60px;
    }

    .program-tags {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    /* Footer créditos */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* On Air widget */
    .on-air-content {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Ranking */
    .ranking-number {
        font-size: 3rem;
    }
}

/* --- CRÉDITOS PIE DE PÁGINA --- */
.footer-bottom-credits {
    background-color: #06080b;
    /* Un tono más oscuro que el footer para contraste */
    padding: 15px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.3);
    /* Línea roja muy sutil */
    color: #888;
    font-size: 0.85rem;
}

.credits-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.credits-text strong {
    color: var(--secondary-color);
    /* Amarillo #ffd300 */
}

.dev-name {
    color: var(--primary-color);
    /* Rojo #ff0000 */
    font-weight: 600;
}

.credits-dev i {
    font-size: 0.75rem;
    margin-left: 5px;
    color: var(--secondary-color);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .credits-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================= */
/* --- RANKING WIDGET ---                   */
/* ========================================= */
.ranking-widget {
    background-color: #0a0a0a;
    color: #fff;
    padding: 0;
    overflow: hidden;
}

.ranking-header {
    background: #0a0a0a;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #1a1a1a;
}

.ranking-logo {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.ranking-text {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 6px;
}

.ranking-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-style: italic;
    position: relative;
}

.ranking-sparks {
    position: absolute;
    top: -5px;
    left: 48px;
    display: flex;
    gap: 3px;
}

.ranking-sparks span {
    width: 3px;
    height: 14px;
    background: var(--primary-color);
    display: block;
    transform: skewX(-15deg);
    border-radius: 1px;
}

.ranking-sparks span:nth-child(1) {
    height: 10px;
    opacity: 0.6;
}

.ranking-sparks span:nth-child(2) {
    height: 16px;
}

.ranking-sparks span:nth-child(3) {
    height: 10px;
    opacity: 0.6;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #1a1a1a;
    transition: background 0.2s;
    cursor: pointer;
}

.ranking-item:hover {
    background: #161616;
}

/*.ranking-item:last-child {
    border-bottom: none;
}
*/

.rank-num {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-color);
    font-style: italic;
    min-width: 24px;
    line-height: 1;
}

.rank-info {
    flex: 1;
}

.rank-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.rank-artist {
    font-size: 0.75rem;
    color: #888;
    margin: 2px 0 0;
    text-transform: uppercase;
}

.rank-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid #333;
}

/* ========================================= */
/* --- NOW ON AIR WIDGET ---                */
/* ========================================= */
.now-on-air-widget {
    background: linear-gradient(135deg, #0d1117 0%, #1a0000 100%);
    color: #fff;
    padding: 16px 18px;
    border: 1px solid rgba(255, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.now-on-air-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.on-air-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.on-air-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.on-air-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.on-air-image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.on-air-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.on-air-img.loaded {
    display: block;
}

.on-air-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(255, 0, 0, 0.4);
}

.on-air-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.on-air-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.on-air-Locutor {
    font-size: 0.78rem;
    font-weight: 100;
    color: #aaa;
    margin: 0;
}

.on-air-time {
    font-size: 0.78rem;
    color: #aaa;
    margin: 0;
}

.on-air-time i {
    margin-right: 4px;
    color: var(--primary-color);
}

.on-air-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: fit-content;
}

.on-air-play-btn:hover {
    background: #cc0000;
    transform: scale(1.04);
}

/* Facebook embed */
.fb-embed-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

/* ========================================= */
/* --- NAV MOBILE LIVE BADGE ---            */
/* ========================================= */
/* Oculto en desktop, visible en móvil via media query */
.nav-mobile-live {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    align-items: center;
    gap: 6px;
    background: var(--gray-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    border: none;
    flex-shrink: 0;
}

.nav-mobile-live .live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    display: inline-block;
}

/* ========================================= */
/* --- ECUALIZADOR + VOLUMEN INLINE ---     */
/* ========================================= */
.player-eq-volume-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.player-eq-inline {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    flex: 1;
}

.player-eq-inline span {
    width: 4px;
    border-radius: 2px;
    background: var(--primary-color);
    height: 20%;
    opacity: 0.3;
    transition: height 0.12s ease, opacity 0.12s ease;
}

.player-eq-inline span:nth-child(odd) {
    background: var(--secondary-color);
}

/* Volumen inline al lado del ecualizador */
.player-volume-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 12px;
    flex-shrink: 0;
}

.volume-mute-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    width: 18px;
    text-align: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.volume-mute-btn:hover {
    color: var(--primary-color);
}

.volume-mute-btn.is-muted {
    color: #444;
}

.volume-slider-wrap {
    width: 72px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--primary-color) 80%, rgba(255, 255, 255, 0.12) 80%);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.volume-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .player-eq-volume-row {
        flex-direction: row;
        justify-content: space-between;
    }

    .player-volume-inline {
        padding: 4px 10px;
    }

    .volume-slider-wrap {
        width: 55px;
    }
}



/* ========================================= */
/* --- PROGRAMAS INLINE (dentro del grid) - */
/* ========================================= */
.inline-programs-section {
    margin-top: 0;
}

.inline-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 700px) {
    .inline-programs-grid {
        grid-template-columns: 1fr;
    }
}



/* ========================================= */
/* --- HISTORIAL DE CANCIONES ---           */
/* ========================================= */
.song-history-section {
    background: linear-gradient(180deg, #f4f7f6 0%, #e8edf0 100%);
    padding: 60px 0 50px;
    margin-bottom: 20px;
}

.song-history-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #ddd;
    -webkit-overflow-scrolling: touch;
}

.song-history-grid::-webkit-scrollbar {
    height: 5px;
}

.song-history-grid::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 10px;
}

.song-history-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.song-card {
    flex: 0 0 214px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    padding-bottom: 14px;
}

.song-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.song-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.song-cover-placeholder {
    background: linear-gradient(135deg, #1a0000, #3a0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 0, 0, 0.35);
    font-size: 2.5rem;
}

.song-card img.song-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.song-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-color);
    padding: 10px 12px 2px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0 12px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Borde rojo superior en hover */
.song-card:hover .song-title {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .song-history-grid {
        display: flex;
        flex-direction: column;
        overflow-x: visible;
        gap: 10px;
        padding: 6px 0 10px;
    }

    .song-card {
        flex: unset;
        display: flex;
        flex-direction: row;
        align-items: center;
        border-radius: 12px;
        padding-bottom: 0;
        gap: 0;
        min-width: 0;
    }

    .song-cover,
    .song-card img.song-cover,
    .song-cover-placeholder {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0;
        border-radius: 10px 0 0 10px;
        font-size: 1.3rem;
    }

    /* Contenedor del texto — título y artista apilados juntos */
    .song-card-text {
        flex: 1;
        min-width: 0;
        padding: 0 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
    }

    .song-title {
        padding: 0;
        font-size: 0.80rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    .song-artist {
        padding: 0;
        font-size: 0.68rem;
        color: var(--text-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
}

/* ========================================= */
/* --- HERO SLIDER ---                      */
/* ========================================= */
.hero-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    height: 430px;
}

.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    position: relative;
    width: calc(100% / 3);
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 0, 0, 0.88) 0%, rgba(255, 0, 0, 0.15) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 30px 32px 36px;
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

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

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-title em {
    font-style: normal;
    color: var(--secondary-color);
}

.slide-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
    line-height: 1.4;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

.slide-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev {
    left: 14px;
}

.slider-next {
    right: 14px;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
    border-color: var(--primary-color);
}

@media (max-width: 600px) {
    .hero-slider {
        height: 200px;
    }

    .slide-title {
        font-size: 1.05rem;
    }

    .slide-desc {
        display: none;
    }

    .slide-content {
        padding: 18px 16px 22px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        border-radius: 12px;
    }
}

/* ========================================= */
/* --- RANKING SPECIAL CARDS ---            */
/* ========================================= */
.ranking-specials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.special-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.special-top-ingreso {
    background: linear-gradient(110deg, #1a0000 0%, #2d0000 100%);
    border-color: rgba(255, 0, 0, 0.35);
}

.special-mas-buena {
    background: linear-gradient(110deg, #12110a 0%, #1e1b00 100%);
    border-color: rgba(255, 211, 0, 0.3);
}

.special-card-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.special-top-ingreso .special-card-label {
    background: rgba(255, 0, 0, 0.18);
    color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 0, 0, 0.15);
}

.special-mas-buena .special-card-label {
    background: rgba(255, 211, 0, 0.12);
    color: var(--secondary-color);
    border-bottom: 1px solid rgba(255, 211, 0, 0.12);
}

.special-card-body {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.special-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-top-ingreso .special-icon {
    background: rgba(255, 0, 0, 0.15);
    color: var(--primary-color);
}

.special-mas-buena .special-icon {
    background: rgba(255, 211, 0, 0.12);
    color: var(--secondary-color);
}

.special-info {
    flex: 1;
    min-width: 0;
}

.special-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.special-artist {
    font-size: 0.68rem;
    color: #888;
    margin: 2px 0 0;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.special-badge {
    flex-shrink: 0;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* --- RANKING VER TODO BTN --- */
.ranking-ver-todo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.ranking-ver-todo-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}


/* ========================================= */
/* --- PROGRAMS SLIDER (tarjeta por tarjeta) */
/* ========================================= */
.programs-slider-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}

.programs-slide-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.programs-slide-item {
    min-width: calc(50% - 8px);
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 2px 2px 6px;
}

@media (max-width: 600px) {
    .programs-slide-item {
        min-width: 85%;
    }
}

/* Controles */
.programs-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.prog-slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.07);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.prog-slider-btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
    transform: scale(1.08);
}

.prog-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.prog-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.prog-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.2);
    border: 1.5px solid rgba(255, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.prog-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 22px;
    border-radius: 4px;
}

/* Indicador de posición */
.prog-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* ========================================= */
/* --- WIDGET DE CONTACTO ---               */
/* ========================================= */
.contact-widget {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}

.contact-widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    background: rgba(255, 0, 0, 0.06);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
}

.contact-icon.icon-phone {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
}

.contact-icon.icon-email {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.35);
}

.contact-icon.icon-map {
    background: linear-gradient(135deg, #FF7A2F, #e05c00);
    box-shadow: 0 3px 10px rgba(255, 122, 47, 0.35);
}

.contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .contact-widget {
        margin-top: 24px;
    }
}

/* =========================================
   BADGE DE DÍA EN TARJETA DE PROGRAMA
   ========================================= */
.program-day-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 5px;
}

/* Botón de WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 24px;
}

/* Efecto al pasar el mouse */
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    color: #FFF;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ocultar el texto en pantallas muy pequeñas (opcional) */
@media screen and (max-width: 480px) {
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
    }
}