﻿/* =============================================
   CAMPAMENTO ONAWA — V4 Cinematic Design
   Clean palette, brochure menu, artisanal timeline
   ============================================= */

/* ----- Custom Properties ----- */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #0f1a17;
    --bg-tertiary: #111e1a;
    --bg-forest: #0e1a18;
    --bg-forest-light: #162e26;
    --bg-green-deep: #0c1612;
    --bg-green-mid: #101d18;
    --bg-green-rich: #142a21;

    --amber: #d4913a;
    --amber-light: #e8b060;
    --amber-dim: rgba(212, 145, 58, 0.12);
    --amber-glow: rgba(212, 145, 58, 0.06);
    --ember: #c2703a;

    --white: #fafafa;
    --white-soft: rgba(250, 250, 250, 0.85);
    --white-muted: rgba(250, 250, 250, 0.55);
    --white-dim: rgba(250, 250, 250, 0.3);
    --cream: #f0ebe4;
    --charcoal: #2a2e37;
    --black: #080b12;

    --glass-bg: rgba(13, 17, 23, 0.6);
    --glass-border: rgba(250, 250, 250, 0.06);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --section-padding: clamp(80px, 12vh, 160px);
    --container-max: 1280px;
    --container-padding: clamp(20px, 4vw, 60px);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-smooth: cubic-bezier(0.45, 0, 0.15, 1);
    --ease-in-out-premium: cubic-bezier(0.33, 1, 0.68, 1);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);

    /* Brochure tab colors */
    --tab-amber: #d4913a;
    --tab-green: #4a9c6e;
    --tab-blue: #5b8ec9;
    --tab-coral: #cc6b5a;
    --tab-gold: #c9a84c;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

/* =============================================
   FOG LAYERS
   ============================================= */
.fog-layer {
    position: fixed;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 30vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
}

.fog-layer--1 {
    background: linear-gradient(0deg, rgba(13, 17, 23, 0.7) 0%, transparent 100%);
    animation: fogDrift 35s ease-in-out infinite alternate;
}

.fog-layer--2 {
    height: 20vh;
    background: linear-gradient(0deg, rgba(21, 27, 37, 0.4) 0%, transparent 100%);
    animation: fogDrift 45s ease-in-out infinite alternate-reverse;
    opacity: 0.08;
}

/* =============================================
   CAMPFIRE LAMP CURSOR — Cinematic Lantern
   ============================================= */
.lamp-light {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(255, 220, 130, 0.18) 0%,
            rgba(255, 195, 90, 0.12) 8%,
            rgba(230, 160, 60, 0.07) 18%,
            rgba(200, 130, 50, 0.04) 30%,
            rgba(170, 100, 40, 0.02) 45%,
            rgba(140, 80, 30, 0.008) 60%,
            transparent 75%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;
    will-change: left, top;
    mix-blend-mode: screen;
    animation: lampFlicker 4s ease-in-out infinite;
}

.lamp-light.active {
    opacity: 1;
}

@keyframes lampFlicker {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    25% {
        transform: translate(-50%, -50%) scale(1.015);
        opacity: 0.95;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.99);
        opacity: 1;
    }

    75% {
        transform: translate(-50%, -50%) scale(1.008);
        opacity: 0.97;
    }
}

/* =============================================
   STARFIELD (scoped to about section)
   ============================================= */
.starfield {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 145, 58, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber));
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--amber-light);
}

.section-title--light {
    color: var(--white);
}

.section-description {
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    color: var(--white-muted);
    max-width: 560px;
    line-height: 1.85;
}

.section-description--light {
    color: var(--white-dim);
}

/* =============================================
   FLOATING LOGO
   ============================================= */
.site-logo {
    position: fixed;
    top: 1.2rem;
    left: var(--container-padding);
    z-index: 1001;
    text-decoration: none;
    transition: all 0.5s var(--ease-out-expo);
}

.site-logo__img {
    height: 42px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.15) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: all var(--transition-base);
}

.site-logo--scrolled .site-logo__img {
    height: 34px;
}

/* =============================================
   NAVIGATION — Moved to css/drawer.css
   ============================================= */

/* =============================================
   HERO — Cinematic & Impactful
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 3;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform, opacity;
    filter: brightness(0.45) saturate(0.6) contrast(1.1);
    transform: scale(1.0);
}

/* Hide all slides that are NOT active and NOT exiting */
.hero__slide {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Active slide: fully visible with slow zoom */
.hero__slide.hero__slide--active {
    opacity: 1 !important;
    transition: opacity 2s ease-in-out;
    animation: heroZoom 10s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Exiting slide: dissolve out, keep zoom so it doesn't snap */
.hero__slide.hero__slide--exit {
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: heroZoom 10s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.08);
    }
}

/* ─── Hero Typographic Logo ─── */
.hero__typo-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    text-align: center;
}

/* "Campamento" — elegant high-contrast serif matching original logo */
.hero__typo-top {
    font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 4.2vw, 2.9rem);
    font-weight: 300;
    font-style: normal;
    color: rgba(245, 238, 228, 0.95);
    letter-spacing: 0.32em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow:
        0 1px 8px rgba(0, 0, 0, 0.5),
        0 2px 25px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(180, 140, 80, 0.12);
    margin-bottom: 0.1em;
    position: relative;
    padding-bottom: 0.2em;
}

/* Subtle decorative gold underline */
.hero__typo-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(201, 149, 107, 0.45) 25%,
            rgba(201, 149, 107, 0.6) 50%,
            rgba(201, 149, 107, 0.45) 75%,
            transparent);
}

/* "ONAWA" — bold hero text, warm sand/brown */
.hero__typo-main {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 800;
    color: #C9956B;
    letter-spacing: 0.08em;
    line-height: 0.88;
    text-transform: uppercase;
    text-shadow:
        0 2px 15px rgba(0, 0, 0, 0.5),
        0 4px 40px rgba(160, 110, 60, 0.3),
        0 0 80px rgba(200, 150, 100, 0.15);
}

/* "PARQUE ECOTURÍSTICO" — clean sans-serif, bright green */
.hero__typo-bottom {
    font-family: var(--font-body);
    font-size: clamp(0.55rem, 1.8vw, 0.9rem);
    font-weight: 600;
    color: #5ED695;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.hero__typo-bottom::before,
.hero__typo-bottom::after {
    content: '';
    width: clamp(18px, 5vw, 55px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(61, 181, 110, 0.5), transparent);
    flex-shrink: 0;
}

/* Multi-layer overlay for cinematic depth */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Dark gradient top for nav readability */
        linear-gradient(180deg,
            rgba(5, 8, 16, 0.55) 0%,
            rgba(5, 8, 16, 0.15) 25%,
            rgba(5, 8, 16, 0.08) 50%,
            rgba(5, 8, 16, 0.3) 75%,
            rgba(7, 11, 23, 1) 100%),
        /* Side vignette */
        radial-gradient(ellipse at center,
            transparent 40%,
            rgba(5, 8, 16, 0.5) 100%),
        /* Subtle warm wash bottom */
        linear-gradient(0deg,
            rgba(212, 145, 58, 0.04) 0%,
            transparent 30%);
}

/* Extra vignette layer for cinematic framing */
.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    box-shadow: inset 0 0 200px 60px rgba(5, 8, 16, 0.5);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 var(--container-padding);
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Label with decorative lines */
.hero__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.hero__label span:not(.hero__label-line) {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0.9;
}

.hero__label-line {
    width: 55px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 145, 58, 0.6), transparent);
}

