/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #060d1a; /* Azul marino profundo */
    --bg-navy: #0a192f; /* Azul marino base */
    --gold: #d4af37;    /* Dorado primario */
    --gold-light: #f3e5ab; /* Dorado claro para destellos */
    --glass-bg: rgba(10, 25, 47, 0.45); /* Base translúcida para efecto cristal */
    --glass-border: rgba(212, 175, 55, 0.25); /* Borde dorado ultra fino */
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Clases reutilizables para Liquid Glass */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ==========================================================================
   NAVBAR (HEADER)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 13, 26, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; /* Tamaño controlado del logo */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--gold);
}

/* Subrayado animado dorado */
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Menú hamburguesa (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 3px;
    transition: 0.3s;
}

/* ==========================================================================
   WELCOME BANNER (VIDEO CONTAINER)
   ========================================================================== */
.welcomecontainer {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
}

.backgroundvideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.backgroundvideo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1); /* Oscurece el video para legibilidad */
}

.welcomebox {
    text-align: center;
    padding: 50px 40px;
    max-width: 800px;
    animation: fadeIn 1.5s ease-out;
}

.welcomebox h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--text-white);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcomebox p {
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
}

/* ==========================================================================
   ROTATING CONTINOUS GALLERY (INFINITE INFINITE ROTATION)
   ========================================================================== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-navy));
}

.section-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.gallery-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

/* Difuminadores laterales para simular profundidad de cristal */
.gallery-wrapper::before, .gallery-wrapper::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}
.gallery-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.gallery-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-navy), transparent); }

.gallery-track {
    display: flex;
    width: calc(250px * 9 + 40px * 9);
    gap: 40px;
    animation: rotateGallery 25s linear infinite;
}

.gallery-item {
    width: 250px;
    height: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(212, 175, 55, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    border-radius: 8px;
    filter: saturate(0.8);
}

.gallery-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
}

/* ==========================================================================
   CONTAINER 2 (GUARANTEE & YOUTUBE VIDEOS)
   ========================================================================== */
.container2 {
    max-width: 1100px;
    margin: 40px auto;
    padding: 50px 40px;
    text-align: center;
}

.container2 h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.guarantee-text {
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.05rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   CONTAINER 3 (MISSION & SERVICES LIST)
   ========================================================================== */
.container3 {
    max-width: 900px;
    margin: 60px auto;
    padding: 50px 40px;
}

.container3 h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.container3 img {
    max-width: 100%;
    height: auto;
    display: block; /* Elimina un pequeño espacio en blanco que las imágenes dejan abajo */
    margin: 20px auto 0 auto; /* Opcional: para centrarla y darle espacio arriba */
}

.mission-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-white);
}

.services-list {
    list-style: none;
    max-width: 500px;
    margin: 0 auto 35px auto;
}

.services-list li {
    font-size: 1.05rem;
    padding: 12px 15px 12px 40px;
    margin-bottom: 12px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    transition: background 0.3s;
}

.services-list li:hover {
    background: rgba(212, 175, 55, 0.08);
}

/* Icono personalizado dorado para los elementos de lista */
.services-list li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--gold);
    font-weight: bold;
}

.mission-footer {
    font-style: italic;
    color: var(--text-gray);
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 25px;
}

/* ==========================================================================
   WELCOME CONTAINER 2 (PANORÁMICO DE ESQUINA A ESQUINA)
   ========================================================================== */
.welcomecontainer2 {
    position: relative;
    width: 100%;              /* Ocupa el 100% del ancho de la pantalla */
    height: 480px;            /* Altura fija para forzar el aspecto panorámico */
    margin: 70px 0 0 0;       /* Empieza justo abajo de la Navbar fija (sin márgenes laterales) */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3); /* Línea dorada sutil solo abajo */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.backgroundvideo2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.backgroundvideo2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Cubre todo el ancho panorámico sin deformarse */
    filter: brightness(0.35) contrast(1.1) saturate(0.8);
}

