@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

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

html {
    scroll-behavior: smooth;
}

section[id],
footer[id] {
    scroll-margin-top: 100px;
}

body {
    background: #101010;
    color: white;
    font-family: "Montserrat", sans-serif;
}

/* NAVEGACIÓN */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 7%;
    background: #101010;
    position: static;
    z-index: 10;
}

/* MENÚ FIJO AL DESPLAZARSE */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #101010;
    border-bottom: 1px solid rgba(212, 175, 112, 0.15);
}

/* LOGOTIPO DEL MENÚ */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 210px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-links a {
    color: white;
    font-size: 11px;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative;
}

/* LÍNEA DORADA ANIMADA */

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -7px;
    left: 0;
    background-color: #D4AF70;
    transition: width 0.3s ease;
}

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

.nav-links a:focus-visible {
    outline: 2px solid #D4AF70;
    outline-offset: 8px;
}

@media (prefers-reduced-motion: reduce) {

    .nav-links a,
    .nav-links a::after {
        transition: none;
    }
}

.nav-links a:hover {
    color: #D4AF70;
}

.menu-toggle {
    display: none;
}

/* PORTADA */

/* =====================================
   HOME HERO
===================================== */

.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 10%;

    background-image: url("assets/images/mambohero.jpg");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: hidden;
}

/* VIDEO DE FONDO */

.hero-background-video {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.6s ease;
}

.hero-background-video.video-ready {
    opacity: 1;
}

/* CAPA OSCURA */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.15)
        );
}

/* CONTENIDO */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.subtitle {
    color: #D4AF70;
    letter-spacing: 6px;
    font-size: 13px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(65px, 10vw, 145px);
    line-height: 0.95;
    letter-spacing: -5px;
    font-weight: 900;
}

.description {
    margin-top: 30px;
    color: #CCC;
    font-size: 17px;
}

.btn {
    display: inline-block;
    margin-top: 40px;
    padding: 17px 28px;
    background: #D4AF70;
    color: #101010;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #F0D19A;
}

/* =====================================
   MOBILE NAV + HOME HERO
===================================== */

@media (max-width: 768px) {

    .navbar {
        padding: 20px 6%;
    }

    .logo img {
        width: 155px;
        height: auto;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 0;
        color: #D4AF70;
        font-size: 26px;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 30px;
        flex-direction: column;
        background: #101010;
    }

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

    .hero {
        min-height: 85svh;
        align-items: flex-end;
        padding: 90px 7%;
        background-image: url("assets/images/mambohero.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.25) 0%,
                rgba(0, 0, 0, 0.45) 35%,
                rgba(0, 0, 0, 0.92) 100%
            );
    }

    .hero-background-video {
        object-position: center;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    h1 {
        font-size: clamp(55px, 14vw, 90px);
        letter-spacing: -3px;
    }

    .subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .description {
        font-size: 14px;
    }
}

/* Separador compartido */
.gold-line {
    margin: 30px 0;
    width: 65px;
    height: 2px;
    background: #D4AF70;
}

@media (max-width: 768px) {
    .gold-line {
        margin: 25px auto;
    }
}

/* GALERÍA MAMBO MAGIC */

.gallery {
    background: #101010;
    padding: 100px 8%;
}

.gallery-header {
    text-align: center;
    margin-bottom: 55px;
}

.gallery-subtitle {
    color: #D4AF70;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 700;
}

.gallery-header h2 {
    margin-top: 20px;
    font-size: clamp(30px, 4vw, 55px);
    font-weight: 800;
}

.gallery-header .gold-line {
    margin: 25px auto;
}

.gallery-header p {
    color: #BDBDBD;
    font-size: 15px;
}

/* DISTRIBUCIÓN DE FOTOGRAFÍAS */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    height: 450px;
    background: #191919;
}

.gallery-featured {
    grid-column: 1 / -1;
    height: 550px;
}

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

/* ANIMACIÓN AL PASAR EL CURSOR */

.gallery-item:hover img {
    transform: scale(1.04);
}

/* GALERÍA PARA CELULARES */