/* Title */
.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    gap: 0.1rem;
}

.hero__title-line {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 9vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero__title-accent {
    color: var(--amber-light);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    text-shadow: 0 2px 25px rgba(212, 145, 58, 0.2);
}

/* Decorative divider with diamond */
.hero__divider {
    width: 70px;
    height: 2px;
    margin: 1.6rem auto;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    border-radius: 2px;
    opacity: 0.75;
    position: relative;
}

.hero__divider::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.5rem;
    color: var(--amber);
    background: transparent;
    letter-spacing: 0;
}

.hero__tagline {
    font-size: clamp(0.9rem, 1.3vw, 1.08rem);
    font-weight: 300;
    color: rgba(232, 224, 212, 0.7);
    line-height: 1.8;
    letter-spacing: 0.03em;
    max-width: 450px;
}

.hero__location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.8rem;
    font-size: 0.76rem;
    color: rgba(232, 224, 212, 0.4);
    letter-spacing: 0.06em;
}

.hero__location svg {
    color: var(--amber);
    opacity: 0.65;
}

/* Scroll Indicator — Elegant & Themed */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__scroll-indicator--hidden {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(10px);
}

.hero__scroll-indicator:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}

.hero__scroll-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(232, 224, 212, 0.45);
    transition: color 0.3s ease;
}

.hero__scroll-indicator:hover .hero__scroll-text {
    color: var(--amber);
}

.hero__scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(212, 145, 58, 0.25);
    color: var(--amber);
    opacity: 0.7;
    animation: scrollBounce 2.8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero__scroll-indicator:hover .hero__scroll-arrow {
    border-color: rgba(212, 145, 58, 0.5);
    opacity: 1;
    background: rgba(212, 145, 58, 0.06);
}

.hero__scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(212, 145, 58, 0.35), transparent);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* =============================================
   ABOUT — Immersive Night Sky Section
   ============================================= */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 4;
    overflow: hidden;
}

/* Flashlight / Lamp cursor glow */
.lamp-light {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: color-dodge;
    will-change: left, top, opacity;
    background: radial-gradient(circle,
            rgba(255, 235, 170, 0.45) 0%,
            rgba(255, 215, 120, 0.22) 20%,
            rgba(255, 190, 90, 0.10) 45%,
            transparent 70%);
}

@supports not (mix-blend-mode: color-dodge) {
    .lamp-light {
        mix-blend-mode: screen;
    }
}

.lamp-light.active {
    opacity: 1;
}

.about__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.about__header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.about__image-block {
    position: relative;
}

.about__image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(232, 224, 212, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about__image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 10, 20, 0.6));
    pointer-events: none;
}

.about__image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
    filter: saturate(0.85);
}

.about__image-wrapper:hover .about__image {
    transform: scale(1.04);
    filter: saturate(1);
}

.about__image-caption {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--white-muted);
    z-index: 2;
    background: rgba(5, 8, 16, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(232, 224, 212, 0.06);
    letter-spacing: 0.02em;
}

.about__text-block {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    padding-top: 0.5rem;
}

.about__text-item h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.about__text-item h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--amber), transparent);
    transition: width 0.6s var(--ease-out-expo);
}

.about__text-item:hover h3::after {
    width: 100%;
}

.about__text-item p {
    font-size: 0.9rem;
    color: var(--white-muted);
    line-height: 1.85;
}

.about__values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.value-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    color: var(--cream);
    border-radius: 100px;
    border: 1px solid rgba(232, 224, 212, 0.07);
    background: rgba(11, 17, 34, 0.5);
    transition: all var(--transition-base);
    cursor: default;
}

.value-item:hover {
    background: rgba(212, 145, 58, 0.07);
    border-color: rgba(212, 145, 58, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.value-icon {
    display: flex;
    color: var(--amber);
    transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.12);
}



/* =============================================
   EVENTS — Próximos Eventos Carousel
   ============================================= */
.events {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 4;
    overflow: hidden;
}

/* Subtle ambient glow at the bottom to blend into vision */
.events::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(13, 18, 24, 0.7));
    pointer-events: none;
    z-index: 0;
}

.events__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.events__header {
    text-align: center;
    margin-bottom: clamp(3rem, 7vw, 5rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Layout & Wrapper ───────────────────────────── */
.events__outer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.events__track {
    flex: 1;
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(15, 22, 18, 0.4);
}

/* ── Event Card (Two Column) ────────────────────── */
.event-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    background: linear-gradient(135deg, rgba(22, 30, 26, 0.95) 0%, rgba(15, 22, 18, 0.98) 100%);
    border: 1px solid rgba(212, 145, 58, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s var(--ease-in-out-premium), transform 0.75s var(--ease-in-out-premium);
    transform: translateX(0);
    overflow: hidden;
}

.event-card--active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) !important;
    position: relative;
}

/* ── Calendar Left Panel ────────────────────────── */
.event-card__cal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    background: rgba(212, 145, 58, 0.03);
    border-right: 1px solid rgba(212, 145, 58, 0.1);
    padding: 2rem 1rem;
    flex-shrink: 0;
    text-align: center;
}

.event-card__cal-day {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--amber);
    margin-bottom: 0.2rem;
}

.event-card__cal-month {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream);
}

.event-card__cal-year {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(240, 235, 228, 0.4);
    margin-top: 0.2rem;
}

.event-card__cal-divider {
    width: 30px;
    height: 1px;
    background: rgba(212, 145, 58, 0.3);
    margin: 1.5rem 0;
}

.event-card__cal-icon {
    color: var(--amber);
    opacity: 0.6;
}

/* ── Body Right Panel ───────────────────────────── */
.event-card__body {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-card__badge {
    align-self: flex-start;
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber);
    background: rgba(212, 145, 58, 0.08);
    border: 1px solid rgba(212, 145, 58, 0.2);
    border-radius: 100px;
    margin-bottom: 1.2rem;
}

.event-card__weekday {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(212, 145, 58, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
    display: block;
}

.event-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.event-card__desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--white-muted);
    line-height: 1.6;
    max-width: 500px;
}

/* ── Footer ─────────────────────────────────────── */
.event-card__footer {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(232, 224, 212, 0.05);
}

.event-card__tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(240, 235, 228, 0.6);
}

.event-card__tag svg {
    color: var(--amber);
    opacity: 0.6;
}

.event-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d1117;
    background: var(--amber);
    padding: 0.65rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(212, 145, 58, 0.25);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(212, 145, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.4s var(--ease-out-expo), background 0.35s ease, box-shadow 0.4s var(--ease-out-expo), border-color 0.3s ease;
}

.event-card__cta:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 145, 58, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(212, 145, 58, 0.4);
}

.event-card__cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 145, 58, 0.4), 0 6px 24px rgba(212, 145, 58, 0.3);
}

.event-card__cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 145, 58, 0.25);
}