.welcomebox2 {
    text-align: center;
    padding: 40px 60px;
    max-width: 800px;
    width: 90%;
    /* Mantiene el efecto Liquid Glass translúcido */
}

.welcomebox2 h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: var(--text-white);
    letter-spacing: 3px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 60%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcomebox2 p {
    font-size: 1.1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
}



@media (max-width: 768px) {
    .video-card {
        flex: 0 0 100%; /* Pasa a pantalla completa en dispositivos móviles */
    }
}



/* Contenedor Exterior */
.slideshow-wrapper {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* Enmascaramiento de elementos sobrantes */
.slideshow-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

/* Pista de deslizamiento */
.slideshow-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Configuración de items individuales */
.slide-item {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

/* Caja de relación de aspecto 16:9 premium */
.video-responsive-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #000000;
}

.video-responsive-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 25px 0 10px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Estilización premium de las flechas flotantes */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    font-size: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-btn:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

@media (max-width: 600px) {
    .slideshow-wrapper { padding: 0 40px; }
    .slide-btn { width: 36px; height: 36px; font-size: 1.1rem; }
    .slide-item h4 { font-size: 0.95rem; }
}

/* ==========================================================================
   RESPONSIVE PARA MÓVILES
   ========================================================================== */
@media (max-width: 768px) {
    .welcomecontainer2 {
        height: 340px;        /* Más compacto en celulares, manteniendo el formato de franja */
        margin-top: 70px;     /* Ajuste con la Navbar móvil */
    }

    .welcomebox2 {
        padding: 25px 20px;
    }

    .welcomebox2 h1 {
        font-size: 1.7rem;
        letter-spacing: 1px;
    }

    .welcomebox2 p {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}
/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA LA PÁGINA DE NEWS
   ========================================================================== */

/* Ajuste de títulos secundarios dentro de la sección de descargas */
.container3 p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-white);
    margin-top: 25px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* El primer subtítulo no necesita tanto espacio arriba */
.container3 h3 + p {
    margin-top: 15px;
}

/* Estilizado de los enlaces como botones Liquid Glass Premium */
.container3 a {
    display: inline-block;
    padding: 12px 24px;
    margin-bottom: 15px;
    color: var(--gold);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    
    /* Efecto cristal en el botón */
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Efecto Hover interactivo */
.container3 a:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

/* Ajuste para el texto descriptivo del New World Order */
.container3 p:not([class]) {
    font-weight: 300;
    color: var(--text-gray);
    text-transform: none;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

/* Contenedor responsivo para el Iframe de YouTube */
.container3 iframe {
    display: block;
    width: 100%;
    max-width: 720px; /* Tamaño ideal centrado */
    height: 405px;    /* Relación de aspecto 16:9 automática */
    margin: 20px auto 0 auto;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

/* ==========================================================================
   RESPONSIVE PARA TELÉFONOS (NEWS)
   ========================================================================== */
@media (max-width: 768px) {
    .container3 a {
        display: block; /* Ocupa todo el ancho en móviles para facilitar el touch */
        text-align: center;
        font-size: 0.85rem;
        padding: 14px 15px;
    }
    
    .container3 iframe {
        height: 240px; /* Altura más cómoda para pantallas de celular */
    }
}

/* ==========================================================================
   VISOR DE IFRAMES PDF (DOS COLUMNAS)
   ========================================================================== */
.pdf-container-news {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.pdf-container-news h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pdf-container-news .section-desc {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 30px;
    text-transform: none !important;
    font-weight: 300 !important;
}



/* Grid que alinea los dos PDFs juntos en horizontal */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
    gap: 30px; /* Espacio entre las tarjetas */
}


.pdf-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pdf-card h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-left: 3px solid var(--gold);
    padding-left: 10px;
    margin: 0;
}

/* Contenedor responsivo 4:3 para los visores de PDF */
.iframe-wrapper {
    position: relative;
    padding-bottom: 125px; /* Controla la altura base */
    height: 500px;         /* Altura ideal para leer PDFs en desktop */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.container-ancho {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    max-width: 1350px; /* Aumentamos el ancho máximo para dar más espacio horizontal */
    width: 92%;        /* Margen de seguridad dinámico para laptops */
    margin-left: auto;
    margin-right: auto;
}
/* Configuración de la cuadrícula de socios */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin: 30px 0;
    align-items: start;
}

/* Tarjeta individual de cada socio */
.socios-card {
    padding: 40px 25px;
    border-radius: 14px;
    text-align: left; /* Alineación limpia para textos largos */
    box-sizing: border-box;
}

/* Títulos y subtítulos dentro de la tarjeta */
.socios-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    color: #ffffff;
    letter-spacing: 1px;
}

.socios-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #d4af37; /* Color dorado sutil para resaltar su profesión */
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* Imagen del socio */
.socios-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto 25px auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Párrafos de descripción para que no se vean apachurrados */
.socios-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7; /* Espaciado de línea cómodo para lectura */
    margin-bottom: 18px;
}

/* Listas de habilidades y logros */
.skills-title {
    font-weight: 600 !important;
    margin-top: 25px;
    margin-bottom: 10px !important;
}

.socios-skills {
    list-style-type: none; /* Quitamos la viñeta genérica */
    padding-left: 0;
    margin-bottom: 25px;
}

.socios-skills li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

/* Viñeta elegante personalizada */
.socios-skills li::before {
    content: "•";
    color: #d4af37; /* Dorado en combinación con tu paleta */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Bloque de cita final (Frase de Gilberto) */
.socios-quote {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    border-left: 3px solid #d4af37;
    padding-left: 15px;
    margin: 30px 0 10px 0;
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE PARA TELÉFONOS
   ========================================================================== */
@media (max-width: 900px) {
    .pdf-grid {
        grid-template-columns: 1fr; /* Cambia a una sola columna en pantallas medianas/chicas */
        gap: 20px;
    }
    
    .iframe-wrapper {
        height: 400px; /* Reduce ligeramente la altura en celulares para mejor navegación */
    }
}

/* Contenedor general del bloque del formulario */
.form-container {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    box-sizing: border-box;
}

.form-header {
    text-align: left;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 20px;
}

.form-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.form-header .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Tarjetas individuales simulando los bloques independientes de Google Forms */
.input-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.input-card label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

/* Campos de entrada de texto estructurados como línea inferior */
.input-card input[type="text"],
.input-card input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    padding: 8px 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-card input:focus {
    border-bottom: 2px solid #ffffff;
}

/* Contenedores de Checkbox */
.checkbox-group-title {
    margin-bottom: 18px !important;
}

.checkbox-option {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #2c3e50;
}

.checkbox-option label {
    display: inline;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Configuración de la línea horizontal continua para "Otros" */
.other-option {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.inline-text {
    flex: 1;
    min-width: 150px;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 2px 0 !important;
}

/* Botón de envío */
.btn-submit {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}



/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #040912;
    padding: 60px 20px 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-content p {
    margin: 8px 0;
    font-size: 1rem;
}

.footer-content .phone,
.footer-content .email {
    color: var(--text-white);
    font-weight: 500;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto 15px auto;
    padding: 12px 18px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(18, 140, 126, 0.45);
}

.whatsapp-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.whatsapp-button small {
    font-size: 0.78rem;
    opacity: 0.9;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-line {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 30px auto;
    opacity: 0.5;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.85rem !important;
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-290px * 6)); } /* Mueve exactamente el ancho de 6 elementos + gap */
}

/* Responsividad para Tables y Mobiles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(6, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        transition: left 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .welcomebox h1 {
        font-size: 2rem;
    }

    .welcomebox p {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .video-grid {
        grid-template-columns: 1fr; /* Una columna para videos en pantallas chicas */
    }

    .container2, .container3 {
        margin: 20px 15px;
        padding: 30px 20px;
    }
}

