/* Oculta el contenido de la página inicialmente */
.hidden {
    display: none;
}

/* 2. Estilos del Preloader */
#preloader {
    position: fixed; /* Fija el preloader sobre todo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Fondo blanco */
    display: flex; 
    flex-direction: column; /* Apila los elementos verticalmente */
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    z-index: 1000;
    transition: opacity 0.5s ease-out; /* Transición de desvanecimiento */
}

/* 3. Estilos del Logo (¡Solo el logo rota!) */
#logo-preloader {
    width: 220px; /* Tamaño del logo (ajusta si es necesario) */
    height: 150px;
    border-radius: 50%; 
    animation: spin 1.5s linear infinite; /* Aplica la animación de rotación */
}

/* 4. Estilos del Nombre de la Empresa (Fijo) */
#company-name {
    margin-top: 60px; /* Espacio entre el logo y el texto */
    font-size: 1.5em; 
    
    color: #333333; /* Color del texto */
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* 5. Definición de la Animación de Rotación */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Clase para desvanecer y ocultar el preloader */
.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* Restablecer y variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
}

/* -------------------------------------------------- */
/* ✅ BOTÓN WHATSAPP: VERSIÓN GRANDE + EFECTOS         */
/* -------------------------------------------------- */

.whatsapp-float {
    position: fixed;
    bottom: 30px; /* Separación del borde inferior */
    right: 30px;  /* Separación del borde derecho */
    width: 90px;  /* Tamaño del círculo */
    height: 90px; 
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.4);
    
    /* Z-INDEX: Máxima prioridad sobre cualquier elemento */
    z-index: 999999; 
    
    /* Estado inicial invisible para el JS */
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    
    /* Suavidad para el cambio de color al pasar el mouse */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* --- 🔥 ANIMACIONES DE ENTRADA Y ESTADO ACTIVO --- */
.whatsapp-float.activo {
    opacity: 1;
    visibility: visible;
    /* Ejecuta rebote al entrar y pulso infinito */
    animation: bounceIn 0.8s both, pulse-green 2s infinite;
}

/* Efecto Hover (PC y Celular) */
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1); /* Crece un poco más al tocarlo */
}

/* 🟢 EL CUADRO DIAGONAL (Tamaño Grande) */
.whatsapp-tooltip {
    position: absolute;
    right: 110px; /* Posicionado a la izquierda del botón */
    background-color: #ffffff;
    color: #333333;
    padding: 15px 25px; 
    border-radius: 35px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;    /* Texto grande y legible */
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #f0f0f0;
    
    /* EFECTO DIAGONAL INICIAL */
    opacity: 0;
    visibility: hidden;
    transform: translateX(25px) translateY(15px) rotate(-12deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* Mostrar Tooltip al hacer Hover */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0) rotate(0deg);
}

/* Icono Grande */
.whatsapp-icon {
    width: 60px; 
    height: 60px;
    object-fit: contain;
    z-index: 2;
}

/* --- 🎭 KEYFRAMES (LAS ANIMACIONES) --- */

/* 1. Rebote de entrada */
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* 2. Pulso Verde (Aura circular expansiva) */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- AJUSTE RESPONSIVO PARA CELULARES --- */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 75px; /* Un poco más pequeño en móvil para no estorbar tanto */
        height: 75px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    .whatsapp-tooltip {
        right: 90px;
        font-size: 15px;
        visibility: visible; /* Se activa al tocar el botón */
    }
}

/* ------------------------------------- */
/* 🚫 ELIMINACIÓN FORZADA DEL OUTLINE (LÍNEA AZUL) 🚫 */
/* ------------------------------------- */
a:focus,
button:focus,
.menu-toggle:focus {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow:#ff0000 !important;
}
/* ------------------------------------- */


/* ------------------------------------- */
/* ESTILOS DEL ENCABEZADO (ESCRITORIO)  */
/* ------------------------------------- */


/* ------------------------------------- */
/* ESTILOS DEL ENCABEZADO (ESCRITORIO)  */
/* ------------------------------------- */

.main-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    
    padding: 5px 30px; 
    /* CAMBIO CLAVE: Hacemos el fondo totalmente transparente al inicio */
    background-color: transparent; 
    color: white;
    transition: background-color 0.3s ease; /* Mantenemos la transición suave */

    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

/* Efecto de scroll */
.main-header.scrolled {
    /* CAMBIO CLAVE: Se vuelve negro cuando se hace scroll */
    background-color: #000000; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Aumenté un poco la sombra para que se note en fondos claros */
}

/* Esconder el botón de hamburguesa en escritorio */
.menu-toggle {
    display: none;
}