@media (max-width: 768px) {

    .gallery {
        padding: 70px 6%;
    }

    .gallery-header {
        margin-bottom: 35px;
    }

    .gallery-header h2 {
        font-size: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-featured {
        grid-column: auto;
        height: 320px;
    }

    .gallery-item {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .gallery-item img {
        transition: none;
    }

    .gallery-item:hover img {
        transform: none;
    }
}

/* =====================================
   EVENTOS - MAMBO MAGIC
===================================== */

.events {
    background: #141414;
    padding: 100px 8%;
}

.events-header {
    text-align: center;
    margin-bottom: 55px;
}

.events-subtitle {
    color: #D4AF70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.events-header h2 {
    margin-top: 20px;
    font-size: clamp(32px, 4vw, 55px);
    font-weight: 800;
}

.events-header .gold-line {
    margin: 25px auto;
}

.events-header p {
    color: #BDBDBD;
    font-size: 15px;
    line-height: 1.8;
}

/* TARJETAS DE EVENTOS */

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.event-card {
    background: #1C1C1C;
    overflow: hidden;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

.event-card:hover {
    border-color: #D4AF70;
}

.event-image {
    height: 340px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-card:hover img {
    transform: scale(1.04);
}

/* INFORMACIÓN DE EVENTOS */

.event-info {
    padding: 28px;
}

.event-date {
    color: #D4AF70;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.event-info h3 {
    margin: 15px 0;
    font-size: 23px;
}

.event-info p {
    color: #BDBDBD;
    font-size: 14px;
    line-height: 1.7;
}

/* =====================================
   OUR JOURNEY
===================================== */

.journey {
    margin-top: 120px;
}

/* EVENTOS Y TRAYECTORIA EN CELULARES */

@media (max-width: 768px) {

    .events {
        padding: 70px 6%;
    }

    .events-header {
        margin-bottom: 35px;
    }

    .events-header h2 {
        font-size: 30px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .event-image {
        height: 300px;
    }

    .event-info {
        padding: 22px;
    }

    .event-info h3 {
        font-size: 21px;
    }

    .journey {
        margin-top: 85px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .event-card,
    .event-image img {
        transition: none;
    }

    .event-card:hover img {
        transform: none;
    }
}

/* OUR JOURNEY - CRONOLOGÍA */

.journey-timeline {
    position: relative;
    max-width: 1100px;
    margin: 70px auto 0;
}

/* LÍNEA VERTICAL */

.journey-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(212, 175, 112, 0.6);
    transform: translateX(-50%);
}

/* ACONTECIMIENTOS */

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 45px 65px 0;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 65px 45px;
}

/* PUNTOS DORADOS */

.timeline-item::before {
    content: "";
    position: absolute;
    top: 8px;
    right: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D4AF70;
    z-index: 2;
}

.timeline-item:nth-child(even)::before {
    left: -6px;
    right: auto;
}

/* CONTENIDO */

.timeline-content {
    background: #1C1C1C;
    border: 1px solid #333;
    padding: 28px;
}

.timeline-year {
    color: #D4AF70;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.timeline-content h3 {
    margin: 15px 0;
    font-size: 23px;
}

.timeline-content p {
    color: #BDBDBD;
    font-size: 14px;
    line-height: 1.8;
}

.timeline-content img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-top: 25px;
}

/* CRONOLOGÍA EN CELULARES */

@media (max-width: 768px) {

    .journey-timeline {
        margin-top: 45px;
    }

    .journey-timeline::before {
        left: 10px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 35px 35px;
    }

    .timeline-item::before,
    .timeline-item:nth-child(even)::before {
        left: 4px;
        right: auto;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 19px;
        overflow-wrap: anywhere;
    }

    .timeline-content p {
        font-size: 13px;
    }
}

/* =====================================
   COMPANY PAGE
===================================== */

.company-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    padding: 0 8% 90px;
    background: url("assets/images/company-hero.JPG") center / cover no-repeat;
    overflow: hidden;
}

.company-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.20) );
}

.company-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.company-hero-content span {
    color: #c8a96b;
    font-size: 12px;
    letter-spacing: 3px;
}

.company-hero-content h1 {
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(48px, 8vw, 100px);
    line-height: 0.95;
}

.company-hero-content p {
    max-width: 600px;
    color: #ccc;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .company-hero {
        min-height: 55vh;
        padding: 0 6% 60px;
    }

    .company-hero-content p {
        font-size: 16px;
    }
}

/* =====================================
   EVENTS PAGE
===================================== */

.events-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: flex-end;
    padding: 0 8% 90px;
    background: url("assets/images/events-hero.jpg") center / cover no-repeat;
    overflow: hidden;
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18) );
}

.events-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.events-hero-content span {
    color: #c8a96b;
    font-size: 12px;
    letter-spacing: 3px;
}

.events-hero-content h1 {
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp( 52px, 9vw, 110px );
    line-height: 0.95;
}

.events-hero-content p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #ccc;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .events-hero {
        min-height: 58vh;
        padding: 0 6% 60px;
    }

    .events-hero-content p {
        font-size: 16px;
    }
}

/* =====================================
   THE ARTISTS - MAMBO MAGIC
===================================== */

.artists {
    background: #101010;
    padding: 110px 8%;
}

/* ENCABEZADO */

.artists-header {
    text-align: center;
    margin-bottom: 80px;
}

.artists-subtitle {
    color: #D4AF70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.artists-header h2 {
    margin-top: 20px;
    font-size: clamp(35px, 5vw, 65px);
    font-weight: 800;
}

.artists-header .gold-line {
    margin: 25px auto;
}

.artists-section-title {
    color: #D4AF70;
    text-align: center;
    font-size: 23px;
    letter-spacing: 4px;
    margin-bottom: 50px;
}

/* =====================================
   DIRECCIÓN ARTÍSTICA
===================================== */

.directors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.director-card {
    text-align: center;
}

.director-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #202020;
}

.director-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.director-image:hover img {
    transform: scale(1.04);
}

.director-card h4 {
    margin-top: 28px;
    font-size: 27px;
    letter-spacing: 2px;
}

.artist-role {
    display: block;
    color: #D4AF70;
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 12px;
}

.director-card p {
    max-width: 450px;
    margin: 25px auto 0;
    color: #BDBDBD;
    line-height: 1.9;
    font-size: 14px;
}

/* =====================================
   LOS BAILARINES
===================================== */

.dancers {
    margin-top: 120px;
}

.dancers-intro {
    text-align: center;
    color: #BDBDBD;
    max-width: 600px;
    margin: -25px auto 50px;
    line-height: 1.8;
}

.dancers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.dancer-card {
    text-align: center;
}

.dancer-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #202020;
    transition: transform 0.5s ease;
}

.dancer-card img:hover {
    transform: scale(1.03);
}

.dancer-card h4 {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 2px;
}

.dancer-card p {
    color: #BDBDBD;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 12px;
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .director-image img,
    .dancer-card img {
        transition: none;
    }

    .director-image:hover img,
    .dancer-card img:hover {
        transform: none;
    }
}

/* =====================================
   THE ARTISTS - VERSIÓN MÓVIL
===================================== */

