/* ============================================================
   ESTILOS PERSONALIZADOS - RADIO FM URBANA 88.3 MHz - MAIPÚ
   Framework Multimedios 2027
   ============================================================ */

:root {
    --urb-navy-dark: #0f172a;
    --urb-blue-deep: #1e3a8a;
    --urb-blue: #0369a1;
    --urb-sky: #0ea5e9;
    --urb-gold: #f59e0b;
    --urb-gold-light: #fbbf24;
    --urb-bg: #f8fafc;
    --urb-card-bg: #ffffff;
    --urb-text: #0f172a;
    --urb-text-muted: #64748b;
    --urb-border: #e2e8f0;
}

body {
    background-color: var(--urb-bg) !important;
    color: var(--urb-text);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

/* ============================================================
   BARRA SUPERIOR STICKY (100% ANCHO DE PANTALLA)
   ============================================================ */
.urb-top-bar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1000;
    background: #0f172a;
    border-bottom: 2px solid var(--urb-sky);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin: 0 !important;
    padding: 0 !important;
}

.urb-top-bar-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px !important;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box !important;
}

.urb-top-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Desactivar position:absolute heredado de escritorio.css */
.urb-top-bar .hamburger,
.hamburger {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    font-size: 19px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

.urb-top-bar .hamburger:hover,
.hamburger:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--urb-gold-light) !important;
    transform: scale(1.05) !important;
}

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

.urb-top-links li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.urb-top-links li a:hover,
.urb-top-links li a.active {
    color: var(--urb-gold-light);
}

.urb-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.urb-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.urb-social-btn.facebook { background: #1877f2; }
.urb-social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.urb-social-btn.whatsapp { background: #25d366; }
.urb-social-btn.phone { background: #0284c7; }

/* ============================================================
   HEADER PRINCIPAL FM URBANA 88.3
   ============================================================ */
.urb-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
    color: #fff;
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border-bottom: 3px solid var(--urb-gold);
}

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

.urb-brand-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.urb-brand-logo {
    height: 72px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.28);
    background: rgba(255, 255, 255, 0.96);
    padding: 4px 8px;
}

.urb-brand-titles {
    display: flex;
    flex-direction: column;
}

.urb-brand-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.4);
}

.urb-brand-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #bae6fd;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.urb-freq-badge {
    background: var(--urb-gold);
    color: #000;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* ============================================================
   WIDGET DE RADIO EN VIVO (HEADER)
   ============================================================ */
.urb-radio-widget {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 8px 18px 8px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

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

.urb-radio-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.urb-radio-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.urb-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: urbLivePulse 1.4s infinite;
}

@keyframes urbLivePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.urb-mini-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    margin-left: 4px;
}

.urb-eq-bar {
    width: 2px;
    background: #22c55e;
    border-radius: 1px;
    height: 3px;
    transition: height 0.15s ease;
}

.urb-radio-widget.playing .urb-eq-bar:nth-child(1) { animation: urbEqMove 0.6s infinite alternate ease-in-out; }
.urb-radio-widget.playing .urb-eq-bar:nth-child(2) { animation: urbEqMove 0.8s infinite alternate 0.2s ease-in-out; }
.urb-radio-widget.playing .urb-eq-bar:nth-child(3) { animation: urbEqMove 0.5s infinite alternate 0.4s ease-in-out; }
.urb-radio-widget.playing .urb-eq-bar:nth-child(4) { animation: urbEqMove 0.7s infinite alternate 0.1s ease-in-out; }

@keyframes urbEqMove {
    0% { height: 3px; background: #22c55e; }
    50% { height: 10px; background: #0ea5e9; }
    100% { height: 14px; background: #f59e0b; }
}

.urb-radio-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.urb-radio-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6);
}

/* ============================================================
   TARJETAS EDITORIALES Y SECCIONES
   ============================================================ */
.urb-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--urb-blue-deep);
    border-bottom: 2px solid var(--urb-blue);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.urb-section-title a {
    font-size: 12px;
    color: var(--urb-text-muted);
    text-decoration: none;
    font-weight: 600;
}

.urb-section-title a:hover {
    color: var(--urb-blue);
}

/* Sidebar Cards */
.urb-sidebar-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 22px;
    border: 1px solid var(--urb-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.urb-sidebar-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--urb-blue-deep);
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--urb-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.urb-station-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
    text-align: center;
}

.urb-station-card .freq {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--urb-gold-light);
    margin-bottom: 4px;
}

.urb-station-card .location {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 14px;
}

/* Footer */
.urb-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 20px 0;
    margin-top: 50px;
    border-top: 4px solid var(--urb-sky);
}

.urb-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.urb-footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.urb-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.urb-footer-links li {
    margin-bottom: 8px;
}

.urb-footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.urb-footer-links li a:hover {
    color: var(--urb-gold-light);
}

.urb-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 991px) {
    .urb-top-links { display: none; }
    .urb-brand-title { font-size: 22px; }
    .urb-header-container { justify-content: center; text-align: center; }
    .urb-radio-widget { width: 100%; justify-content: space-between; }
}

@media (max-width: 576px) {
    .urb-brand-logo { height: 54px; }
    .urb-brand-title { font-size: 18px; }
    .urb-brand-subtitle { font-size: 11px; }
}

/* ============================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================================ */
.urb-whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    z-index: 9991;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.urb-whatsapp-float:hover {
    transform: scale(1.08);
    background: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 991px) {
    .urb-whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}