/* ==========================================================================
   1. VARIABLES DE IDENTIDAD (PALETA ORGÁNICA EXTRAÍDA DE TU LOGO)
   ========================================================================== */
:root {
    --color-bg-dark: #0b1115;          /* Fondo ultra oscuro original de la web */
    --color-bg-preloader: #121b22;     /* Fondo del preloader */
    --color-brand-green: #4a5d4e;      /* Verde Oliva Patagónico del fondo de tu logo */
    --color-brand-green-muted: rgba(74, 93, 78, 0.2);
    --color-brand-gold: #c5a059;       /* Tono Crema/Bronce premium de la caña y las montañas */
    --color-brand-gold-muted: rgba(197, 160, 89, 0.3);
}

/* ==========================================================================
   2. TIPOGRAFÍAS E IDENTIDAD GENERAL
   ========================================================================== */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Aplicación de Copperplate Gothic para toda la jerarquía de títulos y marca */
h1, h2, h3, .font-serif, .modal-title {
    font-family: 'Copperplate Gothic', 'Copperplate', serif !important;
    font-weight: 600; /* Peso ideal para que luzca imponente y premium sin saturar */
    letter-spacing: 1px;
}

.tracking-wider {
    letter-spacing: 2px;
}
.font-size-sm {
    font-size: 0.85rem;
}

/* ==========================================================================
   3. ESTILOS DEL PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-preloader);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Evita que bloquee clicks invisibles */
}

.preloader-content {
    position: relative;
    text-align: center;
}

.preloader-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 0 30px var(--color-brand-green-muted); /* Aura verde oliva sutil */
    animation: pulseLogo 2s infinite ease-in-out;
}

/* Efecto de onda circular con los colores del logo */
.spinner-custom {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--color-brand-gold);   /* Carga crema/bronce */
    border-bottom-color: var(--color-brand-green); /* Carga verde oliva */
    animation: spinCustom 1.5s linear infinite;
}

@keyframes pulseLogo {
    0% { transform: scale(0.96); opacity: 0.9; }
    50% { transform: scale(1); opacity: 1; box-shadow: 0 0 40px rgba(74, 93, 78, 0.4); }
    100% { transform: scale(0.96); opacity: 0.9; }
}

@keyframes spinCustom {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading {
    overflow: hidden !important;
}

/* ==========================================================================
   4. HEADER DINÁMICO & NAVBAR PREMIUM
   ========================================================================== */
.navbar-dynamic {
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Inyección de scroll fija con desenfoque de agua traslúcida */
.navbar-scrolled {
    background-color: rgba(11, 17, 21, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid var(--color-brand-green); /* Línea inferior verde oliva */
}

.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.navbar-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: rotate(6deg) scale(1.05);
    border-color: var(--color-brand-gold); /* Gira y resalta en bronce */
}

/* --- TEXTOS DEL BRANDING (MÓDULO SOLICITADO) --- */
.brand-text-wrapper {
    gap: 2px; /* Separación sutil entre líneas */
}

/* Línea principal: RÍOS GRANDES */
.brand-text-main {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff !important;
}

/* Línea secundaria: FLY FISHING */
.brand-text-sub {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-size: 0.72rem; /* Tamaño proporcional más pequeño */
    font-weight: 400;
    letter-spacing: 2px; /* Mayor espaciado para un look boutique de alta gama */
    color: var(--color-brand-gold) !important; /* Hereda el tono bronce/crema del logo */
    transition: color 0.3s ease;
}

.navbar-brand:hover .brand-text-sub {
    color: #ffffff !important; /* Destello interactivo al pasar el cursor */
}

/* Enlaces del menú superior */
.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-brand-gold) !important; /* El texto activo cambia al bronce del logo */
}

/* Línea animada inferior estilo boutique al pasar el mouse */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-brand-green); /* Subrayado interactivo en verde oliva */
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 65%;
}

/* ==========================================================================
   5. CONTENEDOR GRID PRINCIPAL DE LA HOME (MOSAICO INTEGRADO)
   ========================================================================== */
.main-content-grid {
    padding-top: 130px; /* Margen de resguardo para que la navbar no pise la grilla */
    background-color: var(--color-bg-dark);
}

.grid-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    background-color: #121b22;
    box-shadow: 0 4px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.card-tall-lg {
    height: 520px; /* Columna izquierda alta */
}
.card-medium {
    height: 256px; /* Módulos del medio y derecha */
}
.card-short {
    height: 250px;  /* Fila inferior responsiva */
}

@media (max-width: 767px) {
    .grid-card {
        height: 280px !important;
        margin-bottom: 8px;
    }
    .main-content-grid {
        padding-top: 90px;
    }
}