@media (max-width: 768px) {

    .artists {
        padding: 70px 6%;
    }

    .artists-header {
        margin-bottom: 55px;
    }

    .artists-header h2 {
        font-size: 38px;
    }

    .artists-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .artists-section-title {
        font-size: 19px;
        margin-bottom: 35px;
    }

    /* DIRECTORES */

    .directors-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .director-card h4 {
        font-size: 24px;
    }

    /* BAILARINES */

    .dancers {
        margin-top: 90px;
    }

    .dancers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 12px;
    }

    .dancer-card h4 {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .dancer-card p {
        font-size: 12px;
    }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 360px) {

    .dancers-grid {
        grid-template-columns: 1fr;
    }
}

/* BIOGRAFÍAS DE LOS DIRECTORES */

.director-card p + p {
    margin-top: 15px;
}

/* =====================================
   FOOTER - MAMBO MAGIC
===================================== */

.footer {
    background: #090909;
    border-top: 1px solid rgba(212, 175, 112, 0.35);
    padding: 85px 8% 25px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 70px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 240px;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-brand p {
    margin-top: 18px;
    color: #D4AF70;
    font-size: 11px;
    letter-spacing: 3px;
}

.footer-brand span {
    margin-top: 15px;
    color: #999;
    font-size: 13px;
}

.footer-column,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column {
    gap: 12px;
}

.footer-contact {
    gap: 17px;
}

.footer-column h4,
.footer-contact h3 {
    margin: 0 0 14px;
    color: #D4AF70;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-column a,
.footer-contact a {
    color: #BDBDBD;
    font-size: 13px;
    text-decoration: none;
}

.footer-column a {
    position: relative;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
    color: #D4AF70;
    transform: translateX(4px);
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #D4AF70;
}

.footer-contact p {
    color: #999;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer {
        padding: 65px 7% 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 50px;
    }

    .footer-brand,
    .footer-column,
    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 200px;
    }
}

/* =====================================
   ICONOS DE REDES SOCIALES
===================================== */

.footer-contact .social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #BDBDBD;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* TAMAÑO DE LOS ICONOS */

.social-link svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}

/* EFECTO DORADO */

.footer-contact .social-link:hover {
    color: #D4AF70;
    transform: translateX(4px);
}

/* ACCESIBILIDAD */

.footer-contact .social-link:focus-visible {
    color: #D4AF70;
    outline: 2px solid #D4AF70;
    outline-offset: 6px;
}

/* EVITAR ANIMACIONES SI EL USUARIO LAS TIENE DESACTIVADAS */

@media (prefers-reduced-motion: reduce) {

    .footer-contact .social-link {
        transition: none;
    }

    .footer-contact .social-link:hover {
        transform: none;
    }
}

/* VERSIÓN MÓVIL */

@media (max-width: 768px) {

    .footer-contact .social-link:hover {
        transform: none;
    }
}

/* =====================================
   BOTÓN FLOTANTE WHATSAPP
===================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    z-index: 2000;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* ICONO */

.whatsapp-float svg {
    width: 31px;
    height: 31px;
    display: block;
}

/* EFECTO HOVER */

.whatsapp-float:hover {
    background: #1EBE5B;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

/* ACCESIBILIDAD */

/* NAVEGACIÓN POR TECLADO */

.whatsapp-float:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 5px;
}

/* WHATSAPP EN CELULARES */

