/* --- RESET BÁSICO PARA QUE FUNCIONE EL FULL WIDTH --- */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important; /* Evita scroll horizontal */
}

.login-action-login{
    display: flex !important;
    flex-direction: column !important;
}


body, * {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

/* --- CONTENEDOR PRINCIPAL HERO (ROMPE-CONTENEDORES) --- */

/* --- CONTENIDO CENTRAL --- */
.hero-center {
    position: relative;
    z-index: 20;
    max-width: 800px; /* Limitamos el ancho del texto para legibilidad */
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-logo {
    width: 100%;
    max-width: 450px; /* Tamaño del logo en el diseño */
    height: auto;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-description {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem; /* Un poco más grande para el Hero */
    color: #7C706D; /* Marrón suave del texto */
    max-width: 600px;
    margin: 0 auto 40px; /* Espacio antes del botón */
    line-height: 1.6;
    font-weight: 500;
}

/* --- EL BOTÓN (btn-nube-solid) --- */
.btn-nube-solid {
    display: inline-block;
    background-color: #A68A7C; /* Color marrón-café de Nube */
    color: white !important; /* Texto blanco */
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 35px; /* Relleno del botón */
    border-radius: 50px; /* Bordes redondeados completos */
    text-decoration: none !important; /* Quita el subrayado azul por defecto */
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-nube-solid:hover {
    background-color: #927568; /* Un tono más oscuro al pasar el mouse */
}

/* --- DIVISOR DE NUBES --- */
/* --- EL HERO: ROMPE EL PADDING DEL TEMA --- */
.hero-nube {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 100vh; 
    min-height: 600px;
    background-color: #FCF9F6; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
}

/* --- DIVISOR DE NUBES (DOS CAPAS) --- */
.nube-divider {
    position: absolute;

    bottom: -5px; /* Pegado al suelo para que no haya línea blanca */
    left: 0;
    width: 100%;
    height: 40vh; /* Altura suficiente para que se vean bien */
    z-index: 10;
    pointer-events: none;
}
.nube-divider img{

}

.nube-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100% !important;
    min-width: 100vw !important;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Nube de atrás: un poco transparente y más arriba */
.nube-atras {
    z-index: 1;
    opacity: 0.4;
    bottom: 25px; /* Se asoma por detrás */
}

/* Nube de adelante: sólida y tapa el corte */
.nube-frente {
    z-index: 2;
    bottom: 0;
}

/* --- BOTÓN Y TEXTO --- */
.hero-center {
    position: relative;
    z-index: 20;
    text-align: center;
}

.btn-nube-solid {
    display: inline-block;
    background-color: #A68A7C;
    color: white !important;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: 0.3s;
}

.btn-nube-solid:hover {
    background-color: #8e7467;
    transform: scale(1.05);
}

/* --- FLECHA --- */
.hero-arrow-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    opacity: 0.7;
}

/* --- ANIMACIÓN DE LA FLECHA --- */
.hero-arrow-down {
    position: absolute;
    bottom: 150px; /* Ajusta según qué tan cerca de las nubes la quieras */
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    cursor: pointer;
    
    /* Llamamos a la animación */
    animation: bounceArrow 2s infinite;
}

@media (max-width: 600px) {
   .hero-arrow-down { 
    bottom: 70px !important;
   }
}




@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: translateX(-50%) translateY(-10px); /* Sube un poquito */
        opacity: 1;
    }
    60% {
        transform: translateX(-50%) translateY(-5px); /* Un pequeño rebote intermedio */
    }
}

/* Opcional: Que cambie de color o crezca un poquito al pasar el mouse */
.hero-arrow-down:hover {
    animation-play-state: paused; /* Se queda quieta al poner el mouse */
    opacity: 1;
}


/* --- RESPONSIVE BÁSICO --- */
@media (max-width: 768px) {
    .hero-logo { max-width: 300px; }
    .hero-description { font-size: 1rem; padding: 0 10px; }
    .btn-nube-solid { padding: 12px 25px; font-size: 0.9rem; }
}
/* --- LLUVIA DE CONFETIS --- */
/* --- LLUVIA DE CONFETIS (Actualizado sin rotación) --- */

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none !important;
    overflow: hidden;
}

