/* ==========================================================================
   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;
}

/* Control de escala real permitiendo el desborde vertical exacto */
.logo img, 
.nav-logo,
.logo-container img {
    height: 80px;                  /* Incrementado para vencer el margen transparente del PNG */
    width: auto;         
    object-fit: contain;
    position: relative;
    top: 2px;                      /* Ajuste fino por si necesitas centrarlo verticalmente */
    transition: transform 0.3s ease; 
    display: block;
    z-index: 1200;                 /* Asegura que quede por encima de la línea del header */
}

.logo img:hover, 
.nav-logo:hover,
.logo-container img:hover {
    transform: scale(1.02);        
}
/* Propiedades del texto del logo (si aplica o para su contenedor) */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown);
    display: flex;
    align-items: center;
}

.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);
}

/* Botón Hamburguesa e Interfaz Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--brown);
}

.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
    backdrop-filter: blur(3px);
}

.menu-overlay.is-active { display: block; }

/* ==========================================================================
   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. SECCIÓN CONTENIDO LEGAL (Mapeado a tus clases HTML nativas)
   ========================================================================== */
.privacy-section {
    padding: 80px 0 100px;
    background-color: var(--white);
    display: block;
    width: 100%;
}

.privacy-container {
    max-width: 1200px; /* Ancho idéntico a tu estructura .container */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.privacy-header {
    max-width: 850px; /* Encajona la cabecera legal al centro */
    margin: 0 auto 35px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    padding-bottom: 15px;
}

.privacy-meta {
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.privacy-content {
    max-width: 850px; /* Restringe el texto para una lectura óptima y centrada */
    margin: 0 auto;
}

.privacy-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-soft);
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

.privacy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin-top: 45px;
    margin-bottom: 20px;
    text-align: left;
}

.privacy-content ul {
    margin-top: 0;
    margin-bottom: 30px;
    padding-left: 25px;
    text-align: left;
}

.privacy-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-soft);
    margin-bottom: 12px;
}

.privacy-content strong {
    color: var(--brown);
}

.privacy-notice-box {
    background-color: var(--beige);
    border-left: 4px solid var(--gold);
    padding: 25px 30px;
    border-radius: 0 15px 15px 0;
    margin: 35px 0;
    box-sizing: border-box;
}

.privacy-notice-box p {
    margin: 0 !important;
    color: var(--brown);
}

.privacy-content a {
    color: var(--brown);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--gold);
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: var(--gold);
    border-bottom-style: solid;
}

/* ==========================================================================
   5. FOOTER & ENLACES LEGALES
   ========================================================================== */
footer { 
    background: var(--beige); 
    padding: 50px 0; 
    text-align: center; 
    border-top: 1px solid rgba(0,0,0,0.05); 
}

.social-links { display: flex; justify-content: center; gap: 20px; }
.social-icon { font-size: 1.5rem; color: var(--brown); opacity: 0.4; transition: 0.3s; text-decoration: none; }
.social-icon:hover { opacity: 1; color: var(--gold); transform: translateY(-5px); }

.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);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-legal a:hover,
.footer-legal a.active-legal {
    color: var(--gold);
    opacity: 1;
}

.legal-sep {
    color: var(--gold);
    font-size: 0.7rem;
    opacity: 0.5;
}

/* ==========================================================================
   6. CRÉDITOS DEL DESARROLLADOR
   ========================================================================== */
.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; }
.developer-credits p { color: var(--text-soft); margin: 0; }
.developer-credits strong { color: var(--brown); font-weight: 600; }
.dev-sep { color: var(--gold); margin: 0 6px; opacity: 0.5; }

.dev-link {
    color: var(--brown);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.dev-link:hover { color: var(--gold); }

.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;
}

/* ==========================================================================
   7. BOTÓN FLOTANTE DE WHATSAPP (CON ANIMACIÓN)
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    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;
    transition: all 0.3s ease;
}

.whatsapp-floating-btn svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

.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; }
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 992px) {
    .navbar { padding: 15px 5%; width: 100%; box-sizing: border-box; }
    .menu-toggle { display: flex; }

    .nav-links-wrapper {
        position: fixed; 
        top: 80px; 
        left: -110%; 
        width: 100%; 
        height: calc(100vh - 80px); 
        background-color: white; 
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        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 { 
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        gap: 25px !important;
        padding: 0 !important;
        overflow: visible !important; 
        width: auto !important;
        margin: 0 !important;
    }

    .nav-links a { font-size: 1.3rem; }
    .banner-glass { width: 92% !important; padding: 40px 30px; }
    .banner-glass h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .privacy-section { padding: 60px 0 80px; }
    .privacy-content h2 { font-size: 1.5rem; margin-top: 35px; }
    .privacy-notice-box { padding: 20px; margin: 30px 0; }
    .whatsapp-floating-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-floating-btn svg { width: 26px; height: 26px; }
}

@media (max-width: 576px) {
    .footer-legal { flex-direction: column; gap: 6px; }
    .legal-sep { display: none; }
}