/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== TIPOGRAFÍA RESPONSIVE ===== */
:root {
    /* Desktop (default) */
    --text-xs: 0.875rem;
    /* 14px */
    --text-sm: 1rem;
    /* 16px */
    --text-base: 1.125rem;
    /* 18px */
    --text-lg: 1.25rem;
    /* 20px */
    --text-xl: 1.5rem;
    /* 24px */
    --text-2xl: 2rem;
    /* 32px */
    --text-3xl: 2.5rem;
    /* 40px */
    --text-4xl: 3rem;
    /* 48px */
    --text-5xl: 3.5rem;
    /* 56px */
}

/* Tablets (768px - 992px) */
@media screen and (max-width: 992px) {
    :root {
        --text-xs: 0.8rem;
        /* 12.8px */
        --text-sm: 0.9rem;
        /* 14.4px */
        --text-base: 1rem;
        /* 16px */
        --text-lg: 1.125rem;
        /* 18px */
        --text-xl: 1.25rem;
        /* 20px */
        --text-2xl: 1.5rem;
        /* 24px */
        --text-3xl: 2rem;
        /* 32px */
        --text-4xl: 2.5rem;
        /* 40px */
        --text-5xl: 3rem;
        /* 48px */
    }
}

/* Móviles grandes (480px - 768px) */
@media screen and (max-width: 768px) {
    :root {
        --text-xs: 0.75rem;
        /* 12px */
        --text-sm: 0.85rem;
        /* 13.6px */
        --text-base: 1rem;
        /* 15.2px */
        --text-lg: 1.05rem;
        /* 16.8px */
        --text-xl: 1.15rem;
        /* 18.4px */
        --text-2xl: 1.3rem;
        /* 20.8px */
        --text-3xl: 1.8rem;
        /* 28.8px */
        --text-4xl: 2.2rem;
        /* 35.2px */
        --text-5xl: 2.5rem;
        /* 40px */
    }
}

/* Móviles pequeños (hasta 480px) */
@media screen and (max-width: 480px) {
    :root {
        --text-xs: 0.7rem;
        /* 11.2px */
        --text-sm: 0.8rem;
        /* 12.8px */
        --text-base: 1rem;
        /* 14.4px */
        --text-lg: 1rem;
        /* 16px */
        --text-xl: 1.1rem;
        /* 17.6px */
        --text-2xl: 1.2rem;
        /* 19.2px */
        --text-3xl: 1.5rem;
        /* 24px */
        --text-4xl: 1.8rem;
        /* 28.8px */
        --text-5xl: 2rem;
        /* 32px */
    }
}

/* ===== APLICACIÓN A ELEMENTOS ===== */

/* Hero */
.hero-titulo {
    font-size: var(--text-5xl) !important;
}

.hero-modalidad {
    font-size: var(--text-xl);
}

.hero-frase {
    font-size: var(--text-lg);
}

/* Beneficios cards */
.card p {
    font-size: var(--text-base);
}

/* Frase énfasis */
.texto-enfasis {
    font-size: var(--text-4xl);
}

/* Testimonios */
.testimonio-texto {
    font-size: var(--text-lg);
    line-height: 1.6;
}

.testimonio-nombre {
    font-size: var(--text-base);
}

/* Títulos de sección */
.seccion-titulo {
    font-size: var(--text-3xl);
}

/* Footer */
.footer-logo h3 {
    font-size: var(--text-3xl);
}

.footer-logo span {
    font-size: var(--text-sm);
}

.footer-contacto a {
    font-size: var(--text-2xl);
}

.copyright {
    font-size: var(--text-xs);
}

/* Botones */
.btn {
    font-size: var(--text-base);
}

/* Menú */
.nav-links a {
    font-size: var(--text-base);
}

/* Galería (si aplica) */
.galeria-titulo {
    font-size: var(--text-lg);
}

.galeria-categoria {
    font-size: var(--text-sm);
}

