:root {
    --navy-dark: #0D1F2D;
    --navy-footer: #0B1B27;
    --green-primary: #529B26;
    --green-hover: #43811E;
    --green-accent: #8BC34A;
    --paper-bg: #EFECE6;
    --text-dark: #1E252B;
    --text-muted: #4A5560;
    --white: #FFFFFF;
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--navy-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

body.intro-active {
    overflow: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= INTRO SPLASH SCREEN ================= */
.intro-splash {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #060E14;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.intro-splash.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-controls {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.intro-btn-skip {
    background: rgba(82, 155, 38, 0.85);
    color: var(--white);
    border: 1px solid var(--green-accent);
    backdrop-filter: blur(6px);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.intro-btn-skip:hover {
    background: var(--green-hover);
}

/* ================= NAVBAR ================= */
.navbar {
    background-color: var(--navy-dark);
    height: 82px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.brand-logo {
    width: 68px;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

.nav-divider {
    width: 1px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.25);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--green-accent);
}

.btn-whatsapp {
    background-color: var(--green-primary);
    color: var(--white);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.25s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: var(--green-hover);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    min-height: 540px;
    background: url('../assets/img/hero-bg.svg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 27, 39, 0.72) 0%, rgba(11, 27, 39, 0.35) 55%, rgba(11, 27, 39, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-box {
    max-width: 530px;
    color: var(--white);
}

.hero-text-box h1 {
    font-family: var(--font-serif);
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.green-accent-line {
    width: 95px;
    height: 3px;
    background-color: var(--green-accent);
    margin-bottom: 18px;
    border-radius: 2px;
}

.hero-text-box p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 28px;
    max-width: 440px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--green-primary);
    color: var(--white);
    border: 1px solid var(--green-primary);
}

.btn-primary:hover {
    background-color: var(--green-hover);
    border-color: var(--green-hover);
}

.btn-outline {
    background-color: rgba(13, 31, 45, 0.45);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

/* ================= FAJA DE DIFERENCIALES (PAPEL RASGADO) ================= */
.features-strip {
    position: relative;
    background-color: var(--paper-bg);
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 16px 16px;
    padding: 46px 0;
    z-index: 5;
    margin-top: -14px;
    margin-bottom: -14px;
    clip-path: polygon(
        0% 4%, 6% 1%, 14% 4%, 23% 0%, 32% 3%, 41% 1%, 52% 4%, 63% 0%, 74% 3%, 85% 1%, 94% 4%, 100% 1%,
        100% 97%, 92% 100%, 82% 96%, 71% 99%, 60% 96%, 48% 100%, 37% 97%, 25% 100%, 13% 96%, 4% 99%, 0% 96%
    );
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    text-align: center;
    padding: 8px 20px;
    border-right: 1px solid rgba(30, 37, 43, 0.15);
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    width: 38px;
    height: 38px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ================= GALERÍA ================= */
.gallery-section {
    position: relative;
    background: url('../assets/img/galeria-bg.svg') center center / cover no-repeat;
    padding: 68px 0 64px;
    color: var(--white);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 31, 45, 0.78);
    z-index: 1;
}

.gallery-container {
    position: relative;
    z-index: 2;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon {
    width: 44px;
    height: 44px;
    color: var(--white);
}

.gallery-title-group h2 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    line-height: 1.1;
}

.gallery-title-group p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.btn-pill-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    border-radius: 50px;
    padding: 9px 22px;
    font-size: 0.88rem;
}

.btn-pill-outline:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    aspect-ratio: 16 / 10;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-card:hover img {
    transform: scale(1.07);
}

/* ================= EXPEDICIONES ================= */
.expeditions-banner {
    position: relative;
    background: url('../assets/img/expediciones-bg.svg') center center / cover no-repeat;
    padding: 58px 0;
    color: var(--white);
}

.expeditions-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 31, 45, 0.25) 0%, rgba(13, 31, 45, 0.65) 55%, rgba(13, 31, 45, 0.8) 100%);
    z-index: 1;
}

.expeditions-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.expeditions-box {
    max-width: 540px;
    width: 100%;
}

.expeditions-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mountain-outline-icon {
    width: 68px;
    height: auto;
    flex-shrink: 0;
}

.expeditions-header h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.1;
}

.expeditions-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 4px;
}

.btn-expedition {
    margin-left: 84px;
    padding: 13px 26px;
    font-size: 0.95rem;
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--navy-footer);
    color: var(--white);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 0.8fr 1fr 1.1fr;
    gap: 28px;
    padding-bottom: 42px;
    position: relative;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 24px;
}

.footer-logo {
    width: 115px;
    margin-bottom: 10px;
}

.footer-brand-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand-sub {
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    line-height: 1.4;
}

.footer-col h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.82);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--green-accent);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    color: var(--white);
    transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
    color: var(--green-accent);
    transform: translateY(-2px);
}

.footer-mountain-art {
    width: 100%;
    max-width: 210px;
    margin-top: 24px;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ================= LIGHTBOX ================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 26, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 24px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 78vh;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 14px;
    font-size: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 34px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 992px) {
    .nav-divider, .nav-menu {
        display: none;
    }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background-color: var(--navy-dark);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .mobile-toggle {
        display: block;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .feature-item {
        border-right: none;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand {
        border-right: none;
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .intro-controls {
        bottom: 20px;
        right: 18px;
    }
    .hero-text-box h1 {
        font-size: 2.2rem;
    }
    .btn-whatsapp span {
        display: none;
    }
    .features-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .btn-expedition {
        margin-left: 0;
    }
}