/* ==========================================================================
   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 (Tu estructura exacta con efecto zoom)
   ========================================================================== */
header {
    background-color: var(--white);
    position: sticky; 
    top: 0;          
    left: 0;
    width: 100%;
    z-index: 1100;    
    box-shadow: 0 2px 10px rgba(74, 63, 53, 0.05); 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 9.5%; 
    height: 80px;
    background: var(--white); 
    position: relative;
    z-index: 1100;
}

.logo img, 
.nav-logo,
.logo-container img {
    height: 80px;                  
    width: auto;         
    object-fit: contain;
    position: relative;
    top: 2px;                      
    transition: transform 0.3s ease; 
    display: block;
    z-index: 1200;                 
}

.logo img:hover, 
.nav-logo:hover,
.logo-container img:hover {
    transform: scale(1.02);        
}

.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); }

.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);
}

.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 {
    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 p {
    font-size: 1.2rem;
    margin-top: 15px;
    color: var(--brown);
    letter-spacing: 1px;
    line-height: 1.4;
}

/* ==========================================================================
   4. SECCIÓN CONTENEDOR SPLIT DE CONTACTO (Estructura de la Imagen)
   ========================================================================== */
.contact-section {
    padding: 100px 0 140px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(74, 63, 53, 0.08);
}

/* Bloque Izquierdo Lateral (Información con Fondo Oscuro Corporativo) */
.contact-info-sidebar {
    flex: 1 1 38%;
    background-color: var(--brown); 
    color: var(--white);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info-sidebar h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--beige);
}

.contact-info-sidebar p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 40px;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--gold);
    width: 25px;
    text-align: center;
}

.info-item span {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Bloque Derecho (Campos de entrada del Formulario) */
.contact-form-wrapper {
    flex: 1 1 62%;
    padding: 50px 50px;
    background-color: var(--white);
}

.contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--brown);
    margin-top: 0;
    margin-bottom: 35px;
}

.native-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row-two-columns {
    display: flex;
    gap: 20px;
}

.form-row-two-columns .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brown);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e2ded9;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--brown);
    background-color: #faf9f7;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a8a096;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a3f35'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.form-group textarea { resize: vertical; }

.form-submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-submit-requirement {
    background-color: var(--white);
    color: var(--brown);
    border: 2px solid var(--brown);
    padding: 15px 35px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-requirement:hover {
    background-color: var(--brown);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(74, 63, 53, 0.15);
}

/* ==========================================================================
   5. FOOTER & ENLACES LEGALES (Con tu efecto translateY intacto)
   ========================================================================== */
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; display: inline-block; }
.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); }

/* ==========================================================================
   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;
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE ADAPTADO)
   ========================================================================== */
@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; }
    
    /* Adaptación del split-box a una sola columna en tablets */
    .contact-card-container {
        flex-direction: column;
    }
    .contact-info-sidebar {
        flex: 1 1 100%;
        padding: 40px 30px;
    }
    .contact-form-wrapper {
        flex: 1 1 100%;
        padding: 40px 30px;
    }
    
    .banner-glass { width: 92% !important; padding: 40px 30px; }
    .banner-glass h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .form-row-two-columns {
        flex-direction: column;
        gap: 25px;
    }
    .contact-form-wrapper h2 { font-size: 1.8rem; }
    .form-submit-container { width: 100%; }
    .btn-submit-requirement { width: 100%; text-align: center; }
    
    .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; }
}