@media (max-width: 768px) {

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

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* REDUCIR ANIMACIONES */

@media (prefers-reduced-motion: reduce) {

    .whatsapp-float {
        transition: none;
    }

    .whatsapp-float:hover {
        transform: none;
    }
}

/* ETIQUETA FLOTANTE DE WHATSAPP */

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #202020;
    color: #FFFFFF;
    border: 1px solid rgba(212,175,112,0.5);
    border-radius: 8px;
    padding: 12px 17px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* MOSTRAR ETIQUETA */

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* VERSIÓN MÓVIL */

@media (max-width: 768px) {

    .whatsapp-tooltip {
        display: none;
    }
}

/* REDUCIR ANIMACIONES */

@media (prefers-reduced-motion: reduce) {

    .whatsapp-tooltip {
        transition: none;
    }
}

/* =====================================
   MAMBO MAGIC WORKSHOPS
===================================== */

.workshops {
    background: #0D0D0D;
    padding: 110px 8%;
}

/* ENCABEZADO */

.workshops-header {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.workshops-subtitle {
    color: #D4AF70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.workshops-header h2 {
    margin-top: 20px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 800;
}

.workshops-header .gold-line {
    margin: 28px auto;
}

.workshops-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #BDBDBD;
    font-size: 15px;
    line-height: 1.9;
}

/* LOS TRES PILARES */

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.workshop-card {
    position: relative;
    min-height: 310px;
    padding: 38px 32px;
    background: #171717;
    border: 1px solid #2B2B2B;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.workshop-image {
    width: calc(100% + 64px);
    height: 220px;
    margin: -38px -32px 28px;
    overflow: hidden;
    background: #202020;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* NÚMERO */

.workshop-number {
    display: block;
    color: #D4AF70;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 45px;
}

.workshop-card h3 {
    max-width: 320px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 1px;
}

.workshop-card p {
    margin-top: 22px;
    color: #AFAFAF;
    font-size: 14px;
    line-height: 1.8;
}

/* EFECTO HOVER */

.workshop-card:hover {
    transform: translateY(-7px);
    border-color: rgba(212, 175, 112, 0.75);
    background: #1A1A1A;
}

/* DETALLE DORADO */

.workshop-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #D4AF70;
    transition: width 0.4s ease;
}

.workshop-card:hover::after {
    width: 100%;
}

/* =====================================
   CTA - BOOK A WORKSHOP
===================================== */

.workshops-cta {
    max-width: 1000px;
    margin: 100px auto 0;
    padding: 75px 8%;
    text-align: center;
    border: 1px solid rgba(212, 175, 112, 0.35);
    background: linear-gradient( 135deg, #151515 0%, #0C0C0C 100% );
}

.workshops-cta-label {
    color: #D4AF70;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.workshops-cta h3 {
    margin-top: 25px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
}

.workshops-cta h3 span {
    display: block;
    color: #D4AF70;
}

.workshops-cta p {
    max-width: 620px;
    margin: 28px auto 0;
    color: #BDBDBD;
    font-size: 14px;
    line-height: 1.9;
}

.workshops-cta small {
    display: block;
    margin-top: 18px;
    color: #888;
    font-size: 11px;
    letter-spacing: 1px;
}

/* BOTÓN */

.workshops-button {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 28px;
    background: #D4AF70;
    color: #101010;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.workshops-button:hover {
    background: #E8C989;
    transform: translateY(-3px);
}

/* =====================================
   WORKSHOPS - VERSIÓN MÓVIL
===================================== */

@media (max-width: 768px) {

    .workshops {
        padding: 75px 6%;
    }

    .workshops-header {
        margin-bottom: 50px;
    }

    .workshops-header h2 {
        font-size: 34px;
    }

    .workshops-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .workshops-header p {
        font-size: 14px;
    }

    .workshop-image {
        width: calc(100% + 50px);
        height: 210px;
        margin: -30px -25px 24px;
    }

    /* TARJETAS */

    .workshops-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .workshop-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .workshop-number {
        margin-bottom: 25px;
    }

    .workshop-card h3 {
        font-size: 20px;
    }

    /* CTA */

    .workshops-cta {
        margin-top: 70px;
        padding: 55px 8%;
    }

    .workshops-cta h3 {
        font-size: 34px;
    }

    .workshops-button {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* REDUCIR ANIMACIONES */

@media (prefers-reduced-motion: reduce) {

    .workshop-card,
    .workshop-card::after,
    .workshops-button {
        transition: none;
    }

    .workshop-card:hover,
    .workshops-button:hover {
        transform: none;
    }
}

.home-testimonial {
    padding: 90px 8%;
    text-align: center;
    background: #0b0b0b;
    border-top: 1px solid #1f1f1f;
}

.home-testimonial-eyebrow {
    display: block;
    margin-bottom: 24px;
    color: #c8a96b;
    font-size: 12px;
    letter-spacing: 3px;
}

.home-testimonial blockquote {
    max-width: 820px;
    margin: 0 auto 20px;
    color: #f2f2f2;
    font-size: 28px;
    line-height: 1.5;
    font-weight: 300;
}

.home-testimonial-author {
    margin-bottom: 28px;
    color: #777;
    font-size: 13px;
}

.home-testimonial-link {
    color: #c8a96b;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
}

.home-testimonial-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .home-testimonial {
        padding: 70px 6%;
    }

    .home-testimonial blockquote {
        font-size: 21px;
    }
}

/* =====================================
   CLASSES PAGE
===================================== */

.classes-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 100px 8%;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.4) ), url("assets/images/classes-hero.jpg");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(212, 175, 112, 0.2);
}

.classes-hero-content {
    max-width: 850px;
}

.classes-eyebrow {
    color: #D4AF70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.classes-hero h1 {
    margin-top: 20px;
    font-size: clamp(48px, 8vw, 100px);
    line-height: 0.95;
}

.classes-hero h1 span {
    display: block;
    color: #D4AF70;
}

.classes-hero p {
    max-width: 600px;
    margin-top: 30px;
    color: #D0D0D0;
    font-size: 17px;
    line-height: 1.8;
}

.classes-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

/* BOTONES */

.classes-primary-button,
.classes-secondary-button {
    display: inline-block;
    padding: 16px 26px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.classes-primary-button {
    background: #D4AF70;
    color: #101010;
}

.classes-primary-button:hover {
    background: #E8C989;
    transform: translateY(-3px);
}

.classes-secondary-button {
    color: #FFFFFF;
    border: 1px solid rgba(212, 175, 112, 0.7);
}

.classes-secondary-button:hover {
    background: #D4AF70;
    color: #101010;
    transform: translateY(-3px);
}

/* ENCABEZADOS */

.classes-section-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.classes-section-header > span {
    color: #D4AF70;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.classes-section-header h2 {
    margin-top: 18px;
    font-size: clamp(34px, 5vw, 60px);
}

.classes-section-header .gold-line {
    margin: 25px auto;
}

.classes-section-header p {
    color: #BDBDBD;
    line-height: 1.9;
}

/* =====================================
   START HERE
===================================== */

.classes-start {
    padding: 110px 8%;
    background: #101010;
}

.beginner-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 55px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px;
    background: linear-gradient( 135deg, #1B1B1B, #101010 );
    border: 1px solid rgba(212, 175, 112, 0.45);
}

.beginner-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beginner-visual > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border: 1px solid #303030;
}

.beginner-label {
    color: #D4AF70;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.beginner-copy h3 {
    max-width: 600px;
    margin-top: 18px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
}

.beginner-copy p {
    max-width: 600px;
    margin: 25px 0 32px;
    color: #BDBDBD;
    line-height: 1.9;
}

.beginner-times {
    display: grid;
    gap: 16px;
}

.beginner-times article {
    padding: 25px;
    background: #171717;
    border-left: 3px solid #D4AF70;
}

.beginner-times span {
    display: block;
    color: #D4AF70;
    font-size: 11px;
    letter-spacing: 2px;
}

.beginner-times strong {
    display: block;
    margin-top: 8px;
    font-size: 32px;
}

