:root {
    /* Paleta EquoSiente - Versión Light */
    --gold: #b38e5d;
    --turq: #1a5f6b;
    --turq-light: #e8f2f3;
    --bg-light: #f9fbfb;
    --white: #ffffff;
    --text-dark: #1a1f36;
    --text-muted: #4a5568;
    --header-height: 120px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden; /* Evita scroll horizontal accidental */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* --- Header --- */
.main-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0; 
    width: 100%; 
    z-index: 1000;
    display: flex; 
    align-items: center;
    border-bottom: 1px solid rgba(26, 95, 107, 0.1);
    transition: var(--transition);
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

.logo-img { 
    height: 100px;
    width: auto; 
    display: block;
    object-fit: contain;
    transition: var(--transition); 
}

/* --- Navigation --- */
.nav-menu ul { display: flex; list-style: none; gap: 2rem; }
.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--turq); }

.menu-toggle { display: none; }

/* --- Buttons --- */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--turq);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 142, 93, 0.3);
}

.btn-outline {
    border: 2px solid var(--turq);
    color: var(--turq);
}

.btn-outline:hover {
    background: var(--turq-light);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 40px); 
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Tamaño fluido */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content h1 span { color: var(--turq); }
.hero-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    display: inline-block;
    color: var(--gold);
    background: rgba(179, 142, 93, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-image {
    width: 100%;
}

.image-wrapper {
    width: 100%; /* Corregido de 150% */
    display: flex;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* --- Servicios --- */
.services { padding: 80px 0; background: var(--white); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--text-dark); }
.underline { width: 50px; height: 3px; background: var(--gold); margin: 15px auto; }

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.service-card {
    padding: 2rem;
    background: var(--bg-light);
    border: 1px solid rgba(26, 95, 107, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--gold);
    transform: translateY(-8px);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--white);
    padding: 60px 0 0;
    border-top: 1px solid rgba(26, 95, 107, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 40px;
}

.footer-logo { height: 60px; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 40px; height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); text-decoration: none;
}

.footer-bottom {
    background-color: var(--bg-light);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* --- MEDIA QUERIES (AJUSTE RESPONSIVE) --- */

@media (max-width: 992px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .hero-btns { justify-content: center; }
    .desktop-only { display: none; }
    
    .menu-toggle { 
        display: flex; 
        flex-direction: column; 
        gap: 5px; 
        background: none; 
        border: none; 
        cursor: pointer; 
    }
    .menu-toggle span { width: 25px; height: 3px; background: var(--turq); }
    
    .nav-menu { display: none; } /* Aquí deberías activar un menú lateral con JS */
}

@media (max-width: 768px) {
    :root { --header-height: 80px; }
    
    .logo-img { height: 60px; }
    
    .hero { padding-top: calc(var(--header-height) + 20px); }
    
    .hero-content h1 { font-size: 2.2rem; }
    
    .hero-btns .btn {
        width: 100%; /* Botones ocupan todo el ancho en móviles */
        margin-left: 0;
    }

    .grid-nosotras {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .perfil img {
        width: 200px;
        height: 200px;
    }
}
/* --- Navegación Móvil Estilo Lateral --- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Totalmente oculto */
        width: 280px; /* Ancho más elegante, no tan gigante */
        height: 100vh;
        background: var(--white);
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Animación más suave */
        display: flex; 
        flex-direction: column;
        padding: 80px 1.5rem 2rem; /* Menos aire arriba */
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0; /* Aparece */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start; /* Alineado a la izquierda */
    }

    .nav-menu a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    /* Botón dentro del menú */
    .mobile-only-item {
        margin-top: 2rem;
        width: 100%;
    }
    
    .mobile-only-item .btn {
        width: 100%;
        display: block;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001; /* Siempre por encima del fondo blanco */
    }
    
    /* Animación de la hamburguesa a X */
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* Regla general para ocultar el botón móvil en computadoras */
.mobile-only-item {
    display: none;
}

@media (max-width: 992px) {
    /* Ocultamos el botón que está fuera (el de escritorio) */
    .desktop-only {
        display: none !important;
    }

    /* Mostramos el botón que está dentro del menú lateral */
    .mobile-only-item {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }

    .mobile-only-item .btn {
        width: 100%; /* El botón ocupa todo el ancho del menú móvil */
        text-align: center;
    }
}
/* --- Botón WhatsApp Flotante --- */
.whatsapp-btn {
    position: fixed;
    bottom: 25px; /* Separación de la parte inferior */
    right: 25px;  /* Separación del lado derecho */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Sombra elegante */
    z-index: 9999; /* Siempre por encima de todo, incluso del menú móvil */
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    background-color: #1ebe57; /* Un verde un poco más oscuro al pasar el mouse */
    transform: scale(1.1); /* Se agranda ligeramente */
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* --- Responsive para Móvil --- */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}