html, body {
    overflow-x: hidden; /* Evita el scroll horizontal en toda la web */
    width: 100%;
    position: relative;
}

:root {
    --bg-light: #fdfbf7;
    --black: #0a0a0a;
    --gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-gray: #555;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-light); font-family: var(--font-main); color: var(--text-dark); overflow-x: hidden; }

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 5%; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: var(--black); border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.logo-con-texto { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 50px; width: auto; }
.logo-text { color: var(--gold); font-weight: 800; letter-spacing: 2px; font-size: 1.1rem; }
.nav-links a { text-decoration: none; color: white; margin-left: 2rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-btn { background: var(--gold) !important; color: black !important; padding: 0.6rem 1.2rem; border-radius: 4px; }


/* HERO */
/* HERO SECTION CON EFECTO PARALLAX */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    
    /* Configuración del fondo interactivo */
    background-image: url('img/fondo\ negro.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* ESTO CREA EL EFECTO: la imagen se queda fija mientras el texto sube */
    background-attachment: fixed; 
    
    color: white;
    overflow: hidden;
}

/* Ajuste para dispositivos móviles (el efecto 'fixed' suele fallar en iOS/Android) */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll; /* En móviles vuelve a la normalidad para evitar saltos */
    }
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4)); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); font-family: var(--font-title); line-height: 1.1; margin: 1.5rem 0; }
.italic { font-style: italic; color: var(--gold); }
.tagline { color: var(--gold); letter-spacing: 4px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }
.btn-main { background: var(--gold); color: black; padding: 1rem 2rem; text-decoration: none; font-weight: 700; border-radius: 4px; display: inline-block; }
.btn-secondary { border: 1px solid var(--gold); color: var(--gold); padding: 1rem 2rem; text-decoration: none; font-weight: 700; border-radius: 4px; margin-left: 1rem; display: inline-block; transition: var(--transition); }
.btn-secondary:hover { background: var(--gold); color: black; }
.hero-btns {
    margin-top: 40px; /* Esto crea la línea de espacio que necesitas */
    display: flex;
    gap: 20px;
}