/* ── Transition Classes (slide suave entre eventos) ─────────────────────────── */
.slide-from-right {
    transform: translateX(56px);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.slide-from-left {
    transform: translateX(-56px);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.slide-to-left {
    transform: translateX(-56px) !important;
    opacity: 0 !important;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.slide-to-right {
    transform: translateX(56px) !important;
    opacity: 0 !important;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

/* ── Nav Arrows ─────────────────────────────────── */
.events__nav {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(22, 28, 26, 0.6);
    border: 1px solid rgba(212, 145, 58, 0.18);
    color: var(--amber);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.4s var(--ease-out-expo), background 0.35s ease, border-color 0.35s ease, box-shadow 0.4s var(--ease-out-expo);
}

.events__nav:hover {
    background: rgba(212, 145, 58, 0.12);
    border-color: rgba(212, 145, 58, 0.35);
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(212, 145, 58, 0.08);
}

.events__nav:focus-visible {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(212, 145, 58, 0.25);
}

.events__nav:active {
    transform: scale(0.98);
}

/* ── Controls (Dots + Counter) ──────────────────── */
.events__controls {
    max-width: 960px;
    margin: 1.75rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
}

.events__dots {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.events__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(212, 145, 58, 0.2);
    background: rgba(240, 235, 228, 0.12);
    cursor: pointer;
    padding: 0;
    transition: width 0.45s var(--ease-in-out-premium), background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.events__dot:hover {
    background: rgba(212, 145, 58, 0.25);
    border-color: rgba(212, 145, 58, 0.35);
    transform: scale(1.15);
}

.events__dot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 145, 58, 0.4);
}

.events__dot--active {
    background: var(--amber);
    width: 28px;
    border-radius: 5px;
    border-color: rgba(212, 145, 58, 0.5);
    box-shadow: 0 0 16px rgba(212, 145, 58, 0.25);
}

.events__dot--active:hover {
    background: var(--amber-light);
    box-shadow: 0 0 20px rgba(212, 145, 58, 0.35);
}

.events__counter {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(240, 235, 228, 0.55);
    letter-spacing: 0.12em;
    transition: opacity 0.3s var(--ease-in-out-smooth);
}

.events__counter--updated {
    animation: counterPulse 0.5s var(--ease-in-out-smooth) forwards;
}

@keyframes counterPulse {
    0% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 860px) {
    .event-card {
        flex-direction: column;
    }

    .event-card__cal {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(212, 145, 58, 0.1);
        padding: 1.5rem;
        flex-direction: row;
        gap: 1.5rem;
        justify-content: flex-start;
    }

    .event-card__cal-divider {
        width: 1px;
        height: 30px;
        margin: 0;
    }

    .event-card__body {
        padding: 2rem;
    }

    .events__controls {
        padding: 0;
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .events__outer {
        gap: 0;
    }

    .events__nav {
        display: none;
    }

    .event-card__cal {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .event-card__cal-divider,
    .event-card__cal-icon {
        display: none;
    }

    .event-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* =============================================
   VISION — VERTICAL TIMELINE with Trunk & Unique Cartels
   ============================================= */

.vision {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg,
            var(--bg-primary) 0%,
            var(--bg-forest) 25%,
            var(--bg-green-deep) 60%,
            var(--bg-green-mid) 100%);
    position: relative;
    z-index: 4;
    overflow: hidden;
}

/* ─── Base Sky — Fondo limpio e integrado con la identidad ─── */
.vision__sky {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg,
            #0d1117 0%,
            #0f1614 50%,
            #0c1410 100%);
}

/* Estrellas muy sutiles para no distraer */
.vision__sky::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
    background:
        radial-gradient(1px 1px at 10% 12%, rgba(255, 255, 255, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 25% 6%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 10%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 75% 8%, rgba(255, 255, 255, 0.28) 50%, transparent 50%),
        radial-gradient(1px 1px at 40% 22%, rgba(255, 255, 255, 0.18) 50%, transparent 50%);
}

/* Textura mínima para suavizar bandas del gradiente */
.vision__sky::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: overlay;
}

/* ─── Aurora — Brillo verde muy sutil (scroll-reactive) ─── */
.vision__aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    will-change: opacity, transform;
    background:
        radial-gradient(ellipse 100% 400px at 50% 20%,
            rgba(50, 140, 80, 0.06) 0%,
            transparent 60%),
        radial-gradient(ellipse 80% 300px at 50% 85%,
            rgba(40, 120, 70, 0.05) 0%,
            transparent 55%);
}

/* ─── Orbs — Acentos cálidos muy suaves (scroll-reactive) ─── */
.vision__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    will-change: opacity, transform;
    background:
        radial-gradient(circle 280px at 70% 25%,
            rgba(212, 160, 70, 0.05) 0%,
            transparent 65%),
        radial-gradient(circle 220px at 25% 70%,
            rgba(200, 150, 60, 0.04) 0%,
            transparent 60%);
}

/* Pine tree silhouettes removed for cleaner design */
.vision__pines {
    display: none;
}

/* ─── Campfire Warm Glow — Muy sutil ─── */
.vision__campfire-glow {
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 45%;
    background: radial-gradient(ellipse at 50% 100%,
            rgba(212, 145, 58, 0.05) 0%,
            rgba(180, 100, 30, 0.03) 25%,
            transparent 55%);
    pointer-events: none;
    z-index: 1;
    animation: campfireFlicker 6s ease-in-out infinite alternate;
}

@keyframes campfireFlicker {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.02);
    }
}

/* ─── Fireflies Canvas ─── */
.vision__fireflies {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* ─── Drifting Mist / Fog ─── */
.vision__mist {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 25%;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
}

.vision__mist--1 {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(200, 210, 220, 0.03) 25%,
            rgba(200, 210, 220, 0.06) 50%,
            rgba(200, 210, 220, 0.03) 75%,
            transparent 100%);
    animation: mistDrift1 28s ease-in-out infinite alternate;
}

.vision__mist--2 {
    height: 15%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(200, 210, 220, 0.02) 35%,
            rgba(200, 210, 220, 0.04) 65%,
            transparent 100%);
    animation: mistDrift2 32s ease-in-out infinite alternate-reverse;
}

@keyframes mistDrift1 {
    0% {
        transform: translateX(-5%);
    }

    100% {
        transform: translateX(5%);
    }
}

@keyframes mistDrift2 {
    0% {
        transform: translateX(5%);
    }

    100% {
        transform: translateX(-5%);
    }
}



/* ─── Amenities Chip Grid ─── */
.amenities {
    max-width: 900px;
    margin: 0 auto clamp(3rem, 6vw, 4rem);
    text-align: center;
}

.amenities__label {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(212, 165, 90, 0.85);
    margin: 0 0 1.35rem;
}

.amenities__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
    justify-content: center;
}

.amenity-chip {
    display: inline-block;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 450;
    color: rgba(232, 224, 212, 0.82);
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(232, 224, 212, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    letter-spacing: 0.02em;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease-in-out-premium), transform 0.5s var(--ease-in-out-premium),
        border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

/* Animación progresiva al entrar en viewport (activada por JS .amenities--in-view) */
.amenities--in-view .amenity-chip {
    opacity: 1;
    transform: translateY(0);
}

.amenity-chip:nth-child(1) { transition-delay: 0.02s; }
.amenity-chip:nth-child(2) { transition-delay: 0.05s; }
.amenity-chip:nth-child(3) { transition-delay: 0.08s; }
.amenity-chip:nth-child(4) { transition-delay: 0.11s; }
.amenity-chip:nth-child(5) { transition-delay: 0.14s; }
.amenity-chip:nth-child(6) { transition-delay: 0.17s; }
.amenity-chip:nth-child(7) { transition-delay: 0.2s; }
.amenity-chip:nth-child(8) { transition-delay: 0.23s; }
.amenity-chip:nth-child(9) { transition-delay: 0.26s; }
.amenity-chip:nth-child(10) { transition-delay: 0.29s; }
.amenity-chip:nth-child(11) { transition-delay: 0.32s; }
.amenity-chip:nth-child(12) { transition-delay: 0.35s; }
.amenity-chip:nth-child(13) { transition-delay: 0.38s; }
.amenity-chip:nth-child(14) { transition-delay: 0.41s; }
.amenity-chip:nth-child(15) { transition-delay: 0.44s; }
.amenity-chip:nth-child(16) { transition-delay: 0.47s; }

.amenity-chip:hover {
    border-color: rgba(212, 165, 58, 0.45);
    color: rgba(255, 235, 190, 0.95);
    background: rgba(212, 145, 58, 0.07);
}

/* ─── Plan de Expansión ─── */
.expansion-heading {
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    max-width: 640px;
    text-align: center;
}

.expansion-heading__content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.expansion-heading__line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 58, 0.35), transparent);
}