.beginner-times p {
    margin-top: 6px;
    color: #BDBDBD;
    font-size: 13px;
}

/* =====================================
   SCHEDULE
===================================== */

.classes-schedule {
    padding: 110px 8%;
    background: #141414;
}

.schedule-category {
    max-width: 1100px;
    margin: 0 auto 75px;
}

.schedule-category:last-child {
    margin-bottom: 0;
}

.schedule-category > h3 {
    color: #D4AF70;
    font-size: 17px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.schedule-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.schedule-image {
    width: calc(100% + 64px);
    height: 220px;
    margin: -32px -32px 28px;
    overflow: hidden;
    background: #202020;
}

.schedule-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.schedule-card:hover .schedule-image img {
    transform: scale(1.04);
}

.schedule-card {
    min-height: 230px;
    padding: 32px;
    background: #1B1B1B;
    border: 1px solid #303030;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 112, 0.7);
}

.schedule-level {
    color: #D4AF70;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.schedule-card h4 {
    margin-top: 30px;
    font-size: 22px;
    line-height: 1.25;
}

.schedule-card p {
    margin-top: 25px;
    color: #BDBDBD;
}

.schedule-card strong {
    display: block;
    margin-top: 10px;
    font-size: 31px;
}

/* =====================================
   AUDITIONS
===================================== */

.auditions {
    padding: 120px 8%;
    background: #0C0C0C;
}

.auditions-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.auditions-label {
    color: #D4AF70;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.auditions h2 {
    margin-top: 22px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
}

.auditions h2 span {
    display: block;
    color: #D4AF70;
}

.auditions p {
    max-width: 680px;
    margin: 30px auto 35px;
    color: #BDBDBD;
    line-height: 1.9;
}

.auditions-closed-message {
    display: none;
    max-width: 700px;
    margin: 40px auto 0;
    padding: 40px;
    text-align: center;
    border: 1px solid #292929;
    background: #111;
}

.auditions-closed-message span {
    color: #c8a96b;
    font-size: 11px;
    letter-spacing: 3px;
}

.auditions-closed-message h3 {
    margin: 15px 0;
    color: #fff;
    font-size: 28px;
}

.auditions-closed-message p {
    color: #999;
    line-height: 1.7;
}

.audition-button-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* =====================================
   LOCATION
===================================== */

.classes-location {
    padding: 110px 8%;
    background: #101010;
}

.location-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.location-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 45px;
    background: #181818;
    border: 1px solid #303030;
}

.location-info > span {
    color: #D4AF70;
    font-size: 10px;
    letter-spacing: 3px;
}

.location-info h3 {
    margin-top: 18px;
    font-size: 30px;
}

.location-info p {
    margin: 18px 0 30px;
    color: #BDBDBD;
}

.map-placeholder {
    min-height: 420px;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    filter: grayscale(35%) contrast(1.05);
}

/* =====================================
   REVIEWS
===================================== */

.classes-reviews {
    padding: 110px 8%;
    background: #141414;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    padding: 32px;
    background: #1B1B1B;
    border: 1px solid #303030;
}

.review-stars {
    color: #D4AF70;
    letter-spacing: 3px;
}

.review-card p {
    margin-top: 25px;
    color: #D0D0D0;
    font-size: 14px;
    line-height: 1.9;
}

.review-card span {
    display: block;
    margin-top: 25px;
    color: #777;
    font-size: 9px;
    letter-spacing: 2px;
}

/* =====================================
   REVIEW FORM
===================================== */

.review-register {
    padding: 110px 8%;
    background: #0F0F0F;
}

.review-consent p {
    color: #777;
    font-size: 11px;
    line-height: 1.7;
}

.reviews-loading,
.reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #777;
    font-size: 13px;
    letter-spacing: 1px;
}

/* =====================================
   FORMS
===================================== */

.classes-register,
.audition-register {
    padding: 110px 8%;
    background: #101010;
}

.audition-register {
    background: #141414;
}

.classes-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

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

.form-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #D4AF70;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    background: #181818;
    color: #FFFFFF;
    border: 1px solid #383838;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #D4AF70;
}

.form-submit {
    border: none;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .schedule-image img {
        transition: none;
    }

    .schedule-card:hover .schedule-image img {
        transform: none;
    }
}

/* =====================================
   CLASSES MOBILE
===================================== */

@media (max-width: 768px) {

    .classes-hero {
        min-height: 70svh;
        padding: 90px 7% 70px;
        align-items: flex-end;
    }

    .classes-hero h1 {
        font-size: 48px;
    }

    .classes-hero p {
        font-size: 14px;
    }

    .classes-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .classes-primary-button,
    .classes-secondary-button {
        text-align: center;
    }

    .classes-start,
    .classes-schedule,
    .auditions,
    .classes-location,
    .classes-reviews,
    .classes-register,
    .audition-register {
        padding: 75px 6%;
    }

    .beginner-highlight {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 30px 24px;
    }

    .schedule-grid,
    .schedule-grid-three {
        grid-template-columns: 1fr;
    }

    .schedule-image {
        height: 210px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-info {
        padding: 30px 25px;
    }

    .map-placeholder,
    .map-placeholder iframe {
        min-height: 340px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .classes-form {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: auto;
    }

    .beginner-visual > img {
        height: 230px;
    }

    .review-register {
        padding: 75px 6%;
    }
}

/* =====================================
   BEGINNER FREE CLASS POPUP
===================================== */

.beginner-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.beginner-popup.active {
    opacity: 1;
    visibility: visible;
}

.beginner-popup-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

.beginner-popup-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 520px;

    padding: 55px 45px;

    text-align: center;

    background: #111;
    border: 1px solid #303030;
}

.beginner-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;

    border: 0;
    background: transparent;

    color: #888;

    font-size: 28px;

    cursor: pointer;
}

