* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* html {
    scroll-behavior: smooth;
} */

nav {
    position: fixed;
    top: 0;
    left: 0;
    display: inline-block;
    transition: 0.7s;
    height: 90px;
    width: 100%;
    z-index: 100;

    color: #000000;
    background-color: #c9e0f5;
}

.enlace {
    position: absolute;
    height: 70px;
    padding: 6px;
    margin: 8px 0 0 16px;
  
    display: flex;
    align-items: center;
    cursor: default;
}

.logo {
    height: 56px;
    width: 56px;
    border-radius: 50px;
    margin-right: 10px;

    animation: animation-logo 10s ease-in-out infinite;
}

@keyframes animation-logo {
    0%, 96% {
        transform: rotate(0);
    }
    97% {
        transform: rotate(90deg)
    }
    98% {
        transform: rotate(180deg)
    }
    99% {
        transform: rotate(270deg)
    }
    100% {
        transform: rotate(360deg);
    }
}

.names {
    display: flex;
    flex-direction: column;
}

.main-name {
    color: #2e5f8c;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.6rem;
    cursor: pointer;
    transition: 0.5s;
} 

.main-namesito {
    margin-top: 4px;
    color: #000000;
    font-size: 0.88rem;
}

.main-name:hover {
    text-shadow: 2px 2px #3e3e92;
    color: #1d4d79;
    transition: 0.5s;
} 

nav ul {
    float: right;
    display: flex;
    align-items: center;
}

nav ul li {
    display: inline-block;
    line-height: 70px;
    margin: 6px;
}

nav ul li a {
    position: relative;
    color: #000000;
    font-size: 16px;
    /* font-weight: 600; */
    border-radius: 5px;
    /* text-transform: uppercase; */
    padding: 0 12px;
}

.fa-home {
    font-size: 1.125rem;
}

/* nuevo */
li a:after {
    content: "";
    position: absolute;
    background-color: #58aaf7;
    height: 4px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

li a:hover {
    color: #58aaf7;
}

li a:hover:after {
    width: 100%;
}

.checkbtn {
    font-size: 34px;
    color: #2e5f8c;
    float: right;
    line-height: 80px;
    margin-right: 20px;
    cursor: pointer;
    padding-top: 20px;  /* para que baje, estaba muy arriba */
    display: none;
}

#check {
    display: none;
}


/**********************************************/
/* **** Zona central de la primer pagina **** */ 
#zona1{
    background: url(/img/fondo1.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    /* height: calc(100vh - 100px); */

    /* nuevo */
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;   /* lo puse, porque necesitaba el boton debajo */
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    object-position: center;
}

.presentacion {
    max-width: 100%;
    text-align: center;
    position: relative;
}
  
.renglon1 {
    color: #2e5f8c;
    width: 100%;
    font-size: clamp(1.5rem, 2vw + 1rem, 2.75rem);
    font-weight: 600;
    margin: 0px auto 40px;
    text-shadow: 1px 1px 0px #ffffff, 
                 0px 0px 10px #54aafa,
                 0px 0px 20px #3f81c0,
                 0px 0px 30px #2e5f8c;
}

.renglon2 {
    width: 100%;
    color: white;
    font-size: clamp(0.875rem, 1vw + 0.5rem, 2rem);

    text-shadow: 1px 1px 0px #000000, 
                 0px 0px 10px #54aafa,
                 0px 0px 20px #3f81c0,
                 0px 0px 30px #2e5f8c;
    font-weight: 400;
    margin: 80px auto;
}

/* Boton flecha inicio */
.flecha-arriba{
    bottom: 4px;
    right: 4px;

    position: fixed;

    height: 40px; 
    width: 40px;
    cursor: pointer;
}


/* ********************************* */
/* ********* Quienes Somos ********* */
#container-quienes-somos {
    padding-top: 96px;
    padding-inline: 10%;
    max-width: 100%;
    max-height: auto;
    background-color: #ddecfa;
    margin: auto;
}

.title-quienes-somos {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 80px 10px;
    color: #2e5f8c;
    background-color: #80bffa;
}

.p-quienes-somos {
    padding-top: 30px;
    padding-bottom: 50px;
    font-size: clamp(1rem, 3vw, 2rem);
    line-height: clamp(1.5rem, 4.5vw, 3rem);   /* separacion entre renglones */
    font-weight: 500;
    text-align: center;
}

.p-quienes-somos span {
    color: #03a9ca;
    animation: colores 10s infinite;
}