:root {
    --verde-chi: #3D6E4B;
    --verde-brote: #68904D;
    --blanco-arcilla: #F9F7F5;
    --gris-natural: #F2EFE9;
    --verde-bosque: #2C3A2B;
    --gris-musgo: #5D6D5C;
    --madera: #C1A37A;
    --sombra-suave: 0 12px 30px rgba(44, 58, 43, 0.04);
    --border-radius-card: 28px;
    --border-radius-boton: 980px;
    --fuente-titulos: 'Poppins', sans-serif;
    --fuente-cuerpo: 'Lora', serif;
    --transicion: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
}

/* Estilo para link activo */
.nav-links a.active-link,
.nav-links a.active-link:hover {
    color: var(--verde-chi);
    border-bottom-color: var(--madera);
}

body {
    background-color: var(--blanco-arcilla);
    color: var(--verde-bosque);
    font-family: var(--fuente-cuerpo);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    /* max-width: 1280px;
    margin: 0 auto;
    box-shadow: 0 0 0 2px rgba(193, 163, 122, 0.1); */
}

h1,
h2,
h3,
h4,
button,
.nav-links,
.logo,
.btn,
.menu-item,
.submenu,
.card-title,
.testimonio-nombre,
.footer-logo,
.whatsapp-float {
    font-family: var(--fuente-titulos);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-card);
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== HEADER MEJORADO ===== */
header {
    background-color: #ffffff !important;
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    /* Cambiado de sticky a fixed */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(8px);
}

main {
    padding-top: 180px;
    /* Ajustá según la altura de tu header */
}

/* ===== LOGO HEADER ===== */
.logo-header {
    display: flex;
    align-items: center;
    /* gap: 1rem; */
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-logo-header {
    width: 140px;
    height: auto;
}

.text-logo {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--verde-chi);
    letter-spacing: -0.5px;
}

/* ===== MENÚ HAMBURGUESA ===== */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--verde-chi);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transicion);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
    border: none;
}

.menu-toggle:hover {
    background-color: var(--gris-natural);
}

.menu-toggle i {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.menu-toggle.active i {
    transform: rotate(180deg);
}

/* ===== NAVEGACIÓN ===== */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--verde-bosque);
    padding: 0.5rem 0;
    font-size: 1rem;
    transition: var(--transicion);
    border-bottom: 2px solid transparent;
    display: block;
}

.nav-links a:hover {
    color: var(--verde-chi);
    border-bottom-color: var(--madera);
}

/* ===== SUBMENÚS ===== */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--sombra-suave);
    border-radius: 16px;
    padding: 0.8rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 100;
    border: 1px solid rgba(193, 163, 122, 0.1);
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    border-bottom: none;
    color: var(--gris-musgo);
}

.submenu a:hover {
    background-color: var(--gris-natural);
    color: var(--verde-chi);
    border-bottom: none;
}

/* ===== RESPONSIVE - SUBMENÚS EN MÓVIL ===== */
@media screen and (min-width: 768px) and (max-width: 992px) {
    .nav-links a i {
        display: none;
    }

    .nav-links a .fa-chevron-down {
        display: inline-block !important;
        /* Mantenemos la flecha si querés */
        font-size: 0.7rem !important;
        margin-left: 4px !important;
    }

    main {
        padding-top: 100px;
    }
}

@media screen and (max-width: 768px) {
    header {
        position: fixed;
        padding: 0.8rem 4%;
    }

    main {
        padding-top: 80px;
    }

    .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: scaleY(0);
        transform-origin: top;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
        border: none;
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
        margin-top: 0;
    }

    .submenu.active {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
        max-height: max-content;
        padding: 0.8rem 0;
    }

    .submenu a {
        padding: 0.6rem 1rem;
        margin-left: 1.2rem;
        border-left: 2px solid var(--madera);
        padding-left: 1rem;
    }

    .submenu a:hover {
        background-color: rgba(61, 110, 75, 0.05);
    }
}

/* ===== HERO ===== */
.hero {
    padding: 3rem 0 3rem;
    background-color: var(--blanco-arcilla);
    width: 100%;
}

