/* --- HOSTAL MÓNACO - ESTILO FINAL --- */

:root {
    --gold: #D4AF37;          /* Dorado Principal */
    --gold-hover: #b59020;    /* Dorado Oscuro (hover) */
    --green-btn: #2E5C38;     /* Verde Botón Reservas */
    --green-hover: #3a7547;   /* Verde hover */
    --dark-bg: #050505;       /* Fondo Negro */
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Lato', sans-serif; }

/* Contenedor de fondo fijo para evitar problemas de pixelación */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/aguas_calientev4.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    /* Prevenir el estiramiento en móviles */
    transform: translateZ(0);
    will-change: transform;
}

body {
    background-color: var(--dark-bg);
    color: var(--white);
    position: relative;
    min-height: 100vh;
}

/* Overlay oscuro sutil para mejorar legibilidad */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    pointer-events: none;
}

/* Ajustes específicos para móviles */
@media screen and (max-width: 768px) {
    body::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        /* Mejorar rendimiento en móviles */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

/* Desktop - fondo fijo */
@media screen and (min-width: 769px) {
    body::before {
        background-attachment: fixed;
    }
}

#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* =========================================
   1. NAVBAR FLOTANTE (ESTILO "PÍLDORA" DE LUJO)
   ========================================= */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    
    /* === CAMBIOS PARA AGRANDAR === */
    width: 90%;          /* Antes 95%. La hacemos casi del ancho total */
    max-width: 1200px;   /* Antes 1200px. Más ancha en pantallas grandes */
    height: 90px;       /* Antes 70px. ¡MUCHO MÁS ALTA! */
    padding: 0 40px;     /* Antes 0 30px. Más aire a los costados */
    border-radius: 60px; /* Redondeado ajustado al nuevo tamaño */
    
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000;
    background: rgba(15, 25, 25, 0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 70px; filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)); }
.brand-name { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1.5rem; letter-spacing: 1px; }