.expansion-heading__label {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 165, 58, 0.9);
    white-space: nowrap;
}

.expansion-heading__desc {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.1vw, 0.9rem);
    font-weight: 500;
    color: rgba(240, 235, 228, 0.5);
    margin: 0;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s var(--ease-in-out-premium) 0.2s, transform 0.5s var(--ease-in-out-premium) 0.2s;
}

.scroll-reveal.revealed .expansion-heading__desc {
    opacity: 1;
    transform: translateY(0);
}

.vision__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 3;
}

.vision__header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.vision__header .section-description {
    margin: 0 auto;
}

/* === Trail Signage Timeline === */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* === Trail — Poste central; el progreso se dibuja por encima con scroll === */
.timeline__trail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 14px;
    transform: translateX(-50%);
    border-radius: 8px;
    background: linear-gradient(180deg,
            rgba(90, 65, 35, 0.15) 0%,
            rgba(90, 65, 35, 0.4) 10%,
            rgba(90, 65, 35, 0.5) 50%,
            rgba(90, 65, 35, 0.4) 90%,
            rgba(90, 65, 35, 0.15) 100%);
    border-left: 1px solid rgba(200, 150, 100, 0.12);
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Línea que se dibuja progresivamente con el scroll */
.timeline__trail-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    border-radius: 8px;
    background: linear-gradient(180deg,
            rgba(212, 165, 58, 0.25) 0%,
            rgba(180, 130, 50, 0.5) 30%,
            rgba(160, 115, 45, 0.55) 70%,
            rgba(140, 100, 40, 0.4) 100%);
    box-shadow: 0 0 12px rgba(212, 165, 58, 0.15);
    transition: height 0.45s var(--ease-out-expo);
    transform-origin: top;
    will-change: height;
}

/* === Timeline Item === */
.timeline__item {
    display: flex;
    align-items: center;
    margin-bottom: clamp(4rem, 8vw, 7.5rem);
    position: relative;
    min-height: 120px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

/* Alternate sides */
.timeline__item:nth-child(odd) {
    flex-direction: row;
}

.timeline__item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline__item:nth-child(odd) .timeline__sign {
    margin-left: auto;
    margin-right: 2rem;
}

.timeline__item:nth-child(even) .timeline__sign {
    margin-right: auto;
    margin-left: 2rem;
}



/* === Node — Golden trail rivet === */
.timeline__node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.timeline__node-rivet {
    width: 18px;
    /* Bigger node */
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
            #c9a84c 0%,
            #a8883a 40%,
            #87692e 70%,
            #6b5224 100%);
    border: 2px solid rgba(160, 130, 70, 0.6);
    box-shadow:
        0 0 10px rgba(180, 150, 80, 0.3),
        inset 0 1px 3px rgba(255, 240, 200, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.5s var(--ease-out-expo);
}

.timeline__node--active .timeline__node-rivet {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 35% 35%,
            #e8c060 0%,
            #d4a03a 40%,
            #c08830 70%,
            #a87020 100%);
    border-color: rgba(212, 165, 58, 0.7);
    box-shadow:
        0 0 16px rgba(212, 165, 58, 0.3),
        0 0 4px rgba(212, 165, 58, 0.15),
        inset 0 1px 2px rgba(255, 245, 210, 0.5),
        inset 0 -1px 1px rgba(0, 0, 0, 0.25);
}

/* Nodo al entrar en viewport (scroll animation) */
.timeline__node--in-view .timeline__node-rivet {
    transform: scale(1.15);
    box-shadow:
        0 0 14px rgba(212, 165, 58, 0.35),
        inset 0 1px 3px rgba(255, 240, 200, 0.45),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

.timeline__node-rivet {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, width 0.5s var(--ease-out-expo), height 0.5s var(--ease-out-expo);
}

/* === Wooden Sign — Image defines the shape, text inside === */
.timeline__sign {
    width: calc(45% - 1.5rem);
    max-width: 550px;
    position: relative;
    background: none;
    border: none;
    border-radius: 0;
    overflow: hidden;
    cursor: default;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.6s ease, filter 0.5s ease;
    /* Use drop-shadow so it follows the natural wood shape */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.35)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));

    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px) scale(0.95) rotate(-2deg);
}

/* Base animation revealed state using the parent .scroll-reveal.revealed */
.scroll-reveal.revealed .timeline__sign {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
}

/* Alternate rotation for even items for organic feel */
.timeline__item:nth-child(even) .timeline__sign {
    transform: translateY(40px) scale(0.95) rotate(2deg);
}

.scroll-reveal.revealed .timeline__item:nth-child(even) .timeline__sign {
    transform: translateY(0) scale(1) rotate(0);
}

.timeline__sign:hover {
    transform: translateY(-3px) !important;
    /* Override reveal transform on hover */
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

/* Wood image — in normal document flow, defines the sign shape */
.timeline__sign-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7) saturate(0.85) contrast(1.12);
    transition: filter 0.4s ease;
}

.timeline__sign:hover .timeline__sign-img {
    filter: brightness(0.76) saturate(0.9) contrast(1.12);
}

/* === Sign text — absolutely positioned INSIDE the wood with generous inset === */
.timeline__sign-text {
    position: absolute;
    /* Very aggressive inset so text stays well inside irregular wood edges */
    top: 18%;
    left: 15%;
    right: 15%;
    bottom: 18%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    /* Animation initial state */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.scroll-reveal.revealed .timeline__sign-text {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Title ─── */
.timeline__sign-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.8rem);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(0, 0, 0, 0.35);
}

/* ─── Description ─── */
.timeline__sign-text p {
    font-size: clamp(0.68rem, 1vw, 0.88rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    max-width: 100%;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(0, 0, 0, 0.3);
}

/* === Timeline Photo === */
.timeline__photo {
    width: calc(45% - 1.5rem);
    max-width: 550px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 165, 58, 0.15);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), filter 0.5s ease;
}

.scroll-reveal.revealed .timeline__photo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline__item:nth-child(even) .timeline__photo {
    transform: translateY(40px) scale(0.95);
}

.scroll-reveal.revealed .timeline__item:nth-child(even) .timeline__photo {
    transform: translateY(0) scale(1);
}

.timeline__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease-out-expo);
}

.timeline__photo:hover img {
    transform: scale(1.05);
}

.timeline__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* === Mystery Box for Final Stage === */
.timeline__photo--mystery {
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 224, 212, 0.08);
}

.mystery-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(232, 224, 212, 0.6);
}

.mystery-box__icon {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 0.6rem;
    opacity: 0.5;
}

