
/* ================= HERO STYLES ================= */
 .container {
    max-width:1400px;
    margin: 2% 3% auto ;
    padding: 0 20px;
} 

.hero-section {
    display: flex;
    flex-direction: column;
}

.hero-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    position:relative;
    z-index:2;
} 
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* Hero Section - Imagen comienza después del header */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 750px; /* Altura total del hero */
    margin-top: 0; /* Como solicitaste */
    top: 0; /* Como solicitaste */
    overflow: hidden;
    background-color: var(--primary-color);
}

/* Contenedor de la imagen - Se desplaza hacia arriba */
.hero-image-container {
    position: absolute;
    top: 5%; /* Se desplaza hacia arriba */
    left: 0;
    width: 100%;
    height: 100%; /* Se hace más grande para cubrir */
    z-index: 0;
}

/* Overlay verde - También se desplaza */
.hero-overlay {
    position: absolute;
    /* top: calc(-1 * var(--header-height, 0px)); */
    left: 0;
    width: 50%;
    /* background: linear-gradient(to right, 
                #101110 1,
                #064c23 50%,
                transparent 0%); */
                background-color: #9acd32;
    z-index: 1;
    pointer-events: none;
}

/* Contenido - Se queda en su lugar */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    padding: 5px;
    margin-left: 0;
}

.hero-title {
    font-size: 85px;
    font-weight: 700;
    max-width: 90%;
    line-height: 1;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #ffffff;
    margin-bottom: 1px;
}

.hero-description {
    font-size: 25px;
    opacity: 0.95;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-family: 'Avenir', serif;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 30px;
    font-weight: 600;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color: #d9e022;
}

.hero-line{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:20px; /* grosor de la línea */
    background:#d9e022; /* color */
    z-index: 1;
}

.hero-stats{
    position:absolute;
    /* bottom:-252px; */
    bottom:0;
    transform: translate(-45%, 117%);
    left:50%;
    
    width:100%;
    display:flex;
    justify-content:flex-end;
    z-index:3;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    max-width:100%;
    width:100%;
    justify-content:end;
}

/* HERO TARJETAS */

.stat-card{
    padding:10px 10px;
    border:1px solid rgba(212,175,55,.45);
    border-radius:12px;
    background:rgba(0, 70, 40, 0.55);
    transition:all .35s ease;
    text-align:center;
}

.stat-card:hover{
    transform:translateY(-6px);
    border-color:#d4af37;
    background:rgba(0,0,0,.35);
    box-shadow:0 10px 35px rgba(212,175,55,0.25);
}

.stat-number{
    font-size:48px;
    font-weight:600;
    color:#fdcb70;
    margin-bottom:10px;
    text-align:left;
}

.stat-text{
    color:#ffffff;
    font-size:22px;
    line-height:1.4;
    text-align:left;
    font-family: 'Avenir', serif;
}

/* ================= OFERTA ACADÉMICA ================= */

.oferta-section{
    padding:1px 50px 50px 50px;
    background:#ffffff;
}

.oferta-label{
    color:#83bc41;
    font-weight:600;
    font-size:22px;
    font-family: 'Avenir', serif;
    letter-spacing:1px;
    display:block;
    margin-top:10px;
}

.oferta-title{
    font-size:58px;
    font-weight:700;
    color:#1f2d3d;
    margin:15px 0;
    font-family: 'Mignion', serif;
}

.oferta-desc{
    max-width:75%;
    color:#444;
    margin-bottom:50px;
    font-size:22px;
    font-family: 'Avenir', serif;
}

/* GRID */
.oferta-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.oferta-grid-N{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

/* CARD */
.oferta-card{
    background:white;
    padding:25px;
    border:1px solid #ddd;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:all .3s ease;
}

/* Hover */
.oferta-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* TAG */
.tag{
    font-size:16px;
    font-weight:600;
    margin-bottom:10px;
    font-family: 'Avenir', serif;
}

/* TITULO */
.oferta-card h3{
    font-size:28px;
    margin-bottom:10px;
    color:#1f2d3d;
}

/* TEXTO */
.oferta-card p{
    font-size:16px;
    color:#555;
    margin-bottom:15px;
    font-family: 'Avenir', serif;
}

/* BADGES */
.badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:20px;
}