.rain-confetti {
    position: absolute;
    top: -50px; /* Empiezan fuera de la pantalla arriba */
    opacity: 0.5;
    /* Animación de caída pura */
    animation: fallingRain linear infinite;
}

@keyframes fallingRain {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        /* Caen hasta el final del Hero */
        transform: translateY(110vh);
        opacity: 0;
    }
}



/* bienestar */




/* --- APLICACIÓN DE TIPOGRAFÍAS --- */

/* Título Manuscrito (Grande y café) */
.title-script {
    font-family: 'Caveat', cursive !important;
    font-size: 5rem !important; /* Bien grande como la foto */
    color: #A68A7C !important;
    font-weight: 700;

    line-height: 1;

    margin-bottom: 56px;
    text-align: center;
}

/* Textos generales (Quicksand) */
.intro-text, 
.card-info h3, 
.card-info p, 
.frase-destacada p {
    font-family: 'Quicksand', sans-serif !important;
    color: #7C706D;
    

}


.intro-text, .frase-destacada {
        text-align: center;
           width: 600px ;
           margin: 0 auto;
               line-height: 1.5;
     
}
.frase-destacada {
    font-size: 2REM;
}

@media screen and (max-width:768px) {

    .frase-destacada {
        width: 100%;
    font-size: 24px;
}
    
}




.intro-text{
              font-weight: 400 !important;
}
/* --- ESTRUCTURA DE LA SECCIÓN --- */
.bienestar-section {
    position: relative;
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden; /* Corta las ilustraciones al borde */
}

.bienestar-section   .intro-text{
    width: 100%;

}

  .intro-text{
  max-width:600px ;

}

/* --- ILUSTRACIONES LATERALES (LIMPIEZA HECHA) --- */
.decor-bienestar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* EL CONFETI ROSA: Ahora en la parte izquierda */
.confeti-extra {
    position: absolute;
    width: 10%; /* Tamaño del confeti */
    opacity: 0.8;
}

.c-ro-1 {
    top: 35%; /* Posición vertical aproximada (35% desde arriba) */
    left: -3%; /* Posición horizontal (20% desde la izquierda) */
    transform: rotate(10deg); /* Rotación para que se vea natural */
}

/* LA LUNA ROSA: Sigue en la parte derecha con carita */
.decor-side {
    position: absolute;
    height: auto;
}

.luna-pink-right {
    right: -60px; /* Se sale un poco de la pantalla por la derecha */
    top: 5%; /* Cerca de la parte superior */
    width: 220px; /* Tamaño grande como el diseño */
}

/* --- GRID DE TARJETAS (Mismo de antes) --- */
.beneficios-grid {
    display: flex;
    justify-content: center;
    align-items: center; /* Hace que la del medio destaque */
    gap: 30px;
    margin: 80px 0;
    position: relative;
    z-index: 10;
}

