*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

div, ul, nav, li, header, footer, label, a, body, h1, h2, h3, h4, p{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: inherit;
}

/* -------------- whatsapp flotante ---------------  */

.llamada{
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 3rem;
    color: #FFF;
    z-index: 100;
    background-color: #1C4;
    border-radius: 100%;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color .3s ease;
    animation: llamada 1s linear alternate infinite forwards;
}

.llamada:hover{
    background-color: #1B3;
}

@keyframes llamada{
    from{
        transform: scale(1.1);
    }

    to{
        transform: scale(1);
    }
}

/* --------- Inicio header__hmservicios ---------- */

.header__hmservicios{
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 2;
}

.header__container-contact{
    background-color: #224477;
    width: 100%;
}

.header__contact{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.header__contact-locationAndNumber{
    color: #FFF;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.header__contact-location{
    padding: 2px 5px;
    background-color: #FFF;
    color: #224477;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color .3s ease;
    font-size: 1.2rem;
    display: none;
}

.header__contact-location:hover{
    background-color: #FEB;
}

.header__contact-number{
    font-size: 1.2rem;
    color: #fff;
    transition: color .3s ease;
}

.header__contact-number:hover{
    color: #FEB;
}

.header__contact-networks{
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.header__contact-networks a{
    font-size: 1.4rem;
    color: #fff;
    transition: color .3s ease;
}

.header__contact-networks a:hover{
    color: #FEB;
}

.header__container{
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    transition: border .3s ease;
    padding: 10px;
    margin: 0 auto;
    max-width: 1500px;
    background-color: #fff;
    max-height: 150px;
}

.header__container a{
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container{
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-height: 150px;
}

.header__logo{
    width: 150px;
}

.header__logo:hover{
    filter: brightness(.9);
}

.header__checkbox{
    display: none;
}

.header__open-nav{
    font-size: 3rem;
    color: #224477;
    font-weight: bold;
    cursor: pointer;
    transition: color .3s ease;
    padding-right: 10px;
}

.header__open-nav:hover{
    color: #2244BB;
}

.header__close-nav{
    font-size: 3rem;
    color: #224477;
    font-weight: bold;
    cursor: pointer;
    transition: color .3s ease;
    padding-right: 10px;
    display: none;
}

.header__close-nav:hover{
    color: #2244BB;
}

.header__checkbox:checked ~ .header__open-nav{
    display: none;
}

.header__checkbox:checked ~ .header__close-nav{
    display: block;
}

.header__nav{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    background-color: #224477;
    max-width: 1500px;
    overflow: hidden;
    gap: 30px;
    transition: opacity .2s ease, transform .2s ease;
}

.header__checkbox:checked ~ .header__nav{
    animation: aparicionHeaderNav .6s ease forwards;
}

.header__checkbox:not(:checked) ~ .header__nav{
    animation: desaparicionHeaderNav .2s ease forwards;
}

@keyframes aparicionHeaderNav{
    0%{
        visibility: hidden;
        opacity: 0;
        transform: translateY(75%);
    }

    100%{
        visibility: visible;
        opacity: 1;
        transform: translateY(100%);
    }
}

@keyframes desaparicionHeaderNav{
    0%{
        visibility: visible;
        opacity: 1;
        transform: translateY(100%);
    }

    100%{
        visibility: hidden;
        opacity: 0;
        transform: translateY(85%);
    }
}


.header__nav-list{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    color: #FFF;
}

.header__nav-item{
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 4px solid #FFF;
}

.header__nav-item a{
    font-size: 1.3rem;
    color: #FFF;
    font-weight: bold;
    padding: 20px 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    transition: background-color .3s ease, transform .3s ease;
}

.header__nav-item a:hover{
    background-color: #224499;
    transform: scale(1.05);
}

/* ------------ header__hmservicios queries --------------*/

@container header (min-width:400px){

    .header__contact-location{
        font-size: 1.1rem;
        display: block;
    }

    .header__contact-number{
        font-size: 1.1rem;
    }

    .header__contact-networks a{
        font-size: 1.6rem;
    }
}

@container header (min-width:500px){
    .header__contact-locationAndNumber{
        gap: 20px;
    }

    .header__contact-location{
        font-size: 1.4rem;
        display: block;
    }

    .header__contact-number{
        font-size: 1.4rem;
    }

    .header__contact-networks a{
        font-size: 1.8rem;
    }
}

@container header (min-width:56.25rem){

    .header__contact{
        padding: 10px 20px;
    }

    .header__contact-networks{
        gap: 25px;
    }

    .header__contact-networks i{
        font-size: 1.7rem;
    }

    .header__container{
        padding: 10px;
        align-items: center;
    }

    .header__logo{
        width: 175px;   
    }

    .header__checkbox:checked ~ .header__nav{
        animation: none;
    }
    
    .header__checkbox:not(:checked) ~ .header__nav{
        animation: none;
    }

    .header__checkbox:checked ~ .header__close-nav{
        display: none;
    }

    .header__open-nav{
        display: none;
    }

    .header__close-nav{
        display: none;
    }

    .header__nav{
        visibility: visible;
        position: relative;
        opacity: 1;
        width: 75%;
        background-color: transparent;
        overflow: visible;
    }

    .header__nav-list{
        flex-direction: row;
        padding: 0;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .header__nav-item{
        border-bottom: 0;
    }

    .header__nav-item a{
        color: #224477;
        transition: color .3s ease;
        padding: 0;
        font-weight: 500;
        position: relative;
    }

    .header__nav-item a::before{
        content: '';
        position: absolute;
        width: 50%;
        height: 100%;
        transform: translateY(75%);
        border-bottom: 2px solid #224477;
        transition: transform .7s ease, opacity 1.3s ease, border-color ease;
        opacity: 0;
    }

    .header__nav-item a:hover{
        background-color: #FFF;
        color: #2244BB;
        transform: scale(1);
    }

    .header__nav-item a:hover::before{
        transform: translateY(10%);
        opacity: 1;
        border-color: #2244BB;
    }
}

/* --------------- fin header__hmservicios --------------- */

/* --------- inicio footer__hmservicios --------- */

.footer__hmservicios{
    display: flex;
    margin: 0 auto;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    container-type: inline-size;
    container-name: footer;
    box-shadow: 0 0 5px #0004;
}

.footer__container{
    width: 100%;
    max-width: 1500px;
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    justify-items: center;
    overflow-x: hidden;
    background-color: #FFF;
    padding: 30px 10px 10px 10px;
}

.footer__logo{
    width: 100%;
    width: 250px;
    box-shadow: none;
}

.footer__logo:hover{
    filter: brightness(.9);
}

.footer__us{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.footer__us h3{
    font-size: 1.9rem;
    color: #224477;
}

.footer__us span{
    text-decoration: underline;
    color: #224477;
    font-size: .9rem;
}

.footer__us p{
    text-align: justify;
    text-wrap: pretty;
    hyphens: auto;
    color: #000;
    margin: 0;
    width: 100%;
    max-width: 260px;
    padding: 0 10px;
    font-size: 1rem;
}

.footer__services{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.footer__services h3{
    text-align: center;
    font-size: 1.9rem;
    color: #224477;
}

.footer__services-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 30px 0;
}

.footer__services-item a{
    transition: color .4s ease;
}

.footer__services-item:hover{
    color: #2244bb;
}

.footer__contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
}

.footer__contact h3{
    font-size: 1.9rem;
    color: #224477;
    text-align: center;
}

.footer__contact-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 30px 0;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    color: #000;
}

.footer__contact-item i{
    margin-right: 10px;
    transition: color .3s ease;
}

.footer__contact-item a{
    text-decoration: none;
    color: #000;
    text-align: center;
}

.footer__contact-item:nth-child(2) a,.footer__contact-item:nth-child(3) a{
    transition: color .4s ease;
}

.footer__contact-item:hover:nth-child(2) a,.footer__contact-item:hover:nth-child(3) a{
    color: #2244BB;
}

.footer__contact-item:nth-child(2) i,.footer__contact-item:nth-child(3) i{
    transition: color .4s ease;
}

.footer__contact-item:hover:nth-child(2) i,.footer__contact-item:hover:nth-child(3) i{
    color: #2244BB;
}

.footer__contact-item:last-child{
    font-size: 1.7rem;
}

.footer__contact-item:last-child i{
    padding: 5px 15px;
    margin: 0;
    color: #000;
    transition: color .4s ease;
}

.footer__contact-item:last-child i:hover{
    color: #2244BB;
}

.footer__map{
    width: 100%;
    padding-top: 20px;
}

iframe{
    border: none;
    outline: none;
    width: 100%;
    height: 60vh;
    transform: translateY(1.5%);
}

.footer__copyright{
    background-color: #224477;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-wrap: balance;
    bottom: 0;
    color: #fff;
    font-weight: 500;
    padding: 10px;
    width: 100%;
    position: relative;
    gap: 10px;
}

.infodoc__signature{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: .9rem;
    font-weight: 200;
    gap: 5px;
}

.infodoc__signature span{
    font-weight: bold;
    color: #fff;
}

.infodoc__signature a{
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.infodoc__signature a:hover{
    color: #FEB;
}


/* --------- hmservicios__footer queries ------ */

@container footer (min-width:650px){
    .footer__container{
        grid-template-columns: repeat(2, minmax(270px, 1fr));
    }
}

@container footer (min-width:56.25rem){

    .footer__container{
        display: grid;
        grid-template-columns:repeat(4, minmax(200px, 1fr));
        padding: 30px 10px 10px 0;
        gap: 0px 25px;
        align-items: start;
    }

    .footer__us p{
        font-size: 1.1rem;
    }

    .footer__services-item{
        font-size: 1.1rem;
    }

    .footer__contact-item{
        font-size: 1.1rem;
    }

    .footer__copyright{
        padding-bottom: 20px;
        gap: 5px;
    }

    .infodoc__signature{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        font-size: .9rem;
        font-weight: 200;
        position: absolute;
        left: 10px;
        bottom: 5px;
    }
}

/* ----------- fin hmservicios__footer ----------- */