.badges span{
    background:#eee;
    padding:5px 10px;
    border-radius:20px;
    font-size:13px;
    font-family: 'Avenir', serif;
}

.program-divider {
    border: none;
    height: 1px;
    background: #ccc;
    margin: 15px 0;
}

/* LINK */
.link{
    font-size:14px;
    text-decoration:none;
    font-weight:600;
}

/* COLORES POR CARD */
.lic{
    border-top:4px solid #83bc41;
}
.lic .tag, .lic .link{ color:#83bc41; }

.mae{
    border-top:4px solid #f5a623;
}
.mae .tag, .mae .link{ color:#f5a623; }

.doc{
    border-top:4px solid #2f4b7c;
}
.doc .tag, .doc .link{ color:#2f4b7c; }

.post{
    border-top:4px solid #0a5c2a;
}
.post .tag, .post .link{ 
    color:#0a5c2a; 
}
.tur{
    border-top:4px solid #268193;
}
.tur .tag, .tur .link{ color:#268193; }


/* PROGRAMAS */

.programas-section{
    padding:1px 50px 50px 50px;
    background:#f4f4f4;
}

.program-tabs{
    display:flex;
    width:100%;
    gap:15px;
    margin: 0% 0% 2% 0%
}

.tab-btn{
    flex:1; /* 👈 clave */
    /* padding:15px; */
    border:1px solid #ccc;
    background:white;
    cursor:pointer;
    
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:15px;
    font-family: 'Avenir', serif;

    transition:.3s;
}


/* TABS ACTIVE */
.tab-btn.active{
    background:var(--program-color);
    border-color:var(--program-color);
    color:#fff;
}

.full-text{ display:block; }

.short-text{ display:none; }

/* CONTENIDO */

.program-content{
    position:relative;
    height:auto;
    /* transition: height .6s ease; */
    margin:2% 0 2% 0 ;
    /* transition: height .6s cubic-bezier(.25,.8,.25,1); */
    overflow:hidden;
}


/* CONTENIDO PROGRAMAS */

.program-panel{
    position:absolute;
    width:100%;
    top:0;
    left:0;

    opacity:0;
    transform: translateX(60px) scale(0.98);
    filter: blur(8px);
    visibility:hidden;

    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease,
        visibility 0s linear 0.9s;

    will-change: opacity, transform, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.program-panel.active{
    opacity:1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    visibility:visible;

    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease,
        visibility 0s;
}

/* SOLO MOVIMIENTO, NO BLUR */
.program-panel.exit-left{
    transform: translateX(-15px);
    opacity:0;
}

.program-panel.exit-right{
    transform: translateX(15px);
    opacity:0;
}

.program-panel.enter-right{
    transform: translateX(0px);
}

.program-panel.enter-left{
    transform: translateX(0px);
}


/* CONTENEDOR GENERAL */

.detalle-content{
    width: 100%;
}

.program-detail{
    max-width:100%
}

/* TOP */
.program-top{
    display:flex;
    justify-content:space-between;
    gap:40px;
    margin-bottom:40px;
}

/* IZQUIERDA */
.program-info{
    flex:1;
}

.program-label{
    color:var(--program-color);
    font-weight:600;
    font-size:22px;
    font-family: 'Avenir', serif;
}

.program-info h2{
    font-size:58px;
    margin:10px 0;
    color:var(--program-color);
}

.program-info p{
    font-size:22px;
    font-family: 'Avenir', serif;
    line-height:1.6;
}

.program-highlight{
    margin-top:22px;
    color:#333;
    font-family: 'Avenir', serif;
}

/* DERECHA BOX */
.program-box{
    width:650px;
    border:1px solid #ddd;
    display:flex;
    flex-direction:column;
    justify-content:space-between; /* 🔥 distribuye verticalmente */
    height:100%; /* MUY importante */
}


.program-box h3{
    background:var(--program-color);
    color:white;
    padding:12px;
    margin:0;
    font-size:22px;
    font-family: 'Avenir', serif;
}

.program-box ul{
    list-style:none;
    margin:0;
    padding:0;
}

.program-box li{
    display:flex;
    justify-content:space-between;
    padding:10px 12px;
    border-bottom:1px solid #eee;
    font-size:18px;
    font-family: 'Avenir', serif;
}

.program-box span{
    color:#666;
}

.program-box strong{
    font-weight:500;
}

/* CARDS */
.program-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.program-card{
    border:1px solid var(--program-color);
    padding:20px;
    background:#fff;

    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    will-change: transform;
}

/* 🔥 ANIMACIÓN */
.program-card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: var(--program-color);
}

.program-card.full{
    grid-column: 1 / -1; /* ocupa todas las columnas */
}

.program-card h4{
    color:var(--program-color);
    margin-bottom:15px;
    font-size:20px;
    font-family: 'Avenir', serif;
}

.program-card ul{
    padding-left:18px;
}

.program-card li{
    margin-bottom:8px;
    font-size:16px;
    font-family: 'Avenir', serif;
}

.prog-docente-card{
    background: var(--program-color);
    color:white;
    border-radius:10px;
    padding:30px;
    margin-top:40px;
    margin-bottom: 3%;
}

.prog-docente-header{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
    margin-left:5%
}

/* .prog-docente-avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,0.3);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    color:#f4c542;
} */

.prog-docente-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    object-position: center 30%;
}

/* imagen */
.prog-docente-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 clave */
    object-position: center 30%;
}


.prog-docente-header h3{
    margin:0;
    font-size:28px;
}

.prog-docente-header p{
    margin:5px 0 0;
    opacity:0.8;
}

.prog-docente-body{
    display:flex;
    flex-direction:column;
    gap:40px;
    margin-left:7%;
}

.prog-docente-body .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start;
}

.prog-docente-body h4{
    margin-top:20px;
    font-size:14px;
    letter-spacing:2px;
    opacity:0.7;
    font-size: 20px;
    font-family: 'Avenir', serif;
}

.prog-docente-body ul{
    list-style:none;
    padding:0;
    margin:10px 0;
}

.prog-docente-body li{
    margin-bottom:10px;
    position:relative;
    padding-left:22px;
    font-size: 18px;
    font-family: 'Avenir', serif;
}

.prog-docente-body li::before{
    content:"—";
    position:absolute;
    left:0;
}

/* RESPONSIVE */
@media(max-width:768px){
    .prog-docente-body{
        grid-template-columns:1fr;
    }
}



.faq-section{
    margin-top:5px;
}

.faq-title{
    font-size:40px;
    margin-bottom:25px;
    /* font-family: 'Mignon', serif; */
}

/* ITEM */
.faq-item{
    border:1px solid #ddd;
    margin-bottom:10px;
    background:#fff;
}

/* PREGUNTA */
.faq-question{
    width:100%;
    padding:18px 20px;
    text-align:left;
    background:none;
    border:none;
    font-size:22px;
    font-family: 'Avenir', serif;
    cursor:pointer;
    position:relative;
}


/* ICONO */
.faq-question::after{
    content:'+';
    position:absolute;
    right:20px;
    font-size:20px;
}

/* ACTIVO */
.faq-item.active .faq-question::after{
    content:'−';
}

.faq-item.active .faq-question{
    color:var(--program-color);
    font-weight:600;
}

.faq-item.active{
    border-color:var(--program-color);
}

.lista-fa{
    list-style:none;
    padding-left:0;
}

.lista-fa li{
    position:relative;
    padding-left:15px;
    font-size: 17px;
    font-family: 'Avenir', serif;
}

.lista-fa li::before{
    content: "\f111"; /* icono círculo */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position:absolute;
    left:0;
    top:6px;
    font-size:8px;
    color:#008c44;
}
/* RESPUESTA */
.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
    padding:0 20px;
}