/* ------------------------------------- */
/* ESTILOS DE MARCA (LOGO Y NOMBRE)      */
/* ------------------------------------- */

.logo-container h1 {
    margin: 0;
    padding: 0;
    font-size: 100%; 
    font-weight: normal; 
}

.logo-container h1 a {
    display: flex; 
    align-items: center; 
    color: inherit;
    text-decoration: none;
    outline: none; 
}

.my-company-logo {
    height: 90px;/* <-- TAMAÑO DESEADO DEL LOGO */
    width: auto;/* Mantiene la proporción */
    margin-right: 10px; 
    border-style: none;
}

.company-name {
    font-size: 1.7em; 
    font-weight: 300; 
    letter-spacing: 1px;
    color: #e0e0e0; 
    font-family:Georgia, 'Times New Roman', Times, serif;
}

/* ------------------------------------- */
/* ESTILOS DE NAVEGACIÓN                 */
/* ------------------------------------- */
.main-nav ul {
    list-style: none;
    display: flex; /* Elementos del menú en línea */
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    outline: none; 
}

.main-nav a:focus, 
.main-nav a:hover,
.main-nav a.active { 
    background-color: #ff1900;
    color: white;
    outline: none; 
}




/* ------------------------------------- */
/* ESTILOS TANGUERÍA BUENOS AIRES        */
/* ------------------------------------- */
.tangueria-section {
    background: linear-gradient(
            rgba(0, 0, 0, 0.7), 
            rgba(0, 0, 0, 0)
        ), 
        url("IMG/TANGUERIIIIA.png");
        max-width: 100%;
        max-width: 100vw;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 88vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Centrado arriba */
    text-align: center;
    padding-top: 5vh; /* Distancia desde el tope */
    object-fit: cover;


    
    
}

.event-content {
    max-width: 700px;
    background: transparent;
    padding: 20px;
}

.event-title {
    font-size: 4.5em; /* Tamaño reducido y elegante */
    font-family: 'Times New Roman', Times, serif;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 5px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.event-subtitle {
    font-size: 1.5em;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: -5px;
}

.event-highlight {
    color: #ff0000;
    font-weight: 700;
}

.event-tagline {
    font-size: 1.2em;
    color: #ffd700; /* Dorado tipo "fileteado porteño" */
    text-transform: uppercase;
    margin: 15px 0;
    font-weight: 600;
    letter-spacing: 2px;
}

.event-description {
    font-size: 1.1em;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

.btn-reserva {
    display: inline-block;
    padding: 12px 35px;
    background-color: #ff0000;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-reserva:hover {
    background-color: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    backdrop-filter: blur(5px);
}

.event-date-display {
    margin-top: 20px;
    font-size: 0.9em;
    color: #ffffff;
    font-style: italic;
    opacity: 0.8;
}

/* Ajuste móvil */
@media (max-width: 100%) {
    
    .event-title { font-size: 2.8em; }
    .event-subtitle { font-size: 1.2em; }
    .event-description { font-size: 1em; padding: 0 10px; }
}

/* ------------------------------------- */
/* AJUSTES DE PORTADA Y SECCIONES (CLAVE)*/
/* ------------------------------------- */

/* Esto se aplica a las secciones que usan el padding superior (Sección 4, 5, etc) */
/* NOTA: Eliminamos el padding para #section1, #section2, #section3 y #contacto para controlarlo individualmente. */
#section4, #section5 {
    padding-top: 90px;
    
}



/* NOTA: La regla global que aplicaba 90px de padding a todas las secciones ha sido modificada, y ahora solo aplica a secciones no personalizadas o que no son la portada. */
#section1, #section2, #contacto {
    padding-top: 0px; /* Reseteamos el padding superior para control específico */
}


/* ESTILOS DE LA PORTADA (#SECTION1) CON IMAGEN FIJA (PARALLAX) */
#section1 {
    /* CLAVE: Usamos la imagen como fondo */
    background-image: url("img/portada.png"); 
    max-width: 100%;
    max-width: 100vw;
    background-size: cover;
    background-position: center 40%;  
    background-attachment: fixed; /* CLAVE: Mantiene la imagen fija al hacer scroll (Parallax) */
    min-height: 70vh; /* Altura de la portada ajustada */
    display: flex;
    position: relative; 
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    text-align: center;
    color: white;
    height: 100vh;
    object-fit: cover;
    
    /* Overlay (oscurecimiento) integrado en el fondo para simplificar */
    /* Si quieres el overlay separado, puedes usar el pseudo-elemento ::before (ver abajo) */
    /*background-image: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url("IMG/portada.png"); */


    /* Centrado del Contenido (.presentacion) */
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    text-align: center;
    color: white; 
    padding-top: 0; 
}

