/* ==========================================================================
   1. VARIABLES, FUENTES Y RESET (PANEL DE CONTROL CENTRALIZADO)
   ========================================================================== */

/* Fuentes optimizadas integradas desde Google Fonts (Evita errores 404 locales) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;600;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    /* Paleta Premium Global */
    --oro: #D4AF37;
    --oro-dark: #A68A2D;
    --negro-puro: #000000;
    --negro-mate: #121212;
    --gris-oscuro: #1E1E1E;
    --blanco: #FFFFFF;
    --rojo-acento: #8B0000;
    
    /* Variables del Motor de Contadores (Unificadas aquí) */
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --gold-dim: #7A5E28;
    --dark-card: #161410;
    --dark-line: #2A2318;
    --cream: #F5F0E8;
    
    /* Tipografías Oficiales */
    --font-titulos: 'Playfair Display', serif;
    --font-cuerpo: 'Roboto', sans-serif;
    
    /* Variables Estructurales y Funcionales */
    --header-height: 80px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: var(--font-cuerpo);
    color: var(--blanco);
    background-color: var(--negro-puro);
}

/* Clases de Utilidad */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

h1, h2, h3 {
    font-family: var(--font-titulos);
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Botones Globales */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--oro);
    color: var(--negro-puro);
}

.btn-primary:hover {
    background-color: var(--blanco);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--oro);
    color: var(--oro);
}

.btn-secondary:hover {
    background-color: var(--oro);
    color: var(--negro-puro);
}

/* ==========================================================================
   2. HEADER Y NAVEGACIÓN (SISTEMA FLEXBOX)
   ========================================================================== */
.main-header {
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--blanco);
    font-weight: 400;
    font-size: 1rem;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--oro);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--oro);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--oro);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   3. SECCIÓN: INICIO (HERO SECTION CON EFECTO PARALLAX)
   ========================================================================== */
.hero-section {
    height: 100vh;
    background: linear-gradient(
                    rgba(0, 0, 0, 0.5) 0%, 
                    rgba(0, 0, 0, 0.75) 100%
                ), 
                url('../img/mariachiperlamadrid.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-overlay {
    display: none; 
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-tagline {
    color: var(--oro);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--blanco);
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   4. SECCIÓN: MÚSICA (GRID DINÁMICO Y TARJETAS FLOTANTES)
   ========================================================================== */
.media-section {
    background-color: var(--negro-mate);
}

.media-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.media-card {
    background-color: var(--gris-oscuro);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
}

.media-card:hover {
    transform: translateY(-10px);
    border-color: var(--oro);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.12);
}

.media-card h3 {
    margin-bottom: 1.5rem;
    color: var(--blanco);
    font-size: 1.2rem;
    font-weight: 700;
}

.spotify-card iframe {
    border-radius: 8px;
    border: none;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   5. SECCIÓN: SERVICIOS (CSS GRID RESPONSIVE)
   ========================================================================== */
.services-section {
    background-color: var(--negro-mate);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--gris-oscuro);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--oro);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-card:nth-child(1) .card-img { background-image: url('https://images.unsplash.com/photo-1511192336575-5a79af67a629?q=80&w=600'); }
.service-card:nth-child(2) .card-img { background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=600'); }
.service-card:nth-child(3) .card-img { background-image: url('https://images.unsplash.com/photo-1505232464359-28779dd120c1?q=80&w=600'); }

.card-body {
    padding: 25px;
}

.service-card h3 {
    color: var(--oro);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ==========================================================================
   6. SECCIÓN: CONTACTO (FORMULARIO CORPORATIVO PARA WHATSAPP)
   ========================================================================== */
.contact-section {
    background-color: var(--negro-mate);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.booking-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--gris-oscuro);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--oro);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--blanco);
    font-family: var(--font-cuerpo);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--oro);
    background-color: rgba(0, 0, 0, 0.5);
}

::placeholder { color: rgba(255, 255, 255, 0.4); }
select option:first-child { color: rgba(255, 255, 255, 0.4); }
select option { background-color: var(--gris-oscuro); color: var(--blanco); }

.btn-submit-wa {
    background-color: #25D366;
    color: var(--blanco);
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    margin-top: 10px;
}

.btn-submit-wa:hover {
    background-color: #1ebd5a;
    transform: scale(1.02);
}

/* ==========================================================================
   7. ACCIONES FLOTANTES (STICKY BUTTONS CENTRALIZADOS)
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.float-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.float-wa {
    background-color: #25D366;
    color: var(--blanco);
}

.float-btn.float-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.wa-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.float-btn.float-wa:hover .wa-icon {
    transform: scale(1.15);
}

.float-call {
    background-color: #007bff;
    color: var(--blanco);
}

.float-btn.float-call {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.call-icon {
    width: 26px;
    height: 26px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.float-btn.float-call:hover .call-icon {
    transform: scale(1.15);
}

/* ==========================================================================
   8. SECCIÓN: NOSOTROS (TRAYECTORIA HISTÓRICA)
   ========================================================================== */