.beginner-popup-close:hover {
    color: #D4AF70;
}

.beginner-popup-label {
    display: block;

    margin-bottom: 18px;

    color: #D4AF70;

    font-size: 10px;
    letter-spacing: 3px;
}

.beginner-popup-content h3 {
    margin: 0;

    color: #fff;

    font-size: 36px;
    line-height: 1.1;
}

.beginner-popup-content h3 span {
    display: block;

    color: #D4AF70;
}

.beginner-popup-content > p {
    max-width: 400px;

    margin: 25px auto;

    color: #aaa;

    font-size: 14px;
    line-height: 1.8;
}

.beginner-popup-times {
    display: flex;
    justify-content: center;
    gap: 40px;

    margin: 30px 0;
}

.beginner-popup-times p {
    color: #fff;

    font-size: 14px;
}

.beginner-popup-times strong {
    display: block;

    margin-bottom: 8px;

    color: #D4AF70;

    font-size: 10px;
    letter-spacing: 2px;
}

.beginner-popup-content small {
    display: block;

    margin-top: 18px;

    color: #666;

    font-size: 10px;
    line-height: 1.6;
}

@media (max-width: 600px) {

    .beginner-popup-content {
        padding:
            50px 25px
            35px;
    }

    .beginner-popup-content h3 {
        font-size: 29px;
    }

    .beginner-popup-times {
        gap: 25px;
    }

}

/* =====================================
   SCHEDULE TIMETABLE POPUP
===================================== */

.schedule-popup {
    position: fixed;
    inset: 0;

    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.schedule-popup.active {
    opacity: 1;
    visibility: visible;
}

.schedule-popup-overlay {
    position: absolute;
    inset: 0;

    background:
        rgba(0, 0, 0, 0.88);

    backdrop-filter:
        blur(8px);
}

.schedule-popup-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1180px;

    max-height: 90vh;
    overflow-y: auto;

    padding: 55px 45px 45px;

    background:
        #101010;

    border:
        1px solid #303030;
}

.schedule-popup-close {
    position: absolute;

    top: 15px;
    right: 20px;

    border: 0;

    background:
        transparent;

    color:
        #777;

    font-size: 30px;

    cursor: pointer;
}

.schedule-popup-close:hover {
    color:
        #D4AF70;
}

/* HEADER */

.schedule-popup-header {
    text-align: center;

    margin-bottom: 40px;
}

.schedule-popup-header > span {
    color:
        #D4AF70;

    font-size: 10px;

    letter-spacing:
        3px;
}

.schedule-popup-header h2 {
    margin:
        12px 0;

    color:
        #FFFFFF;

    font-size:
        clamp(
            30px,
            4vw,
            46px
        );
}

.schedule-popup-header .gold-line {
    margin:
        18px auto;
}

.schedule-popup-header p {
    color:
        #888;

    font-size:
        13px;
}

/* TIMETABLE */

.schedule-timetable {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    border-top:
        1px solid #303030;

    border-left:
        1px solid #303030;
}

.timetable-day {
    min-height:
        260px;

    border-right:
        1px solid #303030;

    border-bottom:
        1px solid #303030;

    background:
        #151515;
}

.timetable-day h3 {
    margin: 0;

    padding:
        18px 10px;

    text-align:
        center;

    border-bottom:
        1px solid #303030;

    color:
        #D4AF70;

    font-size:
        10px;

    letter-spacing:
        2px;
}

.timetable-class {
    margin:
        12px;

    padding:
        16px 12px;

    border:
        1px solid #292929;

    background:
        #1A1A1A;
}

.timetable-class strong {
    display:
        block;

    margin-bottom:
        9px;

    color:
        #FFFFFF;

    font-size:
        18px;
}

.timetable-class span {
    display:
        block;

    color:
        #999;

    font-size:
        9px;

    line-height:
        1.6;

    letter-spacing:
        1px;
}

/* NIVEL INICIAL */

.timetable-class.beginner {
    border-color:
        #7A663F;

    background:
        linear-gradient(
            145deg,
            #1F1B14,
            #171717
        );
}

.timetable-class.beginner strong {
    color:
        #D4AF70;
}

.timetable-class.beginner span {
    color:
        #D6C39A;
}

/* FOOTER */

.schedule-popup-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top:
        35px;
}