.grid-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.grid-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 17, 21, 0.95) 0%, rgba(11, 17, 21, 0.2) 60%, rgba(11, 17, 21, 0.4) 100%);
    transition: background-color 0.4s ease;
    z-index: 2;
}

.grid-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 3;
    transition: transform 0.4s ease;
}

.grid-title {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.grid-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
    max-width: 95%;
}

/* Efectos hovers de la grilla combinados con verde y bronce */
.grid-card:hover .grid-card-bg {
    transform: scale(1.04);
}

.grid-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    border-color: rgba(74, 93, 78, 0.4); /* Halo verde oliva exterior */
}

.grid-card:hover .grid-title {
    color: var(--color-brand-gold) !important; /* El título vira a bronce */
    transition: color 0.3s ease;
}

/* ==========================================================================
   6. SECCIÓN "ABOUT US" (HISTORIA DE LA MARCA)
   ========================================================================== */
.about-section {
    background-color: #070b0e !important;
    padding: 160px 0 140px 0;
    position: relative;
    width: 100%;
}

/* Divisor de Olas */
.wave-container {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.wave-container svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

.wave-fill {
    fill: #0b1115 !important;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
    width: 100%;
}

.about-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 90%;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    z-index: 1;
    transition: all 0.5s ease;
}

.about-image {
    width: 90%;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: all 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: translate(12px, 12px);
}

.about-image-wrapper:hover .about-image-frame {
    transform: translate(-8px, -8px);
    border-color: var(--color-brand-green) !important; /* El cuadro de la foto pasa a verde oliva */
}

.image-badge {
    position: absolute;
    bottom: 25px;
    right: 12%;
    background-color: var(--color-brand-green) !important; /* Medallón verde de la marca */
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.about-subtitle {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-size: 0.85rem;
    color: var(--color-brand-gold) !important; /* Subtítulo en bronce/crema */
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding-left: 45px;
    letter-spacing: 2px;
}

.about-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--color-brand-gold);
}

.about-title {
    font-family: 'Copperplate Gothic', 'Copperplate', serif !important;
    font-size: 2.6rem !important;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #ffffff !important;
}

.highlight-text {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-size: 2.2rem;
    color: var(--color-brand-green) !important; /* Highlight principal en Verde Oliva */
    letter-spacing: 2px;
}

.lead-custom {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    text-align: justify;
}

/* Botón interactivo con el líquido Verde Oliva del logo */
.btn-modern-liquid {
    position: relative;
    display: inline-block;
    padding: 16px 44px;
    color: #ffffff !important;
    text-decoration: none !important;
    text-uppercase: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.4s ease;
    z-index: 5;
}

.btn-modern-liquid span {
    position: relative;
    z-index: 7;
    transition: color 0.4s ease;
    color: #ffffff !important;
}

.btn-modern-liquid .liquid-bg {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 150%;
    height: 300%;
    background-color: var(--color-brand-green) !important; /* Fluido verde oliva */
    border-radius: 45%;
    transform: translate(-50%, 0);
    transition: top 0.6s ease, transform 0.6s ease, border-radius 0.6s ease;
    z-index: 6;
}

.btn-modern-liquid:hover {
    border-color: var(--color-brand-green) !important;
    box-shadow: 0 0 20px rgba(74, 93, 78, 0.3);
}

.btn-modern-liquid:hover .liquid-bg {
    top: -70%;
    transform: translate(-50%, 0) rotate(180deg);
    border-radius: 40%;
}

.bg-watermark-angler {
    position: absolute;
    right: -5%;
    bottom: -5%;
    width: 450px;
    height: 450px;
    background-image: url('https://riosgrandesflyfishing.com/assets/img/gallery/gallery-0001.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.02; 
    pointer-events: none;
}

@media (max-width: 991px) {
    .about-section { padding: 100px 0 80px 0; }
    .about-image { height: 350px; width: 100%; }
    .about-image-frame { width: 95%; height: 95%; }
    .image-badge { right: 5%; }
    .about-title { font-size: 2rem !important; }
    .highlight-text { font-size: 1.6rem; }
}

/* ==========================================================================
   7. SECCIÓN DE GALERÍA MULTIMEDIA INTERACTIVA
   ========================================================================== */
.gallery-section {
    background-color: var(--color-bg-dark);
    padding: 80px 0;
}

.gallery-subtitle {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-size: 0.8rem;
    color: var(--color-brand-green);
    font-weight: 600;
    letter-spacing: 3px;
}

.gallery-main-title {
    font-family: 'Copperplate Gothic', 'Copperplate', serif !important;
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
}

.gallery-line {
    width: 50px;
    height: 3px;
    background-color: var(--color-brand-gold); /* Separador de bloques en bronce */
    margin-top: 15px;
}

.gallery-filters {
    background-color: #0d161d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.filter-btn {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    font-size: 0.8rem;
    text-uppercase: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--color-brand-gold);
}