.card-beneficio {
    position: relative;
    width: 340px;
    min-height: 300px;
    padding: 45px 35px;
    border-radius: 35px; /* Bordes bien redondeados */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-rosa { background-color: #F8F3FC; }
.card-amarilla { background-color: #FEF9E7; }
.card-naranja { background-color: #FDF2E9; }

/* La del medio es más alta */
.card-featured {
    min-height: 340px;
}

/* VECTORES DENTRO DE LAS TARJETAS */
.card-vector {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 190px;
    z-index: 2;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 1024px) {
    .beneficios-grid {
        flex-direction: column; /* Tarjetas una debajo de otra */
        gap: 50px; /* Más espacio para que los vectores no se choquen */
    }

    .card-beneficio {
        width: 90%; /* Que ocupen casi todo el ancho */
        max-width: 380px;
        min-height: 200px !important; /* Reset de altura para que no queden tan largas */
    }

    .title-script {
        font-size: 3.5rem !important; /* Bajamos el tamaño en tablets */
    }
}

@media (max-width: 768px) {
    .title-script {
        font-size: 2.8rem !important; /* Tamaño cómodo para celular */
    }

    .bienestar-section {
       padding: 40px; /* Menos espacio arriba y abajo */
    }

    .luna-pink-right {
        width: 20px; /* Luna más pequeña para que no tape el texto */
        right: -70px;
    }

    .c-ro-1 {
        width: 30px; /* Confeti más pequeño */
        left: -10px;
    }

    .card-vector {
        width: 80px; /* Vectores internos más pequeños */
        right: -10px;
    }
}

/* TEXT







/* --- SECCIÓN MINI FEATURES (CORREGIDA) --- */
.features-nube {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
}

/* El contenedor que centra todo */
.features-nube .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 60px; /* Espacio entre columnas */
}

.feature-item {
    text-align: left;
}

/* TIPOGRAFÍAS ESPECÍFICAS PARA ESTA SECCIÓN */
.feature-item h4 {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000; /* Negro como en tu captura */
    margin-bottom: 15px;
    line-height: 1.2;
}

.feature-item p {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 400;
    font-size: 0.95rem;
    color: #7C706D; /* El gris/marrón de Nube */
    line-height: 1.6;
}

.feature-icon {
    margin-bottom: 20px;
    display: block;
}

.feature-icon img {
    width: 40px; /* Tamaño del icono */
    height: auto;
}

/* RESPONSIVE: IMPORTANTE */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        gap: 40px;
    }
    .feature-item {
        text-align: center; /* Opcional: centrar en móvil */
    }
}








/* --- SECCIÓN UN DÍA EN NUBE --- */
.un-dia-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    max-width: 1024px;
    margin: 0 auto;
}
.un-dia-visual{
    transform: scale(0.9);
}

.un-dia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- LA NUBE ORGÁNICA --- */
.cloud-shape-container {
  background: url(images/shape.svg);
    position: relative;
    background-size: cover;
    width: 550px;
    height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.cloud-shape-container .title-script {
    color: #A3867C!important;
    font-size: 5rem !important;
    z-index: 5;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.05);
}

/* FOTOS CALADAS */
.cloud-photo {
    position: absolute;
    border-radius: 50%; /* Siempre circulares */
    overflow: hidden;
    border: 5px solid #FCF9F6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.cloud-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-top { width: 120px; height: 120px; top: -20px; right: 80px; }
.photo-left { width: 130px; height: 130px; bottom: 0px; left: -20px; }
.photo-right { width: 140px; height: 140px; bottom: 20px; right: -30px; }

/* Estrellitas */
.sparkle {
    position: absolute;
    color: #A3867C;
    font-size: 1.5rem;
    opacity: 0.8;
}
.s1 { top: 50%; left: 27%; }
.s2 { bottom: 17%; right: 40%; }

/* --- TIMELINE (Lado Derecho) --- */
.un-dia-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid #A68A7C; /* Línea vertical */
}

@media screen and (max-width:768px) {

    .un-dia-timeline {
    width: 80%;
    margin: 20px;
}
    
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -36px; /* Ajuste para centrar sobre la línea */
    top: 5px;
    width: 11px;
    height: 11px;
    background-color: #A68A7C;
    border-radius: 50%;
}

.timeline-content h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #5D5451;
    margin: 0 0 5px 0;
}

.timeline-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: #7C706D;
    margin: 0;
}

/* --- RESPONSIVO --- */
@media (max-width: 991px) {
    .un-dia-grid {
        grid-template-columns: 1fr;
        gap: 100px;
    }
    .cloud-shape-container {
           width: 409px;
        height: 330px;
        transform: scale(0.8);
    }
    .cloud-shape-container .title-script {
        font-size: 3.5rem !important;
    }
    .photo-top { width: 90px; height: 90px; right: 40px; }
    .photo-left { width: 100px; height: 100px; left: -10px; }
    .photo-right { width: 110px; height: 110px; right: -10px; }
}



