/* ==========================================================================
   1. VARIABLES Y RESET
   ========================================================================== */
:root {
    --gold: #c5a059;
    --brown: #4a3f35;
    --beige: #f9f6f1;
    --white: #ffffff;
    --text-soft: #6a5f55;
}

body { 
    margin: 0; 
    font-family: 'Inter', sans-serif; 
    background-color: var(--white); 
    color: var(--brown); 
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ==========================================================================
   2. HEADER & NAVBAR (Efecto Fijo al bajar la página)
   ========================================================================== */
header {
    background-color: var(--white);
    position: sticky; /* Cambiado de relative a sticky */
    top: 0;           /* Se queda pegado justo al borde superior de la pantalla */
    left: 0;
    width: 100%;
    z-index: 1100;    /* Mantiene la barra por encima de las secciones del formulario */
    box-shadow: 0 2px 10px rgba(74, 63, 53, 0.05); /* Sutil sombra para dar profundidad al hacer scroll */
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 5%; 
    height: 80px;
    background: var(--white); 
    position: relative;
    z-index: 1100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown);
}

.logo span { color: var(--gold); font-weight: 400; }

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--brown);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a.active { color: var(--gold); font-weight: 600; }

.nav-links a:hover { color: var(--gold); }

/* Botón Reserva estándar */
.btn-reserva {
    background: var(--gold);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-reserva:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* ==========================================================================
   3. HERO & BANNERS (GLASSMORPHISM)
   ========================================================================== */
.hero-about, .hero-servicios {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-color: var(--beige) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    padding: 60px 80px;
    border-radius: 30px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
}

.banner-glass h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 0;
    color: var(--brown);
}

.banner-glass h1 span { color: var(--gold); font-style: italic; }

.banner-glass p {
    font-size: 1.2rem;
    margin-top: 15px;
    color: var(--brown);
    letter-spacing: 1px;
    line-height: 1.4;
}

/* ==========================================================================
   4. GRID DE SERVICIOS
   ========================================================================== */
.services-grid-section { padding: 100px 0; }

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--beige);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    background-color: var(--white);
    box-shadow: 0 25px 50px rgba(74, 63, 53, 0.08);
    border-color: var(--gold);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
}

.service-list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--brown);
    display: flex;
    align-items: center;
}

.service-list i { color: var(--gold); margin-right: 10px; font-size: 0.8rem; }

/* ==========================================================================
   5. SECCIÓN CTA & FOOTER
   ========================================================================== */
.cta-bottom { padding: 120px 0; text-align: center; }
.bg-beige { background-color: var(--beige); }

.section-title.center {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title.center::after {
    content: ''; display: block; width: 60px; height: 2px;
    background: var(--gold); margin: 15px auto 0;
}

.cta-text { margin-bottom: 40px; font-size: 1.1rem; color: var(--text-soft); }

footer { padding: 80px 0; text-align: center; background-color: var(--white); border-top: 1px solid rgba(197, 160, 89, 0.1); }

.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; }

.social-icon {
    font-size: 1.5rem;
    color: var(--brown);
    text-decoration: none;
    opacity: 0.4; 
    transition: all 0.4s ease;
}

.social-icon:hover {
    opacity: 1;
    color: var(--gold);
    transform: translateY(-5px);
}

/* ==========================================================================
   6. LÓGICA RESPONSIVA (MÓVIL)
   ========================================================================== */

/* Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--brown);
    transition: 0.3s;
    border-radius: 2px;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.menu-overlay.is-active { display: block; }

@media (max-width: 992px) {
    .menu-toggle { display: flex; }

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        left: -110%; 
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1000;
    }

    .nav-links-wrapper.is-active { left: 0; }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-links a { font-size: 1.3rem; }

    /* Botón Reserva Compacto (Responsivo) */
    .btn-reserva {
        width: auto !important;
        max-width: fit-content;
        padding: 14px 35px;
        font-size: 1.1rem;
        margin: 0 auto;
    }

    .banner-glass { padding: 40px 20px; }
    .banner-glass h1 { font-size: 2.5rem; }
    
    .services-container { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 30px 20px; }
}
/* Estilos para el contenedor del logo */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    max-height: 80px; /* Mantiene el límite estricto de la navbar */
    overflow: hidden; /* Corta cualquier excedente invisible */
}

.nav-logo {
    /* UN POCO MENOS DE TAMAÑO: Bajamos de 115px a 100px para darle más aire */
    height: 80px;       
    width: auto;         
    object-fit: contain;
    
    /* SUAVIZAMOS MÁRGENES: Reducimos el recorte de -18px a -10px para 
       compensar el nuevo tamaño más pequeño y mantenerlo centrado */
    margin-top: -5px;   
    margin-bottom: -5px;
    margin-left: -2px;   /* Alineación sutil con el borde izquierdo */
    
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

/* Ajuste proporcional para teléfonos y tablets */
@media (max-width: 992px) {
    .logo-container {
        max-height: 80px;
    }
    .nav-logo {
        /* Ajuste equivalente en móvil para mantener la misma proporción */
        height: 75px;
        margin-top: -2px;
        margin-bottom: -2px;
        margin-left: -0px;
    }
}
/* ==========================================================================
   CRÉDITOS DEL DESARROLLADOR (FIVERR & LINKEDIN)
   ========================================================================== */
.developer-credits {
    margin-top: 25px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.developer-credits:hover {
    opacity: 1; /* Se ilumina sutilmente al posar el cursor */
}

.developer-credits p {
    color: var(--text-soft, #6a5f55);
    margin: 0;
}

.developer-credits strong {
    color: var(--brown);
    font-weight: 600;
}

/* Separadores visuales */
.dev-sep {
    color: var(--gold);
    margin: 0 6px;
    opacity: 0.5;
}

/* Enlaces a tus perfiles */
.dev-link {
    color: var(--brown);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: var(--gold); /* Cambia al dorado de la web */
}

/* Animación de línea inferior minimalista al hacer hover */
.dev-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: var(--gold);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.dev-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Ajuste sutil para que en móviles no se amontone */
@media (max-width: 480px) {
    .developer-credits {
        font-size: 0.8rem;
    }
    .dev-sep {
        margin: 0 3px;
    }
}
/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (CON ANIMACIÓN)
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* El color verde oficial de WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000; /* Lo mantiene por encima de la navbar fija y del modal */
    transition: all 0.3s ease;
}

/* El icono SVG interno */
.whatsapp-floating-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Efecto Hover: Se eleva un poquito y brilla más */
.whatsapp-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

/* --- ANIMACIÓN DE PULSO --- */
/* Crea un anillo de ondas expansivas muy sutil alrededor del botón */
.whatsapp-floating-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Ajuste fino para pantallas móviles para que no estorbe al leer */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-floating-btn svg {
        width: 26px;
        height: 26px;
    }
}
/* ==========================================================================
   SECCIÓN LEGAL DEL FOOTER
   ========================================================================== */
.footer-bottom-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.footer-bottom-info p {
    margin: 0;
    color: var(--text-soft, #6a5f55);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal a {
    color: var(--text-soft, #6a5f55);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold, #c5a059);
    opacity: 1;
}

.legal-sep {
    color: var(--gold, #c5a059);
    font-size: 0.7rem;
    opacity: 0.5;
}

/* Ajuste responsive para celulares */
@media (max-width: 576px) {
    .footer-legal {
        flex-direction: column;
        gap: 6px;
    }
    
    .legal-sep {
        display: none; /* Escondemos el punto separador en vertical */
    }
}