.filter-btn.active {
    background-color: var(--color-brand-green); /* Botón activo en verde oliva */
    color: #ffffff;
}

.gallery-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-box-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 17, 21, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-box-hover i {
    font-size: 2rem;
    color: var(--color-brand-gold); /* Ojo de vista en bronce */
}

.gallery-box-hover span {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif;
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 2px;
}

.gallery-box:hover .gallery-img { transform: scale(1.05); }
.gallery-box:hover .gallery-box-hover { opacity: 1; }

.gallery-item.hide {
    transform: scale(0.8);
    opacity: 0;
    width: 0;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    pointer-events: none;
}

/* ==========================================================================
   8. LIGHTBOX DE MEDIOS & PIE DE PÁGINA (FOOTER EXCLUSIVO)
   ========================================================================== */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 11, 14, 0.96);
    z-index: 110000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.custom-lightbox.show { opacity: 1; visibility: visible; }
.custom-lightbox img { max-width: 85%; max-height: 80%; border-radius: 6px; }

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}
.lightbox-close:hover { color: var(--color-brand-gold); }

.footer-premium {
    background-color: #06090c;
    border-top: 1px solid rgba(74, 93, 78, 0.2); /* Remate verde oliva superior */
}

.footer-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-socials a:hover { color: var(--color-brand-gold) !important; }

/* Inputs del footer */
.form-footer-premium {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}
.form-footer-premium:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--color-brand-green) !important;
    box-shadow: 0 0 10px rgba(74, 93, 78, 0.2) !important;
}

.footer-premium h5 {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-weight: 600;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--color-brand-gold) !important;
    transform: translateX(5px);
}

/* ==========================================================================
   9. MODAL INTERACTIVO DE BOOTSTRAP 5
   ========================================================================== */
