/* Paleta de colores ETN / San Marcos */
:root {
    --bg-dark: #f4f4f4;    
    --txt-gold: #ffc845;   
    --txt-teal: #00889c;   
    --accent-blue: #0099ff;
    --pure-white: #002e5b;
    --gray-light: #002e5b;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--pure-white);
}

.container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.general-container {
    padding-top: 170px; /* Espacio para el header */
    display: block;
}

.section-principal {
    margin: 0 auto;
    width: 100%;
}

.center {
    text-align: center;
}

/* --- GRID INTRODUCCIÓN --- */
.intro-grid {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 0 auto 80px auto;
    align-items: center;
}

.intro-text h2 {
    font-style: italic;
    color: #000;
    font-size: 2rem;
    margin-top: 0;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.intro-visual {
    text-align: center;
}

.intro-visual img {
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 10px 10px 0px rgba(0, 46, 91, 1);
}

/* --- DIVISORES --- */
.section-divider {
    margin: 0 auto 30px auto;
    padding: 0 10px;
}

.section-divider h3 {
    font-size: 2rem;
    color: #000;
    margin: 0;
}

/* --- GRIDS DE CONTENIDO (Destinos, Gastro, etc) --- */
.destinations-grid, 
.vacation-grid {
    display: grid;
    width: 80%;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en desktop */
    gap: 25px;
    margin: 0 auto 70px auto;
}

.dest-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    color: #333;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dest-card:hover {
    transform: translateY(-5px);
}

.dest-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.dest-info {
    padding: 20px;
}

.dest-info h4 { 
    margin: 0 0 10px 0; 
    font-size: 1.2rem; 
    color: #004d99; 
}

.dest-info p, .dest-info li { 
    font-size: 1rem; 
    line-height: 1.5; 
    color: #555; 
}

/* --- SECCIÓN CON COLOR DE FONDO --- */
.bg-color-section {
    background-color: #eef4f9;
    margin: 50px 0;
}

/* --- ACORDEÓN --- */
.footer-info {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin: 50px auto;
    width: 70%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-title {
    text-align: center;
    color: #000;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* --- MEDIA QUERIES PARA ADAPTABILIDAD --- */

/* TABLETS (iPad, laptops pequeñas) */
@media (max-width: 1024px) {
    .destinations-grid, 
    .vacation-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
        width: 90%;
    }
    .intro-grid {
        width: 90%;
        gap: 30px;
    }
}

/* MÓVILES (Celulares) */
@media (max-width: 768px) {
    .general-container {
        padding-top: 100px; /* Reducimos espacio del header en móvil */
    }

    .intro-grid { 
        grid-template-columns: 1fr; /* Una sola columna */
        width: 95%;
        text-align: center;
    }

    .intro-text h2 {
        font-size: 1.6rem;
    }

    .intro-visual img {
        width: 95%; /* Ajuste para no tocar bordes */
        margin: 0 auto;
    }

    .section-divider h3 {
        font-size: 1.5rem;
    }

    .destinations-grid, 
    .vacation-grid { 
        grid-template-columns: 1fr; /* Una sola columna */
        width: 92%;
        gap: 20px;
    }

    .dest-img {
        height: 180px;
    }

    .footer-info {
        width: 90%;
        padding: 20px;
    }

    .info-title {
        font-size: 1.5rem;
    }

    /* Ajuste para video en móvil */
    iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

/* Pantallas Extra Pequeñas */
@media (max-width: 480px) {
    .dest-info h4 {
        font-size: 1.1rem;
    }
    .dest-info p {
        font-size: 0.9rem;
    }
}