/* ========================================================
   LAGO ESPOLÓN v2.0 - SISTEMA DE DISEÑO PATAGÓNICO
   www.lagoespolon.cl | Mobile First & Carga Ultra-rápida
   ======================================================== */

:root {
    /* Paleta Cromática Patagónica */
    --c-forest-dark: #0a1f15;
    --c-forest: #123824;
    --c-forest-light: #1b5336;
    --c-emerald: #059669;
    
    --c-glacial-blue: #0284c7;
    --c-turquoise: #0d9488;
    --c-turquoise-light: #ccfbf1;
    
    --c-wood-dark: #78350f;
    --c-wood: #9a6526;
    --c-gold: #d97706;
    --c-gold-light: #fef3c7;
    
    --c-canvas: #f8faf8;
    --c-surface: #ffffff;
    --c-surface-card: #ffffff;
    
    --c-text-main: #0f172a;
    --c-text-muted: #475569;
    --c-text-light: #64748b;
    --c-text-white: #ffffff;
    
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-glass: rgba(255, 255, 255, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px -10px rgba(10, 31, 21, 0.08);
    --shadow-card: 0 16px 36px -12px rgba(10, 31, 21, 0.15);
    --shadow-hover: 0 24px 48px -12px rgba(10, 31, 21, 0.25);
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--c-text-main);
    background-color: var(--c-canvas);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==================== NAVEGACIÓN ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.15rem 0;
    background: rgba(6, 20, 14, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 0.85rem 0;
    background: rgba(5, 16, 11, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-logo-img {
    height: 70px; /* Un poco más alto para acomodar el nuevo texto incrustado */
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 100px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.2)) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7));
}

.nav-menu {
    display: none;
    align-items: center;
    gap: clamp(0.5rem, 1.2vw, 1.35rem);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.35rem 0.2rem;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #38bdf8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #38bdf8;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* Botón Acceso ERP en Header */
.btn-nav-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-nav-admin:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: #34d399;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.nav-contact-btn {
    padding: 0.5rem 1.15rem;
    font-size: 0.86rem;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Efecto brillo en botones */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(35deg);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.btn:hover::after {
    left: 120%;
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #0d9488, #0284c7);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
    filter: brightness(1.05);
}

.btn-gold {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

/* Menú móvil desplegable */
.mobile-menu {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background: rgba(6, 20, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: #38bdf8;
    padding-left: 0.35rem;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0.4rem 0;
}

.mobile-admin-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.1rem;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: var(--radius-md);
    color: #6ee7b7;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-admin-btn:hover {
    background: rgba(16, 185, 129, 0.28);
    color: #ffffff;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
    color: #ffffff;
}

.hero-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 31, 21, 0.72) 0%,
        rgba(10, 31, 21, 0.5) 45%,
        rgba(10, 31, 21, 0.92) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fef08a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: clamp(2.3rem, 5.5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    background: linear-gradient(135deg, #7dd3fc, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.25rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Widget de Cotización Rápida en el Hero */
.hero-booking-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    color: var(--c-text-main);
    text-align: left;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: flex-end;
}

@media (min-width: 640px) {
    .booking-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .booking-form-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--c-forest);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.form-input, .form-select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid #cbd5e1;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--c-text-main);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--c-forest);
    box-shadow: 0 0 0 3px rgba(18, 56, 36, 0.15);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #fff;
    color: #08281d;
    font-weight: 800;
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.quote-dates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.quote-whatsapp-link {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.75rem;
    background: #15803d;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 640px) {
    .quote-dates-grid { grid-template-columns: 1fr; }
}

/* ==================== SECCIONES GENERALES ==================== */
.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--c-wood);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--c-forest-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--c-text-muted);
    font-size: 1.05rem;
}

/* ==================== ALOJAMIENTOS ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-item {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.card-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 148, 136, 0.2);
}

.card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-item:hover .card-img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 31, 21, 0.85);
    color: #ffffff;
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-price-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: #ffffff;
    color: var(--c-forest-dark);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-price-badge span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--c-text-muted);
}

.card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.35rem;
    color: var(--c-forest-dark);
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--c-text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.4rem;
}

.amenity-tag {
    background: var(--c-canvas);
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==================== EXPERIENCIAS ==================== */
.experiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

@media (min-width: 768px) {
    .experiences-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.exp-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.exp-card:hover {
    transform: translateY(-6px);
}

.exp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.exp-card:hover .exp-img {
    transform: scale(1.08);
}

.exp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 31, 21, 0.95) 100%);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.exp-tag {
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.exp-title {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.exp-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

/* ==================== GALERÍA (CARRUSEL) ==================== */
.gallery-filters-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 2.5rem;
}

.gallery-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.gallery-filters::-webkit-scrollbar {
    display: none;
}
@media (min-width: 768px) {
    .gallery-filters {
        justify-content: center;
    }
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--c-forest);
    color: #ffffff;
    border-color: var(--c-forest);
    box-shadow: 0 4px 12px rgba(18, 56, 36, 0.2);
}

.gallery-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.gallery-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem 0;
    scrollbar-width: none; /* Ocultar scrollbar en Firefox */
    width: 100%;
}

.gallery-grid::-webkit-scrollbar {
    display: none; /* Ocultar scrollbar en Chrome/Safari */
}