.schedule-popup-footer > span {
    color:
        #666;

    font-size:
        9px;

    letter-spacing:
        2px;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1000px) {

    .schedule-timetable {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 650px) {

    .schedule-popup {
        padding:
            15px;
    }

    .schedule-popup-content {
        padding:
            50px 18px 30px;

        max-height:
            94vh;
    }

    .schedule-popup-header {
        margin-bottom:
            28px;
    }

    .schedule-timetable {
        display:
            block;

        border:
            0;
    }

    .timetable-day {
        min-height:
            auto;

        margin-bottom:
            12px;

        border:
            1px solid #303030;
    }

    .timetable-day h3 {
        text-align:
            left;

        padding:
            14px 16px;
    }

    .timetable-class {
        display:
            grid;

        grid-template-columns:
            70px 1fr;

        align-items:
            center;

        gap:
            10px;

        margin:
            10px;

        padding:
            14px;
    }

    .timetable-class strong {
        margin:
            0;

        font-size:
            17px;
    }

    .schedule-popup-footer {
        flex-direction:
            column;

        text-align:
            center;
    }

    .schedule-popup-footer
    .classes-primary-button {
        width:
            100%;

        text-align:
            center;
    }

}

/* =====================================
   TIMETABLE - SPECIAL ACTIVITIES
===================================== */

.timetable-class.special {
    border-color: #8A7348;

    background:
        linear-gradient(
            145deg,
            #211D15,
            #171717
        );
}

.timetable-class.special strong {
    color: #D4AF70;
}

.timetable-class.special span {
    color: #D6C39A;
}

.timetable-class.rehearsal {
    border-color: #383838;
    background: #121212;
}

.timetable-class.rehearsal strong {
    color: #BDBDBD;
}

.timetable-class.rehearsal span {
    color: #777;
}

/* =====================================
   SCHEDULE POPUP - COMPACT DESKTOP
===================================== */

@media (min-width: 901px) {

    .schedule-popup {
        padding: 15px 25px;
    }

    .schedule-popup-content {
        max-width: 1100px;

        max-height: none;
        overflow-y: visible;

        padding: 32px 30px 26px;
    }

    .schedule-popup-header {
        margin-bottom: 22px;
    }

    .schedule-popup-header h2 {
        margin: 8px 0;

        font-size: 34px;
    }

    .schedule-popup-header .gold-line {
        margin: 12px auto;
    }

    .schedule-popup-header p {
        margin: 0;

        font-size: 12px;
    }

    .timetable-day {
        min-height: 205px;
    }

    .timetable-day h3 {
        padding: 12px 8px;
    }

    .timetable-class {
        margin: 8px;

        padding: 11px 9px;
    }

    .timetable-class strong {
        margin-bottom: 5px;

        font-size: 16px;
    }

    .timetable-class span {
        font-size: 8px;

        line-height: 1.45;
    }

    .schedule-popup-footer {
        margin-top: 20px;
    }

    .schedule-popup-footer .classes-primary-button {
        padding: 12px 22px;
    }

}

/* =====================================
   MONTHLY WORKSHOP CARD
===================================== */

.monthly-workshop-card {
    grid-column: 1 / -1;

    width: 100%;
    max-width: 520px;

    justify-self: center;

    padding: 0;

    overflow: hidden;

    border: 1px solid #8A7348;

    background:
        linear-gradient(
            145deg,
            #1A1711,
            #121212
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.28);

    text-align: center;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.monthly-workshop-card:hover {
    transform: translateY(-4px);

    border-color: #D4AF70;
}

/* FOTO */

.monthly-workshop-image {
    position: relative;

    width: 100%;
    height: 210px;

    overflow: hidden;
}

.monthly-workshop-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.45)
        );
}

.monthly-workshop-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.monthly-workshop-card:hover
.monthly-workshop-image img {
    transform: scale(1.03);
}

/* CONTENIDO */

.monthly-workshop-content {
    padding: 28px 30px 32px;
}

.monthly-workshop-content
.schedule-level {
    color: #D4AF70;
}

.monthly-workshop-content h4 {
    margin: 10px 0 12px;

    color: #FFFFFF;

    font-size: 24px;
}

.monthly-workshop-content p {
    margin: 0 0 7px;

    color: #999;
}

.monthly-workshop-content strong {
    display: block;

    margin-bottom: 15px;

    color: #D4AF70;

    font-size: 25px;
}

.monthly-workshop-content small {
    display: block;

    color: #777;

    font-size: 11px;
    letter-spacing: 0.5px;
}

/* MOBILE */

@media (max-width: 600px) {

    .monthly-workshop-card {
        max-width: 100%;
    }

    .monthly-workshop-image {
        height: 190px;
    }

    .monthly-workshop-content {
        padding: 25px 20px 28px;
    }

    .monthly-workshop-content h4 {
        font-size: 22px;
    }

}

/* =====================================
   WORKSHOP CARDS - CLICKABLE
===================================== */

/*
   IMPORTANTE:
   No modificamos tamaño, padding, imagen ni grid.
   Las tarjetas conservan exactamente el diseño original.
*/

.workshop-card-clickable {
    cursor: pointer;
}

.workshop-card-clickable:focus-visible {
    outline: 1px solid #D4AF70;
    outline-offset: 4px;
}

/* =====================================
   WORKSHOP POPUP
===================================== */

.workshop-popup {
    position: fixed;
    inset: 0;

    z-index: 11000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.workshop-popup.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================
   OVERLAY
===================================== */

.workshop-popup-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.88);

    backdrop-filter: blur(8px);
}

/* =====================================
   POPUP CONTAINER
===================================== */

.workshop-popup-content {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(280px, 0.85fr)
        minmax(0, 1.15fr);

    width: 100%;
    max-width: 900px;
    max-height: 88vh;

    overflow: hidden;

    background: #111111;

    border: 1px solid #303030;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5);
}

/* =====================================
   CLOSE BUTTON
===================================== */

.workshop-popup-close {
    position: absolute;

    top: 14px;
    right: 18px;

    z-index: 5;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 0;

    background: rgba(0, 0, 0, 0.55);

    color: #AAAAAA;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

.workshop-popup-close:hover {
    color: #D4AF70;

    background: #111111;
}

/* =====================================
   POPUP IMAGE
===================================== */

.workshop-popup-image {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    background: #181818;
}

.workshop-popup-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.28)
        );
}

.workshop-popup-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =====================================
   POPUP INFORMATION
===================================== */

.workshop-popup-info {
    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: 45px 45px 42px;
}

.workshop-popup-number {
    color: #D4AF70;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
}

.workshop-popup-info h2 {
    margin: 14px 0 0;

    color: #FFFFFF;

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    line-height: 1.05;
}

.workshop-popup-subtitle {
    display: block;

    margin-top: 14px;

    color: #8E8E8E;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
    line-height: 1.6;
}

