/* CONFIGURACIÓN GENERAL*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#ffffff;
}

/*HEADER*/

.header{

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    background: linear-gradient(
        90deg,
        #102447 0%,
        #1d4e89 50%,
        #102447 100%
    );

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 60px;

    box-shadow: 0 3px 10px rgba(0,0,0,.2);

    z-index: 1000;
}

/* Logo */

.logo{
    display: flex;
    align-items: center;
}

.logo-img{
    height: 80px;
    width: auto;
}
/* Menú */

.menu{

    display:flex;
    gap:25px;

}

.menu a{

    text-decoration:none;

    color:white;

    font-weight:bold;

    font-size:17px;

    padding:12px 18px;

    border-radius:8px;

    transition:.3s;

}

/* Hover */

.menu a:hover{

    background:#009ee2;

    color:white;

}

/* =========================
   ESTADÍSTICAS
========================= */

.estadisticas{
    width:100%;
    min-height:180px;

    display:grid;
    grid-template-columns:repeat(4,1fr);

    align-items:center;

    padding:35px 8%;

    background:#ffffff;
}

.estadistica{
    min-height:120px;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    border-right:3px solid #009ee2;
}

.estadistica:last-child{
    border-right:none;
}

/* TÍTULO */

.titulo-estadistica{
    font-size:18px;
    color:#222;
    margin-bottom:12px;
}

/* NÚMERO COMPLETO */

.numero-final{
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:68px;
    font-weight:400;

    line-height:1;

    color:#009ee2;
}

/* NÚMERO QUE ANIMA */

.numero{
    font-size:68px;
    color:#009ee2;
}

/*SECCIONES*/

.seccion{

    min-height:100vh;

    padding:110px 8% 70px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    scroll-margin-top:90px;

}

.seccion h1{

    font-size:48px;

    color:#092b7a;

    margin-bottom:25px;

    text-align:center;

}

.seccion p{

    font-size:20px;

    color:#555;

    line-height:1.8;

}

/* Colores diferentes para distinguir las secciones */





#mision{
    background-image: url(img/fondo-5.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;

    

}

#contacto{

    background-image: url("img/fondo6.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;

}

/*INSTALACIONES*/
#instalaciones{
    background-image: url("img/fondo7.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
}
.texto-instalaciones {
    background: rgba(255, 255, 255, 0.94);

    padding: 22px 35px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    width: fit-content;
    max-width: 850px;

    margin: 0 auto 35px;

    text-align: center;
}

.texto-instalaciones h1 {
    margin: 0 0 12px;
}