.mystery-box__text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ─── Node Label — Year/Phase on the timeline line ─── */
.timeline__node-label {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FFF3D6;
    padding: 0.4rem 1rem;
    background: rgba(25, 20, 15, 0.85);
    border-radius: 20px;
    border: 1px solid rgba(212, 165, 58, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 4;
}

.timeline__node-label--current {
    background: rgba(45, 30, 10, 0.9);
    color: #FFE490;
    border-color: rgba(230, 185, 70, 0.9);
    box-shadow: 0 0 15px rgba(212, 165, 58, 0.4), 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.timeline__node-label--final {
    background: rgba(10, 35, 20, 0.85);
    color: #A0F0D0;
    border-color: rgba(100, 220, 150, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* =============================================
   COMPARISON
   ============================================= */
.comparison {
    padding: var(--section-padding) 0;
    background: var(--bg-green-rich);
    position: relative;
    z-index: 4;
}

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

.comparison__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.comparison__header .section-description {
    margin: 0 auto;
}

.comparison__slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    cursor: col-resize;
    aspect-ratio: 16 / 9;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(232, 224, 212, 0.05);
}

.comparison__image {
    position: absolute;
    inset: 0;
}

.comparison__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85);
}

.comparison__image--after {
    clip-path: inset(0 0 0 50%);
}

.comparison__label {
    position: absolute;
    top: 1.2rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.comparison__label--before {
    left: 1.2rem;
    background: rgba(5, 8, 16, 0.6);
    color: var(--cream);
    border: 1px solid rgba(232, 224, 212, 0.08);
}

.comparison__label--after {
    right: 1.2rem;
    background: rgba(212, 145, 58, 0.12);
    color: var(--amber-light);
    border: 1px solid rgba(212, 145, 58, 0.2);
}

.comparison__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: col-resize;
}

.comparison__handle-line {
    flex: 1;
    width: 2px;
    background: rgba(232, 224, 212, 0.45);
}

.comparison__handle-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(212, 145, 58, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 145, 58, 0.1);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.comparison__handle-circle:hover {
    transform: scale(1.1);
}

.comparison__handle-circle svg {
    color: var(--bg-primary);
}

/* =============================================
   EXPERIENCES GALLERY
   ============================================= */
.experiences {
    padding: var(--section-padding) 0;
    background: #0D1114;
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.experiences__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

.experiences__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.experiences__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    grid-auto-rows: 280px;
}

.experiences__card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
    border: 1px solid rgba(232, 224, 212, 0.04);
}

.experiences__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo), filter 0.5s ease;
    filter: brightness(0.82) saturate(0.75);
}

.experiences__card:hover img {
    transform: scale(1.06);
    filter: brightness(0.95) saturate(1);
}

.experiences__card:hover {
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    border-color: rgba(212, 145, 58, 0.1);
    transform: translateY(-3px);
}

.experiences__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 16, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.3rem;
    z-index: 2;
}

.experiences__card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
    transition: transform 0.4s var(--ease-out-expo);
}

.experiences__card:hover .experiences__card-overlay h3 {
    transform: translateY(-3px);
}

.experiences__card-overlay p {
    font-size: 0.76rem;
    color: rgba(232, 224, 212, 0.5);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s var(--ease-out-expo);
}

/* =============================================
   EXPERIENCES SLIDE ANIMATIONS
   Modelo: slot=7s | fade-in=1.5s | visible=4s | fade-out=1.5s
   El fade-out se solapa con el fade-in del siguiente (crossfade real).
   Ciclo total = N x 7s. Todas las fotos se muestran garantizadamente.
   ============================================= */

.experiences__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    will-change: opacity;
}

/* --- 2 slides  ciclo=14s  slot=7s ----------------------------------- */
.experiences__card--2slides { background: #0D1114; }
.experiences__card--2slides .experiences__slide {
    animation: cfSlide2 14s linear infinite;
}
.experiences__card--2slides .experiences__slide:nth-child(1) { animation-delay:  0s; }
.experiences__card--2slides .experiences__slide:nth-child(2) { animation-delay:  7s; }

@keyframes cfSlide2 {
    0%      { opacity: 0; }
    10.71%  { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    39.28%  { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    60.71%  { opacity: 0; }
    100%    { opacity: 0; }
}

/* --- 3 slides  ciclo=21s  slot=7s ----------------------------------- */
.experiences__card--3slides { background: #0D1114; }
.experiences__card--3slides .experiences__slide {
    animation: cfSlide3 21s linear infinite;
}
.experiences__card--3slides .experiences__slide:nth-child(1) { animation-delay:  0s; }
.experiences__card--3slides .experiences__slide:nth-child(2) { animation-delay:  7s; }
.experiences__card--3slides .experiences__slide:nth-child(3) { animation-delay: 14s; }

@keyframes cfSlide3 {
    0%      { opacity: 0; }
    7.14%   { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    26.19%  { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    40.47%  { opacity: 0; }
    100%    { opacity: 0; }
}

/* --- 4 slides  ciclo=28s  slot=7s ----------------------------------- */
.experiences__card--4slides { background: #0D1114; }
.experiences__card--4slides .experiences__slide {
    animation: cfSlide4 28s linear infinite;
}
.experiences__card--4slides .experiences__slide:nth-child(1) { animation-delay:  0s; }
.experiences__card--4slides .experiences__slide:nth-child(2) { animation-delay:  7s; }
.experiences__card--4slides .experiences__slide:nth-child(3) { animation-delay: 14s; }
.experiences__card--4slides .experiences__slide:nth-child(4) { animation-delay: 21s; }

@keyframes cfSlide4 {
    0%      { opacity: 0; }
    5.36%   { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    19.64%  { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    30.36%  { opacity: 0; }
    100%    { opacity: 0; }
}

/* --- 5 slides  ciclo=35s  slot=7s ----------------------------------- */
.experiences__card--5slides { background: #0D1114; }
.experiences__card--5slides .experiences__slide {
    animation: cfSlide5 35s linear infinite;
}
.experiences__card--5slides .experiences__slide:nth-child(1) { animation-delay:  0s; }
.experiences__card--5slides .experiences__slide:nth-child(2) { animation-delay:  7s; }
.experiences__card--5slides .experiences__slide:nth-child(3) { animation-delay: 14s; }
.experiences__card--5slides .experiences__slide:nth-child(4) { animation-delay: 21s; }
.experiences__card--5slides .experiences__slide:nth-child(5) { animation-delay: 28s; }

@keyframes cfSlide5 {
    0%      { opacity: 0; }
    4.29%   { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    15.71%  { opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    24.29%  { opacity: 0; }
    100%    { opacity: 0; }
}

.experiences__card:hover .experiences__card-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   GALLERY MODAL — Fullscreen Lightbox
   ============================================= */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}

.gallery-modal--active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Close button */
.gallery-modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    background: rgba(250, 250, 250, 0.08);
    border: 1px solid rgba(250, 250, 250, 0.12);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal__close:hover {
    background: rgba(250, 250, 250, 0.15);
    border-color: rgba(250, 250, 250, 0.25);
    transform: rotate(90deg);
}

/* Navigation arrows */
.gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(250, 250, 250, 0.06);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal__nav:hover {
    background: rgba(212, 145, 58, 0.15);
    border-color: rgba(212, 145, 58, 0.35);
    color: var(--amber-light);
}

.gallery-modal__nav--prev {
    left: 1.5rem;
}

.gallery-modal__nav--next {
    right: 1.5rem;
}

/* Content */
.gallery-modal__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-modal--active .gallery-modal__content {
    transform: scale(1) translateY(0);
}

.gallery-modal__img {
    max-width: 85vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.gallery-modal__img--loading {
    opacity: 0.3;
}

/* Info bar */
.gallery-modal__info {
    text-align: center;
    margin-top: 1.2rem;
    max-width: 500px;
}

.gallery-modal__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.gallery-modal__desc {
    font-size: 0.85rem;
    color: var(--white-muted);
    line-height: 1.6;
}

/* Counter */
.gallery-modal__counter {
    margin-top: 0.8rem;
    font-size: 0.72rem;
    color: var(--white-dim);
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
    .gallery-modal__nav {
        width: 42px;
        height: 42px;
    }

    .gallery-modal__nav--prev {
        left: 0.6rem;
    }

    .gallery-modal__nav--next {
        right: 0.6rem;
    }

    .gallery-modal__close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .gallery-modal__img {
        max-width: 94vw;
        max-height: 60vh;
        border-radius: 8px;
    }

    .gallery-modal__title {
        font-size: 1.1rem;
    }
}

/* =============================================
   EN DESARROLLO — Rediseño premium
   ============================================= */
.in-dev {
    margin-top: clamp(4rem, 10vw, 6rem);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    position: relative;
    overflow: hidden;
}

.in-dev::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(14, 26, 22, 0.4) 20%,
            rgba(12, 22, 18, 0.6) 50%,
            rgba(10, 18, 15, 0.5) 100%);
    pointer-events: none;
    z-index: 0;
}

.in-dev__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ── Header ───────────────────────────────────── */
.in-dev__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.in-dev__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber-light);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(212, 145, 58, 0.3);
    border-radius: 100px;
    margin-bottom: 1.25rem;
    background: rgba(212, 145, 58, 0.06);
    box-shadow: 0 0 24px rgba(212, 145, 58, 0.06);
    transition: border-color 0.35s ease, box-shadow 0.4s ease, background 0.35s ease;
}

.in-dev__badge-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.in-dev__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.in-dev__title em {
    font-style: italic;
    font-weight: 500;
    color: var(--amber-light);
}

.in-dev__subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: rgba(240, 235, 228, 0.55);
    line-height: 1.55;
    margin: 0;
}

/* ── Grid de tarjetas ─────────────────────────── */
.in-dev__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.in-dev__card {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(18, 28, 26, 0.7) 0%, rgba(12, 20, 18, 0.85) 100%);
    border: 1px solid rgba(212, 145, 58, 0.08);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.5s var(--ease-out-expo);
}

.in-dev__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--amber), transparent 70%);
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.in-dev__card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 145, 58, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(212, 145, 58, 0.04);
}

.in-dev__card:hover::before {
    opacity: 0.9;
}

.in-dev__card-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(212, 145, 58, 0.25);
    letter-spacing: 0.05em;
}

.in-dev__card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 145, 58, 0.08);
    border: 1px solid rgba(212, 145, 58, 0.12);
    color: var(--amber);
    margin-bottom: 1.25rem;
    transition: transform 0.45s var(--ease-out-expo), background 0.35s ease, border-color 0.35s ease;
}

