:root {
    --gps-gold: #d4af37;
    --gps-gold-light: #f2d675;
    --gps-gold-dark: #8f6b18;
    --gps-ink: #070707;
    --gps-surface: #11110f;
    --gps-surface-light: #1b1914;
    --gps-ivory: #f6f0df;
    --gps-muted: #b9b3a5;
    --gps-border: rgba(212, 175, 55, 0.3);
    --gps-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--gps-ink);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--gps-ivory);
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08), transparent 34rem),
        linear-gradient(rgba(5, 5, 5, 0.9), rgba(8, 8, 7, 0.97)),
        url('../imagenes/fondo.webp') center top / cover fixed;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

body > [class$="-container"] {
    width: min(100%, 1400px);
    margin-inline: auto;
    padding: 34px 24px 70px;
}

a {
    color: var(--gps-gold-light);
}

/* Header compartido */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    color: var(--gps-ivory);
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1280px);
    min-height: 86px;
    margin: 0 auto;
    padding: 10px 24px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gps-ivory);
    text-decoration: none;
}

.site-brand img {
    width: auto;
    height: 66px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--gps-gold-dark);
    border-radius: 3px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(212, 175, 55, 0.2));
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
}

.site-brand-copy strong {
    color: var(--gps-ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    letter-spacing: 0.025em;
}

.site-brand-copy small {
    color: var(--gps-gold-light);
    font-size: 0.78rem;
    font-style: italic;
    letter-spacing: 0.08em;
}

.site-header .menu {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header .menu a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    color: #e9e5da;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: 180ms ease;
}

.site-header .menu a:hover,
.site-header .menu a.active {
    color: #090909;
    background: linear-gradient(135deg, var(--gps-gold-light), var(--gps-gold));
    border-color: var(--gps-gold-light);
    box-shadow: 0 5px 18px rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

.site-header .menu-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gps-gold-light);
    background: transparent;
    border: 1px solid var(--gps-border);
    border-radius: 4px;
    font-size: 1.35rem;
    cursor: pointer;
}

/* Títulos y superficies comunes */
body .section-title {
    margin: 44px 0 34px;
    color: var(--gps-ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: none;
}

body .section-title::after {
    display: block;
    width: 72px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--gps-gold), transparent);
    border-radius: 0;
    content: '';
}

body .subtitle {
    color: var(--gps-muted);
}

.stats-bar,
.stats-fechas,
.hero-fechas,
.manager-section,
.cta-section {
    color: var(--gps-ivory);
    background: linear-gradient(135deg, rgba(27, 25, 20, 0.97), rgba(7, 7, 7, 0.98));
    border: 1px solid var(--gps-border);
    border-radius: 6px;
    box-shadow: var(--gps-shadow);
}

.stats-fechas {
    padding: 20px;
}

.stat-card,
.video-card,
.evento-card,
.cancion-card,
.integrante-card,
.historia,
.form-container,
.info-card,
.suscripcion-form,
.filtros-container,
.no-eventos,
.no-videos,
.no-canciones,
.no-fechas {
    color: var(--gps-ivory);
    background: linear-gradient(145deg, rgba(27, 26, 22, 0.98), rgba(15, 15, 13, 0.99));
    border: 1px solid var(--gps-border);
    border-radius: 6px;
    box-shadow: var(--gps-shadow);
}

.video-card:hover,
.evento-card:hover,
.cancion-card:hover,
.integrante-card:hover,
.fecha-card:hover,
.stat-card:hover {
    border-color: var(--gps-gold);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(-6px);
}

.video-card.destacada,
.evento-card.destacado,
.cancion-card.destacada,
.fecha-card.hoy {
    background: linear-gradient(145deg, #211d13, #10100e);
    border: 1px solid var(--gps-gold);
}

.stat-number,
.historia h3,
.manager-info h3,
.manager-contacto a,
.integrante-info h3,
.video-body h3,
.evento-body h3,
.cancion-body h3,
.info-card h3 i,
.contacto-content a {
    color: var(--gps-gold-light);
}

.stat-label,
.video-descripcion,
.evento-descripcion,
.cancion-descripcion,
.integrante-info p,
.historia p,
.contacto-content p,
.info-card p {
    color: var(--gps-muted);
}

.historia p,
.manager-info p {
    text-align: justify;
    text-justify: inter-word;
}

.filtro-btn,
.tipo-btn {
    color: var(--gps-ivory);
    background: #151411;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 4px;
}

.filtro-btn:hover,
.filtro-btn.active,
.tipo-btn:hover,
.tipo-btn.active {
    color: #090909;
    background: linear-gradient(135deg, var(--gps-gold-light), var(--gps-gold));
    border-color: var(--gps-gold-light);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.18);
}