@keyframes colores {
    0%   {color: #333f85;}
    20%  {color: #1d4d79;}
    40%  {color: #333f85;}
    60%  {color: #021bfa;}
    80%  {color: #3e3e92;}
    100% {color: #58aaf7;}
}


/* ********************************* */
/* *********** Servicios *********** */
#container-servicios {
    padding-top: 96px;
    padding-inline: 10%;
    max-width: 100%;
    max-height: auto;
    background-color: #ddecfa;
    margin: auto;
}

.title-servicios {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 10px 80px;
    color: #2e5f8c;
    background-color: #80bffa;
}

.p-servicios {
    padding-top: 30px;
    padding-bottom: 50px;
    font-size: clamp(1rem, 3vw, 2rem);
    line-height: clamp(1.5rem, 4.5vw, 3rem);  /* separacion entre renglones */
    font-weight: 500;
    text-align: center;
}



/* ************************************ */
/* ******* Preguntas Frecuentes ******* */
#container-preguntas {
    padding-top: 96px;
    padding-inline: 10%;
    max-width: 100%;
    max-height: auto;
    background-color: #ddecfa;
    margin: auto;
}

.title-preguntas {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 10px 80px;
    color: #2e5f8c;
    background-color: #80bffa;
}

details { 
    padding-top: 30px;
}

summary {
    list-style: revert;
    cursor: pointer;
    margin-bottom: 16px;
    font-size: clamp(1rem, 2vw + 0.75rem, 1.875rem);
}

summary:focus {
    outline: none;
}   

details p {
    padding: 10px 0;
    color: #399af5;
    text-align: justify;
    font-size: clamp(1rem, 2vw + 0.75rem, 1.875rem);
}

details p a {
    font-weight: bold;
}

details p a:hover {
    color:#919090;
}


/* *********************************** */
/* ************* Clientes ************ */
#container-slider {
    padding-top: 96px;
    padding-inline: 10%;
    max-width: 100%;
    height: 600px;
    background-color: #ddecfa;
    margin: auto;

    /* background-color: #abacaf; */
}

.titulo-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 80px 10px;
    color: #2e5f8c;
    background-color: #80bffa;
}

.slider {
    padding: 15px 10px 60px;
    width: 100%;
    height: auto;
    margin: 20px auto 0;
    overflow: hidden;

    /* background-color: #f3eec3; */
}

.slider .slide-track {
    width: 90%;
    height: 274px;
    margin-top: 26px;
    padding: 10px;
    display: flex;
    gap: 10px;
    animation: scroll 36s linear infinite;
    -webkit-animation: scroll 36s linear infinite;
    width: calc(200px * 16);  /* es la cantidad TOTAL de imagenes que pusimos */

    /* background-color: cadetblue; */
}

.slider .slide {
    width: 200px;
    height: 200px;
    text-align: center;
}

.slider .slide img {
    color: #ffffff;   /* si la imagen no se carga, entonces de vera el alt= BLANCO */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-200px * 8));
        transform: translateX(calc(-200px * 8));  /* Cantidad que NO se repiten */
    }
}

.slider .slide h4 {
    padding: 4px;
    color: #2e5f8c;

}

.slider .slide .btn-ver {
    width: 40%;
    padding: 4px 12px;
    border-radius: 10px;
    color: #ffffff;
    border: none;
    background-color: #2e5f8c;
    cursor: pointer;

    transition: 0.5s;
}

.slider .slide .btn-ver:hover {
    color: #000000;
    background-color: #80bffa;
}

/* ******************************** */
/* ********** Sucursales ********** */
#container-sucursales {
    padding-top: 96px;
    max-width: 100%;
    max-height: auto;
    background-color: #ddecfa;
}

.title-sucursal {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 10px 80px;
    color: #2e5f8c;
    background-color: #80bffa;
}

.sucursales-maps {
    width: 80%;
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */

    margin: auto;
    gap: 10px;
    padding: 60px 0;
}

.indiv-sucursal h3 {
    font-size: 1.4rem;
    color: #2e5f8c;
    padding: 4px;
    margin: 0 auto 20px;
}

.indiv-sucursal {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    overflow: hidden;
}

.indiv-sucursal iframe {
    width: 60rem;
    height: 38rem;
}


/* ************************************************************* */
/* Texto de formulario */
/* Estilos para centrar el formulario en el medio del contenedor */
#section-form {
    padding-top: 96px;
    max-width: 100%;
    background-image: url(/img/casacentral.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    padding-bottom: 16px;
}

.titulo-form {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 60px;
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin: auto;
    border-radius: 80px 10px;
    color: #2e5f8c;
    background-color: #80bffa;
}

form {
    max-width: 30%;
    margin: auto;
    background-color: rgba(89, 103, 112, 0.8);
    padding: 20px 20px 10px 20px;
    box-sizing: border-box;
    margin-top: 50px;
    margin-bottom: 200px;
    border-radius: 5px;
}

form p {
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

input.nombre,
input.apellido {
    text-transform: capitalize;
}

input.email {
    text-transform: lowercase;
}

input, textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 8px;
    box-sizing: border-box;
    font-size: 1rem;

    border: none;
    border-bottom: 1px solid #80bffa;
    color: #ffffff;
    background-color: transparent;
}

/* Agregue */
input:focus,
textarea:focus {
    outline: none;
}

textarea {
    min-height: 120px;
    max-height: 120px;
    min-width: 100%;
    max-width: 100%;
}

::placeholder {
    color: #e6e7e6;
}

