/* --- ESTILOS HERO SECTION --- */
.hero-section {
    width: 100%;
    height: 190px; /* Ajustable según necesidad */
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background-color: #ffffff;
    padding: 20px 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 100px;
}

.hero-content h1 {
    margin: 0;
    font-family: 'Playfair Display', serif; /* Tipografía elegante para el título */
    font-size: 48px;
    color: #1a2b3c;
    font-weight: 400;
    
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 992px) {
    .nav-list {
        justify-content: flex-start; /* Alinea al inicio para scroll lateral */
        padding-left: 10px;
    }
    
    .hero-content {
        padding: 15px 40px;
        margin-top: 140px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 200px;
        
    }
    
    .hero-content {
        width: 80%;
        text-align: center;
        padding: 10px 20px;
        margin-top: 160px;
    }
}

/* --- SECCIÓN REUNIONES --- */
.meetings-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.meetings-container {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Imagen y Logo */
.image-wrapper {
    position: relative;
    line-height: 0;
}

.main-meeting-img {
    width: 546px;
    height: 378px;
    height: auto;
    display: block;
}

.overlay-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 70px ;
    width: 141px;
    margin-top: 30px;
    /* Fondo con transparencia blanca para que resalte el logo */
    background-color: rgba(255, 255, 255, 0.7); 
    padding: 15px 25px;
}

.overlay-logo img {
    height: 40px; /* Ajusta este tamaño según tu logo */
    width: 120px;
}

/* Tipografía */
.meetings-title {
    font-family: serif; /* Estilo elegante como la imagen */
    font-size: 2.8rem;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    line-height: 1.1;
}

.meetings-paragraph {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* --- RESPONSIVO PARA MÓVILES --- */
@media (max-width: 992px) {
    .meetings-container {
        grid-template-columns: 1fr; /* Se apila uno arriba del otro */
        gap: 30px;
    }

    .meetings-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .meetings-section {
        padding: 30px 10px;
    }

    .meetings-title {
        font-size: 1.8rem;
    }

    .overlay-logo {
        padding: 10px 15px;
    }

    .overlay-logo img {
        height: 35px;
    }
}

/* Contenedor principal */
.seccion-capacidad {
    width: 100%;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra todo el contenido horizontalmente */
    background-color: #ffffff;
}

.content-wrapper {
    width: 95%;
    /* Limitamos al ancho máximo de tu imagen original para que no se pixele */
    max-width: 2204px; 
    margin: 0 auto;
    text-align: center;
}

/* Estilo del Título */
.titulo-principal {
    font-family: 'Playfair Display', serif; /* Fuente elegante */
    font-size: clamp(1.8rem, 4vw, 3rem); /* Tamaño fluido según la pantalla */
    margin-bottom: 60px;
    color: #333;
    font-weight: 500;
}

/* Contenedor de la Imagen */
.contenedor-imagen {
    width: 100%;
    overflow: hidden; /* Evita desbordamientos accidentales */
}

.imagen-responsiva {
    /* En PC se verá de hasta 2204px de ancho */
    width: 100%; 
    height: auto; /* Mantiene la proporción 2204x1906 */
    display: block;
    margin: 0 auto;
    
    /* Optimización de renderizado para imágenes grandes */
    image-rendering: high-quality;
    transition: transform 0.3s ease;
}

/* Ajustes para Tablets y Móviles */
@media (max-width: 1024px) {
    .seccion-capacidad {
        padding: 30px 10px;
    }
}

@media (max-width: 480px) {
    .titulo-principal {
        margin-bottom: 15px;
    }
    /* Añadimos un poco de suavizado para móviles */
    .imagen-responsiva {
        width: 100%;
    }
}

.capacity-module {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.download-wrapper { border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.download-link { text-decoration: underline; font-weight: bold; font-size: 13px; color: #1a2b48; }

/* ESCRITORIO */
.desktop-view { display: block; overflow-x: auto; }
.capacity-table { width: 100%; border-collapse: collapse; }
.capacity-table th { padding: 10px; font-size: 13px; vertical-align: bottom; }
.capacity-table th img { display: block; margin: 0 auto 10px; height: 40px; }
.capacity-table td { padding: 15px 5px; text-align: center; border: none; font-size: 14px; }
.total-row { font-weight: bold; }

/* MÓVIL */
.mobile-view { display: none; }
.select-container { border: 1px solid #ccc; margin-top: 5px; }
.select-container select { width: 100%; padding: 12px; border: none; font-size: 16px; }

.montaje-title { margin: 25px 0; font-size: 18px; font-weight: bold; }

/* CONFIGURACIÓN DE 4 EN 4 */
.montaje-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 4 columnas exactas */
    gap: 15px 5px; /* Espacio entre items */
    text-align: center; 
}

.montaje-item img { width: 100%; max-width: 50px; height: auto; margin-bottom: 5px; }
.montaje-item .name { font-weight: bold; margin: 0; font-size: 11px; }
.montaje-item .pax { color: #666; font-size: 10px; margin: 2px 0; white-space: nowrap; }

.extra-info { margin-top: 20px; border-top: 1px solid #eee; padding-top: 15px; }
.download-link-mobile { display: block; margin-top: 25px; font-weight: bold; text-decoration: underline; color: #1a2b48; }

@media (max-width: 991px) {
    .desktop-view { display: none; }
    .mobile-view { display: block; }
}

/* Ajuste extra para pantallas muy pequeñas */
@media (max-width: 400px) {
    .montaje-item .name { font-size: 9px; }
    .montaje-item .pax { font-size: 8px; }
}