.faq-answer p{
    margin:15px 0;
    font-size:17px;
    color:#555;
    font-family: 'Avenir', serif;
}

.faq-answer strong{
    font-size: 20px;
    color: black;
}


/* ================= DOCENTES ================= */

.docentes-section{
    padding:1px 50px 50px 50px;
    background:#ffffff;
}

.docentes-label{
    color:#83bc41;
    font-weight:600;
    letter-spacing:1px;
    font-size:22px;
    font-family: 'Avenir', serif;
}

.docentes-title{
    font-size:58px;
    margin:10px 0;
    color:#2d2d2d;
    /* font-family: 'Mignon', serif; */
}

.docentes-desc{
    max-width:80%;
    margin-bottom:40px;
    color:#555;
    font-size:22px;
    font-family: 'Avenir', serif;
}

/* DESTACADO */

.docente-destacado{
    display:flex;
    gap:30px;
    background:#2f3747;
    padding:30px;
    margin-bottom:40px;
    color:#fff;
    align-items:center;
}

.docente-img{
    width:200px;
    height:300px;
    background:#ccc;
    flex-shrink:0;
}

.docente-info h3{
    font-size:35px;
    margin-bottom:10px;
    color: #ffffff;
    /* font-family: 'Mignon', serif; */
}

.docente-info p{
    font-size:20px;
    font-family: 'Avenir', serif;
}

