html{
    scroll-behavior: smooth;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
/* HEADER */

header{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.header-top{
    display: flex;
    justify-content: right;
    align-items: center;
    background-color: #F7F7F7;
    padding: 5px;
}

.header-top a{
    display: flex;
    text-decoration: none;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 0;
    margin: 0;
    margin-right: 20px;
}

.header-top a span{
    color: #fff;
    background-color: #28374C;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 0;
    margin-right: 10px;
    transition: ease .3s all;
}

.header-top a p{
    color: #5E6979;
    font-weight: 500;
    transition: ease .3s all;
}

.header-top a:hover span {
    background: rgba(47, 103, 244);
}
.header-top a:hover p {
    color: #2f67f4;
}



.header-end{
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.header-end a img{
    max-width: 280px;
    margin-left: 15px;
}

.header-end nav{
    display: flex;
    flex-direction: row;
    gap: 0.7em;
    align-items: center;
}

.header-end nav span{
    color: #28374C;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: ease .3s all;
}

.header-end nav a{
    color: #28374C;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: ease .3s all;
}
.header-end nav a:hover{
    color: #2f67f4;
}

#active-page{
    color: #2f67f4;
}

#saludo_header{
    color: #2f67f4;
    border-bottom: 1px solid #333;
}


/* dropdown - header */

#modal_dropdown_settings_navbar{
    position: relative;
}

#modal_dropdown_settings_navbar_body {
    position: absolute;
    background-color: #fff;
    margin: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    width: 200px; /* Ajusta el ancho según sea necesario */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease-out;
    right: 0;
    margin-top: 120px;
    top: 0;
    z-index: 10000;
}

#modal_dropdown_settings_navbar_body.open__settings {
    max-height: 500px; /* Ajusta este valor según el contenido */
    opacity: 1;
    transform: scaleY(1);
}

#modal_dropdown_settings_navbar_body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#modal_dropdown_settings_navbar_body ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#modal_dropdown_settings_navbar_body ul li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

#modal_dropdown_settings_navbar_body ul li a:hover{
    color: #2f67f4;
}

#modal_dropdown_settings_navbar_body ul li a i {
    margin-right: 10px;
}

#modal_dropdown_settings_navbar_body ul li:last-child {
    border-bottom: none;
}




/* FOOTER */

footer{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    width: 100%;
    position: absolute;
    background: #28374c;
}

.footer-top{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}

.footer-end{
    background: #1E2939;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.footer-end p{
    color: #fff;
    font-weight: 500;
}

.footer-top .footer-top-s1{
    background: transparent;
    display: block;
    justify-content: center;
    align-items: center;
    grid-row: 1;
    grid-column: span 4;
    margin-top: 20px;
}
.footer-top .footer-top-s1 .footer-top-logo{
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    flex-direction: column;
}
.footer-top .footer-top-s1 .footer-top-logo img{
    width: 120px;
    text-align: center;
}
.footer-top .footer-top-s1 .footer-top-logo h3{
    font-weight: 700;
    color: #fff;
    margin-left: 0;
    font-size: 24px;
    margin-top: 30px;
}