.hero .container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: auto;

}

.hero-video-col {
    width: 100%;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    background-color: var(--gris-natural);
    aspect-ratio: 16/9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-col video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--verde-chi), var(--verde-brote));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.hero-text-col {
    text-align: center;
    padding: 2rem;
    background-color: transparent;
    border-radius: var(--border-radius-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.hero-titulo {
    font-weight: 600;
    color: var(--verde-chi);
    line-height: 1.2;
    margin: 0;
}

.hero-modalidad {
    color: var(--madera);
    font-size: 1.3rem;
    letter-spacing: 4px;
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

.hero-frase {
    font-size: 1.3rem;
    font-weight: 400;
    font-family: var(--fuente-cuerpo);
    color: var(--verde-bosque);
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

.btn {
    background-color: var(--verde-chi);
    color: white;
    border: none;
    padding: 1rem 2.8rem;
    border-radius: var(--border-radius-boton);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transicion);
    box-shadow: 0 8px 16px rgba(61, 110, 75, 0.16);
    display: inline-block;
    margin-top: 0.5rem;
}

.btn:hover {
    background-color: var(--verde-brote);
    transform: translateY(-3px);
    box-shadow: 0 14px 22px rgba(104, 144, 77, 0.22);
}

/* ===== BENEFICIOS ===== */
.beneficios {
    padding: 5rem 0;
    background-color: white;
}

.seccion-titulo {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--verde-bosque);
    margin-bottom: 3rem;
    font-family: var(--fuente-titulos);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card {
    background-color: var(--blanco-arcilla);
    border-radius: var(--border-radius-card);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--madera);
    box-shadow: 0 22px 36px rgba(44, 58, 43, 0.08);
}

.card-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gris-natural), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-chi);
    font-size: 3rem;
    box-shadow: 0 8px 18px rgba(61, 110, 75, 0.08);
}

.card p {
    font-size: 1.1rem;
    color: var(--verde-bosque);
    font-weight: 450;
    line-height: 1.5;
}

/* ===== FRASE ÉNFASIS ===== */
.frase-enfasis {
    background: linear-gradient(to right, var(--gris-natural), var(--blanco-arcilla));
    padding: 5rem 0;
    text-align: center;
}

.texto-enfasis {
    font-size: 2.5rem;
    font-weight: 500;
    font-family: var(--fuente-titulos);
    color: var(--verde-chi);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-style: italic;
    border-top: 2px solid var(--madera);
    border-bottom: 2px solid var(--madera);
    padding: 1.8rem 0;
}

/* ===== TESTIMONIOS ===== */
/* 
/* ===== SLIDER MODERNO - 1 TESTIMONIO VISIBLE ===== */
.testimonios {
    padding: 5rem 0;
    background-color: white;
    overflow: hidden;
}

.slider-moderno {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-track-container {
    overflow: hidden;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
    /* SIN GAP entre cards */
    cursor: grab;
}

.slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.testimonio-card {
    flex: 0 0 100%;
    /* CADA CARD OCUPA EL 100% */
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    /* SIN PADDING, lo pondremos en el contenido */
}

.testimonio-contenido {
    background-color: var(--blanco-arcilla);
    border-radius: var(--border-radius-card);
    padding: 2.5rem 2rem;
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
}

.testimonio-card:hover .testimonio-contenido {
    transform: translateY(-5px);
    border-color: var(--madera);
    box-shadow: 0 20px 40px rgba(61, 110, 75, 0.1);
}

.testimonio-foto {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.testimonio-foto svg {
    width: 80px;
    height: 80px;
    /* fill: var(--madera);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05)); */
}

.testimonio-texto {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--verde-bosque);
    margin-bottom: 1.5rem;
    font-family: var(--fuente-cuerpo);
    line-height: 1.7;
    flex-grow: 1;
    text-align: center;
}

.testimonio-nombre {
    font-weight: 600;
    color: var(--verde-chi);
    font-size: 1.1rem;
    margin-top: auto;
    text-align: center;
}

/* Controles modernos */
.slider-controls-moderno {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-arrow-moderno {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--gris-natural);
    color: var(--verde-chi);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slider-arrow-moderno:hover {
    background-color: var(--verde-chi);
    color: white;
    border-color: var(--verde-chi);
    transform: scale(1.1);
}

.slider-arrow-moderno:active {
    transform: scale(0.95);
}

/* Dots modernos */
.slider-dots-moderno {
    display: flex;
    gap: 0.6rem;
}

.slider-dots-moderno .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gris-musgo);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dots-moderno .dot.active {
    opacity: 1;
    background-color: var(--verde-chi);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(61, 110, 75, 0.3);
}

/* Barra de progreso */
.slider-progress {
    width: 100%;
    height: 4px;
    background-color: var(--gris-natural);
    border-radius: 4px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--verde-chi);
    width: 0%;
    transition: width 0.3s linear;
}