.aceptar {
    display: flex;
    flex-direction: row;
}

#check-priv {
    width: 18px;
    height: 18px;
    margin: 4px 10px 16px 0px;
}

.text-priv {
    color: #ffffff;
    font-size: clamp(0.938rem, 3vw, 1.125rem);
}

.botones {
    display: flex;
    gap: 1rem;
}

.btn {
    cursor: pointer;
    font-size: clamp(0.8rem, 2vw + 0.25rem, 1.125rem);
    text-align: center;
    color: #2e5f8c;
    background-color: #80bffa;
    border-radius: 5px;
    border: 1px solid #80bffa;
    margin-bottom: 14px;
    padding: 4px;
    
    transition: 0.4s;
}

.btn:hover {
    color: #ffffff;
    background: transparent;
}


/*************************/
/* ******* Footer ****** */
.footer-container {
    width: 100%;
    height: auto;
    /* padding: 6px; */
    color:#ffffff;
    background-color: #012535;
    border-top: 2px solid #ffffff;
}

.container-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.box-footer {
    min-width: 200px;
    margin-inline: 16px;
}

.title-box {
    padding: 20px 0px 10px;
}

/* Horarios */
.dias {
    color: #80bffa;
    text-shadow: 0 0 10px #ffffff,
                 0 0 20px #ffffff,
                 0 0 30px #ffffff;
}

.horas {
    color: #54aafa;
}

/* Enlaces */
/* .box-footer ul li {
    padding: 0px 0px 4px;
}

.box-footer li a {
    color:#54aafa;
}

.box-footer li a:hover {
    color: #2e5f8c;
} */

/* Otros datos */
.otros-datos a {
    color: #54aafa;
}

.telefono {
    margin: 10px 0px 10px;
    color: #54aafa;
}

.otros-datos .terminos {
    color: #f3eec3;
}

/* Sociales */
.sociales {
    padding-bottom: 10px;
}

.sociales a {
    padding: 0 4px;
    display: inline-block;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0004);
}

.linkedin, .github, .facebook, .whatsapp {
    width: 36px;
    height: 36px;
    border-radius: 50px;
    transition: 0.5s;
}

.linkedin:hover, .github:hover,
.facebook:hover, .whatsapp:hover {
    box-shadow: 1px 1px 14px 0 #abacaf, -1px -1px 14px 0 #abacaf;
}

/* Copyright */
.copy {
    text-align: center;
    padding: 16px 0;
    color: #80ddfa;
    font-size: clamp(0.7rem, 3vw, 1rem);
}

.copyright a {
    color: #80ddfa;
}


/*************************************/
/* ***** Media Query con 1368px ***** */
@media (max-width: 1368px) {

}


/**************************************/
/* ***** Media Query con 1090px ***** */
@media (max-width: 1090px) {
    .logo {
        height: 50px;
        width: 50px;
    }
    
    .main-name {
        font-size: 1.3rem;
    }

    .main-namesito {
        font-size: 0.74rem;
    }

    .checkbtn {
        display: block;
        margin-top: 8px;
    }

    nav ul {
        position: fixed;
        width: 100%;
        height: 60vh;
        background-color: rgba(201, 224, 245, 0.8);
        top: 90px;
        left: -100%;
        margin: 0;
        text-align: center;
        transition: all .5s;
        overflow-y: auto;

        display: block; /* agregue */
    }

    nav ul li {
        display: block;
        margin: 14px 0;
        line-height: 50px;
    }

    nav ul li a {
        font-size: 20px;
    }

    li a:hover, li a.active {
        background: none;
    }

    #check:checked ~ ul {
        left:0;
    }

    .sucursales-maps {
        width: 90%;
    }
}


/*************************************/
/* ***** Media Query con 952px ***** */
@media (max-width: 952px) {
    form {
        max-width: 50%;
    }
}



/*************************************/
/* ***** Media Query con 858px ***** */
/*************************************/
@media (max-width: 858px) {
    form {
        max-width: 60%;
    }

    .sucursales-maps {
        max-width: 96%;
        flex-wrap: wrap;
        gap: 10px;
    }
}



/*************************************/
/* ***** Media Query con 542px ***** */
/*************************************/
@media (max-width: 542px) {
    .title-quienes-somos,
    .title-sucursal,
    .title-servicios,
    .title-preguntas,
    .titulo-slider,
    .titulo-form {
        width: 58%;
        height: 46px;
    }
}



/*************************************/
/* ***** Media Query con 490px ***** */
/*************************************/
@media (max-width: 490px) {
    .fa-bars {
        scale: 0.9;
    }

    .main-name {
        font-size: 1.1rem;
    }

    .main-namesito {
        font-size: 0.62rem;
    }

    form {
        max-width: 86%;
    }
}


/*************************************/
/* ***** Media Query con 430px ***** */
/*************************************/
@media (max-width: 430px) {
    .logo {
        height: 40px;
        width: 40px;
    }

    .slider .slide {
        width: 140px;
        height: 140px;
    }
}
