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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ============================================================
   HEADER (Deep Navy Fijo)
   ============================================================ */
header {
    background-color: #0b1a30; 
    padding: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: center; /* Centrado para escritorio */
    align-items: center;
    height: 70px;
    position: relative;
}

/* Marca centrada solo para móviles */
.nav-brand-mobile {
    display: none;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    padding: 10px;
    line-height: 1;
    position: absolute;
    right: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin: 0 15px; }

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 0;
    display: inline-block;
    transition: color 0.3s;
}

nav ul li a:hover { color: #00bcd4; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    height: 100vh;
    background: url('images/andes-sunset.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    margin-bottom: 10px;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    min-height: 1.6em;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background: #0056b3;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 0.9rem;
}

/* ============================================================
   ITINERARY BLOCKS
   ============================================================ */
.tour-block {
    height: 70vh;
    min-height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.block-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.block-content {
    position: relative;
    z-index: 1;
}

.block-label {
    display: inline-block;
    background: #195BB8;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 12px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.block-content h2 {
    color: #fff !important;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.block-content p {
    color: rgba(255,255,255,0.92) !important;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 650px;
}

.block-portillo  { background-image: url('images/portillo-lake.jpg'); }
.block-ruta      { background-image: url('images/lonquimay-volcano.jpg'); }
.block-sur       { background-image: url('images/villarrica-summit.jpg'); }
.block-heliski   { background-image: url('images/helicopter-peak.jpg'); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 80px 0;
    background: #f4f8fb;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-top: 4px solid #e8f0f8;
}

.feature-card h3 { color: #1a1a2e; font-size: 1rem; margin-bottom: 15px; }
.feature-card p, .not-included-list { color: #555; font-size: 0.9rem; }
.feature-icon { font-size: 2rem; margin-bottom: 15px; display: block; }

/* Tarjeta de Precio */
.highlight-card {
    background: #195BB8;
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.highlight-card .bg-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 70px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.highlight-card h3, .highlight-card p, .highlight-card .limited-text {
    color: #fff !important;
}

.whatsapp-btn {
    background: #4A9C53;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.wa-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { padding: 80px 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 48px;
    cursor: pointer;
    line-height: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: #f9f9f9;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #777;
    text-align: center; /* */
}

/* ============================================================
   RESPONSIVIDAD (MEDIA QUERIES)
   ============================================================ */

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: center; /* Centra la marca */
        height: 90px; /* Header más grande solicitado */
        padding: 0 5%;
    }

    .nav-brand-mobile {
        display: block; /* Marca visible en móviles */
        text-align: center;
    }

    .nav-toggle {
        display: block;
        position: absolute; 
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    #main-nav {
        display: none;
        width: 100%;
        background-color: #0b1a30;
        position: absolute;
        top: 90px; /* Alineado al nuevo header */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    }

    #main-nav.open { display: block; }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li { margin: 12px 0; }

    .tour-block {
        background-attachment: scroll; 
        height: auto;
        min-height: 400px;
        padding: 80px 0;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .gallery-grid { grid-template-columns: 1fr; }
}