.texto-instalaciones .descripcion-instalaciones {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.descripcion-instalaciones{
    width:100%;
    max-width:900px;
    text-align:center;
    margin:0 auto 50px;
    line-height:1.8;
}

.galeria{
    width:70%;
    max-width:900px;
    position:relative;
    overflow:hidden;
    border-radius:15px;
}

.galeria img{
    width:100%;
    height: 500px;;
    border-radius:15px;
    display:none;
}


/*MISION Y VISION*/

.mision-contenedor{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    margin-top:50px;
}

.mision-texto{
    flex:2;
    display:flex;
    flex-direction:column;
    gap:40px;
}

.caja{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition: .3s ease;
}

.caja:hover{
    transform: translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.caja h2{
    color:#1b2847;
    margin-bottom:15px;
    font-size:30px;
}

.caja p{
    max-width:100%;
    text-align:justify;
    font-size:18px;
}

.mision-box{
    width:85%;
}

.vision-box{
    width:85%;
    margin-left:auto;
}

.mascota {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mascota::before {
    content: "";
    position: absolute;
    width: 36%;
    height: 46%;
    background-color: white;
    top: 16%;
    left: 22%;
    z-index: 0;
}

.mascota img {
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 1;
}


.galeria img:hover{
    transform:scale(1.03);
}


    /* =========================
   BIENVENIDA
========================= */

    #bienvenido{
        background-image: url("img/foto-inicio.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        position: relative;
        overflow: hidden;
    }

    #bienvenido::before{
        content: "";

        position: absolute;

        inset: 0;

        background: rgba(16, 36, 71, 0.35);

        z-index: 0;
    }

    .bienvenida-contenido{
        
        width: 100%;
        max-width: 1200px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 60px;
        position:relative;
        z-index: 1;
    }

    .bienvenida-texto{

        flex: 1;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .bienvenida-etiqueta{

        color: #009ee2;

        font-size: 18px;

        font-weight: bold;

        letter-spacing: 3px;

        margin-bottom: 15px;
    }

    .bienvenida-texto h1{

        color:  white;

        font-size: 58px;

        line-height: 1.1;

        margin-bottom: 25px;

        text-align: left;
    }

    .bienvenida-texto h1 span{

        display: block;

        color: #009ee2;
    }

    .bienvenida-texto p{

        max-width: 650px;

        font-size: 19px;

        line-height: 1.7;

        color: white;

        text-align: left;

        margin-bottom: 25px;
    }

    .bienvenida-servicios{

        display: flex;

        flex-wrap: wrap;

        gap: 10px;

        margin-bottom: 30px;
    }

    .bienvenida-servicios span{

        background: white;

        color: #1b2847;

        padding: 9px 15px;

        border-radius: 20px;

        font-size: 14px;

        font-weight: bold;

        box-shadow: 0 4px 12px rgba(0,0,0,.08);
    }

    .btn-conocenos{

        display: inline-block;

        text-decoration: none;

        background: #009ee2;

        color: white;

        font-weight: bold;

        padding: 13px 28px;

        border-radius: 8px;

        transition: .3s;
    }

    .btn-conocenos:hover{

        background: #1b2847;

        transform: translateY(-3px);

    }

        /* =========================
            QUIENES SOMOS
        ========================= */

#quienes{
    position: relative;

    background-image: url("img/fondo-2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

 .subtitulo-quienes{
text-align:center;
font-size:22px !important;
color:#009ee2 !important;
font-weight:bold;
margin-bottom:40px;
}

.quienes-contenedor{
 width:100%;
 max-width:1100px;

 display:flex;
 gap:40px;

 align-items:stretch;
}


            /* TEXTO */

 .quienes-texto{
  flex:2;
    
 background:white;

 padding:35px;
 border-radius:18px;
 box-shadow:0 10px 25px rgba(0,0,0,.10);
}

.quienes-texto h2{
 color:#1b2847;
 font-size:30px;
margin-bottom:20px;
 }

 .quienes-texto p{
font-size:17px;
 line-height:1.8;
margin-bottom:18px;
 }


            /* ENFOQUE */

            .quienes-enfoque{
                flex:1;

                background:#1b2847;

                padding:35px;

                border-radius:18px;

                box-shadow:0 10px 25px rgba(0,0,0,.15);

                color:white;
            }

            .quienes-enfoque h2{
                font-size:28px;
                margin-bottom:25px;
            }


            .enfoque-item{
                display:flex;

                align-items:center;

                gap:12px;

                margin-bottom:20px;
            }


            .enfoque-item span{
                width:28px;
                height:28px;

                display:flex;

                justify-content:center;
                align-items:center;

                background:#009ee2;

                border-radius:50%;

                font-weight:bold;
            }


            .enfoque-item p{
                color:white !important;
                font-size:16px !important;
            }


            /* AREAS */

            .areas-quienes{
                width:100%;
                max-width:1100px;

                display:grid;

                grid-template-columns:repeat(3,1fr);

                gap:25px;

                margin-top:35px;
            }


            .area{
                background:white;

                padding:25px;

                border-radius:15px;

                text-align:center;

                box-shadow:0 8px 20px rgba(0,0,0,.10);

                transition:.3s ease;
            }


            .area:hover{
                transform:translateY(-7px);

                box-shadow:0 15px 30px rgba(0,0,0,.15);
            }


            .area span{
                font-size:35px;
            }


            .area h3{
                margin-top:12px;

                color:#1b2847;

                font-size:19px;
            }
            
             /* =========================
                    CONTACTOS
            ========================= */
            .contacto {
            background: #f4f8fc;

            min-height: auto;

            padding: 90px 8%;

            
        }

        .contacto-contenido {
    width: 100%;
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns: 1fr 500px;

    gap: 45px;

    align-items: center;
}
        .contacto-info {
    background-color: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

        .contacto-info p {
            font-size: 18px;
            line-height: 1.7;
            color: #444;
        }

        .contacto-datos {
            margin-top: 35px;
        }

        .contacto-datos div {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 20px 0;
            color: #172d55;
        }

        .contacto-datos i {
            font-size: 20px;
            color: #08a5e5;
        }


        /* FORMULARIO */

       .formulario-contacto {
            background: #ffffff;

            padding: 30px;

            border-radius: 20px;

            box-shadow: 0 15px 40px rgba(0, 0, 0, .12);

            display: flex;
            flex-direction: column;

            gap: 15px;

            border-top: 5px solid #009ee2;
        }

        .formulario-contacto input,
        .formulario-contacto textarea {

            width: 100%;
            box-sizing: border-box;

            padding: 15px;

            border: 1px solid #ddd;
            border-radius: 10px;

            font-family: inherit;
            font-size: 15px;

            outline: none;
        }

        .formulario-contacto input:focus,
        .formulario-contacto textarea:focus {
            border-color: #08a5e5;
        }

        .formulario-contacto textarea {
            min-height: 140px;
            resize: vertical;
        }

        .formulario-contacto button {

            border: none;

            background: #08a5e5;
            color: white;

            padding: 15px;

            border-radius: 10px;

            font-size: 16px;
            font-weight: bold;

            cursor: pointer;

            transition: .3s;
        }

        .formulario-contacto button:hover {
            background: #078bc2;
            transform: translateY(-2px);
        }

        #titulo-formulario{
            color: #102447;
            font-size: 30px;
            text-align: center;
            width: 100%;
        }

        /* =========================
        FORMULARIO DE CONTACTO
        ========================= */

       .formulario-contacto {
        width: 90%;
        max-width: 480px;

        background: #ffffff;
        padding: 30px;

        border-radius: 25px;

        box-shadow: 0 15px 40px rgba(0,0,0,.12);

        display: flex;
        flex-direction: column;
        gap: 12px;

        border-top: 5px solid #009ee2;
    }


        /* ENCABEZADO */
 .encabezado-seccion {
background-color: white;
padding: 25px 35px;
border-radius: 15px;
text-align: center;
width: fit-content;
margin: 0 auto 40px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

.encabezado-seccion h1 {
    margin: 0 0 10px;
}

.encabezado-seccion p {
    margin: 0;
}

        .encabezado-formulario {
            text-align: center;

            margin-bottom: 10px;
        }

        .icono-formulario {
            width: 55px;
            height: 55px;

            margin: 0 auto 15px;

            display: flex;
            align-items: center;
            justify-content: center;

            background: #e8f7fd;

            color: #009ee2;

            border-radius: 50%;

            font-size: 23px;
        }

        #titulo-formulario {
            width: 100%;

            color: #102447;

            font-size: 30px;

            margin-bottom: 8px;
        }

        .encabezado-formulario p {
            color: #666;

            font-size: 15px;

            line-height: 1.5;

            margin: 0;
        }


        /* CAMPOS */

        .campo {
            display: flex;
            flex-direction: column;

            gap: 8px;
        }

        .campo label {
            color: #102447;

            font-size: 14px;

            font-weight: bold;
        }

        .campo label i {
            color: #009ee2;

            margin-right: 6px;
        }

        .campo input,
        .campo textarea {
            width: 100%;

            padding: 14px 16px;

            box-sizing: border-box;

            background: #f7f9fc;

            border: 1px solid #e1e5ea;

            border-radius: 10px;

            font-family: Arial, Helvetica, sans-serif;

            font-size: 15px;

            outline: none;

            transition: .3s ease;
        }

        .campo input:focus,
        .campo textarea:focus {
            background: #ffffff;

            border-color: #009ee2;

            box-shadow: 0 0 0 3px rgba(0, 158, 226, .10);
        }

        .campo textarea {
            min-height: 130px;

            resize: vertical;
        }

        


    /* BOTÓN WHATSAPP */

    .btn-whatsapp {
        border: none;

        background: #25D366;

        color: white;

        padding: 15px;

        border-radius: 10px;

        font-size: 16px;

        font-weight: bold;

        cursor: pointer;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 10px;

        transition: .3s ease;

        margin-top: 5px;
    }

    .btn-whatsapp:hover {
        background: #1ebe5d;

        transform: translateY(-2px);

        box-shadow: 0 8px 18px rgba(37, 211, 102, .25);
    }

    .btn-whatsapp i {
        font-size: 21px;
    }

    /* TOKI GRANDE DE LA BIENVENIDA */

    .bienvenida-toki{

        flex: 0 0 380px;

        display: flex;

        justify-content: center;

        align-items: center;
    }

    .bienvenida-toki img{

        width: 100%;

        max-width: 380px;

        animation: tokiFlotar 4s ease-in-out infinite;
    }


@keyframes tokiFlotar{

    0%, 100%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-12px);
    }

}

   


    /* =========================
   ASISTENTE VIRTUAL
========================= */

#asistente{
    position:fixed;
    bottom:clamp(10px, 2vw, 20px);
    right:clamp(10px, 2vw, 20px);
    z-index:9999;
}

#avatar{
    width: clamp(75px, 9vw, 130px);
    height: auto;
    cursor: pointer;
    transition: transform .3s;
}