/* Responsive */
@media screen and (max-width: 768px) {

    /* Reducir padding del contenedor */
    .testimonio-contenido {
        padding: 1.5rem 1.2rem !important;
    }

    /* Reducir tamaño del ícono/foto */
    .testimonio-foto {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 1rem !important;
    }

    .testimonio-foto svg {
        width: 60px !important;
        height: 60px !important;
    }

    /* Texto más compacto */
    .testimonio-texto {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }

    /* Nombre más cercano al texto */
    .testimonio-nombre {
        font-size: 0.95rem !important;
        margin-top: 0 !important;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(193, 163, 122, 0.2);
    }

    /* Flechas más pequeñas */
    .slider-arrow-moderno {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }

    .slider-arrow-moderno {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

}

@media screen and (max-width: 480px) {
    .testimonio-contenido {
        padding: 1.2rem 1rem !important;
    }

    .testimonio-foto {
        width: 50px !important;
        height: 50px !important;
    }

    .testimonio-foto svg {
        width: 50px !important;
        height: 50px !important;
    }

    .testimonio-texto {
        font-size: 0.95rem !important;
        margin-bottom: 0.8rem !important;
    }

    .testimonio-nombre {
        font-size: 0.9rem !important;
    }

    .slider-controls-moderno {
        gap: 1rem;
    }


}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(to top,
            #141a13 0%,
            /* Un tono casi negro basado en tu verde para la base */
            #2c3a2b 40%,
            /* Tu color original empieza a dominar pronto */
            #4a5f48 85%,
            /* Un tono más claro hacia el final */
            #5e755c 100%
            /* El punto más claro arriba */
        );
    color: var(--blanco-arcilla);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    gap: 2.5rem;
    text-align: center;
}

/* Logo Footer */
.logo-img-footer {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: var(--transicion);
}

.logo-img-footer:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-logo h3 {
    font-size: 2.4rem;
    color: white;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--madera);
    font-size: 0.95rem;
    display: block;
    letter-spacing: 3px;
    font-weight: 400;
}

/* Contacto y Redes - Solo Iconos */
.footer-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-contacto p {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contacto i {
    color: var(--madera);
    font-size: 1.8rem;
    width: auto;
    cursor: pointer;
    transition: var(--transicion);
}

.footer-contacto a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--madera);
    text-decoration: none;
    font-size: 1.8rem;
    transition: var(--transicion);
}

/* .footer-contacto a:hover,
.footer-contacto i:hover {
    color: var(--blanco-arcilla);
    transform: scale(1.09) translateY(-1px);
} */


/* Ocultar texto de contacto, mostrar solo iconos */
.footer-contacto span {
    display: none;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    color: var(--gris-natural);
    font-size: 0.9rem;
    opacity: 0.8;
    border-top: 1px solid rgba(193, 163, 122, 0.2);
}