.in-dev__card:hover .in-dev__card-icon-wrap {
    transform: scale(1.05);
    background: rgba(212, 145, 58, 0.12);
    border-color: rgba(212, 145, 58, 0.25);
}

.in-dev__card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.in-dev__card-desc {
    font-size: 0.82rem;
    color: rgba(232, 224, 212, 0.5);
    line-height: 1.55;
    margin: 0;
}

/* ── CTA band ─────────────────────────────────── */
.in-dev__cta {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
}

.in-dev__cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.in-dev__cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(0.5);
    transform: scale(1.05);
    transition: transform 0.8s var(--ease-out-expo), filter 0.6s ease;
}

.in-dev__cta:hover .in-dev__cta-bg img {
    transform: scale(1.08);
    filter: brightness(0.4) saturate(0.55);
}

.in-dev__cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 18, 14, 0.75) 0%, rgba(8, 14, 12, 0.85) 100%);
    pointer-events: none;
}

.in-dev__cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.in-dev__cta-text {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: rgba(240, 235, 228, 0.9);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.in-dev__cta-text strong {
    color: var(--amber-light);
    font-weight: 600;
}

.in-dev__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    padding: 0.65rem 1.5rem;
    border: 1px solid rgba(212, 145, 58, 0.35);
    border-radius: 100px;
    background: rgba(212, 145, 58, 0.08);
    transition: transform 0.4s var(--ease-out-expo), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.in-dev__cta-link:hover {
    background: rgba(212, 145, 58, 0.15);
    border-color: rgba(212, 145, 58, 0.5);
    color: var(--amber-light);
    transform: translateY(-2px);
}

.in-dev__cta-link svg {
    transition: transform 0.35s var(--ease-out-expo);
}

.in-dev__cta-link:hover svg {
    transform: translateX(4px);
}

.in-dev__cta-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 145, 58, 0.35);
}

/* =============================================
   INVESTMENT / CTA
   ============================================= */
.investment {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 4;
}

.investment__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.investment__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.18) saturate(0.4);
}

.investment__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(10, 18, 14, 0.92) 0%,
            rgba(15, 25, 20, 0.80) 40%,
            rgba(10, 18, 14, 0.95) 100%);
}

/* Subtle ambient glow */
.investment__overlay::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 145, 58, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.investment__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
    width: 100%;
}

.investment__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.investment__header .section-description {
    margin: 0 auto;
}

/* ── Tier Cards ─────────────────────────────────── */
.investment__tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.tier-card {
    padding: 2.2rem 1.3rem;
    text-align: center;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    border-radius: 18px;
    background: rgba(20, 30, 25, 0.6);
    border: 1px solid rgba(212, 145, 58, 0.06);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 145, 58, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tier-card:hover {
    transform: translateY(-6px);
    background: rgba(20, 30, 25, 0.8);
    border-color: rgba(212, 145, 58, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tier-card:hover::before {
    opacity: 1;
}

.tier-card--featured {
    border-color: rgba(212, 145, 58, 0.2) !important;
    background: linear-gradient(165deg, rgba(212, 145, 58, 0.08) 0%, rgba(20, 30, 25, 0.7) 100%) !important;
    box-shadow: 0 8px 30px rgba(212, 145, 58, 0.06);
}

.tier-card--featured::before {
    opacity: 1 !important;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    height: 2px;
}

.tier-card__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d1117;
    background: var(--amber);
    padding: 0.25rem 0.85rem;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(212, 145, 58, 0.2);
}

.tier-card__level {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--amber);
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
}

.tier-card__price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.tier-card__duration {
    font-size: 0.78rem;
    color: rgba(240, 235, 228, 0.45);
    margin-bottom: 0.8rem;
}

.tier-card__discount {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(212, 145, 58, 0.18);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.tier-card:hover .tier-card__discount {
    background: rgba(212, 145, 58, 0.1);
    border-color: rgba(212, 145, 58, 0.35);
}

/* ── Features ───────────────────────────────────── */
.investment__features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(20, 30, 25, 0.3);
    border-radius: 14px;
    border: 1px solid rgba(232, 224, 212, 0.03);
}

.investment__feature {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: rgba(240, 235, 228, 0.6);
}

.investment__feature svg {
    color: var(--amber);
    flex-shrink: 0;
    opacity: 0.7;
}

/* ── CTA ────────────────────────────────────────── */
.investment__cta {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0d1117;
    background: var(--amber);
    border: 1px solid rgba(212, 145, 58, 0.3);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(212, 145, 58, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.4s var(--ease-out-expo), background 0.35s ease, box-shadow 0.4s var(--ease-out-expo), border-color 0.35s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(212, 145, 58, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: var(--amber-light);
    border-color: rgba(212, 145, 58, 0.45);
}

.cta-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 145, 58, 0.35), 0 12px 36px rgba(212, 145, 58, 0.25);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(212, 145, 58, 0.22);
}

.cta-button__icon {
    display: flex;
    transition: transform 0.4s var(--ease-out-expo);
}

.cta-button:hover .cta-button__icon {
    transform: translateX(4px);
}

.investment__cta-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: rgba(240, 235, 228, 0.3);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: clamp(3rem, 8vw, 5rem) 0 0;
    background: linear-gradient(180deg, var(--bg-forest) 0%, var(--bg-green-deep) 100%);
    border-top: 1px solid rgba(212, 145, 58, 0.08);
    position: relative;
    z-index: 4;
}

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