.docente-cargo{
    color:#e3b65c;
    display:block;
    margin-bottom:15px;
    font-size:22px;
    font-family: 'Avenir', serif;
}

/* GRID */

.docentes-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.docente-card{
    background:#fff;
    padding:20px;
    border:2px solid #e5e5e5;
    transition:all .3s ease;
    position:relative;
}

.docente-card::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(to right, #2f3747, transparent);
}

/* HOVER 🔥 */

.docente-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* TEXTOS */

.docente-card h4{
    font-size:28px;
    margin-bottom:8px;
    margin-top:8px;
    color:#1f2a2a;
    /* font-family: 'Mignon', serif; */
}

.docente-card span{
    font-size:14px;
    color:#83bc41;
    display:block;
    margin-bottom:10px;
    font-family: 'Avenir', serif;
}

.docente-card p{
    color:#444;
    line-height:1.5;
    font-size:13px;
    font-family: 'Avenir', serif;
}


/* TESTIMONIOS */

.testimonios-section{
    padding:1px 50px 50px 50px;
    background:#f5f5f5;
}

.section-label{
    color:#83bc41;
    font-weight:600;
    letter-spacing:1px;
    font-size:22px;
    font-family: 'Avenir', serif;
    align-items:left;
}

.section-title{
    font-size:58px;
    /* font-family: 'Mignon', serif; */
    margin:10px 0;
}

.section-description{
    max-width:100%;
    margin:0 auto 60px;
    font-size:22px;
    font-family: 'Avenir', serif;
    width: 100%;
    margin-left: 0%;
}

.clinic {
    width: 55%;
}

.imagen-box{
    width:100%;
    height:300px; /* o el alto que necesites */
    background:
        linear-gradient(to right,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,1) 40%,
            rgba(255,255,255,0.6) 55%,
            rgba(255,255,255,0) 60%
        ),
        url('../imagenes/Autismo-1024x683-1.jpg');
    background-size: cover;      /* 🔥 llena el contenedor */
    background-position: center; /* 🔥 centra la imagen */
    background-repeat: no-repeat;
}

.imagen-box{
    height:40vh; /* altura dinámica */
    min-height:250px;
}