/* Overlay para oscurecer la imagen y mejorar la lectura del texto */
#section1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Efecto de oscurecimiento */
    background: rgba(0, 0, 0, 0.6); /* Oscurecimiento uniforme o usa un degradado */
    z-index: 2; /* Por encima de la imagen de fondo */
}


/* Aseguramos que el contenido esté por encima del overlay */
.presentacion {
    max-width: 1200px; 
    padding: 20px;
    margin-top: 0; /* Ya no necesitamos el margen superior si está centrado */
    
    position: relative; 
    z-index: 3; /* Por encima de todo */
}

/* El resto de estilos para .presentacion se mantienen igual */
.presentacion .bienvenida {
    font-size: 1200px;
    margin-bottom: 10px;
    font-weight: 300;
    
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.presentacion h2 {
    font-size: 80px;
    margin-bottom: 7px;
    
    font-family: 'Times New Roman', Times, serif;
}

.presentacion h2 span {
    display: block; 
    font-size: 1.7em;
    
    font-family: 'Times New Roman', Times, serif;
}
_________________________________________________________________________________________________________________________________________

.presentacion .descripcion {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN BLOQUE OSCURO (#section2 - El bloque de texto) */
/* ------------------------------------- */

#section2{
    /* CLAVE: Eliminamos el padding-top de 90px, ya que eso empuja la sección completa. */
    padding-top: 0; 
    padding-bottom: 90px; 
    background-color: #ff0000d2; /* Color que tenías en el bloque de texto */
    position: relative; 
    overflow: hidden; 
    text-align: center;
    color: white; /* Asegura texto blanco */
}


/* Contenedor de Texto (CLAVE) */
.dark-text-block .text-block-container {
    max-width: 800px; 
    margin: 0 auto;
    position: relative; 
    z-index: 5;
    padding: 20px; 
    
    /* AJUSTE CRÍTICO: Para compensar el header fijo */
    margin-top: 100px; 
}

.dark-text-block p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}


/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN 3 A LA DERECHA (NOCHES DE TANGO) */
/* ------------------------------------- */

/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN 3 A LA DERECHA (NOCHES DE TANGO) */
/* ------------------------------------- */

/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN 3 A LA DERECHA (NOCHES DE TANGO) */
/* ------------------------------------- **************************************************************************************************************/

/* =======================================================
   2. SECCIÓN 3 (Imagen de Fondo y Títulos)
   ======================================================= */
#section3 {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6)), url("img/OOOO.jpg");
    max-width: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    padding: 20px; 
    overflow: hidden; 
    object-fit: cover;
}

.proximos-eventos {
    position: absolute;
    top: 80px;
    right: 5%;
    color: white;
    font-size: 4em;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: right;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

.title-container {
    text-align: right;
    color: white;
    max-width: 600px;
    z-index: 10; 
    position: absolute;
    right: 5%;
    top: 60%;
    transform: translateY(-50%);
}

.title-container h2 {
    font-size: 5em;
    margin-bottom: 5px;
    line-height: 0.9;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
}

.title-container h2 .tango-word {
    font-size: 1.7em;
    display: block;
    margin-top: -10px;
}

.title-container p {
    font-weight: 300;
    font-size: 2em;
}

/* Botón Estilo */
.boton-modal a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff1a01; 
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.boton-modal a:hover {
    background-color: #c0392b;
}

/* =======================================================
   3. RESPONSIVE (Móvil - Pareja Centrada)
   ======================================================= */
@media (max-width: 768px) {
    /* Ajuste para que se vea la pareja */
    #section3 {
        background-position: 25% center; /* Enfoca a los bailarines desplazando la foto */
        background-attachment: scroll;
        min-height: 90vh;
        flex-direction: column;
        justify-content: flex-end; /* Texto abajo para no tapar caras */
        padding-bottom: 60px;
    }

    /* Reset de posiciones absolutas */
    .title-container, .proximos-eventos {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        text-align: center;
        width: 100%;
    }

    .proximos-eventos {
        font-size: 1.8rem;
        margin-bottom: 200px;
    }

    .title-container h2{
        font-size: 3.2rem;
        margin-bottom: 10px;
    }
    

    .title-container h2 .tango-word {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .title-container p {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .boton-modal{
        margin-bottom: 0px;
    }


    /* Marquee más chico en móvil */
    .marquee-content span {
        font-size: 0.9rem;
    }
    .title-container .febrero{
        margin-bottom: 5px;
    }
}


/* --- CONTENEDOR PRINCIPAL DEL MARQUEE --- */
.marquee {
  background: #000;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 12px 0; /* Un poco más ajustado */
  overflow: hidden;
  display: flex;
  width: 100%;
}

/* --- EL TRACK QUE SE MUEVE --- */
.marquee-content {
  display: flex;
  white-space: nowrap;
  gap: 30px; /* Espacio entre cada palabra/signo */
  animation: scroll-left 25s linear infinite; /* 'linear' es clave para que no frene */
  width: max-content;
}

/* --- ESTILO DE LAS PALABRAS --- */
.marquee-content span {
  color: #ffffff;
  font-size: 1.1rem; /* Tamaño más pequeño según pediste */
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- ESTILO DEL SEPARADOR (+) --- */
.divider {
  color: #444 !important; /* Gris oscuro para que no robe atención */
  font-weight: 400;
}

/* --- ANIMACIÓN PARA LOOP INFINITO --- */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Se desplaza exactamente la mitad del contenido total */
    transform: translateX(-50%);
  }
}

/* AJUSTE RESPONSIVO */
@media (max-width: 768px) {
  .marquee-content span {
    font-size: 0.9rem;
  }
}


/* RESPONSIVIDAD (MÓVIL) - Media Query */
@media (max-width: 768px) {
    #section3 {
        flex-direction: column; 
        justify-content: flex-start; 
        padding-top: 100px; 
        align-items: center; 
    }

    .title-container {
        position: static; /* Elimina el posicionamiento absoluto */
        transform: none; 
        text-align: center; /* Centra el texto */
        margin-top: 30px; 
        max-width: 90%;
    }

    .proximos-eventos {
        right: 0;
        left: 0;
        text-align: center; /* En móvil, centrar suele verse mejor, pero puedes cambiarlo a 'right' si prefieres */
        top: 30px;
        font-size: 1.5em;
    }
    
    .title-container h2 {
        font-size: 3.5em; /* Ajusta el tamaño del título en móvil */
    }
    .title-container h2 .tango-word {
        font-size: 1.3em; /* Ajusta el tamaño de TANGO en móvil */
        margin-top: -5px; 
    }
    .title-container .descripcion-subtitulo {
        font-size: 1.2em;
    }

    .figure-text-container {
        display: none; /* Asegura que siga oculto en móvil */
    }
}