.footer__top {
    display: grid;
    grid-template-columns: 1.15fr 2fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid rgba(232, 224, 212, 0.06);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__logo {
    height: clamp(48px, 6vw, 60px);
    width: auto;
    border-radius: 10px;
    opacity: 0.95;
    object-fit: contain;
    filter: brightness(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    align-self: flex-start;
}

.footer__tagline {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 145, 58, 0.75);
    font-weight: 600;
}

.footer__description {
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.05vw, 0.95rem);
    color: rgba(240, 235, 228, 0.5);
    line-height: 1.65;
    max-width: 320px;
    margin-top: 0.25rem;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-content: start;
}

.footer__column h4 {
    font-family: var(--font-heading);
    font-size: clamp(0.88rem, 1.1vw, 0.98rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

.footer__column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--amber);
    opacity: 0.5;
    border-radius: 2px;
}

.footer__column a {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.92rem);
    color: rgba(240, 235, 228, 0.5);
    margin-bottom: 0.65rem;
    transition: color 0.3s ease, padding-left 0.3s var(--ease-out-expo);
    line-height: 1.4;
}

.footer__column a:hover {
    color: var(--amber-light);
    padding-left: 6px;
}

/* ── Social links ───────────────────────────────── */
.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.92rem);
    color: rgba(240, 235, 228, 0.5);
    margin-bottom: 0.65rem;
    transition: color 0.3s ease, padding-left 0.3s var(--ease-out-expo);
}

.footer__social-link svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.footer__social-link:hover {
    color: var(--amber-light);
    padding-left: 6px;
}

.footer__social-link:hover svg {
    opacity: 1;
}

/* ── Footer bottom bar ───────────────────────────── */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
}

.footer__bottom p {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1vw, 0.88rem);
    color: rgba(240, 235, 228, 0.35);
    line-height: 1.5;
}

/* =============================================
   WHATSAPP FLOATING CTA
   ============================================= */
.whatsapp-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    background: #25D366;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.35s ease;
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: none;
}

.whatsapp-cta svg {
    flex-shrink: 0;
}

.whatsapp-cta__label {
    white-space: nowrap;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(0, 0, 0, 0.25); }
}