.about-section {
    background-color: var(--negro-puro);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.gold-text {
    color: var(--oro);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    object-fit: cover;
}

/* ==========================================================================
   9. SECCIÓN: REPERTORIO (SISTEMA DE LISTAS INTEGRADAS)
   ========================================================================== */
.repertoire-section {
    background-color: var(--negro-puro);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.repertoire-card {
    background: linear-gradient(135deg, var(--gris-oscuro) 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--oro);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.repertoire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.08);
}

.rep-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
}

.rep-card-header span { font-size: 1.5rem; }

.repertoire-card h3 {
    color: var(--oro);
    font-size: 1.25rem;
    text-align: left;
}

.repertoire-card ul {
    list-style: none;
    padding: 0;
}

.repertoire-card ul li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.repertoire-card ul li:hover {
    color: var(--oro);
    padding-left: 5px;
}

.repertoire-card ul li:last-child { border-bottom: none; }

/* ==========================================================================
   10. SECCIÓN: GOOGLE MAPS (FILTROS DE MODO OSCURO NATIVO)
   ========================================================================== */
.map-container {
    max-width: 700px;
    margin: 50px auto 0 auto;
    text-align: center;
}

.map-container h3 {
    color: var(--oro);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.map-responsive {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.map-responsive:hover {
    border-color: var(--oro);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(90%) sepia(10%) saturate(300%) hue-rotate(180deg) brightness(95%) contrast(100%);
}

/* ==========================================================================
   11. SECCIÓN: BLOG (INTEGRACIÓN DINÁMICA DE ARTÍCULOS)
   ========================================================================== */
.blog-section {
    background-color: var(--negro-puro);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--gris-oscuro);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--oro);
}

.blog-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-body h3 {
    color: var(--blanco);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    flex-grow: 1;
}

.blog-link {
    color: var(--oro);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--blanco);
    padding-left: 5px;
}

.loading-text, .error-text {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px;
}

/* ==========================================================================
   12. SECCIÓN: RESEÑAS VERIFICADAS (GOOGLE REVIEWS NATIVO)
   ========================================================================== */