#avatar:hover{
    transform: scale(1.09);
}

#chat-avatar{

    display:none;

    position:absolute;

    bottom:100px;

    right:110px;

    width:280px;

    background:white;

    border-radius:15px;

    padding:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}

#chat-avatar.abierto{

    display:flex;

    flex-direction:column;

    gap:15px;

}

#chat-avatar h3{

    color:#1b2847;

}

.opcion i{
    font-size:22px;
    width:25px;
}

.fa-whatsapp{
    color:#25D366;
}

.fa-instagram{
    color:#E1306C;
}

.fa-x-twitter{
    color:#000000;
}

.opcion{

    text-decoration:none;

    background:#f3f3f3;

    padding:12px;

    border-radius:10px;

    color:black;

    transition:.3s;

}

.opcion:hover{

    background:#25D366;

    color:white;

}

#canales{
    font-size: 18px;
}

/* =========================
   TICKER DENTRO DEL MENU
========================= */

.ticker-menu {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-left: 25px;

    color: white;

    font-size: 14px;

    white-space: nowrap;

    min-width: 150px;

    overflow: hidden;

}

.ticker-menu strong {

    font-size: 15px;

}

.ticker-menu .sube {

    color: #5cff8d;

    font-weight: bold;

}

.ticker-menu .baja {

    color: #ff6b6b;

    font-weight: bold;

}
    /*LOGO DE SOCIOS*/