.footer-top .footer-top-s1 .footer-top-subtitle span{
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer-top .footer-top-s2{
    background: transparent;
    grid-row: 2;
    grid-column: 2;
    display: block;
    margin-top: 30px;
}

.footer-top .footer-top-s2 h3{
    color: #fff;
    font-weight: 700;
    font-size: 30px;
}
.footer-top .footer-top-s2 p{
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}
.footer-top .footer-top-s2 a{
    color: #ccc;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}
.footer-top .footer-top-s2 a:hover{
    color: #fff;
}

.footer-top .footer-top-s3{
    background: transparent;
    grid-row: 2;
    grid-column: 3;
    padding-top: 30px;
}

.footer-top .footer-top-s3 div{
    display: flex;
    align-items: center;
    height: 15%;
}

.footer-top .footer-top-s3 span{
    color: #fff;
    border-radius: 50%;
    background: rgba(47, 103, 244);
    min-width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 20px;
}

.footer-top .footer-top-s3 p{
    padding: 20px;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
}
.footer-top .footer-top-s3 .pdir{
    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 900px){
    .header-top{
        justify-content: space-between;
    }
    .header-top a{
        font-size: 12px;
        margin: 0;
    }
    
    .header-top a span{
        color: #fff;
        background-color: #28374C;
        border-radius: 50%;
        height: 20px;
        width: 20px;
        align-items: center;
        justify-content: center;
        display: flex;
        padding: 0;
        transition: ease .3s all;
    }

    .header-end{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5em;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    .header-end a img{
        width: 150px;
        margin: 0;
    }
    .header-end nav{
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .header-end nav a{
        font-size: 16px;
    }
    .header-end nav span{
        font-size: 15px;
    }

    .footer-top{
        display: block;
        margin: 0px 30px;
        justify-content: center;
        align-items: center;
    }

    .footer-top .footer-top-s1 .footer-top-logo{
        text-align: center;
        padding-bottom: 10px;
    }
    .footer-top .footer-top-s1 .footer-top-logo img{
        width: 60px;
    }
    .footer-top .footer-top-s1 .footer-top-logo h3{
        font-size: 24px;
    }
    .footer-top .footer-top-s1 .footer-top-subtitle span{
        font-size: 16px;
    }
    .footer-top .footer-top-s2{
        text-align: center;
    }
    .footer-top .footer-top-s2 h3{
        font-size: 24px;
    }
    .footer-top .footer-top-s2 p{
        font-size: 16px;
    }
    .footer-top .footer-top-s3{
        display: block;
    }
    .footer-top .footer-top-s3 div{
        margin: 10px 40px;
        align-items: center;
    }
    .footer-top .footer-top-s3 p{
        font-size: 16px;
    }


    #modal_dropdown_settings_navbar_body {
        margin-top: 150px;
    }
}

/* boton contact y esslog */

.candy-custom-button{
    width: 130px;
    height: 40px;
    color: #fff;
    padding: 10px 25px;
    font-weight: 500;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
}

.btn-2{
    background: rgb(0,172,238);
    width: 250px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
}
.btn-2 span{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
}
.btn-2:before, .btn-2:after{
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    background: rgba(2,126,251,1);
    transition: all 0.3s ease;
}
.btn-2:before {
    height: 0%;
    width: 2px;
  }
  .btn-2:after {
    width: 0%;
    height: 2px;
  }
  .btn-2:hover{
    background: transparent;
    box-shadow: none;
  }
  .btn-2:hover:before {
    height: 100%;
  }
  .btn-2:hover:after {
    width: 100%;
  }
  .btn-2 span:hover{
     color: #fff;
  }
  .btn-2 span:before,
  .btn-2 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
     background: rgba(2,126,251,1);
    transition: all 0.3s ease;
  }
  .btn-2 span:before {
    width: 2px;
    height: 0%;
  }
  .btn-2 span:after {
    width: 0%;
    height: 2px;
  }
  .btn-2 span:hover:before {
    height: 100%;
  }
  .btn-2 span:hover:after {
    width: 100%;
  }

  /* MARCAS */

  .marcas{
    display: block;
    width: 100%;
  }

  .marcas-img-responsive{
    display: none;
  }

  .marcas-top{
    background-color: #28374C;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    justify-content: center;
    margin: 0;
  }
  .marcas-end{
    background-color: #2F67F4;
    display: flex;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .marcas-title{
    color: #fff;
    font-weight: 700;
    font-size: 40px;
  }
  .marcas-desc{
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    width: 50%;
    text-align: center;
    margin: 0 auto;
  }

.marcas-top span{
    color: #fff;
    font-size: 40px;
}

@media (max-width: 900px){
    .marcas-img-responsive{
        display: flex;
        width: fit-content;
        width: 300px;
    }

    .marcas-img{
        display: none;
    }
}

/* wa me */
  
.wame {
    display: flex;
    position: fixed;
    background-color: #25D366;
    z-index: 100;
    width: 5em;
    height: 5em;
    border-radius: 50%;
    border: none;
    margin: 0;
    justify-content: center;
    align-items: center;
    right: 2%;
    bottom: 2%;
    transition: ease .3s;
    animation: wameEfect 1.5s infinite;
}

.wame a{
    text-decoration: none;
    color: #fff;
    font-size: 3.5em;
}

.wame:hover{
    transform: scale(1.1);
}

@keyframes wameEfect{
    0%{
        box-shadow: 0 0 0 0 rgba(27, 165, 57, 0.5);
    }
    100%{
        box-shadow: 0 0 0 .5em rgba(0, 0, 0, 0);
    }
}

/* animaciones */

.anim__active{
    opacity: 0;
    transform: translateY(-50px);
    animation: appearFromTop 1s ease forwards;
}

@keyframes appearFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}