/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN CONECTÁ (#section4) */
/* ------------------------------------- */
/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN CONECTÁ (#section4) */
/* ------------------------------------- */

/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN CONECTÁ (#section4) */
/* ------------------------------------- */

/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN CONECTÁ (#section4) */
/* ------------------------------------- */

.connect-section {
    background-color: #e0e0e0; 
    padding: 100px 20px; 
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centra el título y el contenedor */
}

.connect-title {
    font-size: 4em;
    color: #000000;
    margin-bottom: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Times New Roman', Times, serif;
}

.connect-cards-container {
    display: flex;
    flex-wrap: wrap;       /* Permite que bajen si no caben */
    justify-content: center; /* ESTO CENTRA LAS TARJETAS EN CUALQUIER PANTALLA */
    align-items: stretch;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;        /* Centra el contenedor mismo */
}

/* Enlace que envuelve la tarjeta */
.connect-card-link {
    text-decoration: none;
    display: flex;         /* Importante para que el centro funcione */
    justify-content: center; 
}

.connect-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 320px;          /* Ancho fijo para mantener simetría */
    max-width: 90vw;       /* Evita que se salga en pantallas muy pequeñas */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- IMÁGENES IGUALES Y RESPONSIVE --- */
.connect-card img {
    width: 100%;
    height: 200px;         /* Todas miden lo mismo de alto */
    object-fit: cover;     /* No se deforman */
    border-radius: 10px;
    margin-bottom: 15px;
}

.connect-card p {
    font-size: 1.3em;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* --- EFECTOS --- */
.connect-card-link:hover .connect-card {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* --- AJUSTE CELULAR --- */
@media (max-width: 480px) {
    .connect-section {
        padding: 80px 10px;
    }
    
    .connect-cards-container {
        gap: 25px; /* Espacio vertical entre tarjetas apiladas */
    }

    .connect-card {
        width: 100%;       /* En móvil usa el ancho disponible */
        max-width: 300px;  /* Pero no más de 300px para que no se vea gigante */
    }
}


/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN TANGO EN LÍNEA (#TANGO_EN_LINEA) */
/* ------------------------------------- */
.online-tango-section {
    /* Fondo de Imagen: usando la imagen subida */
    background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("img/CASA-TANGO\ \(21\).png");
    background-size: cover;
    background-position: center 20%; 
    background-attachment: fixed;
    min-height: 100vh; /* Ocupa toda la altura */
    
    /* Centrado del Contenido */
    display: flex;
    justify-content:left; /* CLAVE: ALINEAR A LA IZQUIERDA HORIZONTALMENTE */
    align-items:self-start; /* Centra verticalmente */
    flex-direction: column; 
    
    /* Añadimos un padding lateral para que el contenido no toque el borde */
    padding: 20px 5%; /* Padding lateral */
}

.tango-online-content {
    max-width: 600px; /* Reducimos el ancho para que parezca una columna de texto */
    padding: 20px;
    
    /* CLAVE: Alineamos el texto dentro del contenedor a la izquierda */
    text-align: left; 
    
    /* Ajustamos el margen para centrar verticalmente sin que se pierda con el padding */
    width: 100%;
    margin-top: 15vh; /* Empuja el contenido un poco hacia abajo del header fijo */
}

.titulo-tango{
    font-size: 12em;
    margin-bottom:10px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    font-family:'Times New Roman', Times, serif;

}

.tango-online-content h3 {
    font-size: 4em; 
    margin-bottom: 10px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.tango-online-content h3 .online-word {
    color: #ff0000; /* Color de acento rojo como en el botón de reserva */
    display: inline; /* CLAVE: Cambiamos a inline para que "LÍNEA" siga a "EN" */
    font-size: 1em; /* Ajustamos el tamaño relativo */
    margin-left: 10px;
}

.tango-online-content .subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Responsividad para TANGO EN LÍNEA */
@media (max-width: 768px) {
    .tango-online-content h2 {
        font-size: 3em; 
    }
    .tango-online-content h2 .online-word {
        font-size: 1.1em;
    }
    .tango-online-content .subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .action-button a {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* --- Estilos de la Modal e Interactividad --- */
/* --- Ventana Modal y Fondo --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
}

.modal-card {
    background: #fff;
    width: 90%;
    max-width: 420px;
    margin: 8vh auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-decoration {
    height: 8px;
    background: linear-gradient(90deg, #2d8cff, #0eac5c);
}

.modal-body { padding: 40px 30px; text-align: center; }

/* Indicador Live Parpadeante */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f0;
    color: #ff4d4d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.dot {
    width: 8px; height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
}

/* Inputs Animados */
.input-box { position: relative; margin-top: 30px; }

.input-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #eee;
    outline: none;
    background: transparent;
}

.input-box label {
    position: absolute;
    top: 10px; left: 0;
    color: #999;
    pointer-events: none;
    transition: 0.3s;
}

/* Animación de etiqueta flotante */
.input-box input:focus ~ label,
.input-box input:valid ~ label,
.active-label {
    top: -20px !important;
    font-size: 0.8rem !important;
    color: #2d8cff !important;
    font-weight: bold;
}

.input-box .line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #2d8cff;
    transition: 0.4s;
}

.input-box input:focus ~ .line { width: 100%; }

.time-info {
    margin: 25px 0;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    border: 1px dashed #2d8cff;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #0eac5c;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #0d9650;
    transform: translateY(-2px);
}

/* FIN DE LA VENTANA MODAL INTERACTIVA */


/* Responsividad para la sección de conectar */
@media (max-width: 992px) {
    .connect-title {
        font-size: 2.5em;
        margin-bottom: 40px;
    }

    .connect-cards-container {
        gap: 30px;
    }

    .connect-card {
        width: 45%; /* Dos tarjetas por fila en tabletas */
    }
}

@media (max-width: 768px) {
    .connect-section {
        padding: 60px 15px;
        padding-top: 100px; /* Ajuste para el header fijo en móvil */
    }

    .connect-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .connect-cards-container {
        gap: 20px;
    }

    .connect-card {
        width: 80%; /* Una tarjeta por fila en móviles */
        max-width: 300px;
    }

    .connect-card img {
        margin-bottom: 15px;
    }

    .connect-card p {
        font-size: 1.1em;
    }
}

/* ----------------------------------- */
/* RESPONSIVIDAD (MÓVIL) - Media Query */
/* ----------------------------------- */

@media (max-width: 768px) {
    
    .main-header {
        display: grid;
        grid-template-columns: 1fr auto; 
        padding: 15px 20px;
    }
    
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: white;
        font-size: 2em;
        cursor: pointer;
        line-height: 1; 
        outline: none; 
    }

    .main-nav {
        grid-column: 1 / 3; 
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .main-nav.open {
        max-height: 300px; 
        padding-top: 10px;
    }

    .main-nav ul {
        flex-direction: column; 
    }

    .main-nav li {
        margin: 5px 0; 
        text-align: center;
    }
    
    .main-nav a {
        display: block; 
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .my-company-logo {
        height: 50px;
    }

    /* Ajuste de Texto de Portada en móvil */
    .presentacion {
        margin-top: 50px; /* Menos margen arriba en móvil */
    }
    .presentacion h2 {
        font-size: 2em;
    }
    .presentacion .bienvenida {
        font-size: 1.2em;
    }

    /* AJUSTE PARA SECCIÓN 3 EN MÓVIL */
    #section3 {
        justify-content: center; /* Centrar el contenido verticalmente en móvil */
        text-align: center;
        padding: 0 20px;
    }
    .presentacion-derecha {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto; /* Centra el contenedor en móvil */
        text-align: center;
    }
    .presentacion-derecha h2 {
        font-size: 2.5em;
    }
    .presentacion-derecha .descripcion-subtitulo {
        font-size: 1.2em;
    }
}


/* ------------------------------------- */
/* 🌟 ESTILOS DE ICONOS DE REDES SOCIALES (FONT AWESOME) 🌟 */
/* ------------------------------------- */
.social-icons {
    margin-top: 20px; /* Espacio encima de los iconos */
    margin-bottom: 30px; /* Espacio debajo de los iconos, antes del botón */
    display: flex;
    justify-content: center; /* Centra los iconos horizontalmente */
    gap: 20px; /* Espacio entre los iconos */
}

.social-icons a {
    transition: transform 0.3s ease;
    outline: none; 
}

.social-icons a:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05); /* Sutil cambio en el hover */
}

.social-icons a i {
    /* Estilo del icono (i) */
    font-size: 24px; /* Tamaño del icono */
    width: 40px; 
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; 
    background-color: rgba(255, 255, 255, 0.2); 
    color: white; /* Color del icono */
    outline: none; 
}


/* Adaptación para pantallas más pequeñas */
@media (max-width: 768px) {
    .social-icons {
        gap: 15px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .social-icons a i {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}
/* ------------------------------------- */
/* 🌟 FIN ESTILOS DE REDES SOCIALES 🌟 */
/* ------------------------------------- */


/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN EQUIPO (#EQUIPO)*/
/* ------------------------------------- */

.equipo-section {
    /* La altura debe ser automática, no fija a 100vh */
    min-height: 80vh; 
    background-color: #ff000000; /* Fondo gris claro de la imagen */
    padding: 100px 20px;
    padding-top: 140px; /* Ajuste para el encabezado fijo */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.equipo-title {
    font-size: 4em;
    color: #000000;
    margin-bottom: 60px;
    font-weight: 900; /* Asegura un texto grueso como en la imagen */
    text-transform: uppercase;
     font-family: 'Times New Roman', Times, serif;
}

.equipo-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinea los miembros en la parte superior */
    gap: 200px; /* Espacio entre los miembros */
    max-width: 1000px;
    width: 100%;
}

.equipo-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 250px; /* Ancho fijo para cada columna */
}

/* Estilos para el enlace que contiene la imagen y el nombre */
.member-link {
    text-decoration: none; /* Quita el subrayado del enlace */
    color: inherit; /* Hereda el color del texto */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease; /* Transición sutil al hacer hover */
}

.member-link:hover {
    opacity: 0.8;
}

.member-image {
    width: 400px; /* Tamaño de la imagen circular */
    height: 400px;
    border-radius: 50%; /* Hace la imagen circular */
    object-fit: cover; /* Asegura que la imagen cubra el círculo */
    margin-bottom: 15px;
    /* Línea del filtro BLANCO Y NEGRO ELIMINADA aquí */
    transition: filter 0.3s ease; 
}

.member-link:hover .member-image {
    /* Línea CAMBIADA para que se ponga en BLANCO Y NEGRO al pasar el ratón */
    filter: grayscale(100%); 
}
.member-name {
    font-size: 2.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 5px;
}

.member-role {
    font-size: 2.1em;
    color: #fe0000;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .equipo-section {
        padding: 80px 20px;
        padding-top: 100px;
    }

    .equipo-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .equipo-container {
        flex-direction: column; /* Apila los miembros verticalmente */
        gap: 50px;
    }

    .equipo-member {
        width: 100%;
    }
}





/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN ÚLTIMAS CLASES (#ultimas-clases) */
/* ------------------------------------- */

.ultimas-clases-section {
    padding: 80px 20px;
    padding-top: 100px;
    background-color: #c91919; /* Fondo blanco */
    text-align: center;
}

.section-title {
    font-size: 6em;
    color: #ffffff;
    margin-bottom: 50px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Times New Roman', Times, serif;
}

.header-clases {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 10px;
}

.subtitle-clases {
    font-size: 2.2em;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
}

.ver-mas-link {
    font-size: 0.9em;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.ver-mas-link:hover {
    color: #000000;
    text-decoration: underline;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permite envolver las tarjetas en móvil */
}

.video-card-link {
    text-decoration: none;
    color: inherit;
    width: 280px; /* Ancho fijo para cada tarjeta (similar a la imagen) */
    display: block;
    transition: transform 0.3s ease;
}

.video-card-link:hover {
    transform: translateY(-5px);
}

.video-card {
    background-color: #000000; /* Fondo negro como en el ejemplo */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    height: 100%; /* Ocupa la altura completa del enlace */
}

.video-thumbnail {
    width: 100%;
    height: 150px; /* Altura de la miniatura */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.play-icon {
    font-size: 3em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.video-card-link:hover .play-icon {
    color: #ff0000; /* Icono rojo al pasar el ratón */
}

.video-info {
    padding: 15px;
    text-align: left;
    color: white;
}

.video-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.3;
}

.video-desc {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 15px;
}

/* Metadata (Autor y Fecha) */
.meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #aaa;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.speaker {
    display: flex;
    align-items: center;
}

.speaker-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.date i {
    margin-right: 5px;
    color: #ff0000;
}

/* Responsividad para la nueva sección */
@media (max-width: 900px) {
    .cards-container {
        gap: 15px;
    }
    .video-card-link {
        width: 45%; /* Dos tarjetas por fila */
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 3.2em;

    }
    .header-clases {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .subtitle-clases {
        font-size: 1em;
    }
    .video-card-link {
        width: 90%; /* Una tarjeta por fila en móvil */
        max-width: 350px;
    }
}










/* ------------------------------------- */
/* ESTILOS DE LA SECCIÓN CONTACTO (#contacto)*/
/* ------------------------------------- */

.contacto-section {
    background-color: #f7f7f7; /* Fondo gris muy claro */
    padding: 100px 20px;
    padding-top: 120px; /* Ajuste para el header fijo */
    text-align: center;
    
}

.contacto-content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    text-align: left;
   
}

.contacto-info{
    margin-top: 70px;
}

.contacto-title {
    font-size: 3em;
    color: #ff0000;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
}

.contacto-subtitle {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 300;
    text-align: left;
}

/* Columna de Información */
.contacto-info {
    flex: 1; /* Ocupa el 50% en escritorio */
    padding-right: 20px;
}

.info-details {
    margin-bottom: 30px;
    padding: 15px;
    border-left: 5px solid #ff0000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-details h3 {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 8px;
}

.info-details p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.info-details a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
}
.info-details a:hover {
    text-decoration: underline;
}

/* Columna de Mapa y Formulario */
.contacto-map-form {
    flex: 1; /* Ocupa el 50% en escritorio */
     margin-top: 70px;
}

/* Estilos del Mapa */
.map-container {
    height: 300px; /* Altura fija para el mapa */
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 8px;
}

/* Estilos del Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.submit-button {
    background-color: #ff0000;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #c0392b;
}

.form-note {
    font-size: 0.9em;
    color: #777;
    text-align: center;
}




















/* =========================================
   SECCIÓN NOSOTROS - CASA TANGO
   ========================================= */

:root {
    --rojo-tango: #b30000;
    --dorado-tango: #d4af37;
    --negro-fondo: #0b0b0b;
    --blanco: #ffffff;
    --gris-texto: #e0e0e0;
}
#maestros-slider{
    margin-bottom: 0;
    padding-bottom: 0;
}

.seccion-tango {
    padding: 100px 0;
    background-color: var(--negro-fondo);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--blanco);
    overflow: hidden;
}

.container-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
     font-family: 'Times New Roman', Times, serif;
}

.container-title h2 {
    font-size: clamp(2rem, 5vw, 3rem); /* Tamaño fluido */
    color: var(--dorado-tango);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.container-title p {
    color: #888;
    font-size: 2.1rem;
    max-width: 700px;
    margin: 0 auto;

}

/* =========================================
   CONTENEDOR DEL SLIDER
   ========================================= */

.slider-container {
    display: flex;
    width: 99%;
    max-width: 1800px;
    height: 600px;
    gap: 12px;
    margin: 0 auto 100px auto;
    align-items: stretch;
}

.slide {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    /* Al poner muchas imágenes, flex: 0.5 permite que quepan más */
    flex: 0.5; 
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.4, 0.45, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Capa oscura para legibilidad del texto */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* Al estar activa, la tarjeta se expande */
.slide.active {
    flex: 6; 
    border: 1px solid rgba(212, 175, 55, 0.3); /* Brillo dorado sutil */
}

/* Ocultar brillo extra en las no activas */
.slide:not(.active):hover {
    flex: 0.7;
}

/* =========================================
   CONTENIDO INTERNO (TEXTO)
   ========================================= */

.content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease 0.3s; /* Aparece con retraso */
    white-space: nowrap; /* Evita saltos de línea raros al expandirse */
}

.slide.active .content {
    opacity: 1;
    transform: translateX(0);
}

.text span {
    background: var(--rojo-tango);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.text h2 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    margin: 0 0 12px 0;
    color: var(--blanco);
    font-weight: 700;
}

.text p {
    font-size: 1.1rem;
    color: var(--gris-texto);
    max-width: 550px;
    line-height: 1.4;
    white-space: normal; /* El párrafo si puede romper línea */
}

/* =========================================
   RESPONSIVE (MÓVILES)
   ========================================= */

/* Para Tablets o Laptops pequeñas */
@media (max-width: 1024px) {
    .slider-container {
        height: 500px;
        width: 95%;
    }
}

/* Para Móviles */
@media (max-width: 600px) {
    .slider-container {
        flex-direction: column; /* Cambia a vertical */
        height: 80vh;           /* Un alto cómodo para scroll */
        width: 92%;             /* Un poco más de margen a los lados */
        gap: 8px;
    }

    .slide {
        flex: 1;                /* Todas miden igual al estar cerradas */
        width: 100%;
        border-radius: 15px;    /* Bordes más pequeños en móvil se ven mejor */
    }

    .slide.active {
        flex: 5;                /* La activa se expande hacia abajo */
    }

    .content {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .text h2 {
        font-size: 1.5rem;      /* Título más pequeño para que no se corte */
    }
}

















/* =========================================
   SECCIÓN NOSOTROS - CASA TANGO
   ========================================= */

:root {
    --rojo-tango: #b30000;
    --dorado-tango: #d4af37;
    --negro-fondo: #0b0b0b;
    --blanco: #ffffff;
    --gris-texto: #e0e0e0;
}

#maestros-slider2{
    margin-top:0;
    padding-top: 0;

}

.seccion-tango2 {
    padding: 100px 0;
    background-color: var(--negro-fondo);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--blanco);
    overflow: hidden;
    
}

.container-title2 {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.container-title2 h2 {
    font-size: clamp(2rem, 5vw, 3rem); /* Tamaño fluido */
    color: var(--dorado-tango);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.container-title2 p {
    color: #888;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   CONTENEDOR DEL SLIDER
   ========================================= */

.slider-container2 {
    display: flex;
    width: 95%;
    max-width: 1400px;
    height: 600px;
    gap: 12px;
    margin: 0 auto;
    align-items: stretch;
}

.slide2 {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    /* Al poner muchas imágenes, flex: 0.5 permite que quepan más */
    flex: 0.5; 
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.4, 0.45, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Capa oscura para legibilidad del texto */
.slide2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* Al estar activa, la tarjeta se expande */
.slide2.active {
    flex: 6; 
    border: 1px solid rgba(212, 175, 55, 0.3); /* Brillo dorado sutil */
}

/* Ocultar brillo extra en las no activas */
.slide2:not(.active):hover {
    flex: 0.7;
}

/* =========================================
   CONTENIDO INTERNO (TEXTO)
   ========================================= */

.content2 {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease 0.3s; /* Aparece con retraso */
    white-space: nowrap; /* Evita saltos de línea raros al expandirse */
}

.slide2.active .content2 {
    opacity: 1;
    transform: translateX(0);
}

.text2 span {
    background: var(--rojo-tango);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.text2 h2 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    margin: 0 0 12px 0;
    color: var(--blanco);
    font-weight: 700;
}

.text2 p {
    font-size: 1.1rem;
    color: var(--gris-texto);
    max-width: 550px;
    line-height: 1.4;
    white-space: normal; /* El párrafo si puede romper línea */
}

/* =========================================
   RESPONSIVE (MÓVILES)
   ========================================= */

@media (max-width: 900px) {
    .slider-container2 {
        height: 700px;
    }
}

@media (max-width: 600px) {
    .slider-container2 {
        flex-direction: column; /* Se apilan verticalmente */
        height: 1200px; /* Más alto para que quepan todas */
        gap: 15px;
    }
    
    .slide2 {
        flex: 1;
        width: 100%;
        min-height: 100px;
    }

    .slide.active2 {
        flex: 5;
    }

    .content2 {
        bottom: 20px;
        left: 20px;
    }

    .text2 h2 {
        font-size: 1.8rem;
    }
}









































/* Responsividad para móviles (Apilar elementos) */
@media (max-width: 992px) {
    .contacto-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contacto-info {
        padding-right: 0;
    }

    .contacto-title, .contacto-subtitle, .info-details h3, .info-details p {
        text-align: center; /* Centrar todo el texto en móvil */
    }

    .info-details {
        border-left: none; /* Quitar la línea de la izquierda en móvil */
        border-top: 5px solid #ff0000; /* Poner la línea arriba para separar */
    }
}