.workshop-popup-info .gold-line {
    margin: 22px 0;
}

.workshop-popup-description {
    margin: 0;

    color: #BDBDBD;

    font-size: 13px;
    line-height: 1.8;
}

/* =====================================
   WHAT WE TRAIN
===================================== */

.workshop-popup-training {
    margin-top: 22px;
}

.workshop-popup-training-title {
    display: block;

    margin-bottom: 14px;

    color: #D4AF70;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.workshop-popup-training ul {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.workshop-popup-training li {
    position: relative;

    padding-left: 14px;

    color: #999999;

    font-size: 12px;
    line-height: 1.5;
}

.workshop-popup-training li::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 0;

    width: 4px;
    height: 4px;

    background: #D4AF70;
}

/* =====================================
   BUTTON
===================================== */

.workshop-popup-button {
    width: fit-content;

    margin-top: 30px;
}

/* =====================================
   WORKSHOP POPUP - MOBILE
===================================== */

@media (max-width: 768px) {

    .workshop-popup {
        padding: 15px;
    }

    .workshop-popup-content {
        display: block;

        max-width: 480px;
        max-height: 92vh;

        overflow-y: auto;
    }

    .workshop-popup-image {
        min-height: 0;

        height: 230px;
    }

    .workshop-popup-info {
        padding: 30px 23px 32px;
    }

    .workshop-popup-info h2 {
        font-size: 30px;
    }

    .workshop-popup-training ul {
        grid-template-columns: 1fr;
    }

    .workshop-popup-button {
        width: 100%;

        text-align: center;
    }

}

/* =====================================
   END OF STYLESHEET
===================================== */
/* =====================================
   PAGE HERO VIDEO SUPPORT
   COMPANY · CLASSES · EVENTS
===================================== */

.company-hero,
.classes-hero,
.events-hero {
    position: relative;
    overflow: hidden;
}

/* Los overlays quedan entre el video y el contenido */
.company-hero-overlay,
.events-hero-overlay {
    z-index: 1;
    pointer-events: none;
}

/* Classes mantiene su imagen + degradado original mientras no hay video */
.classes-hero-content {
    position: relative;
    z-index: 2;
}

.classes-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.40)
        );

    opacity: 0;
}

/* Cuando el video de Classes carga, aparece el overlay sobre él */
.classes-hero .hero-background-video.video-ready + .classes-hero-overlay {
    opacity: 1;
}

@media (max-width: 768px) {

    .classes-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.28) 0%,
                rgba(0, 0, 0, 0.50) 42%,
                rgba(0, 0, 0, 0.90) 100%
            );
    }

}

/* =====================================
   MI CUENTA · ACCESO DESDE LA WEB
===================================== */

.nav-links .nav-account-link {
    color: #D4AF70;
    font-weight: 700;
}

.nav-links .nav-account-link::after {
    background-color: #D4AF70;
}

.nav-links .nav-account-link:hover {
    color: #f0d49f;
}

.nav-links .nav-account-link:focus-visible {
    outline: 2px solid #D4AF70;
    outline-offset: 8px;
}

@media (max-width: 768px) {
    .nav-links .nav-account-link {
        width: auto;
        margin: 0;
        padding: 0;
        text-align: left;
    }
}

dialog.mm-detail > p:last-of-type {
  font-weight: 700;
}
/* Team Members: centrar cada fila, incluso cuando no está completa. */
#artistas #dancers-container {
    --team-gap: 18px;
    --team-columns: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px var(--team-gap);
}

#artistas #dancers-container > .dancer-card {
    box-sizing: border-box;
    min-width: 0;
    flex: 0 0 calc((100% + var(--team-gap)) / var(--team-columns) - var(--team-gap));
}

@media (max-width: 1000px) {
    #artistas #dancers-container { --team-columns: 3; }
}

@media (max-width: 640px) {
    #artistas #dancers-container {
        --team-columns: 2;
        --team-gap: 12px;
        row-gap: 24px;
    }
}

.mapa-clases {
  box-sizing: border-box;
  width: min(84%, 1160px);
  margin: 2rem auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(120deg, #1c1c1c, #121212);
  border: 1px solid #685634;
}

.mapa-clases span {
  color: #d4b06c;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.mapa-clases h2 {
  margin: 1rem 0 .6rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.mapa-clases p { margin: 0; color: #ddd; }
.mapa-clases iframe { display: block; width: 100%; height: 260px; border: 0; }

@media (max-width: 700px) {
  .mapa-clases { grid-template-columns: 1fr; gap: 1.25rem; }
  .mapa-clases iframe { height: 220px; }
}
/* Celular: botones de acción y rótulos de marca. */
@media (max-width: 768px) {
    .mm-section-brand { display: none; }
    .mm-section-brand + h2 { margin-top: 0; }

    :is(.btn, .classes-primary-button, .classes-secondary-button,
        .workshops-button, .workshop-popup-button, .form-submit),
    .schedule-popup-footer .classes-primary-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        max-width: 100%;
        min-height: 44px;
        padding: 14px 18px;
        border: 0;
        border-radius: 0;
        background: #D4AF70;
        color: #101010;
        font-family: inherit;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.4;
        letter-spacing: 1px;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        white-space: normal;
        cursor: pointer;
    }

    :is(.btn, .classes-primary-button, .classes-secondary-button,
        .workshops-button, .workshop-popup-button, .form-submit):hover {
        background: #E8C989;
        color: #101010;
        transform: none;
    }

    :is(.btn, .classes-primary-button, .classes-secondary-button,
        .workshops-button, .workshop-popup-button, .form-submit):focus-visible {
        outline: 2px solid #fff;
        outline-offset: 4px;
    }
}