.modal-premium-bootstrap {
    background: linear-gradient(rgba(11, 17, 21, 0.90), rgba(11, 17, 21, 0.90)), 
                url('../img/modal-patagonia-dry-fly-01.jpg') no-repeat center center;
    background-size: cover;
    border: 1px solid rgba(74, 93, 78, 0.3) !important; /* Borde verde oliva perimetral */
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-premium-bootstrap .modal-title {
    font-family: 'Copperplate Gothic', 'Copperplate', sans-serif !important;
    font-weight: 600;
}

.modal-premium-bootstrap .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.modal-premium-bootstrap .btn-close:hover {
    transform: rotate(90deg);
}

.must-do-item { transition: all 0.3s ease; }
.must-do-item:hover {
    background: rgba(74, 93, 78, 0.1); /* Hover verde oliva en items */
    border-radius: 0 6px 6px 0;
}

/* Efecto de Movimiento Suave de Fondo para el Bloque del Grid */
.grid-box:hover .grid-box-bg-zoom {
    transform: scale(1.08) translate3d(2px, -2px, 0);
}

.grid-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.grid-box:hover {
    border-color: rgba(197, 160, 89, 0.25) !important; /* Destello dorado sutil en el borde al hacer hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   11. COMPONENTES INTERACTIVOS DE LA NAVBAR COMPUESTA
   ========================================================================== */
.dropdown-menu-dark {
    background-color: #0b1115 !important;
    border: 1px solid rgba(74, 93, 78, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-menu-dark .dropdown-item {
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: var(--color-brand-green) !important;
    color: #ffffff !important;
}

/* Buscador Modular Integrado */
.nav-search-input {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 8px 35px 8px 15px !important;
    font-size: 0.85rem !important;
    width: 180px;
    transition: all 0.4s ease !important;
}

.nav-search-input:focus {
    width: 230px;
    border-color: var(--color-brand-gold) !important;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
}

/* Botones de acción rápidos (Mail & WhatsApp) */
.btn-nav-action {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-nav-action:hover {
    background: var(--color-brand-green);
    border-color: var(--color-brand-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 93, 78, 0.3);
}

/* ==========================================================================
   12. AJUSTES FINALES DE CENTRADO, RESPONSIVE Y PLACEHOLDER
   ========================================================================== */

/* Forzar que el texto del marcador "I'm searching for..." sea visible y claro */
.nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    font-size: 0.82rem;
}
/* Estilo de respaldo para navegadores basados en Webkit e Internet Explorer */
.nav-search-input::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.5) !important; }
.nav-search-input::-moz-placeholder { color: rgba(255, 255, 255, 0.5) !important; }

/* Separador horizontal interno exclusivo para el diseño centrado en modo escritorio */
@media (min-width: 1200px) {
    .border-top-xl {
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        padding-top: 12px;
    }
}

/* CORRECCIÓN CELULAR: Evita que el menú desplegado sea traslúcido y moleste al scroll */
@media (max-width: 1199px) {
    .navbar-collapse {
        background-color: #0b1115 !important; /* Fondo negro puro sólido en móviles */
        border-radius: 8px;
        padding: 1.5rem;
        margin-top: 10px;
        border: 1px solid rgba(74, 93, 78, 0.2); /* Sutil marco verde oliva de contención */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    }
    
    .navbar-nav .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

/* ==========================================================================
   13. MAQUETACIÓN EXCLUSIVA DE LA TARJETA AUTOMÁTICA DE CALENDARIO
   ========================================================================== */
.grid-calendar-box-premium {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background-color: #0c1216;
}

.grid-calendar-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.grid-calendar-box-premium:hover .grid-calendar-bg-blur {
    transform: scale(1.05); /* Efecto zoom controlado en el fondo */
}

.grid-calendar-content-wrapper {
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

/* Sub-bloque iluminado si la Temporada Alta está activa (Noviembre a Mayo) */
.active-season-row-gold {
    background: rgba(197, 160, 89, 0.06) !important;
    border-left: 3px solid var(--color-brand-gold) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sub-bloque iluminado si la Temporada Baja está activa (Junio a Octubre) */
.active-season-row-green {
    background: rgba(74, 93, 78, 0.12) !important;
    border-left: 3px solid var(--color-brand-green) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Corrección de alineación horizontal en Navbar Expandida */
@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}
.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================================================================
   14. SECCIÓN EXCLUSIVA: BOUTIQUE HOTEL PROGRAM APARTADO MODERNO
   ========================================================================== */
.hotel-hero {
    height: 55vh;
    min-height: 380px;
}

.hotel-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    animation: slowHeroPan 20s infinite alternate ease-in-out; /* Sutil paneo continuo de fondo */
    z-index: 1;
}

@keyframes slowHeroPan {
    0% { transform: scale(1.02) translateY(0); }
    100% { transform: scale(1.06) translateY(-10px); }
}

/* Efecto hover interactivo en los wrappers de mallas fotográficas */
.hotel-mesh-img-wrapper {
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.hotel-mesh-img-wrapper:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--color-brand-gold); /* El borde destella en bronce */
}

.hotel-mesh-img-wrapper .item-zoom {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hotel-mesh-img-wrapper:hover .item-zoom {
    transform: scale(1.04);
}

/* Corrección de jerarquía del Preloader para evitar bloqueos del DOM */
#preloader.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Forzar cursor interactivo en las imágenes del programa boutique */
.hotel-mesh-img-wrapper.gallery-box {
    cursor: pointer;
}

/* ==========================================================================
   15. APARTADO INTERACTIVO AVANZADO: NUESTRO EQUIPO (FLEX REPARADO)
   ========================================================================== */
.team-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 160px; /* Tamaño de contención fijo */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.team-pulse-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
}

.team-circle-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-circle-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
}

/* --- ANILLOS DE LUZ DE PULSO EN GPU CONTRA LA PESADEZ --- */
.pulse-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 118px;
    height: 118px;
    border-radius: 50% !important;
    opacity: 0;
    z-index: 1;
    will-change: transform, opacity; /* Fuerza renderizado por hardware */
    animation: wavePulse 2.8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gold-pulse {
    border: 2px solid var(--color-brand-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.green-pulse {
    border: 2px solid var(--color-brand-green);
    box-shadow: 0 0 15px rgba(74, 93, 78, 0.4);
}

@keyframes wavePulse {
    0% { transform: scale(0.94); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 0.3; }
    100% { transform: scale(1.14); opacity: 0; }
}

/* --- TEXTOS ASOCIADOS --- */
.team-item-name {
    font-size: 0.9rem !important;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.team-item-role {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- INTERACCIONES DE SELECCIÓN --- */
.team-card-item:hover .team-circle-avatar,
.team-card-item.selected .team-circle-avatar {
    transform: translateY(-4px);
    border-color: #ffffff;
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15);
}

.team-card-item:hover .team-item-name,
.team-card-item.selected .team-item-name {
    color: var(--color-brand-gold);
}

/* --- PANELES DESPLEGABLES --- */
.team-bio-panel {
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    border-left: 4px solid var(--color-brand-gold) !important;
    margin-top: 15px;
}

#bio-manuel, #bio-alberto, #bio-ignacio {
    border-left-color: var(--color-brand-green) !important;
}