.categoria-badge,
.tipo-badge,
.badge-hoy,
.evento-fecha,
.evento-destacado-badge,
.destacado-badge {
    color: #090909;
    background: var(--gps-gold-light);
    border-radius: 3px;
}

.play-button {
    color: #090909 !important;
    background: rgba(212, 175, 55, 0.94) !important;
}

.videografia-container > div[style] a[style],
.nosotros-container > div[style] > a[style],
.eventos-container .ver-mas-btn,
.eventos-container .cta-btn {
    color: #090909 !important;
    background: linear-gradient(135deg, var(--gps-gold-light), var(--gps-gold)) !important;
    border: 1px solid var(--gps-gold-light) !important;
    border-radius: 4px !important;
}

.nosotros-container > div[style*="background: #ff6600"] {
    color: var(--gps-ivory) !important;
    background: linear-gradient(135deg, #211d13, #090909) !important;
    border: 1px solid var(--gps-border);
    border-radius: 6px !important;
}

.contacto-container > div[style*="background: white"] {
    color: var(--gps-muted);
    background: linear-gradient(145deg, rgba(27, 26, 22, 0.98), rgba(15, 15, 13, 0.99)) !important;
    border: 1px solid var(--gps-border);
    border-radius: 6px !important;
    box-shadow: var(--gps-shadow) !important;
}

.contacto-container > div[style*="background: white"] h2 {
    color: var(--gps-ivory) !important;
    font-family: Georgia, "Times New Roman", serif;
}

.contacto-container > div[style*="background: white"] h3 {
    color: var(--gps-gold-light) !important;
}

.section-divider::before,
.section-divider::after {
    background: linear-gradient(90deg, transparent, var(--gps-gold-dark), transparent) !important;
}

.section-divider h2 {
    color: var(--gps-ivory) !important;
    background: var(--gps-surface) !important;
    border: 1px solid var(--gps-border);
    border-radius: 4px;
}

.evento-titulo,
.cancion-titulo,
.video-titulo {
    color: var(--gps-ivory) !important;
}

.evento-footer,
.cancion-footer,
.video-info {
    border-color: rgba(212, 175, 55, 0.18) !important;
}

/* Fechas */
.hero-fechas {
    isolation: isolate;
}

.hero-fechas::before {
    filter: brightness(0.42) saturate(0.85);
}

.hero-fechas h1,
.fecha-dia {
    color: var(--gps-gold-light);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.fecha-card {
    color: var(--gps-ivory);
    background: var(--gps-surface);
    border: 1px solid var(--gps-border);
    border-radius: 6px;
    box-shadow: var(--gps-shadow);
}

.fecha-header,
.cancion-header {
    color: var(--gps-ivory);
    background: linear-gradient(135deg, #211d13, #090909);
    border-bottom: 1px solid var(--gps-border);
}

.fecha-body,
.cancion-body,
.video-body,
.evento-body,
.integrante-info {
    color: var(--gps-ivory);
}

.fecha-detalle,
.fecha-descripcion,
.fecha-precio,
.fecha-ubicacion {
    color: var(--gps-muted);
}

/* Nosotros */
.manager-section {
    overflow: hidden;
}

.manager-imagen {
    border-color: var(--gps-gold);
}

.integrante-imagenes {
    background: #0b0b0a;
}

.filosofia-grid > div,
.filosofia-card {
    color: var(--gps-ivory);
    background: var(--gps-surface);
    border: 1px solid var(--gps-border);
    border-radius: 6px;
}

/* Formularios */
.form-container h2,
.info-card h3,
.contacto-content h4,
.suscripcion-form h3 {
    color: var(--gps-ivory);
}

.form-group label {
    color: #ded8ca;
}

.form-group label span {
    color: var(--gps-gold-light);
}

.form-group input,
.form-group select,
.form-group textarea,
.suscripcion-form input {
    color: var(--gps-ivory);
    background: #0b0b0a;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.suscripcion-form input:focus {
    border-color: var(--gps-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
    outline: none;
}

.form-group select option {
    color: var(--gps-ivory);
    background: #11110f;
}

.btn-submit,
.btn-siguiente,
.btn-enviar,
.btn-suscribir,
.cta-button,
.evento-btn,
.fecha-btn {
    color: #090909;
    background: linear-gradient(135deg, var(--gps-gold-light), var(--gps-gold));
    border: 1px solid var(--gps-gold-light);
    border-radius: 4px;
}

.btn-submit:hover,
.btn-siguiente:hover,
.btn-enviar:hover,
.btn-suscribir:hover,
.cta-button:hover,
.evento-btn:hover,
.fecha-btn:hover {
    color: var(--gps-gold-light);
    background: transparent;
    border-color: var(--gps-gold);
}

.contacto-item:hover {
    background: rgba(212, 175, 55, 0.06);
}

.contacto-icon,
.paso.active .paso-numero,
.paso.completado .paso-numero {
    color: #090909;
    background: var(--gps-gold);
}

.mapa-container {
    border: 1px solid var(--gps-border);
    filter: grayscale(0.75) contrast(1.08);
}

/* Modales */
.video-modal,
.evento-modal {
    background: rgba(0, 0, 0, 0.92);
}

.video-modal .modal-content,
.evento-modal .modal-content {
    color: var(--gps-ivory);
    background: #0d0d0b;
    border: 1px solid var(--gps-border);
    border-radius: 6px;
}

.modal-close {
    color: var(--gps-gold-light);
}

/* Footer compartido */
.site-footer {
    width: 100%;
    margin-top: 70px;
    padding: 58px 24px 24px;
    color: var(--gps-ivory);
    background: #050505;
    border-top: 1px solid rgba(212, 175, 55, 0.36);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.9fr 0.8fr;
    gap: 42px;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: var(--gps-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 500;
}

.site-footer p {
    margin: 0 0 10px;
    color: var(--gps-muted);
    font-size: 0.9rem;
}

.site-footer a {
    color: #ddd7ca;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gps-gold-light);
}

.site-footer i {
    width: 20px;
    color: var(--gps-gold);
}

.site-footer-brand img {
    width: auto;
    height: 62px;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--gps-gold-dark);
    border-radius: 3px;
}

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

.site-footer-links li {
    margin-bottom: 9px;
}

.site-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gps-border);
    border-radius: 4px;
}

.site-socials a:hover {
    color: #080808;
    background: var(--gps-gold);
}

.site-socials i {
    width: auto;
    color: inherit;
}

.site-copyright {
    width: min(100%, 1200px);
    margin: 34px auto 0;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.site-whatsapp {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #fff;
    background: #20bd5a;
    border: 2px solid var(--gps-gold-light);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
    font-size: 1.75rem;
    text-decoration: none;
    transition: 180ms ease;
}

.site-whatsapp:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
}

@media (max-width: 1100px) {
    .site-brand-copy {
        display: none;
    }

    .site-header .menu a {
        padding-inline: 10px;
    }
}

@media (max-width: 992px) {
    .site-nav {
        min-height: 74px;
    }

    .site-brand img {
        height: 52px;
    }

    .site-brand-copy {
        display: flex;
    }

    .site-header .menu-icon {
        display: inline-flex;
    }

    .site-header .menu {
        position: fixed;
        top: 74px;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 74px);
        padding: 14px 20px 20px;
        overflow-y: auto;
        background: rgba(5, 5, 5, 0.98);
        border-bottom: 1px solid var(--gps-border);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
        flex-direction: column;
        align-items: stretch;
    }

    .site-header .menu.active {
        display: flex;
    }

    .site-header .menu a {
        width: 100%;
        padding: 12px 14px;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body > [class$="-container"] {
        padding: 22px 14px 50px;
    }

    .site-nav {
        padding-inline: 15px;
    }

    .site-brand {
        gap: 9px;
    }

    .site-brand img {
        height: 46px;
    }

    .site-brand-copy strong {
        font-size: 1rem;
    }

    .site-brand-copy small {
        display: none;
    }

    body .section-title {
        margin-top: 28px;
        font-size: 2rem;
    }

    .stats-bar,
    .stats-fechas,
    .hero-fechas,
    .manager-section,
    .form-container,
    .info-card,
    .filtros-container {
        padding: 24px 18px;
    }

    .stats-bar,
    .stats-fechas {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .stats-bar .stat-item,
    .stats-fechas .stat-card {
        min-width: 0;
        padding: 18px 8px;
    }

    .stats-bar .stat-number,
    .stats-fechas .stat-number {
        font-size: 2.2rem;
    }

    .paso-progreso {
        display: flex !important;
        flex-flow: row nowrap !important;
    }

    .paso-progreso::before {
        display: block !important;
        background: rgba(212, 175, 55, 0.35) !important;
    }

    .paso-progreso .paso {
        flex: 1 1 33.333% !important;
        min-width: 0 !important;
    }

    .paso.active .paso-label {
        color: var(--gps-gold-light) !important;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-whatsapp {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }
}