.reviews-section {
    background-color: var(--negro-mate);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--gris-oscuro);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #3498db;
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-header h3 {
    font-family: var(--font-cuerpo);
    font-size: 1.05rem;
    color: var(--blanco);
    margin: 0;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.google-icon {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.8;
}

.stars {
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 0;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

.reviews-cta .btn {
    padding: 14px 35px;
    font-size: 0.85rem;
}

/* ==========================================================================
   13. SECCIÓN: GALERÍA FOTOGRÁFICA INTERACTIVA
   ========================================================================== */
.gallery-section {
    background-color: var(--negro-puro);
    padding: 80px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--blanco);
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-cuerpo);
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--oro);
    color: var(--negro-puro);
    border-color: var(--oro);
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay h3 {
    color: var(--oro);
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.gallery-item.is-hidden { display: none; }

/* ==========================================================================
   14. COMPONENTE: BANNER DE COOKIES (BLINDADO LEGALMENTE)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.cookie-content a { color: #dfb659; text-decoration: underline; }

.cookie-buttons { display: flex; gap: 10px; }

.btn-cookie {
    background-color: #dfb659;
    color: #111111;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-cookie:hover { background-color: #cda245; }

.btn-cookie.reject {
    background-color: #222222;
    color: #ffffff;
    border: 1px solid #444444;
}

.btn-cookie.reject:hover {
    background-color: #333333;
    border-color: #dfb659;
}

/* ==========================================================================
   15. SECCIÓN: COBERTURA GEOGRÁFICA (DISTRITOS Y CAPAS SEO)
   ========================================================================== */
.cobertura-section {
    background-color: #0a0a0a;
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.distritos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.distrito-link {
    display: block;
    background-color: var(--negro-puro);
    color: var(--blanco);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.3s ease;
}

.distrito-link:hover {
    border-color: var(--oro);
    color: var(--oro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

/* ==========================================================================
   16. SECCIÓN: PREGUNTAS FRECUENTES (FAQPage POTENCIADOR)
   ========================================================================== */
.faq-section {
    background-color: var(--negro-puro);
    padding: 80px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 45px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 6px;
    border-left: 3px solid var(--oro);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item h3 {
    color: var(--oro);
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   17. COMPONENTE: CALENDARIO NATIVO SVG
   ========================================================================== */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffc107" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 1;
    transition: transform 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    transform: scale(1.15);
}

/* ==========================================================================
   18. COMPONENTE: HITOS DE LA AGRUPACIÓN (PREMIUM GRID)
   ========================================================================== */
.hitos-section {
    padding: 80px 20px;
    background-color: #0d0d0d;
    color: #ffffff;
}

.section-badge {
    display: inline-block;
    color: var(--oro, #d4af37);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.hito-card {
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.hito-card:hover {
    transform: translateY(-8px);
    border-color: var(--oro, #d4af37);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}

.hito-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.hito-icon {
    font-size: 2rem;
    background: rgba(212, 175, 55, 0.1);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.hito-tag {
    font-size: 0.75rem;
    background-color: #222222;
    color: #aaaaaa;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hito-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.hito-card p {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
}

.hito-card strong { color: #ffffff; }

/* ==========================================================================
   19. COMPONENTE: PASARELA DE COLABORACIONES Y MARCAS
   ========================================================================== */
.brands-section {
    padding: 60px 20px;
    background-color: #080808;
    border-bottom: 1px solid #151515;
    text-align: center;
}

.brands-title {
    font-size: 0.8rem;
    color: #666666;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.brand-item {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #444444;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid #151515;
    border-radius: 6px;
    user-select: none;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.brand-item:hover {
    color: var(--oro, #d4af37);
    border-color: rgba(212, 175, 55, 0.3);
    background-color: rgba(212, 175, 55, 0.02);
}

/* ==========================================================================
   20. COMPONENTE: BLOQUE DE ESTADÍSTICAS (MOTOR NATIVO DE NÚMEROS)
   ========================================================================== */
/* NOTA: El bloque :root repetido de esta sección ha sido eliminado e integrado al inicio */
.stats-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
}

.stats-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.stats-heading {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 56px;
}

.stats-heading em {
  font-style: normal;
  color: var(--gold-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  overflow: hidden;
}

.stat-card {
  background: var(--dark-card);
  padding: 44px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.6s ease;
  transform-origin: center;
}

.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { background: #1a1710; }

.stat-card::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
  top: 20px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  line-height: 1;
  color: var(--gold-light);
  display: flex;
  align-items: flex-start;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.stat-number .prefix {
  font-size: 0.45em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gold-dim);
  margin-top: 0.15em;
}

.stat-number .suffix {
  font-size: 0.50em;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--gold);
  align-self: flex-start;
  margin-top: 0.08em;
}

.stat-digit { display: inline-block; }

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}

.stat-desc {
  font-size: 12px;
  font-weight: 400;
  color: #6B5E45;
  text-align: center;
  line-height: 1.5;
  max-width: 160px;
}

.stat-divider {
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
  margin: 2px 0;
}

/* ==========================================================================
   21. FOTO DISTRITO (IMÁGENES DE COBERTURA GEOGRÁFICA)
   ========================================================================== */
.foto-distrito {
    width: 100%;
    max-width: 800px;
    margin: 25px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.foto-distrito img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   22. SATELLITE: FOOTER PREMIUM CORPORATIVO
   ========================================================================== */
footer {
    background-color: var(--negro-puro);
    padding: 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.social-link {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--oro);
    transform: translateY(-4px);
}

.footer-credits {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ==========================================================================
   23. MEDIA QUERIES (SISTEMA DE ADAPTABILIDAD ULTRA-RESPONSIVE)
   ========================================================================== */
@media (max-width: 1023px) {
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 70%);
    }
}

@media (max-width: 992px) {
    .hero-section h1 { font-size: 3rem; }
    .media-layout { grid-template-columns: 1fr; gap: 30px; }
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .about-text h2 { text-align: center; }
    .about-image {
        max-width: 450px;
        margin: 0 auto;
    }
}

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

@media (max-width: 768px) {
    .container { padding: 3rem 0; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(18, 18, 18, 0.98);
        transition: var(--transition);
        padding: 50px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        overflow-y: auto;
    }
    .main-nav.active { left: 0; }
    .main-nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .main-nav a { font-size: 1.2rem; font-weight: 700; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 1rem; }
    .hero-ctas { flex-direction: column; gap: 10px; }
    .booking-form { padding: 25px; }
    .map-container { margin-top: 40px; }
    .map-responsive { height: 280px; }
    footer { padding: 35px 0; }
    .footer-socials { gap: 20px; }
    .hitos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hito-card { padding: 25px; }
    .brands-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .brand-item {
        font-size: 0.95rem;
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 36px 24px 32px; }
}

/* Accesibilidad: Respeto a la reducción de movimiento del OS */
@media (prefers-reduced-motion: reduce) {
  .stat-card::before { transition: none; }
}

/* ==========================================================================
   24. AJUSTES EXCLUSIVOS Y LIGEROS PARA LA PÁGINA DE SERVICIOS
   ========================================================================== */

/* Estilos de centrado para el bloque principal de servicios */
.services-title-center {
    text-align: center;
    margin-bottom: 1rem;
}

.services-desc-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: rgba(255, 255, 255, 0.7);
}

/* Borde decorativo superior nativo para el bloque de packs */
#packs {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* Clases de texto internas para las tarjetas de Formatos/Packs */
.pack-badge {
    font-size: 0.85rem;
    color: var(--oro);
    margin-bottom: 1rem;
    font-weight: bold;
}

.pack-desc {
    font-size: 0.9rem;
    min-height: 80px;
}

/* Adaptación ligera de márgenes y cuadrícula de pasos (Cómo Reservar) */
.proceso-subtitle-margin {
    margin-bottom: 3rem;
}

.proceso-grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

.proceso-step-card {
    cursor: default !important;
}

.proceso-step-card h3 {
    color: var(--oro);
    margin-bottom: 10px;
}

.proceso-step-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}