/* ===== RESPONSIVE - LOGO ===== */
@media screen and (max-width: 992px) {
    .svg-logo-header {
        width: 70px;
        height: 70px;
    }

    .text-logo {
        font-size: 0.65rem;
        /* display: none; */
    }

    .logo-img-footer {
        width: 130px;
        height: 130px;
    }

    .footer-logo h3 {
        font-size: 2.1rem;
    }

    .footer-contacto {
        gap: 1.8rem;
    }

    .footer-contacto a,
    .footer-contacto i {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .logo-img {
        width: 65px;
        height: 65px;
        margin-right: 0.5rem;
    }

    footer {
        padding: 3rem 5% 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .logo-img-footer {
        width: 110px;
        height: 110px;
    }

    .footer-logo h3 {
        font-size: 1.8rem;
    }

    .footer-logo span {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .footer-contacto {
        gap: 1.5rem;
    }

    .footer-contacto a,
    .footer-contacto i {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .slider-dots-moderno {
        display: none;
    }

    .logo-img {
        width: 60px;
        height: 60px;
        margin-right: 0.4rem;
    }

    footer {
        padding: 2rem 5% 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .logo-img-footer {
        width: 90px;
        height: 90px;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
    }

    .footer-logo span {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .footer-contacto {
        gap: 1.2rem;
    }

    .footer-contacto a,
    .footer-contacto i {
        font-size: 1.4rem;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(145deg, #25D366, #20b859);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transicion);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    z-index: 9999 !important;
    /* ⬆️ MUCHO MÁS ALTO QUE EL MENÚ */
    border: none;
    text-decoration: none;
    pointer-events: auto;
}

.whatsapp-float.mostrar {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.4);
}

/* ===== BOTÓN VOLVER ARRIBA ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--madera);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(193, 163, 122, 0.3);
    transition: var(--transicion);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    z-index: 9999 !important;
    /* ⬆️ IGUAL DE ALTO */
    text-decoration: none;
    border: none;
    cursor: pointer;
    pointer-events: auto;
}

.back-to-top.mostrar {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    background-color: var(--verde-chi);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 28px rgba(61, 110, 75, 0.4);
}

.back-to-top:active {
    transform: scale(0.95) translateY(0);
}

/* ===== RESPONSIVE MÓVIL ===== */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 2rem;
        bottom: 90px;
        left: 20px;
        z-index: 9999 !important;
        /* Mantener alto incluso en móvil */
    }

    .back-to-top {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        bottom: 20px;
        left: 20px;
        z-index: 9999 !important;
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
        bottom: 75px;
        left: 15px;
        z-index: 9999 !important;
    }

    .back-to-top {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        bottom: 15px;
        left: 15px;
        z-index: 9999 !important;
    }
}

@media screen and (max-width: 360px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
        bottom: 70px;
        left: 12px;
        z-index: 9999 !important;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        bottom: 12px;
        left: 12px;
        z-index: 9999 !important;
    }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .hero-titulo {
        font-size: var(--text-5xl);
    }

    .texto-enfasis {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85%, 320px);
        /* Límite seguro para Android */
        max-width: 320px;
        /* Explícito */
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 0.8rem 1rem;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        background-color: var(--gris-natural);
        border-bottom: none;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 1.2rem;
        min-width: auto;
        background-color: transparent;
        border: none;
        margin-top: 0.5rem;
    }

    .submenu a {
        padding: 0.6rem 1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-video-col {
        order: 1;
    }

    .hero-text-col {
        order: 2;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .texto-enfasis {
        font-size: 1.6rem;
        padding: 1.2rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-contacto p {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-titulo {
        font-size: var(--text-5xl);
    }

    .hero-frase {
        font-size: 1.2rem;
    }

    .hero-modalidad {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.8rem;
    }

    .seccion-titulo {
        font-size: 1.8rem;
    }

    .testimonio-texto {
        font-size: 1.1rem;
    }

    .slider-moderno {
        padding: 2rem 1rem;
    }

}

/* ===== ANIMACIONES ===== */

/* Animación base fade-up - SOLO CSS inicial */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Hero - Controlado por GSAP */
.hero .fade-up {
    animation: none;
}

/* Beneficios - Cards */
.card {
    opacity: 0;
    transform: translateY(50px);
}

/* Frase Énfasis - Controlado por GSAP */
.texto-enfasis {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

/* Testimonios - Controlado por GSAP */
.slider-moderno {
    opacity: 0;
    transform: translateY(40px);
}

.testimonio-item {
    opacity: 1;
}

/* Títulos - Controlado por GSAP */
.seccion-titulo {
    opacity: 0;
    transform: translateY(20px);
}

.hero-galeria-titulo {
    opacity: 0;
    transform: translateY(20px);
}

.hero-galeria-subtitulo {
    opacity: 0;
    transform: translateY(20px);
}

/* Animaciones hover en cards */
@media (hover: hover) {
    .card {
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    }

    .card:hover {
        transform: translateY(-12px);
    }
}

/* Botón animado */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Reducir movimiento para usuarios con preferencia */
@media (prefers-reduced-motion: reduce) {

    .fade-up,
    .card,
    .texto-enfasis,
    .slider-moderno,
    .hero-galeria-titulo,
    .hero-galeria-subtitulo,
    .seccion-titulo {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== WIDGET FLOTANTE INICIA TU CAMINO ===== */
.camino-widget {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background-color: var(--verde-chi);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-family: var(--fuente-titulos);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(61, 110, 75, 0.3);
    transition: var(--transicion);
    z-index: 98;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    white-space: nowrap;
}

.camino-widget-galeria {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background-color: var(--verde-chi);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-family: var(--fuente-titulos);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(61, 110, 75, 0.3);
    transition: var(--transicion);
    z-index: 98;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    white-space: nowrap;
}


.camino-widget.mostrar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.camino-widget-galeria.mostrar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.camino-widget:hover {
    background-color: var(--madera);
    transform: translateX(-50%) scale(1.05) translateY(-3px);
    box-shadow: 0 12px 28px rgba(193, 163, 122, 0.4);
}

.camino-widget-galeria:hover {
    background-color: var(--madera);
    transform: translateX(-50%) scale(1.05) translateY(-3px);
    box-shadow: 0 12px 28px rgba(193, 163, 122, 0.4);
}


.camino-widget .camino-widget-galeria i {
    font-size: 1.2rem;
    animation: girar 8s infinite linear;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Dark mode */
html.dark .camino-widget .camino-widget-galeria {
    background-color: var(--verde-chi);
    box-shadow: 0 8px 20px rgba(76, 140, 94, 0.3);
}

html.dark .camino-widget:hover {
    background-color: var(--madera);
}

html.dark .camino-widget-galeria:hover {
    background-color: var(--madera);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .camino-widget {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        bottom: 20px;
        /* Por encima del WhatsApp */
    }

    .camino-widget-galeria {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        bottom: 80px;
    }

    .camino-widget i {
        font-size: 0.8rem;
    }

    .camino-widget-galeria i {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .camino-widget {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
        bottom: 15px;
    }

        .camino-widget-galeria {
            padding: 0.6rem 1.2rem;
                font-size: 0.7rem;
                bottom: 75px;
        }

    .camino-widget i {
        font-size: 0.7rem;
    }

        .camino-widget-galeria i {
            font-size: 0.7rem;
        }

    .camino-widget span {
        white-space: normal;
        max-width: 120px;
        text-align: left;
    }

        .camino-widget-galeria span {
            white-space: normal;
                max-width: 120px;
                text-align: left;
        }
}

@media screen and (max-width: 360px) {
    .camino-widget {
        padding: 0.5rem 1rem;
        font-size: 0.6rem;
        bottom: 15px;
    }

    .camino-widget-galeria {
        padding: 0.5rem 1rem;
        font-size: 0.6rem;
        bottom: 75px;
    }

    .camino-widget .camino-widget-galeria i {
        font-size: 0.6rem;
    }

    .camino-widget-galeria i {
        font-size: 0.6rem;
    }
}