@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
    --color-bg: #0a0c0a;
    --color-bg-alt: #11140f;
    --color-bg-panel: #171a13;
    --color-border: #272a20;

    --color-green: #3f7d43;
    --color-green-light: #7ab26f;
    --color-green-deep: #1c3a1e;

    --color-sand: #c9a66b;
    --color-sand-soft: #e8d9b8;

    --color-text: #f3f1ea;
    --color-text-muted: #b3af9f;

    --font-display: 'Fraunces', serif;
    --font-body: 'Montserrat', sans-serif;

    --max-width: 1140px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
}

p { margin: 0 0 16px 0; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 3px;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    background-color: var(--color-green);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(63, 125, 67, 0.6);
}
.btn-primary:hover {
    background-color: var(--color-green-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(243, 241, 234, 0.35);
}
.btn-ghost:hover {
    border-color: var(--color-sand);
    color: var(--color-sand);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVEGACIÓN
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.is-scrolled {
    background-color: rgba(10, 12, 10, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
    height: 46px;
    width: auto;
    mix-blend-mode: screen;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
    opacity: 0.88;
    transition: opacity 0.2s ease;
}
.nav-link:hover { opacity: 1; color: var(--color-sand); }

.nav-cta {
    text-decoration: none;
    background-color: var(--color-green);
    color: #fff;
    padding: 10px 22px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.25s ease;
}
.nav-cta:hover { background-color: var(--color-green-light); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1617042565088-59492f9fce02?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 24px 80px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(6,8,6,0.55) 0%, rgba(6,8,6,0.55) 30%, rgba(6,8,6,0.92) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-cue span {
    width: 3px;
    height: 8px;
    background-color: var(--color-sand);
    border-radius: 2px;
    animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
    0% { opacity: 1; transform: translateY(0); }
    60% { opacity: 0.3; transform: translateY(8px); }
    100% { opacity: 0; transform: translateY(8px); }
}

/* ==========================================================================
   SECCIÓN: HISTORIA / FILOSOFÍA
   ========================================================================== */
.story-section {
    background-color: var(--color-bg-alt);
    padding: 110px 24px;
}
.story-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}
.story-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 4px;
}
.story-text h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: #fff;
    margin-bottom: 22px;
}
.story-text p { color: var(--color-text-muted); font-size: 1.02rem; }
.story-quote {
    margin-top: 28px;
    padding-left: 20px;
    border-left: 2px solid var(--color-sand);
}
.story-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-sand-soft);
}

/* ==========================================================================
   SECCIÓN: CONFIANZA
   ========================================================================== */
.trust-section {
    padding: 110px 24px;
    text-align: center;
    background-color: var(--color-bg);
}
.trust-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    color: #fff;
}
.subtitle {
    max-width: 640px;
    margin: 0 auto 56px auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.trust-card {
    background: var(--color-bg-panel);
    border-radius: 4px;
    overflow: hidden;
    border-bottom: 3px solid var(--color-green);
    text-align: left;
    border: 1px solid var(--color-border);
    border-bottom: 3px solid var(--color-green);
}
.trust-card img { width: 100%; height: 190px; object-fit: cover; }
.trust-card h3 {
    font-size: 1.25rem;
    margin: 24px 22px 12px 22px;
    color: #fff;
    font-weight: 600;
}
.trust-card p { color: var(--color-text-muted); font-size: 0.94rem; margin: 0 22px 26px 22px; }

/* ==========================================================================
   SECCIÓN: EXPLORADOR CONSCIENTE
   ========================================================================== */
.explorer-section {
    background-color: var(--color-bg-alt);
    padding: 110px 24px;
}
.explorer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.explorer-text h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 22px;
}
.explorer-text p { color: var(--color-text-muted); font-size: 1.02rem; }
.explorer-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
}

/* ==========================================================================
   SECCIÓN: PAQUETE MAVICURE PROFUNDO
   ========================================================================== */
.package-section {
    padding: 110px 24px;
    background-color: var(--color-bg);
}
.package-header { text-align: center; margin-bottom: 50px; }
.package-header h2 {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    color: #fff;
    margin-bottom: 12px;
}
.package-meta { color: var(--color-sand); font-weight: 600; letter-spacing: 0.3px; }

.package-container {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
}
.package-info { padding: 48px; }
.package-lead { color: var(--color-text-muted); font-size: 1.02rem; margin-bottom: 32px; }

.itinerary {
    list-style: none;
    margin: 0 0 36px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.itinerary li {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
}
.itinerary li:last-child { border-bottom: none; padding-bottom: 0; }
.itinerary-day {
    font-family: var(--font-display);
    color: var(--color-sand);
    font-weight: 600;
    font-size: 1rem;
}
.itinerary h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.itinerary p { color: var(--color-text-muted); font-size: 0.93rem; margin: 0; }

.package-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}
.package-benefits h4 { color: var(--color-green-light); font-size: 1rem; margin-bottom: 8px; }
.package-benefits p { color: var(--color-text-muted); font-size: 0.92rem; }

.package-note {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-style: italic;
    margin-bottom: 26px;
}

.package-img { min-height: 100%; }
.package-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }

/* ==========================================================================
   BANDA DE POLÍTICAS / SOSTENIBILIDAD
   ========================================================================== */
.policy-band {
    background-color: var(--color-green-deep);
    padding: 56px 24px;
    text-align: center;
}
.policy-band p {
    max-width: 780px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--color-sand-soft);
    line-height: 1.5;
}

/* ==========================================================================
   PIE DE PÁGINA
   ========================================================================== */
footer {
    background: #060706;
    padding: 60px 24px 40px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}
.footer-brand { margin-bottom: 18px; }
.footer-logo {
    height: 54px;
    width: auto;
    margin: 0 auto;
    mix-blend-mode: screen;
}
.footer-cta { margin: 14px 0; }
.footer-cta a {
    color: var(--color-green-light);
    text-decoration: none;
    font-weight: 700;
}
.footer-cta a:hover { text-decoration: underline; }
.social-links { margin: 15px 0; color: var(--color-text-muted); }
.social-links a { color: var(--color-sand); text-decoration: none; margin: 0 5px; font-weight: 600; }
.social-links a:hover { text-decoration: underline; }
.nit { color: #5a5a52; font-size: 0.8rem; }

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--color-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -8px rgba(0,0,0,0.6);
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.whatsapp-float:hover { background-color: var(--color-green-light); transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .story-container,
    .explorer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .story-image img,
    .explorer-image img { height: 320px; }

    .package-container { grid-template-columns: 1fr; }
    .package-img img { min-height: 260px; }
    .package-info { padding: 36px 28px; }

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

@media (max-width: 760px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background-color: rgba(8, 10, 8, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .nav-menu.is-open { max-height: 420px; }
    .nav-menu .nav-link,
    .nav-menu .nav-cta {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
        box-sizing: border-box;
    }
    .nav-menu .nav-cta { text-align: center; }

    .hero { padding-top: 120px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; text-align: center; }

    .package-benefits { grid-template-columns: 1fr; }
    .itinerary li { grid-template-columns: 60px 1fr; }
}