/* --- SECCIÓN NUESTRAS SALAS --- */

/* --- SECCIÓN NUESTRAS SALAS (CON CONTENEDOR) --- */
.salas-section {
    padding: 100px 0;
    background-color: #ffffff;
    width: 100%;
}

.salas-section .container {
    max-width: 1100px; /* Alineado con el resto del sitio */
    margin: 0 auto;
    padding: 0 20px;
}

.salas-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Imagen un poco más ancha que el texto */
    gap: 60px;
    align-items: center;
}

/* Tipografía del título */
.salas-info .title-script {
    text-align: left !important;
    margin-bottom: 40px;
}

/* Ajuste de la imagen redondeada */
.salas-visual .image-wrapper {
    width: 100%;
    height: 650px; /* Altura generosa como en la foto */
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.salas-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

/* Estilo de las cajas de texto */
.sala-box {
    padding: 25px;
    border-radius: 25px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sala-box h4 {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700;
    font-size: 1.15rem;
    color: #5D5451;
    margin-bottom: 5px;
}

.sala-box p {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 0.9rem;
    color: #7C706D;
    line-height: 1.4;
}

/* Hover y Activo: El color café de Nube */
.sala-box:hover, .sala-box.active {
    background-color: #A68A7C;
}

.sala-box:hover h4, .sala-box.active h4,
.sala-box:hover p, .sala-box.active p {
    color: #ffffff !important;
}

/* Footer de Seguridad */
.seguridad-footer { margin-top: 40px; }
.seguridad-footer hr { border: 0; border-top: 1px solid #eee; margin-bottom: 25px; }

.seguridad-item h5 {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700;
    color: #5D5451;
    margin-bottom: 5px;
}

.seguridad-item  p{
    font-family: 'Quicksand', sans-serif !important;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .salas-grid {
        grid-template-columns: 1fr; /* Una columna en tablets/móvil */
        gap: 40px;
    }
    .salas-visual .image-wrapper {
        height: 350px;
    }
}














/* Footer de seguridad */
.seguridad-footer { margin-top: 40px; }
.seguridad-footer hr { border: 0; border-top: 1px solid #eee; margin-bottom: 25px; }
.seguridad-item { display: flex; gap: 15px; align-items: flex-start; }
.seguridad-item h5 { font-family: 'Quicksand', sans-serif; font-weight: 700; margin: 0 0 5px; color: #5D5451; }
.seguridad-item p { font-size: 0.85rem; color: #999; line-height: 1.4; }

/* Responsive */
@media (max-width: 991px) {
    .salas-grid { grid-template-columns: 1fr; }
    .salas-visual .image-wrapper { height: 350px; }
}



/* --- SECCIÓN CTA FINAL --- */
.cta-final-section {
    padding: 30px 0;
    background-color: #fff; /* Fondo blanco para que la caja destaque */
}


.cta-box {
    background-color: #FCF9F6; /* El crema suave del diseño */
    padding: 80px 40px;
    border-radius: 40px; /* Bordes redondeados generosos */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cta-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    margin-bottom: 40px;
}

.cta-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #7C706D;
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-style: italic; /* Opcional, según el diseño */
}

.cta-button-wrapper {
    margin-top: 20px;
}

/* Reutilizamos el estilo del botón que ya tenemos */
.cta-box .btn-nube-solid {
    padding: 15px 45px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-box .btn-nube-solid:hover {
    transform: scale(1.05);
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .cta-final-section {
        padding: 60px 20px;
    }
    
    .cta-box {
        padding: 50px 20px;
        border-radius: 30px;
    }

    .cta-logo {
        max-width: 280px;
    }

    .cta-text {
        font-size: 1rem;
    }
}



/* --- FOOTER NUBE --- */
/* --- FOOTER NUBE (CON CONTENEDOR) --- */
/* --- FOOTER NUBE (VERSION FINAL 4 COLUMNAS) --- */

.site-footer-nube {
    background-color: #A68A7C; /* Marrón café de Nube */
    color: #ffffff;
    padding: 80px 0 40px;
    width: 100%;
}

/* Contenedor principal alineado con el sitio */
.site-footer-nube .container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Grid de 4 columnas */
.site-footer-nube .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; 
    gap: 40px;
    align-items: flex-start;
}

/* Forzamos tipografía Quicksand */
.footer-brand p, 
.footer-info h4, 
.footer-social h4,
.footer-info p, 
.social-item,
.footer-bottom p {
    font-family: 'Quicksand', sans-serif !important;
}

/* Logo blanco */
.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 320px;
}

/* Títulos de las columnas */
.footer-info h4, 
.footer-social h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: none;
}

.footer-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* --- ESTILOS DE REDES SOCIALES (FIX DEL AZUL) --- */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important; /* Forza el color blanco */
    text-decoration: none !important; /* Quita el subrayado azul */
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.social-item:hover {
    opacity: 0.8;
}

/* Fix para que el icono SVG no sea azul */
.social-item svg {
    stroke: #ffffff !important; /* El borde del icono siempre blanco */
    fill: none;
    transition: transform 0.3s ease;
}

.social-item:hover svg {
    transform: scale(1.1);
}

/* --- PARTE INFERIOR --- */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- RESPONSIVO --- */
@media (max-width: 1024px) {
    .site-footer-nube .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columnas en tablets */
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .site-footer-nube .footer-grid {
        grid-template-columns: 1fr; /* 1 sola columna en móviles */
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .social-item {
        justify-content: center; /* Centra el icono y texto en móvil */
    }
}

/* --- EL CONTENEDOR QUE FALTABA PARA EL FOOTER --- */







/* --- HEADER NUBE --- */
/* --- HEADER BASE (Transparente) --- */
/* --- HEADER BASE (Transparente) --- */
/* ==========================================================================
   HEADER NUBE - NAVEGACIÓN COMPLETA (Desktop & Mobile Sidebar Left)
   ========================================================================== */

/* ==========================================================================
   HEADER NUBE - VERSIÓN FINAL LIMPIA (Desktop & Mobile)
   ========================================================================== */

/* ==========================================================================
   HEADER NUBE - ESTILOS GLOBALES (DESKTOP)
   ========================================================================== */

.site-header-nube {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: transparent; 
    transition: all 0.4s ease-in-out;
    z-index: 9000; /* Alto para estar sobre el contenido */
    display: flex;
    align-items: center;
}

/* Estado al hacer Scroll */
.site-header-nube.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.header-flex {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 1. Logo (Izquierda) */
.header-logo {
    flex: 1; 
    display: flex;
    justify-content: flex-start;
}

.header-logo img {
    height: 55px;
    width: auto;
    transition: height 0.3s ease;
}

/* 2. Navegación Desktop (Centro) */
.header-nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.header-nav ul li a {
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #5D5451;
    transition: color 0.3s ease;
}

.header-nav ul li.active a,
.header-nav ul li a:hover {
    color: #A68A7C;
}

/* 3. Botón WhatsApp Desktop (Derecha) */
.nav-btn-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-whatsapp {
    background-color: #A68A7C;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
            font-family: 'Quicksand', sans-serif;
}

/* Elementos ocultos por defecto en Desktop */
.menu-toggle, .mobile-nav-header, .nav-overlay {
    display: none;
}

/* ==========================================================================
   VERSION MOBILE (SIDEBAR IZQUIERDA) - 991px o menos
   ========================================================================== */

@media (max-width: 991px) {
    
    .site-header-nube {
        height: 70px;
        background-color: #ffffff !important; /* Siempre blanco para que se lea bien */
    }

    .header-flex {
        padding: 0 20px;
    }

    /* Forzamos Logo a la izquierda */
    .header-logo {
        flex: 1;
        justify-content: flex-start;
    }

    .header-logo img {
        height: 40px;
    }

    /* Forzamos Botón Hamburguesa a la derecha */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001; /* Más alto que el sidebar para que no se pierda */
        padding: 5px;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: #A68A7C;
        border-radius: 3px;
    }

    /* Ocultamos el botón de la derecha original */
    .nav-btn-wrapper {
        display: none;
    }

    /* --- SIDEBAR QUE SALE DE LA IZQUIERDA --- */
    .header-nav {
        position: fixed;
        top: 0;
        left: -100%; /* Escondido fuera a la izquierda */
        width: 100%;
        height: 100vh;
        background:white; /* Blanco sólido, nada de blur aquí */
     /* EL MÁS ALTO DE TODOS */
        flex-direction: column;
        justify-content: flex-start;

  
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: 10px 0 40px rgba(0,0,0,0.15);
        display: flex !important; /* Forzamos flex */
        z-index: 9999999999999999999 !important;
    }

    /* Cuando se activa el menú */
    .header-nav.active {
        transform: translateX(100%); /* Entra a la pantalla */
    }
    .p{
        padding: 30px;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        margin-top: 40px;
    }

    .header-nav ul li a {
        font-size: 1.3rem !important;
        font-weight: 700;
        color: #5D5451 !important;
    }

    /* Cabecera interna del Sidebar */
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 20px;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-logo-mobile {
        height: 35px;
        width: auto;
    }

    .close-menu {
        background: none;
        border: none;
        font-size: 24px;
        color: #A68A7C;
        cursor: pointer;
    }

    /* --- OVERLAY OSCURO (El blur va aquí) --- */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.4);
 
        display: none;
    }

    .nav-overlay.active {
        display: block;
    }
}




/* --- ANIMACIONES DE ENTRADA (REVEAL) --- */

/* Estado inicial: Oculto y un poco abajo */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out; /* Velocidad de la animación */
}

/* Estado activo: Visible y en su posición original */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Opcional: Retrasar un poquito las tarjetas para que entren en cascada */
.card-rosa.reveal { transition-delay: 0.1s; }
.card-amarilla.reveal { transition-delay: 0.3s; }
.card-naranja.reveal { transition-delay: 0.5s; }





/* form */


/* --- FORMULARIO DE CONTACTO --- */

.form-nube-minimal {
    max-width: 500px !important; /* Más angosto = más elegante */
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.form-nube-minimal .title-script {
    font-size: 2.5rem !important;
    margin-bottom: 10px;
    color: #A68A7C;
}

.form-nube-minimal .form-intro {
    margin-bottom: 40px;
    color: #7C706D;
    font-size: 1.1rem;
        font-family: 'Quicksand', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

/* Inputs ultra limpios */
/* 1. ESTILO DE LOS INPUTS (Lo que ya tenías) */
.form-nube-minimal .wpcf7-form-control:not([type="submit"]) {
    width: 100% !important;
    background-color: #F8F9FA !important;
    border: 1px solid #EEE !important;
    border-radius: 15px !important;
    padding: 18px !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.form-nube-minimal .wpcf7-form-control:focus {
    background-color: #fff !important;
    border-color: #A68A7C !important;
    outline: none;
    box-shadow: 0 5px 15px rgba(166, 138, 124, 0.1);
}

/* 2. ESTILO DEL BOTÓN EN ESTADO NORMAL (Esto faltaba) */


/* 1. Estado Normal del Botón */
/* BOTÓN EN ESTADO NORMAL */
.form-nube-minimal input[type="submit"].wpcf7-submit {
    width: 100% !important;
    background-color: #A68A7C !important; /* El color café de Nube */
    color: #ffffff !important;
    padding: 18px !important;
    border-radius: 50px !important;
    border: none !important;
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(166, 138, 124, 0.2) !important;
}

/* BOTÓN CUANDO SE ESTÁ ENVIANDO (DURANTE EL PROCESO) */
.form-nube-minimal .wpcf7-form.is-submitting .wpcf7-submit,
.form-nube-minimal input[type="submit"].wpcf7-submit:disabled {
    background-color: #A68A7C !important; 
    color: #ffffff !important;
    opacity: 0.7 !important; /* Se pone un poco más claro pero NO desaparece */
    cursor: not-allowed !important;
}

/* MENSAJE DE ÉXITO FINAL */
.wpcf7-response-output {
    border: none !important;
    color: #A68A7C !important;
    font-family: 'Quicksand', sans-serif !important;
    text-align: center !important;
    margin-top: 20px !important;
    font-weight: 600 !important;
}



.form-nube-minimal .wpcf7-submit {
    -webkit-appearance: none;
    appearance: none;
}





/* --- AJUSTE ESPECÍFICO PARA EL BOTÓN EN FORMULARIOS --- */

/* Esta clase extra solo la aplicamos aquí para que no afecte al botón del Header */
.btn-form-full {
    width: 100% !important; /* Para que ocupe todo el ancho del form corto */
    display: block !important;
    margin-top: 20px !important;
    border: none !important;
    text-align: center;
}

/* Efecto hover suave que ya tenés, pero reforzado */
.btn-form-full:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.form-nube-minimal *{
     font-family: 'Quicksand', sans-serif;
}

.legal-text {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #BBB;
   
}



















/* --- POPUP NUBE --- */
/* --- POPUP NUBE: ESTRUCTURA BASE --- */
/* --- OVERLAY (Fondo) --- */
/* --- OVERLAY (Fondo limpio) --- */
.nube-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(166, 138, 124, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
        overflow-y: auto;
    visibility: hidden;
    transition: all 0.3s ease;
    /* Quitamos el padding de aquí para evitar conflictos */
}

.nube-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* --- LA TARJETA (Contenido compacto) --- */
.nube-popup-content {
    position: fixed;
    background: #ffffff;
    width: 90%; /* Margen natural contra los bordes del cel */
    max-width: 320px; 
    max-height: 90vh;
    padding: 20px; /* Reducido para ganar espacio */
    border-radius: 30px;
    position: relative;

    -webkit-overflow-scrolling: touch;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.6);
    transition: transform 0.3s ease;
}

.nube-popup-overlay.is-active .nube-popup-content {
    transform: scale(0.9);
}

/* --- BOTÓN CERRAR --- */
.close-popup {
    position: fixed;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #A68A7C;
    cursor: pointer;
    line-height: 1;
}

/* --- TEXTOS MINI --- */
.nube-popup-content h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem; /* Más pequeño */
    color: #A68A7C;
    text-align: center;
    margin-bottom: 5px;
}

.nube-popup-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem; /* Bien pequeño para que no ocupe lugar */
    color: #777;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* --- CAMPOS SLIM (Aquí está el secreto) --- */
.form-nube-minimal .wpcf7-form-control:not([type="submit"]) {
    padding: 8px 12px !important; /* Super finos */
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    height: auto !important;
}

.form-nube-minimal .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 6px; /* Pegaditos uno de otro */
}

/* Ajuste del Textarea (el de mensajes) */
.form-nube-minimal textarea.wpcf7-form-control {
    height: 60px !important; /* Altura mínima para que quepa el botón abajo */
    resize: none;
}

/* Botón Enviar */
.form-nube-minimal input[type="submit"] {
    margin-top: 5px;
    padding: 10px !important;
    font-size: 0.9rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
}
/* --- POPUP NUBE --- */


/* fasqs */

/* --- SECCIÓN FAQ --- */
.faq-section {

    background-color: #ffffff;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: #FCF6F4; /* El rosa suave de la captura */
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question span {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #5D5451;
}

.faq-icon svg {
    width: 18px !important;  /* Tamaño real de la flecha */
    height: 18px !important;
    display: block;
    transition: transform 0.3s ease;
}

/* Aseguramos que el contenedor sea un círculo perfecto y no se aplaste */
.faq-icon {
    width: 35px !important;
    height: 35px !important;
    flex-shrink: 0; /* Evita que el círculo se deforme si el texto es largo */
    border: 1.5px solid #5D5451;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Animación cuando se abre */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Ajusta según el largo de tus textos */
    padding-bottom: 25px;
}

.faq-answer p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: #7C706D;
    line-height: 1.6;
}