.gallery-thumb {
    flex: 0 0 calc(85% - 1.5rem); /* Casi pantalla completa en móvil */
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
    .gallery-thumb { flex: 0 0 calc(50% - 0.75rem); scroll-snap-align: start; }
}
@media (min-width: 992px) {
    .gallery-thumb { flex: 0 0 calc(33.333% - 1rem); }
}
@media (min-width: 1200px) {
    .gallery-thumb { flex: 0 0 calc(25% - 1.125rem); }
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-thumb:hover img {
    transform: scale(1.08);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: var(--c-forest-dark);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: var(--c-forest);
    color: #ffffff;
    transform: translateY(-60%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: -15px;
}
.gallery-nav-btn.next {
    right: -15px;
}

/* ==================== CÓMO LLEGAR & MAPA ==================== */
.travel-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .travel-guide-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.route-step-card {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.8rem;
    background: var(--c-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.route-step-num {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--c-turquoise), var(--c-glacial-blue));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.route-step-content h4 {
    color: var(--c-forest-dark);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.route-step-content p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tips-box {
    background: var(--c-turquoise-light);
    border-left: 4px solid var(--c-turquoise);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.tips-box h5 {
    color: var(--c-forest-dark);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-box ul {
    list-style: none;
    padding: 0;
}

.tips-box li {
    font-size: 0.88rem;
    color: var(--c-forest);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
}


/* ==================== HISTORIA Y PATRIMONIO ==================== */
.story-box {
    background: linear-gradient(135deg, var(--c-forest-dark), #102a1c);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .story-box {
        padding: 4.5rem;
    }
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .story-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: #fde68a;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.story-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
    border-left: 3px solid #d97706;
    padding-left: 1.25rem;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d97706;
}

.story-author-info h4 {
    font-size: 1.15rem;
    color: #ffffff;
}

.story-author-info p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.story-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* ==================== GALERÍA ==================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: var(--c-surface);
    border: 1.5px solid #cbd5e1;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--c-forest);
    color: #ffffff;
    border-color: var(--c-forest);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-thumb {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.08);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 21, 0.45);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

/* ==================== CÓMO LLEGAR ==================== */
.travel-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .travel-guide-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.route-step-card {
    background: var(--c-surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--c-turquoise);
    display: flex;
    gap: 1.25rem;
}

.route-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-turquoise-light);
    color: var(--c-turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.route-step-content h4 {
    font-size: 1.15rem;
    color: var(--c-forest-dark);
    margin-bottom: 0.35rem;
}

.route-step-content p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

.tips-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.tips-box h5 {
    color: #1e3a8a;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-box ul {
    list-style: none;
    font-size: 0.88rem;
    color: #1e40af;
}

.tips-box li {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--c-forest-dark);
    color: #ffffff;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    sm-flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
}

.admin-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* ==================== BOTÓN FLOTANTE WHATSAPP ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 90;
    transition: var(--transition);
    cursor: pointer;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6);
}

/* Modal Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #ffffff;
    font-size: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Layout Sección Contacto */
@media (min-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 0.95fr 1.2fr !important;
    }
}

/* ========================================================
   MEJORAS DE ACCESIBILIDAD & EXPERIENCIA (UI/UX PRO MAX)
   ======================================================== */

/* 1. Indicador de Enfoque Accesible para Teclado (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--c-turquoise);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
}

/* 2. Área Táctil Mínima Móvil (44x44px) */
.mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 3. Respeto a Preferencias de Reducción de Movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-video {
        display: none;
    }

    .hero-media-wrapper {
        background-image: url('../assets/img/dron-lago-1.webp');
        background-size: cover;
        background-position: center;
    }
}

/* ========================================================
   FASE 3: BANNER DE TEMPORADA, SELECTOR DE IDIOMA Y MICRO-UI
   ======================================================== */

/* Barra de Anuncios Superior */
.top-announcement-bar {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 105;
    transition: all 0.3s ease;
}

.top-announcement-bar.hidden {
    display: none;
}

.announcement-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    line-height: 1.4;
}

.announcement-badge {
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid #f59e0b;
    color: #fef3c7;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.announcement-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.announcement-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* Selector de Idioma (ES / EN) */
.lang-selector {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.35rem;
}

.scrolled .lang-selector {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    transition: var(--transition);
}

.scrolled .lang-btn {
    color: var(--c-text-muted);
}

.lang-btn.active {
    color: #ffffff;
    background: var(--c-forest);
}

.scrolled .lang-btn.active {
    color: #ffffff;
    background: var(--c-forest);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.scrolled .lang-divider {
    color: #94a3b8;
}

/* Chip de Estado en Vivo */
.badge-live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}
/* Acceso Administración ERP en Footer */
.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.admin-link:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #34d399;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .navbar {
        padding: 0.9rem 0;
    }

    .nav-logo-img {
        height: 65px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 45px;
    }

    .btn-nav-admin .btn-admin-label {
        display: none;
    }

    .btn-nav-admin {
        padding: 0.45rem 0.65rem;
    }

    .nav-social-btn,
    .nav-contact-btn {
        display: none !important;
    }

    .nav-actions {
        gap: 0.45rem !important;
    }

    .contact-layout-grid,
    .contact-layout-grid > * {
        min-width: 0;
        width: 100%;
    }

    .contact-layout-grid {
        max-width: 100% !important;
    }

    .contact-layout-grid input,
    .contact-layout-grid select,
    .contact-layout-grid textarea {
        max-width: 100%;
    }
}