.logimaster {
    position: absolute;
    top: 10px;   /* qué tan abajo */
    left: 50px;   /* qué tan a la derecha */
    z-index: 10;
}

.logimaster img {
    width: 300px;
    height: auto;
}

/* ALIADOS */

.aliados {
    grid-column: 1 / -1;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    margin-top: 40px;
}

.aliados h2 {
    margin-bottom: 10px;
    color: #092b7a;
}

.aliados p {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

/* CONTENEDOR DE LOS LOGOS */

.logos-aliados {
    width: 60%;
    overflow: hidden;
    padding: 25px 0;
}

/* PISTA QUE SE MUEVE */

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: moverLogos 35s linear infinite;
}

/* CADA LOGO */

.logo-aliado {
    width: 250px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    padding: 15px 30px;
}

/* IMÁGENES */

.logo-aliado img {
    max-width: 180px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ANIMACIÓN */

@keyframes moverLogos {

    from {
        transform: translateX(1);
    }

    to {
        transform: translateX(-50%);
    }

}

/* menu hamburguesa*/
.menu-toggle {
    display: none;
}

/* =========================================================
   SECCIÓN SERVICIOS
   ========================================================= */

.servicios {
    background-image: url("img/fondo7.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;

}


/* Encabezado de la sección */

.servicios .encabezado-seccion {
    text-align: center;
    margin-bottom: 40px;
}

.servicios .encabezado-seccion h1 {
    color: #102447;
    font-size: 42px;
    margin-bottom: 10px;
}

.servicios .subtitulo-quienes {
    color: #555;
    font-size: 18px;
}


/* =========================================================
   TARJETAS DE SERVICIOS
   ========================================================= */

.servicios-tarjetas {
    width: 100%;
    max-width: 1200px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 18px;

    margin-bottom: 35px;
}


.servicio-card {
    background: #ffffff;

    border: 2px solid #e5eaf0;
    border-radius: 15px;

    padding: 25px 15px;

    min-height: 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 5px 15px rgba(16, 36, 71, 0.08);
}


/* Iconos */

.servicio-icono {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf6fc;
    color: #009ee2;

    font-size: 25px;

    margin-bottom: 15px;

    transition: all 0.3s ease;
}


/* Título */

.servicio-card h2 {
    color: #102447;

    font-size: 17px;

    line-height: 1.3;

    margin: 0;

    transition: color 0.3s ease;
}


/* Efecto al pasar el mouse */

.servicio-card:hover {
    transform: translateY(-5px);

    border-color: #009ee2;

    box-shadow: 0 10px 25px rgba(16, 36, 71, 0.15);
}


/* =========================================================
   TARJETA SELECCIONADA
   ========================================================= */

.servicio-card.activo {
    background: #102447;

    border-color: #102447;

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(16, 36, 71, 0.20);
}


.servicio-card.activo .servicio-icono {
    background: #ffffff;
    color: #009ee2;
}


.servicio-card.activo h2 {
    color: #ffffff;
}


/* =========================================================
   INFORMACIÓN DEL SERVICIO
   ========================================================= */

.servicio-informacion {
    width: 100%;
    max-width: 1200px;

    background: #f8fafc;

    border-radius: 20px;

    border: 1px solid #e5eaf0;

    padding: 40px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;

    box-shadow: 0 8px 25px rgba(16, 36, 71, 0.08);

    animation: aparecerServicio 0.4s ease;
}


/* Texto */

.servicio-texto {
    flex: 1;
}


.servicio-texto h2 {
    color: #102447;

    font-size: 30px;

    margin-bottom: 12px;
}


.servicio-texto h3 {
    color: #1d4e89;

    font-size: 18px;

    margin-top: 20px;
    margin-bottom: 10px;
}


.servicio-texto p {
    color: #555;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 15px;
}


/* =========================================================
   LISTA "INCLUYE"
   ========================================================= */

.servicio-incluye {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px 25px;

    margin-top: 15px;
}


.servicio-incluye span {
    color: #444;

    font-size: 15px;

    line-height: 1.5;
}


/* =========================================================
   PARTE DERECHA
   ========================================================= */

.servicio-accion {
    width: 220px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 25px;
}


.servicio-imagen-icono {
    font-size: 75px;

    color: #009ee2;
}


/* Botón */

.servicio-accion button {
    border: none;

    background: #009ee2;

    color: #ffffff;

    padding: 13px 22px;

    border-radius: 25px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}


.servicio-accion button:hover {
    background: #1d4e89;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 158, 226, 0.25);
}


/* =========================================================
   ANIMACIÓN DEL CONTENIDO
   ========================================================= */

@keyframes aparecerServicio {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}



        
         /*TABLET*/


    @media (max-width: 992px){

        .header{
            padding: 0 30px;
        }

        .menu{
            gap: 10px;
        }
        
        .menu a{
            font-size: 15px;
            padding: 10px 12px;
        }

        .seccion h1{
            font-size: 40px;
        }

        .seccion p{
            font-size: 18px;
        }
        .galeria{
        grid-template-columns:repeat(2,1fr);
        }

         /*INICIO BIENVENIDA*/
            .bienvenida-contenido{
                gap: 30px;
            }

            .bienvenida-texto h1{
                font-size: 45px;
            }

            .bienvenida-toki{
                flex: 0 0 300px;
            }

            .bienvenida-toki img{
                max-width: 300px;
            }
            /*INICIO BINEVENIDA*/
            .logo-aliado {
        width: 200px;
        height: 50px;
        padding: 10px 20px;
        
    }

    .logo-aliado img {
        max-width: 150px;
        max-height: 75px;
    }

    .logos-track {
        animation-duration: 22s;
    }

    }
        
    .servicios-tarjetas {
        grid-template-columns: repeat(3, 1fr);
    }

    .servicio-informacion {
        padding: 30px;
    }

          /*CELULARES*/

@media (max-width: 768px){

        .header{
            height: auto;
            flex-direction: column;
            padding: 15px;
            gap: 15px;
        }

        .logo-img{
            height: 50px;
        }

        .menu{
            width: 100%;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

        .menu a{
            font-size: 14px;
            padding: 8px 12px;
        }

        .seccion{
            padding: 140px 20px 60px;
        }

        .seccion h1{
            font-size: 32px;
            text-align: center;
        }

        .seccion p{
            font-size: 16px;
            width: 100%;
        }

        .descripcion-instalaciones{
            width:100%;
        }

        .galeria{
            grid-template-columns:1fr;
            gap:18px;
        }

        .galeria img{
            height:auto;
            aspect-ratio:16/11;
        }

        .mision-contenedor{
            flex-direction:column;
            gap:30px;
        }

        .mision-box,
        .vision-box{
            width:100%;
            margin-left:0;
        }

        .mascota img{
            max-width:220px;
        }

        /* TOKI EN CELULAR */

        #asistente{
            right: 12px;
            bottom: 15px;
        }

        #avatar{
            width: 85px;
        }

        #chat-avatar{
            width: 240px;
            right: 75px;
            bottom: 75px;
            padding: 15px;
        }

         #avatar{
        width:85px;
        }

        #asistente{
            right:12px;
            bottom:12px;
        }
        /*INICIO BIENVENIDA*/
        .bienvenida-contenido{

        flex-direction: column;

        text-align: center;

        gap: 20px;
        }

        .bienvenida-texto{

            align-items: center;
        }

        .bienvenida-texto h1{

            font-size: 38px;

            text-align: center;
        }

        .bienvenida-texto p{

            text-align: center;

            font-size: 16px;
        }

        .bienvenida-servicios{

            justify-content: center;
        }

        .bienvenida-toki{

            flex: none;

            width: 230px;
        }

        .bienvenida-toki img{

            width: 230px;
        }

        /*QUIENES SOMOS*/
        .quienes-contenedor{
        flex-direction:column;
        }

        .quienes-texto,
        .quienes-enfoque{
            width:100%;
        }

        .areas-quienes{
            grid-template-columns:1fr;
        }

        .subtitulo-quienes{
            font-size:18px !important;
        }

        .formulario-contacto {
            padding: 25px;
        }

        #titulo-formulario {
            font-size: 26px;
        }

        .campo input,
        .campo textarea {
            font-size: 16px;
        }

         .contacto {
        padding: 70px 20px;
        }

        .contacto-contenido {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .contacto-info h1 {
            font-size: 35px;
        }

        .contacto-info p {
            font-size: 16px;
        }

        .formulario-contacto {
            padding: 25px;
        }

        

          .header {
        top: 0;
        height: auto;
        min-height: 80px;

        flex-direction: column;

        padding: 12px 15px;

        gap: 10px;
    }

   .ticker-menu {
    position: absolute;
    top: 5px;
    right: 20px;

    display: flex;
    align-items: center;

    font-size: 13px;
    gap: 6px;
}

    .ticker-menu strong {
        font-size: 13px;
    }

     .logos-aliados {
        width: 70%;
        overflow: hidden;
        padding: 25px 0;
        transform: translateX(-10px);
    }
    /*LOGOS*/
    .logo-aliado {
        width: 180px;
        height: 100px;
        padding: 10px 20px;
    }

    .logo-aliado img {
        max-width: 140px;
        max-height: 160px;
    }



.aliados p {
    text-align: center;
    margin: 20px auto 0;
    max-width: 700px;
}

  .estadisticas {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
        padding: 20px 15px;
    }

    .estadistica {
        width: 100%;
    }

    .titulo-estadistica {
        font-size: 14px;
    }

    .numero-final,
    .numero {
        font-size: 30px;
    }

    .servicios .encabezado-seccion h1 {
        font-size: 32px;
    }


    .servicios-tarjetas {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }


    .servicio-card {
        min-height: 140px;

        padding: 20px 10px;
    }


    .servicio-card h2 {
        font-size: 15px;
    }


    .servicio-icono {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }


    .servicio-informacion {
        flex-direction: column;

        padding: 25px 20px;

        text-align: left;
    }


    .servicio-texto h2 {
        font-size: 25px;
    }


    .servicio-incluye {
        grid-template-columns: 1fr;
    }


    .servicio-accion {
        width: 100%;
    }

}
        
    
       /*CELULARES PEQUEÑOS*/

    @media (max-width: 480px){

        .menu{
            flex-direction: column;
            align-items: center;
        }

        .menu a{
            width: 100%;
            text-align: center;
        }

        .seccion h1{
            font-size: 28px;
        }


        #avatar{
        width: 75px;
        }

        #chat-avatar{
            width: 220px;
            right: 60;
            bottom: 70px;
            padding: 13px;
        }

         #avatar{
        width:75px;
        }

        #asistente{
            right:8px;
            bottom:8px;
        }

        .servicios-tarjetas {
        grid-template-columns: 1fr;
    }


    .servicio-card {
        min-height: 110px;

        flex-direction: row;

        justify-content: flex-start;

        gap: 15px;

        padding: 15px 20px;
    }


    .servicio-icono {
        flex-shrink: 0;

        margin-bottom: 0;
    }


    .servicio-card h2 {
        text-align: left;
    }


    }

    /* =========================
   FOOTER
========================= */