/* SOBRE NOSOTROS (DISEÑO RECUPERADO) */
.about-section { padding: 120px 5%; background: white; }
.about-container { display: flex; align-items: center; gap: 80px; max-width: 1200px; margin: 0 auto; }
.about-text { flex: 1.2; }
.section-tag { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.about-text h2 { font-family: var(--font-title); font-size: 3.2rem; margin: 1rem 0; line-height: 1.1; }
.about-text p { margin-bottom: 1.5rem; color: var(--text-gray); font-size: 1.05rem; }
.stats { display: flex; gap: 40px; margin-top: 2.5rem; }
.stat-item strong { display: block; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.stat-item span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #888; }
.about-image { flex: 1; position: relative; }
.photo-frame { width: 100%; height: 550px; border-radius: 4px; overflow: hidden; position: relative; }
.img-fill { width: 100%; height: 100%; object-fit: cover; }
.frame-decor { position: absolute; width: 100%; height: 100%; border: 2px solid var(--gold); top: 20px; left: 20px; z-index: -1; }

/* --- SECCIÓN NOSOTROS RE-EVOLUCIONADA --- */
.about-section {
    padding: 120px 5%;
    background: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Diseño de imagen no lineal */
.about-image {
    position: relative;
}

.photo-experience {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.main-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--black);
    color: var(--gold);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--gold);
    z-index: 2;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-family: var(--font-title);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 5px;
}

/* Stats en Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    padding: 20px;
    border-left: 1px solid #eee;
    transition: 0.3s;
}

.stat-card:hover {
    border-left-color: var(--gold);
    background: var(--bg-light);
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-container { grid-template-columns: 1fr; }
    .main-img { height: 400px; }
}


/* DANZAS (FOTOS Y OVERLAY) */
.countries-section { padding: 100px 5%; }
.grid-header { text-align: center; margin-bottom: 4rem; }
.grid-header h2 { font-family: var(--font-title); font-size: 3rem; margin-top: 10px; }
.countries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; }
.image-box { 
    width: 100%; aspect-ratio: 1/1; position: relative; 
    display: flex; align-items: center; justify-content: center; 
    overflow: hidden; transition: var(--transition);
    background-size: cover; background-position: center;
}
/* Imágenes de fondo (REEMPLAZA CON TUS RUTAS) */
.peru-bg { background-image: url('img/duo\ peru.jpg'); border-bottom: 6px solid #ce1126; }
.arg-bg { background-image: url('img/folk\ agus.jpg'); border-bottom: 6px solid #74acdf; }
.bol-bg { background-image: url('img/caporal.png'); border-bottom: 6px solid #007a33; }

.box-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.5); /* CAPA OSCURA PARA LEER LAS LETRAS */
    transition: 0.3s;
}
.country-label { font-family: var(--font-title); font-size: 2.8rem; color: white; z-index: 2; position: relative; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.country-card:hover .box-overlay { background: rgba(0,0,0,0.3); }
.country-card:hover .image-box { transform: translateY(-10px); }
.info { padding: 1.5rem 0; text-align: center; }
.info h3 { font-family: var(--font-title); font-size: 1.6rem; margin-bottom: 5px; }
.info p { font-size: 0.9rem; color: var(--text-gray); }

/* CLASES */
.clases-section { padding: 100px 5%; background: #f9f9f9; }
.clases-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.clase-card { background: white; padding: 50px 30px; border: 1px solid #eee; text-align: center; transition: var(--transition); }
.clase-card h3 { font-family: var(--font-title); font-size: 1.8rem; margin-bottom: 1.5rem; }
.gold-card { background: var(--black); color: white; border: none; }
.btn-clase { display: block; margin-top: 20px; padding: 0.8rem; border: 1px solid black; text-decoration: none; color: black; font-weight: 700; transition: 0.3s; }
.btn-clase:hover { background: var(--black); color: white; }
.gold-card .btn-clase { border-color: var(--gold); color: var(--gold); }
.gold-card .btn-clase:hover { background: var(--gold); color: black; }


/* --- SECCIÓN CLASES: DISEÑO UNIFICADO E INTERACTIVO --- */



.card-content h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--black);
}

.level {
    display: block;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-gray); /* Color neutro */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- EFECTO HOVER INVERSO --- */

/* 1. La imagen recupera el color */
.catalog-card:hover .card-image {
    filter: grayscale(0%);
}

/* 2. La etiqueta pierde el color (se vuelve gris/apagada) */
.catalog-card:hover .country-tag {
    background: rgba(0, 0, 0, 0.4); /* Fondo menos intenso */
    border-color: #999;             /* Borde gris */
    color: #ddd;                    /* Texto gris claro */
    /* Opcional: si quieres que desaparezca casi por completo, usa opacity: 0.3; */
}

/* Sutil elevación de la tarjeta */
.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* FOOTER REDISEÑADO */
footer { background: var(--black); color: white; padding: 40px 5% 30px; border-top: 2px solid var(--gold); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1200px; margin: 0 auto 50px; flex-wrap: wrap; gap: 40px; }
.footer-brand p { color: #999; margin-top: 15px; font-size: 0.9rem; line-height: 1.6; }
.logo-img-footer { height: 80px; width: auto; }
.footer-nav h4, .footer-social h4 { color: var(--gold); text-transform: uppercase; font-size: 0.85rem; margin-bottom: 1.5rem; letter-spacing: 1px; }
.footer-nav a { color: #ccc; text-decoration: none; display: block; margin-bottom: 10px; font-size: 0.95rem; transition: 0.3s; }
.footer-nav a:hover { color: white; padding-left: 5px; }
.social-icons { display: flex; gap: 15px; margin-bottom: 15px; }
.social-icons a { 
    color: var(--gold); border: 1px solid var(--gold); width: 45px; height: 45px; 
    display: inline-flex; align-items: center; justify-content: center; 
    border-radius: 50%; text-decoration: none; transition: 0.3s; font-weight: 700;
}
.social-icons a:hover { background: var(--gold); color: black; transform: translateY(-5px); }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 25px; font-size: 0.8rem; color: #555; }

/* SECCIÓN BLOG */
.blog-section { padding: 60px 5%; background-color: white; }
.blog-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.blog-card { background: var(--bg-light); border-radius: 8px; overflow: hidden; transition: var(--transition); border: 1px solid #eee; }
.blog-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.blog-img-wrapper { height: 250px; overflow: hidden; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img-wrapper img { scale: 1.1; }
.blog-info { padding: 30px; }
.blog-date { font-size: 0.75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.blog-info h3 { font-family: var(--font-title); font-size: 1.6rem; margin: 10px 0; line-height: 1.2; }
.blog-info p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 20px; }
.read-more { text-decoration: none; color: var(--black); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; border-bottom: 2px solid var(--gold); padding-bottom: 4px; transition: 0.3s; }
.read-more:hover { color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 950px) {
    .about-container { flex-direction: column; }
    .countries-grid, .clases-container { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; text-align: center; align-items: center; }
    .hero h1 { font-size: 3.5rem; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
}

/* --- SECCIÓN CONTACTO REFINADA --- */
.contact-section {
    padding: 50px 5%;
    background-color: var(--black); /* Fondo negro para resaltar el dorado */
    color: white;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Dos columnas */
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
}

.contact-info p {
    color: #999;
    max-width: 350px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-item strong {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* --- ESTILO DEL FORMULARIO --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 15px 0; /* Solo padding vertical */
    background: transparent; /* Fondo transparente */
    border: none;
    border-bottom: 1px solid #333; /* Línea sutil abajo */
    color: white;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

/* Efecto al hacer clic: la línea se vuelve dorada */
.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-bottom-color: var(--gold);
}

/* Estilizar el botón de envío */
.btn-send {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 15px 30px;
    width: fit-content;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-send:hover {
    background: var(--gold);
    color: black;
}

.btn-send span {
    transition: 0.3s;
}

.btn-send:hover span {
    transform: translateX(5px);
}

/* Responsive para el formulario */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .contact-info p { margin: 0 auto 40px; }
    .form-row { flex-direction: column; gap: 20px; }
    .btn-send { width: 100%; justify-content: center; }
}






/* --- ESTILOS ESPECÍFICOS DEL BLOG --- */
.blog-header {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--black); /* O una imagen de fondo */
    color: white;
    padding-top: 80px;
}

.blog-header-content { position: relative; z-index: 2; }
.blog-header h1 { font-family: var(--font-title); font-size: clamp(2.5rem, 5vw, 4rem); }

.blog-main-container { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-post-card {
    background: white;
    border: 1px solid #eee;
    transition: var(--transition);
}

.blog-post-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.post-img { width: 100%; height: 250px; background-size: cover; background-position: center; }

.post-content { padding: 30px; }
.post-category { color: var(--gold); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.post-content h2 { font-family: var(--font-title); margin: 15px 0; font-size: 1.8rem; }
.post-content p { color: var(--text-gray); margin-bottom: 20px; font-size: 0.95rem; }

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* --- ESTILOS DE PAÍSES Y TARJETAS --- */
.country-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: black;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.catalog-card {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.4s;
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-content { padding: 25px; }
.card-content h3 { font-family: var(--font-title); font-size: 1.5rem; margin-bottom: 10px; }
.level { display: block; margin-top: 15px; font-size: 0.75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; }

/* --- DISEÑO DE ESPECTÁCULOS (Zig-Zag) --- */
.shows-section { padding: 100px 5%; background: var(--bg-light); }

.show-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.show-item.reverse { flex-direction: row-reverse; }

.show-img-box {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.show-img-box img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: 0.5s;
}

.show-img-box:hover img { transform: scale(1.05); }

.country-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--black);
    color: var(--gold);
    padding: 10px 30px;
    font-family: var(--font-title);
}

.show-text { flex: 0.8; }
.show-text h3 { font-family: var(--font-title); font-size: 2.5rem; margin-bottom: 20px; }
.btn-minimal {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
}

/* Responsive */
@media (max-width: 800px) {
    .show-item, .show-item.reverse { flex-direction: column; text-align: center; }
}



#espectaculos {
    background-color: #0a0a0a; /* Negro profundo */
    color: white;
    padding: 60px 5%;
}

#espectaculos h2, #espectaculos h3 {
    color: white; /* Resalta sobre el negro */
}

.show-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

/* El texto de "Solicitar Dossier" en dorado */
.btn-minimal {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-minimal:hover {
    padding-left: 10px;
    color: white;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px; /* Más espacio entre ellas */
    align-items: stretch; /* Esto obliga a que todas las cards midan lo mismo de alto */
    padding: 0 5%;
}

/* --- SECCIÓN ESPECTÁCULOS COMPACTA --- */
.shows-compact {
    background-color: #0a0a0a; /* Fondo negro teatro */
    padding: 30px 5% 100px;    
    color: white;
}

.grid-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.grid-header-center h2 { color: white; }

.shows-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.show-card-v2 {
    background: #111;
    border: 1px solid #222;
    transition: 0.4s ease;
}

.show-visual {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.main-show-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 0.5s;
}

/* Contenedor de la esfera PNG */
.sphere-overlay {
    position: absolute;
    bottom: 15px; /* Ahora está 15px HACIA ARRIBA desde el borde inferior */
    right: 15px;  /* Y 15px desde la derecha */
    z-index: 10;
}

.sphere-icon {
    width: 50px !important;
    height: 50px !important;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.8)); /* Resalta el 3D */
}

.show-info-v2 {
    padding: 40px 30px;
    text-align: center;
}

.show-info-v2 h3 {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.show-info-v2 p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-dossier {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-dossier:hover {
    color: var(--gold);
    padding-left: 10px;
}

.show-card-v2:hover .main-show-img {
    opacity: 1;
    transform: scale(1.05);
}

/* --- REESTABLECER ESTILO DE TÍTULO ANTERIOR --- */

.grid-header-center {
    text-align: center;
    margin-bottom: 70px; /* Un poco más de aire */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.grid-header-center .section-tag {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 4px; /* Ese toque elegante de antes */
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
}

.grid-header-center h2 {
    font-family: var(--font-title); /* Tu fuente Serif (ej. Playfair Display) */
    font-size: 3.8rem; /* Tamaño grande como en la captura */
    color: white;      /* Ahora en blanco para el modo oscuro */
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 400;  /* Manteniendo la elegancia de la serifa */
}

.grid-header-center p {
    color: #999;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Ajuste para móviles: que el título no sea tan gigante */
@media (max-width: 768px) {
    .grid-header-center h2 {
        font-size: 2.5rem;
    }
}
 .grid-header-center h2 {
    font-family: var(--font-title);
    font-size: 3.8rem; /* Tamaño potente */
    color: white;      /* Color principal */
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 400;
}

/* El segundo color (Dorado) */
.grid-header-center h2 .accent {
    color: var(--gold);
    font-style: italic; /* Opcional: añade un toque artístico extra */
    display: inline-block; /* Ayuda a que se renderice mejor */
}

/* Ajuste para que el párrafo de abajo no quede muy pegado */
.grid-header-center p {
    color: #999;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn-preinscribirse {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--black);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    transition: 0.3s;
}

.btn-preinscribirse:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* --- RESPONSIVE NAVBAR --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        position: fixed;
        left: -100%; /* Escondido por defecto */
        top: 0;
        left: -100%;
        height: 100vh;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        z-index: 100;
    }

    .nav-links.active {
        left: 0; /* Se muestra al hacer click */
    }

    .nav-links a { margin: 15px 0; }

    /* Estilo de las barras del menú */
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--gold);
        transition: 0.3s;
    }

    /* --- CLASES RESPONSIVE --- */
    .catalog-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        gap: 20px;
        padding: 20px 5%;
    }

    .card-image {
        height: 200px; /* Un poco más bajas para que no ocupen toda la pantalla */
    }

    /* --- ESPECTÁCULOS RESPONSIVE --- */
    .shows-container-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        /* En móvil, permitimos que el fondo se mueva para que el JS haga el fade correctamente */
        background-attachment: scroll !important; 
        height: 80vh; /* Un poco más bajo para móviles */
    }

    .hero-content {
        transition: opacity 0.1s linear; /* Suaviza el desvanecimiento */
    }
}

/* Ajuste de márgenes para Clases */
.catalog-section {
    padding: 60px 5%; /* El 5% debe coincidir con el de espectáculos */
}

/* --- SOLUCIÓN ERROR SECCIÓN NOSOTROS (MÓVIL) --- */
@media (max-width: 768px) {
    
    /* 1. Ajustamos el contenedor para que no deje salir nada por los lados */
    #nosotros {

        height: auto !important; /* Permite que la sección se estire */
        min-height: 100vh; /* Como mínimo el alto de la pantalla */
        display: block !important; /* Cambiamos a block para que los elementos se apilen de arriba a abajo */
        overflow: visible !important; /* Permitimos que se vea todo el contenido */
        padding: 60px 5% !important;
    }

    /* 2. Corregimos el cuadro de los +10 años */
    /* Nota: Asegúrate de que el nombre de la clase sea el que tienes en tu HTML */
    .experience-badge, 
    [class*="badge"], 
    .nosotros-img-container + div { 
        position: relative !important; /* Deja de estar flotando */
        right: auto !important;
        bottom: auto !important;
        margin: -30px auto 20px !important; /* Sube un poco para solapar la foto pero centrado */
        width: 180px !important; /* Ancho fijo controlado para móvil */
        height: auto !important;
        transform: none !important; /* Eliminamos cualquier desplazamiento lateral */
        z-index: 10;
        text-align: center;
        background-color: #0a0a0a; /* Fondo sólido para que se lea bien */
        border: 1px solid var(--gold);
        padding: 15px;
    }

    /* 3. Ajustamos el texto que se ve encimado en la foto */
    .nosotros-text {
        width: 100% !important; /* Ocupa el ancho disponible */
        max-width: 100% !important; 
        padding-right: 15px !important; /* Pequeño margen interno para que no toque el borde */
        padding-left: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important; /* Vital para que el padding no sume ancho extra */
        word-wrap: break-word !important; /* Rompe palabras largas si es necesario */
        overflow-wrap: break-word !important;
    }

    .nosotros-text p {
        font-size: 1rem !important; /* Ajusta el tamaño si es muy grande para móvil */
        line-height: 1.5;
        text-align: left; /* Evita el justificado en móvil para que no fuerce espacios raros */
    }

    /* 4. Forzamos a que la imagen y el texto no se peleen por el espacio */
    .nosotros-grid, .nosotros-content {
        display: flex !important;
        flex-direction: column !important; /* Uno debajo del otro */
        align-items: center;
    }
    .nosotros-stats {
        display: flex !important;
        flex-direction: column !important; /* Las apilamos una debajo de otra en móvil */
        gap: 20px !important;
        margin-top: 40px !important;
    }
}

/* 5. Blindaje global para evitar el scroll lateral en toda la web */
html, body {
    overflow-x: hidden !important;
    width: 100vw;
    position: relative;
}

@media (max-width: 768px) {
    /* 1. HERO: Rescatamos "Sudamérica en movimiento" */
    .hero {
        padding-top: 100px !important; /* Empuja el contenido debajo de la navbar */
        height: auto;
        min-height: 80vh;
        background-attachment: scroll !important; /* Mejora rendimiento en móvil */
    }
    
    .tagline {
        display: block !important;
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 15px;
    }

    /* 2. NOSOTROS: Evitamos que el texto se corte */
    .about-container {
        display: flex !important;
        flex-direction: column !important; /* Imagen arriba, texto abajo */
        gap: 30px;
    }

    .about-text {
        text-align: center;
        padding: 0 10px;
    }

    .about-text h2 {
        font-size: 2.2rem !important; /* Título más pequeño para que no se corte */
        line-height: 1.2;
    }


    /* 3. ESPECTÁCULOS: Corregimos el título gigante */
    .grid-header-center h2 {
        font-size: 2.2rem !important; /* Bajamos de 3.8rem a 2.2rem */
        line-height: 1.1;
        padding: 0 5%;
        word-wrap: break-word; /* Fuerza a las palabras a romperse si son muy largas */
    }

    .grid-header-center .section-tag {
        letter-spacing: 2px !important;
        font-size: 0.7rem !important;
    }
}