/* Mobile: icon only */
@media (max-width: 640px) {
    .whatsapp-cta {
        padding: 0.9rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .whatsapp-cta__label { display: none; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__image {
        height: 380px;
    }

    .experiences__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .in-dev__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .investment__tiers {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile timeline: full-width stacked layout, no sidebar */
    .timeline__item,
    .timeline__item:nth-child(odd),
    .timeline__item:nth-child(even) {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        gap: 1rem;
    }

    /* Make node in-flow so it sits at top of each item as a label */
    .timeline__node {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
    }

    /* Make the year/label inline instead of absolutely positioned */
    .timeline__node-label {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        white-space: normal;
        text-align: center;
    }

    /* Hide the small animated rivet on mobile */
    .timeline__node-rivet {
        display: none;
    }

    /* Keep the pulsing current marker hidden in flow */
    .timeline__node-current {
        display: none;
    }

    .timeline__photo,
    .timeline__sign,
    .timeline__item:nth-child(odd) .timeline__sign,
    .timeline__item:nth-child(even) .timeline__sign,
    .timeline__item:nth-child(odd) .timeline__photo,
    .timeline__item:nth-child(even) .timeline__photo {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .timeline__sign {
        margin-top: 0;
        position: relative;
        display: block;
    }

    .timeline__photo {
        margin-top: 0;
    }

    .timeline__item {
        margin-bottom: 3.5rem;
    }

    /* Hoja de Ruta: amenities y plan de expansión en tablet/móvil */
    .amenities {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }

    .amenities__label {
        font-size: 0.82rem;
        letter-spacing: 0.15em;
        margin-bottom: 1.1rem;
    }

    .amenities__grid {
        gap: 0.5rem 0.6rem;
    }

    .amenity-chip {
        font-size: 0.78rem;
        padding: 0.38rem 0.8rem;
    }

    .expansion-heading {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .expansion-heading__content {
        gap: 1rem;
    }

    .expansion-heading__line {
        max-width: 80px;
    }

    .expansion-heading__label {
        font-size: 0.82rem;
        letter-spacing: 0.18em;
    }

    .expansion-heading__desc {
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .lamp-light {
        width: 350px;
        height: 350px;
    }

    .hero__title-line {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .hero__title-accent {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero__label-line {
        width: 30px;
    }

    .hero__typo-main {
        font-size: clamp(3.5rem, 14vw, 6rem);
    }

    .hero__typo-bottom {
        font-size: 0.65rem;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .hero__typo-bottom::before,
    .hero__typo-bottom::after {
        display: none;
    }

    .experiences__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .in-dev__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .in-dev__header {
        margin-bottom: 2.5rem;
    }

    .in-dev__card {
        padding: 1.5rem 1.25rem;
    }

    .in-dev__cta {
        min-height: 140px;
        padding: 2rem 1.5rem;
    }

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

    .investment__features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }



    .footer__top {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding-bottom: 2.5rem;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__links .footer__column {
        text-align: center;
    }

    .footer__column h4 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .footer__column a,
    .footer__social-link {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1.5rem 0;
    }

    .footer__bottom p {
        font-size: 0.85rem;
    }

    .footer__brand {
        align-items: center;
        text-align: center;
    }

    .footer__logo {
        align-self: center;
    }

    .footer__description {
        max-width: 100%;
        text-align: center;
    }

    .footer__column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .fog-layer {
        display: none;
    }

    /* Hoja de Ruta: contenedor y timeline en móvil */
    .vision__container {
        padding-left: clamp(16px, 5vw, 24px);
        padding-right: clamp(16px, 5vw, 24px);
    }

    .amenities {
        margin-bottom: 2.5rem;
        padding: 0;
    }

    .amenities__grid {
        gap: 0.45rem 0.55rem;
    }

    .amenity-chip {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .expansion-heading {
        margin-bottom: 2rem;
        padding: 0;
    }

    .expansion-heading__line {
        max-width: 60px;
    }

    .expansion-heading__label {
        font-size: 0.78rem;
        letter-spacing: 0.15em;
    }

    .expansion-heading__desc {
        font-size: 0.8rem;
    }

    /* Signs mobile */
    .timeline__sign-img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        object-fit: initial;
        display: block;
        z-index: 0;
    }

    .timeline__sign-text {
        position: absolute;
        top: 14%;
        left: 10%;
        right: 10%;
        bottom: 14%;
        z-index: 2;
        padding: 0;
        min-height: auto;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .timeline__sign-text h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .timeline__sign-text p {
        font-size: 0.62rem;
        line-height: 1.35;
        max-width: 95%;
    }
}

/* Marker for Current Etapa */
.timeline__node-current {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 100, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 100, 0.4);
    animation: pulseMarker 2.5s infinite;
}

@keyframes pulseMarker {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .tier-card__price {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 0.85rem 1.6rem;
        font-size: 0.78rem;
    }

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

    .in-dev__cta {
        padding: 2rem 1.2rem;
        min-height: 130px;
    }

    .in-dev__cta-text {
        font-size: 0.9rem;
    }
}

/* =============================================
   GALERÍA — Masonry Photo Gallery
   ============================================= */
.galeria {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.galeria__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.galeria__header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Masonry Grid ───────────────────────────────── */
.galeria__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
    grid-auto-flow: dense;
}

.galeria__item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
    min-height: 0;
}

.galeria__item:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.galeria__item--tall {
    grid-row: span 2;
}

.galeria__item--wide {
    grid-column: span 2;
}

/* ── Image (object-fit cubre área; fallback si la imagen falla) ─── */
.galeria__item img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
    background: var(--bg-forest);
}

.galeria__item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* ── Hover Overlay ──────────────────────────────── */
.galeria__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(13, 17, 23, 0.85) 0%,
            rgba(13, 17, 23, 0.2) 40%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.galeria__item:hover .galeria__overlay {
    opacity: 1;
}

.galeria__caption {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.03em;
}

/* ── Responsive Grid ────────────────────────────── */
@media (max-width: 960px) {
    .galeria__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 12px;
        grid-auto-flow: dense;
    }
}

@media (max-width: 640px) {
    .galeria__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 10px;
        grid-auto-flow: dense;
    }

    .galeria__item--wide {
        grid-column: span 2;
    }

    .galeria__item--tall {
        grid-row: span 2;
    }

    .galeria__item {
        border-radius: 10px;
    }

    .galeria__item img {
        min-height: 100%;
    }
}

@media (max-width: 400px) {
    .galeria__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
        gap: 8px;
    }
}

/* =============================================
   GALERÍA LIGHTBOX
   ============================================= */
.galeria-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(8, 11, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.galeria-lightbox--active {
    opacity: 1;
    pointer-events: auto;
}

.galeria-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(240, 235, 228, 0.15);
    background: rgba(240, 235, 228, 0.06);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.galeria-lightbox__close:hover {
    background: rgba(240, 235, 228, 0.12);
    transform: rotate(90deg);
}

.galeria-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(212, 145, 58, 0.2);
    background: rgba(13, 17, 23, 0.6);
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.galeria-lightbox__nav:hover {
    background: rgba(212, 145, 58, 0.12);
    border-color: rgba(212, 145, 58, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.galeria-lightbox__nav--prev {
    left: 1.5rem;
}

.galeria-lightbox__nav--next {
    right: 1.5rem;
}

.galeria-lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.galeria-lightbox__img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.galeria-lightbox__img--loading {
    opacity: 0.3;
    transform: scale(0.97);
}

.galeria-lightbox__caption {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.04em;
}

.galeria-lightbox__counter {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(240, 235, 228, 0.4);
    letter-spacing: 0.1em;
}

/* Lightbox Mobile */
@media (max-width: 600px) {
    .galeria-lightbox__nav {
        display: none;
    }

    .galeria-lightbox__close {
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
    }

    .galeria-lightbox__img {
        max-height: 70vh;
        border-radius: 8px;
    }
}

/* =============================================
   UBICACIÓN — Google Maps Section
   ============================================= */
.ubicacion {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 4;
}

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

.ubicacion__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ubicacion__header-desc {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: var(--white-muted);
    margin: 0.75rem auto 0;
    max-width: 420px;
    line-height: 1.5;
}

/* ── Card contenedor (mapa + info) ──────────────────────────── */
.ubicacion__card {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 145, 58, 0.06);
    border: 1px solid rgba(212, 145, 58, 0.08);
}

/* ── Mapa ───────────────────────────────────────────────────── */
.ubicacion__map-wrap {
    position: relative;
    min-height: 380px;
    background: var(--bg-forest);
}

.ubicacion__map {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
    filter: brightness(0.9) contrast(1.05) saturate(0.85);
    transition: filter 0.4s ease;
}

.ubicacion__map-wrap:hover .ubicacion__map {
    filter: brightness(0.95) contrast(1.02) saturate(0.9);
}

.ubicacion__map-link {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--cream);
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(212, 145, 58, 0.2);
    border-radius: 8px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.ubicacion__map-link:hover {
    background: rgba(212, 145, 58, 0.15);
    border-color: rgba(212, 145, 58, 0.35);
    color: var(--amber-light);
}

/* ── Panel de información ───────────────────────────────────── */
.ubicacion__info {
    background: linear-gradient(165deg, rgba(18, 28, 26, 0.98) 0%, rgba(12, 20, 18, 0.99) 100%);
    border-left: 1px solid rgba(212, 145, 58, 0.08);
    display: flex;
    align-items: stretch;
}

.ubicacion__info-inner {
    padding: clamp(2rem, 4vw, 2.5rem) clamp(1.75rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    width: 100%;
}

.ubicacion__address {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.ubicacion__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 145, 58, 0.1);
    border: 1px solid rgba(212, 145, 58, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
}

.ubicacion__address-text {
    min-width: 0;
}

.ubicacion__title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.ubicacion__text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white-muted);
    line-height: 1.55;
    margin: 0;
}

.ubicacion__coords {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(212, 145, 58, 0.7);
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

/* ── Detalles (horario, teléfono) ────────────────────────────── */
.ubicacion__details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(232, 224, 212, 0.06);
}

.ubicacion__detail {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(240, 235, 228, 0.7);
}

.ubicacion__detail svg {
    color: var(--amber);
    opacity: 0.8;
    flex-shrink: 0;
}

.ubicacion__detail-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ubicacion__detail-link:hover {
    color: var(--amber-light);
}

/* ── Botón Cómo llegar ──────────────────────────────────────── */
.ubicacion__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d1117;
    background: var(--amber);
    padding: 0.9rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid rgba(212, 145, 58, 0.3);
    box-shadow: 0 4px 16px rgba(212, 145, 58, 0.2);
    transition: transform 0.4s var(--ease-out-expo), background 0.35s ease, box-shadow 0.4s ease, border-color 0.35s ease;
    align-self: flex-start;
}

.ubicacion__cta:hover {
    background: var(--amber-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 145, 58, 0.3);
    border-color: rgba(212, 145, 58, 0.45);
}

.ubicacion__cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 145, 58, 0.4);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
    .ubicacion__card {
        grid-template-columns: 1fr;
    }

    .ubicacion__map-wrap {
        min-height: 280px;
    }

    .ubicacion__map {
        min-height: 280px;
    }

    .ubicacion__info {
        border-left: none;
        border-top: 1px solid rgba(212, 145, 58, 0.08);
    }
}

@media (max-width: 600px) {
    .ubicacion__card {
        border-radius: 16px;
    }

    .ubicacion__map-wrap {
        min-height: 240px;
    }

    .ubicacion__map {
        min-height: 240px;
    }

    .ubicacion__map-link {
        bottom: 0.75rem;
        right: 0.75rem;
        padding: 0.45rem 0.75rem;
        font-size: 0.7rem;
    }

    .ubicacion__info-inner {
        padding: 1.75rem 1.35rem;
        gap: 1.5rem;
    }

    .ubicacion__icon {
        width: 44px;
        height: 44px;
    }

    .ubicacion__title {
        font-size: 1.1rem;
    }

    .ubicacion__text {
        font-size: 0.85rem;
    }

    .ubicacion__cta {
        width: 100%;
        justify-content: center;
    }
}