.footer{
    width:100%;
    background: linear-gradient(90deg, #102447 0%, #1d4e89 50%, #102447 100%);
    color:white;
}

.footer-contenido{
    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;

    padding:60px 8% 40px;
}

.footer-logo{
    height:45px;
    margin-bottom:15px;
}

.footer-marca p{
    font-size:14px;
    line-height:1.7;
    color:rgba(255,255,255,.75);
}

.footer-columna h3{
    color:white;
    font-size:17px;
    margin-bottom:18px;
}

.footer-columna a{
    display:block;
    text-decoration:none;
    color:rgba(255,255,255,.75);
    font-size:14px;
    margin-bottom:12px;
    transition:.3s;
}

.footer-columna a:hover{
    color:#009ee2;
}

.footer-dato{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:14px;
    font-size:14px;
    color:rgba(255,255,255,.85);
}

.footer-dato i{
    color:#009ee2;
    margin-top:3px;
}

.footer-copy{
    border-top:1px solid rgba(255,255,255,.15);

    padding:20px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;

    font-size:13px;
    color:rgba(255,255,255,.65);
}

.footer-legales{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.footer-legales a{
    color:rgba(255,255,255,.65);
    text-decoration:none;
    transition:.3s;
}

.footer-legales a:hover{
    color:#009ee2;
}

/* Responsive */
@media (max-width:768px){

    .footer-contenido{
        grid-template-columns:1fr;
        gap:30px;
        padding:50px 20px 30px;
    }

    .footer-copy{
        flex-direction:column;
        text-align:center;
        padding:20px;
    }
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* MENÚ MÓVIL */
@media (max-width: 768px) {

    .header {
        min-height: 80px;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 12px 15px;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-top: 8px;
    }

    .menu.abierto {
        display: flex;
    }

    .menu a {
        width: 100%;
        padding: 12px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
    }

    .ticker-menu {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}