/* SLIDER */
.testimonios-slider{
    position:relative;
    height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

/* BASE */
.testimonio{
    position:absolute;
    width:60%;
    max-width:700px;

    background:#fff;
    padding:40px;
    border:2px solid #ddd;

    opacity:0;
    transform: scale(0.8);
    filter: blur(3px);

    transition: all 0.6s ease;
}

/* CENTRO */
.testimonio.active{
    opacity:1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    z-index:3;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    text-align: center;
}

/* IZQUIERDA */
.testimonio.prev{
    opacity:.4;
    transform: translateX(-120%) scale(0.85);
    filter: blur(2px);
    z-index:2;
}

/* DERECHA */
.testimonio.next{
    opacity:.4;
    transform: translateX(120%) scale(0.85);
    filter: blur(2px);
    z-index:2;
}

/* OCULTOS */
.testimonio.hidden{
    opacity:0;
    transform: translateX(200%) scale(0.7);
    z-index:1;
}


/* TEXTO */
.testimonio-text{
    font-style:italic;
    font-size:18px;
    margin-bottom:20px;
}

.testimonio-author{
    margin-bottom:10px;
}

.testimonio-author strong{
    color:#83bc41;
}

.testimonio-author span{
    color:#356103;
}

.testimonio-tag{
    display:inline-block;
    padding:8px 15px;
    background:#eee;
    border-radius:20px;
    font-size:14px;
    font-family: 'Avenir', serif;
}

/* DOTS */
.slider-dots{
    margin-top:40px;
    text-align: center;
}

.dot{
    display:inline-block;
    width:14px;
    height:14px;
    margin:0 5px;
    border-radius:50%;
    background:#0b3d2e;
    cursor:pointer;
    opacity:.5;
}

.dot.active{
    background:#83bc41;
    opacity:1;
}

/* CLINICAS */

.clinicas-section{
    padding:1px 50px 50px 50px;
    background:#ffffff;
}

.clinicas-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin:50px 0;
}

/* CARD BASE */
.clinica-card{
    background:#fff;
    border:1px solid #ddd;
}

/* HEADER */
.clinica-header{
    position:relative;
    background:#0b3d2e;
    color:#fff;
    padding:20px;
    overflow:hidden;
}

/* ICONO IZQUIERDA */
.header-icon{
    position:absolute;
    left:4%;
    top:50%;
    transform:translateY(-50%);

    font-size:60px; /* 🔥 ajusta al alto */
    color:rgb(246 243 243 / 56%);;

    pointer-events:none;
}

/* TEXTO */
.header-text{
    position:relative;
    z-index:2;
    padding-left:15%; /* 🔥 espacio para el icono */
}

.header-text h3{
    margin:0;
    font-size:26px;
    /* font-family: 'Mignon', serif; */
    margin-left: 10%;

}

.header-text span{
    font-size:20px;
    font-family: 'Avenir', serif;
    color:#83bc41;
}

/* BODY */
.clinica-body{
    padding:20px;
}

.clinica-body p{
    font-size:16px;
    font-family: 'Avenir', serif;
    line-height:1.6;
    margin-bottom:20px;
}