.nav-links { display: flex; gap: 25px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #eee; text-decoration: none; font-weight: 700; font-size: 0.9.5rem; text-transform: uppercase; transition: 0.3s; letter-spacing: 1px; }
.nav-links a:hover { color: var(--gold); text-shadow: 0 0 10px var(--gold); }

.lang-switch { cursor: pointer; border: 1px solid rgba(212, 175, 55, 0.5); padding: 5px 12px; border-radius: 20px; color: var(--gold); font-size: 0.75rem; transition: 0.3s; margin-left: 20px; }
.lang-switch:hover { background: var(--gold); color: black; }
.menu-toggle { display: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* =========================================
   2. HERO (TEXTO PRINCIPAL - REDISEÑADO)
   ========================================= */
.hero {
    height: 80vh; /* Más compacto */
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 20px;
    position: relative;
}

.hero-box {
    /* Quitamos el fondo negro pesado para que se vea la montaña */
    background: transparent; 
    border: none;
    padding: 20px;
    max-width: 900px;
    backdrop-filter: none;
    box-shadow: none;
    /* Un poco de sombra en el texto para que se lea sobre la foto */
    text-shadow: 0 4px 15px rgb(88, 88, 88);
}

.hero h1 {
    font-family: 'Cinzel', serif; 
    font-size: 4.5rem; /* Letra más grande e impactante */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    margin-top: 80px; /* Bajando la posición del título */
    
    /* EFECTO ORO METÁLICO EN EL TEXTO */
    background: linear-gradient(to bottom, #cfc09f 0%, #ffecb3 20%, #9e803d 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0px rgba(0,0,0,0.5)); /* Sombra dura para legibilidad */
}

.hero p { 
    color: #f0f0f0; 
    font-size: 1.3rem; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    font-weight: 300;
    margin-bottom: 0; /* Quitamos margen para acercarlo a la barra */
    text-shadow: 0 2px 10px rgba(0,0,0,1);
}

/* Estilo para el subtítulo de ubicación */
.hero p[data-lang="hero_location"] {
    font-family: 'Cinzel', serif;
    font-size: 2rem; /* Más pequeño que el h1 (4.5rem) */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    /* Mismo gradiente dorado que el título */
    background: linear-gradient(to bottom, #cfc09f 0%, #ffecb3 20%, #c4bcac 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0px rgba(0,0,0,0.5));
}

/* Animación loop para el subtítulo */
.hero-location {
    animation: fadeLoop 3s ease-in-out infinite;
}

@keyframes fadeLoop {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* El botón de "Reservar Ahora" en el Hero lo ocultamos porque 
   ya tendremos la barra de búsqueda justo ahí visible */
.hero .btn-gold {
    display: none; 
}

/* Ajuste para móviles */
@media screen and (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 0.9rem; letter-spacing: 2px; }
    .hero p[data-lang="hero_location"] { font-size: 1.5rem; letter-spacing: 1px; }
    .hero { height: 70vh; } /* Más corto en celular */
}

/* =========================================
   3. BARRA DE RESERVAS (POSICIÓN VISIBLE) - MODIFICADA SIN TÍTULO
   ========================================= */
.booking-wrapper {
    display: flex; 
    justify-content: center; 
    position: relative; 
    z-index: 100;
    
    /* EL TRUCO: Margen negativo grande para subirla sobre la foto */
    margin-top: -140px; 
    padding: 0 20px;
    margin-bottom: 60px; /* Espacio debajo para no pegar con la siguiente sección */
}

/* Ajuste móvil para la barra */
@media screen and (max-width: 768px) {
    .booking-wrapper { margin-top: -80px; } /* Menos subida en celular */
}

.booking-bar {
    /* Fondo oscuro verdoso/negro como la foto */
    background: rgba(10, 25, 20, 0.9); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Borde redondeado sutil */
    border-radius: 20px; 
    
    /* === AJUSTADO SIN EL TÍTULO === */
    padding: 35px 50px;
    width: 100%; 
    max-width: 1250px;
    
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

#booking-form {
    display: flex; align-items: flex-end; gap: 20px; width: 100%;
}

.input-group { flex: 1; display: flex; flex-direction: column; }

.input-group label {
    color: var(--gold); /* Títulos dorados */
    font-size: 0.85rem; font-weight: bold; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px;
}

/* INPUTS DE LA BARRA DE RESERVA (MEJORADOS) */
.date-input, .guest-select {
    width: 100%; 
    height: 50px; 
    padding: 0 15px;
    
    /* CAMBIO: Fondo un poco más visible y claro para evitar el efecto "negro" */
    background-color: rgba(255, 255, 255, 0.15) !important; 
    backdrop-filter: blur(5px); /* Efecto vidrio */
    
    /* CAMBIO: Borde dorado sutil para definir el área */
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 8px;
    
    color: white; 
    font-size: 0.95rem; 
    outline: none; 
    transition: 0.3s;
    
    /* CRÍTICO: Elimina el estilo nativo feo del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Al hacer clic/escribir */
.date-input:focus, .guest-select:focus {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Opciones del selector */
.guest-select option {
    background: #111;
    color: white;
    padding: 10px;
}

/* Icono calendario blanco */
.date-input::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; opacity: 0.7; }

/* BOTÓN BUSCAR: Rectangular verde a la derecha */
.btn-search-green {
    background: var(--green-btn);
    color: white; border: none;
    padding: 0 30px; height: 50px; /* Misma altura que input */
    border-radius: 8px;
    font-weight: bold; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; white-space: nowrap;
}
.btn-search-green:hover { background: var(--green-hover); box-shadow: 0 0 15px rgba(46, 92, 56, 0.5); }


/* =========================================
   4. ESTILOS GENERALES (SECCIONES, CARDS)
   ========================================= */
.section-padding { padding: 40px 10%; }
.section-title { font-family: 'Cinzel', serif; color: var(--gold); font-size: 2.5rem; text-align: center; margin-bottom: 30px; text-shadow: 0 4px 10px black; }

.glass-panel {
    background: rgba(15, 20, 15, 0.8);
    backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px; color: white; transition: transform 0.3s;
}
.glass-panel:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.card, .room-card, .ods-card { padding: 40px 20px; text-align: center; }

.icon-gold { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
.icon-green { font-size: 3rem; color: #4CAF50; margin-bottom: 20px; }
h3 { margin-bottom: 15px; font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--gold); }
p { color: #bbb; line-height: 1.6; font-size: 0.95rem; }

/* Botones Dorados Generales */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #967117);
    color: white; padding: 15px 45px; border: none; border-radius: 50px;
    font-weight: bold; text-decoration: none; display: inline-block; letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); transition: 0.3s; text-transform: uppercase;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); }

.btn-gold-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 8px 20px; margin-top: 15px; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; border-radius: 50px; }
.btn-gold-outline:hover { background: var(--gold); color: black; }

/* =========================================
   5. FOOTER
   ========================================= */
footer { margin-top: 20px; background: #000; border-top: 2px solid var(--gold); }
.footer-overlay { padding: 80px 10%; background: radial-gradient(circle at center, rgba(30,30,30,1) 0%, rgba(0,0,0,1) 100%); }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col h3 { color: var(--gold); margin-bottom: 25px; font-family: 'Cinzel', serif; font-size: 1.1rem; border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding-bottom: 10px; display: inline-block; }
.socials a { font-size: 1.8rem; color: white; margin-right: 20px; transition: 0.3s; }
.socials a:hover { color: var(--gold); transform: translateY(-3px); }
.copyright { text-align: center; margin-top: 60px; color: #555; font-size: 0.8rem; border-top: 1px solid #222; padding-top: 30px; letter-spacing: 1px; }
.map-btn { display: inline-block; margin-top: 15px; font-size: 0.8rem; color: var(--gold); text-decoration: none; border: 1px solid var(--gold); padding: 5px 15px; border-radius: 5px; }
.map-btn:hover { background: var(--gold); color: black; }

/* =========================================
   6. WHATSAPP (SIN BORDE BLANCO)
   ========================================= */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white; width: 60px; height: 60px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 35px; box-shadow: 0 5px 20px rgba(0,0,0,0.5); z-index: 2000;
    text-decoration: none; border: none; outline: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 0 25px #25d366; }

/* =========================================
   7. RESPONSIVO (MÓVIL)
   ========================================= */
@media screen and (max-width: 768px) {
    /* Navbar en móvil ocupa el ancho completo y va arriba */
    .navbar { width: 100%; top: 0; left: 0; transform: none; border-radius: 0; padding: 0 20px; background: rgba(0,0,0,0.95); }
    
    .menu-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: #000; padding: 20px; text-align: center; border-bottom: 1px solid var(--gold); }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; }
    
    /* Hero texto más pequeño */
    .hero h1 { font-size: 2.2rem; }
    .hero-box { padding: 40px 20px; margin: 0 15px; }
    
    /* Barra de reservas en columna */
    .booking-bar { flex-direction: column; padding: 25px; border-radius: 15px; height: auto; }
    #booking-form { flex-direction: column; width: 100%; }
    .btn-search-green { width: 100%; }
}

/* --- ESTILO PARA LAS FOTOS EN LA WEB (index.html) --- */
.room-card {
    padding: 0 !important; /* Quitamos el padding para que la foto toque los bordes */
    overflow: hidden; /* Para que la foto no se salga de las esquinas redondeadas */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.web-room-img {
    width: 100%;
    height: 200px; /* Altura fija para uniformidad */
    object-fit: cover; /* Recorte inteligente */
    border-bottom: 1px solid var(--gold);
    transition: transform 0.4s ease;
}

/* Efecto Zoom al pasar el mouse */
.room-card:hover .web-room-img {
    transform: scale(1.1);
}

.room-info {
    padding: 25px; /* El relleno vuelve aquí para el texto */
}

/* --- NUEVO CONTENEDOR FLEX PARA CENTRAR HABITACIONES --- */
.rooms-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ¡ESTO ES LA CLAVE! Centra todo */
    gap: 30px;
}

/* Ajuste para que las tarjetas se vean uniformes */
.rooms-flex .room-card {
    flex: 1 1 450px; /* Ancho base ideal */
    max-width: 550px; /* Para que no se estiren demasiado */
    width: 100%;
}

/* =========================================
   MODAL DE RESERVA
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 420px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
    border-radius: 15px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #444;
    transition: 0.3s;
    cursor: pointer;
}
.close-btn:hover { color: var(--gold); }

/* =========================================
   RESPONSIVO 2x2 (SIMETRÍA PERFECTA)
   ========================================= */
@media screen and (max-width: 1300px) {
    
    /* 1. NAVBAR (Ajustes suaves) */
    .navbar { width: 98%; height: 80px; padding: 0 20px; }
    .logo-img { height: 50px; }
    .brand-name { font-size: 1.1rem; margin-left: 5px; }
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 0.75rem; }

    /* 2. BARRA DE RESERVAS EN MODO CUADRÍCULA */
    .booking-bar {
        height: auto;
        padding: 30px 40px;
    }

    /* EL FORMULARIO EN GRID 2x2 */
    #booking-form {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Dos columnas idénticas */
        gap: 20px; /* Espacio entre cuadros */
        width: 100%;
    }

    /* Los inputs ocupan todo su hueco */
    .input-group {
        width: 100%;
    }

    /* EL BOTÓN (La clave para que no sea feo) */
    .btn-search-green {
        width: 100%; /* Que llene su celda, pero solo su celda */
        margin: 0;
        align-self: end; /* ¡TRUCO! Se pega al fondo para alinearse con los inputs */
        height: 65px; /* Misma altura que los inputs */
    }
}

/* Y un ajuste extra para cuando sea celular (Pantalla muy chica) */
@media screen and (max-width: 600px) {
    #booking-form {
        grid-template-columns: 1fr; /* Aquí sí, todo en 1 sola columna */
    }
}

/* =========================================
   ANIMACIONES MODERNAS Y EFECTOS
   ========================================= */

/* Animación suave para elementos que aparecen al hacer scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Animación de iconos */
.icon-animated {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.service-card:hover .icon-animated {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--gold));
}

.ods-card:hover .icon-animated {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 0 15px #4CAF50);
}

/* Efecto parallax suave en el hero */
@media screen and (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

/* =========================================
   SECCIÓN DE ESTADÍSTICAS
   ========================================= */
.stats-section {
    background: linear-gradient(135deg, rgba(10,20,15,0.95), rgba(5,10,8,0.95));
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 60px 10%;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.stat-item i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.stat-plus {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-left: 3px;
}

.stat-item p {
    color: #ccc;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* =========================================
   MEJORAS A LAS HABITACIONES
   ========================================= */
.room-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.view-gallery-btn {
    background: var(--gold);
    color: black;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-gallery-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--gold);
}

.room-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.room-features span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-features i {
    font-size: 0.9rem;
}

/* =========================================
   MODAL DE GALERÍA
   ========================================= */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: var(--gold);
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.gallery-close:hover {
    transform: scale(1.2);
    text-shadow: 0 0 20px var(--gold);
}

.gallery-nav {
    position: absolute;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border: 2px solid var(--gold);
    font-size: 2rem;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-nav:hover {
    background: var(--gold);
    color: black;
    transform: scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-caption {
    text-align: center;
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 20px;
    letter-spacing: 1px;
}

/* =========================================
   SECCIÓN DE TESTIMONIOS
   ========================================= */
.testimonials-section {
    background: linear-gradient(135deg, rgba(5,15,10,0.95), rgba(10,20,15,0.95));
    padding: 80px 10%;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    opacity: 0.3;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.stars {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--gold);
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: #999;
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--gold);
    color: black;
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gold);
}

.dot:hover {
    background: var(--gold);
}

/* Responsivo para testimonios */
@media screen and (max-width: 768px) {
    .prev-btn, .next-btn {
        display: none;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonials-section {
        padding: 40px 20px;
    }
}

/* =========================================
   ANIMACIONES KEYFRAMES
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Efecto de brillo en botones */
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

/* Mejorar el ODS con descripciones */
.ods-card p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}