/* TAGS */
.clinica-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.clinica-tags span{
    background:#eee;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

/* CARD FULL */
.clinica-card.full{
    grid-column:1 / -1;
    margin-top:20px;
}

/* FOOTER */
.clinica-footer{
    margin-top:60px;
}

.clinica-footer h3{
    font-size:40px;
    /* font-family: 'Mignon', serif; */
    margin-bottom:15px;
}

.clinica-footer p{
    font-size:20px;
    font-family: 'Avenir', serif;
    margin-bottom:15px;
}

/* ================= RECONOCIMIENTOS ================= */

.reconocimientos-section{
    padding:1px 50px 50px 50px;
    background:#ffffff;
}

.reconocimientos-label{
    color:#83bc41;
    font-weight:600;
    letter-spacing:1px;
    font-size:22px;
    font-family: 'Avenir', serif;
}

.reconocimientos-title{
    font-size:58px;
    margin:10px 0;
    color:#2d2d2d;
    /* font-family: 'Mignon', serif; */
}

.reconocimientos-desc{
    max-width:80%;
    margin-bottom:40px;
    color:#555;
    font-size:22px;
    font-family: 'Avenir', serif;
}

/* DESTACADO */

.reconocimiento-destacado{
    display:flex;
    gap:30px;
    background:#2f3747;
    padding:3px 30px 3px 30px;
    margin-bottom:40px;
    color:#fff;
    align-items:center;
}

.reconocimiento-img{
    width:200px;
    height:300px;
    background:#ccc;
    flex-shrink:0;
}

.reconocimiento-info h3{
    font-size:35px;
    margin-bottom:10px;
    color: #fdcb70;
    font-family: 'Mignon', serif;
}

.reconocimiento-info p{
    font-size:20px;
    font-family: 'Avenir', serif;
}

.reconocimiento-cargo{
    color:#ffffff;
    display:block;
    margin-bottom:15px;
    font-size:22px;
    font-family: 'Avenir', serif;
}

/* GRID */

.reconocimientos-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.reconocimiento-card{
    background:#fff;
    padding:20px;
    border:2px solid #e5e5e5;
    transition:all .3s ease;
    position:relative;
}

.reconocimiento-card::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(to right, #fdcb70, transparent);
}

/* HOVER 🔥 */

.reconocimiento-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* TEXTOS */

.reconocimiento-card h4{
    font-size:28px;
    margin-bottom:8px;
    margin-top:8px;
    color:#fdcb70;
    /* font-family: 'Mignon', serif; */
}

.reconocimiento-card span{
    font-size:14px;
    color:#223e02;
    display:block;
    margin-bottom:10px;
    font-family: 'Avenir', serif;
}

.reconocimiento-card p{
    color:#444;
    line-height:1.5;
    font-size:13px;
    font-family: 'Avenir', serif;
}

.site-footer{
    background:#000;
    color:#83bc41;
    padding-top:10px;
    font-family: 'Avenir', sans-serif;
}

/* LOGO */
.footer-logo{
    text-align:center;
    margin-bottom:5px;
}

.footer-logo img{
    max-width:400px;
}

/* MENÚ */
.footer-menu{
    display:flex;
    flex-wrap:wrap;
    gap:5px 20px;
    width: 100%;
    list-style:none;
    justify-content:center;
}

/* ITEM */
.footer-menu li{
    position:relative;
}

/* LINK */
.footer-menu a{
    color:#83bc41;
    text-decoration:none;
    display:flex;
    align-items:center;
    font-size: 20px;
    font-family: 'Avenir', sans-serif;
    gap:5px;
}

/* FLECHA */
.arrow::after{
    content:"▼";
    font-size:10px;
    margin-left:5px;
}

/* DROPDOWN */
.dropdown{
    position:absolute;
    top:100%;
    left:0;

    background:#fff;
    min-width:330px;
    padding:10px 0;

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:all .3s ease;
    z-index:10;
    max-height: 350px;
    overflow-y: auto;
}

.dropdown::-webkit-scrollbar {
    width:6px;
}

.dropdown::-webkit-scrollbar-thumb {
    background:#83bc41;
    border-radius:10px;
}

.dropdown::-webkit-scrollbar-track {
    background:#f1f1f1;
}

/* ITEMS DROPDOWN */
.dropdown li{
    padding:8px 15px;
}

.dropdown a{
    color:#0b3d2e;
}

/* SOLO dispositivos con hover real (desktop) */
@media (hover: hover) and (pointer: fine){
    .dropdown li:hover{
        background:#064c23; /* verde */
    }

    .dropdown li:hover a{
        color:#fff; /* texto en blanco */
    }
}

 /* HOVER 🔥 */
    .has-dropdown:active .dropdown{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

/* REDES */
.footer-social{
    text-align:center;
    margin:10px 0;
}

.footer-social span{
    display:block;
    color:#fff;
    margin-bottom:15px;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:15px;
}

.social-icons i{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:#333;
    color:#fff;

    transition:.3s;
}

.social-icons i:hover{
    background:#83bc41;
}

/* CONTACTO */
.footer-contact{
    text-align:center;
    margin-bottom:20px;
}

.footer-contact span{
    display:block;
    color:#fff;
    margin-bottom:15px;
}

.contact-box{
    display:inline-flex;
    align-items:center;
    gap:15px;

    border:1px solid #83bc41;
    padding:15px 60px 5px 60px
}

.contact-box i{
    font-size:20px;
    color: #ffffff;
}

.contact-box span{
    font-size:20px;
    color: #ffffff;
}

.contact-box p{
    font-size:20px;
    color: #83bc41;
    margin-bottom: 2px;
}

/* BOTTOM */
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    margin-top:40px;
}

.footer-address{
    display:flex;
    justify-content:center;  /* 🔥 centra horizontal */
    align-items:center;
    gap:10px;
    width:100%;
    text-align:center;
    font-size: 22px;
    font-family: 'Avenir', sans-serif;
}

.footer-address i{
    flex-shrink:0;
}

/* CTA */
.footer-cta{
    background:#d35400;
    color:#fff;
    padding:15px 25px;
    border-radius:25px;
    text-decoration:none;
    font-weight:bold;
}

/* COPY */
.footer-copy{
    background:#064c23;
    padding:5px 0;
    margin-top:10px;
}

.footer-copy .container-footer{
    display:flex;
    justify-content:space-between;
    color:#fff;
    padding: 20px;
}

.footer-copy a{
    color:#fff;
    text-decoration:none;
}

/* Floating Components */
.floating-components {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    opacity:0;
    visibility:hidden;
    transform: translateY(20px);
    transition: all .3s ease;
}


.floating-components.show{
    opacity:1;
    visibility:visible;
    transform: translateY(0);
}

/* Scroll to Top */
.scroll-to-top {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: relative;
}

.whatsapp-toggle {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
}

.whatsapp-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.whatsapp-popup.hidden {
    display: none;
}

.popup-header {
    background-color: #075E54;
    color: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-header i:first-child {
    font-size: 18px;
}

.popup-header span {
    flex: 1;
    font-weight: 600;
}

.close-popup {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
}

.popup-content {
    padding: 20px;
}

.popup-content p {
    color: #333;
    margin-bottom: 15px;
    font-size: 14px;
}

.popup-content textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    resize: none;
}

.send-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.send-button:hover {
    background-color: #128C7E;
}

/* Calendly Button */
.btn-calendly {
    display: inline-block;
    background-color: #008c44;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,166,81,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-calendly:hover {
    background-color: #008c44;
    transform: translateY(-3px);
}

/* MODAL BASE */
.form-modal{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;

    opacity:0;
    visibility:hidden;

    transition:.3s;
    z-index:99999;
}

/* ACTIVO */
.form-modal.active{
    opacity:1;
    visibility:visible;
}

/* OVERLAY */
.form-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

/* HEADER DEL FORM */
.form-header{
    text-align:center;
    margin-bottom:20px;
}

.form-header h2{
    font-size:24px;
    color:#064c23;
    margin-bottom:5px;
}

.form-header p{
    font-size:15px;
    color:#666;
    margin-right: 5%;
}
/* GRUPOS */
.form__group{
    margin-bottom:15px;
}

/* INPUTS Y SELECT */
.form__group input,
.form__group select{
    width:100%;
    height:50px;

    border:1px solid #ddd;
    border-radius:8px;

    font-size:15px;
    /* background:#f9f9f9; */

    transition:.3s;
}


input::placeholder{
    font-family: 'Avenir', sans-serif  !important;
    font-size: 15px;
    color:#064c23 !important;
}

select{
    font-family: 'Avenir', sans-serif;
    color:#064c23;
}


/* CONTENEDOR */
.form-row{
    display:flex;
    gap:15px;
}

/* columnas iguales */
.form-row .form__group{
    flex:1;
}


/* FOCUS 🔥 */
.form__group input:focus,
.form__group select:focus{
    border-color:#83bc41;
    background:#fff;
    box-shadow:0 0 0 3px rgba(131,188,65,0.15);
    outline:none;
}

/* PLACEHOLDER */
.form__group input::placeholder{
    color:#aaa;
}

/* SELECT */
.form__group select{
    cursor:pointer;
}

/* BOTÓN */
.form-button{
    width:100%;
    height:50px;

    background:#064c23;
    color:#fff;

    border:none;
    border-radius:8px;

    font-size:16px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

/* HOVER */
.form-button:hover{
    background:#6ea532;
}

/* LOADING (opcional ya tienes gif) */
.form__group.loading{
    opacity:.6;
    pointer-events:none;
}

/* CONTENEDOR FORM */
.form-content{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%) scale(.95);

    width:90%;
    max-width:500px;
    max-height:85vh;

    background:#fff;
    padding:25px;
    border-radius:12px;

    overflow-y:auto;

    transition:.3s;
}

/* animación */
.form-modal.active .form-content{
    transform: translate(-50%, -50%) scale(1);
}

/* botón cerrar */
.close-form{
    position:sticky;
    top:10px;
    right:10px;
    float: right;
    width:35px;
    height:35px;

    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.2);

    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
    z-index:20;
}




