@import url('https://fonts.googleapis.com/css2?family=News+Cycle&display=swap');


*, ::before, ::after
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'News Cycle', sans-serif;
}

:root,::before
{   
    --primary-color: #067834;
    --secondary-color: #FDFFFC;
    --tertiary-color: #1E2A4E;

    --padding-general: 50px 80px;

    --padding-head: 50px 80px 25px 80px;
    --padding-body: 25px 80px;
    --padding-footer: 25px 80px 50px 80px;
}

body
{
    overflow: overlay;
    font-weight: 700;
}

::-webkit-scrollbar
{
    width: 10px;
}

::-webkit-scrollbar-track
{
    background-color: rgba(0,0,0,0.2);
}

::-webkit-scrollbar-thumb
{
    border-radius: 20px;
    background: var(--secondary-color);
}

.btn-base-p
{
    z-index: 1;
    position: relative;
    transition: all 250ms;
    overflow: hidden;
    width: fit-content;
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-base-p::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--secondary-color);
    z-index: -1;
    transition: all 250ms
}
   
.btn-base-p:hover 
{
    color: var(--tertiary-color);
}
   
.btn-base-p:hover::before 
{
    width: 100%;
}

.btn-base-s
{
    z-index: 1;
    position: relative;
    transition: all 250ms;
    overflow: hidden;
    width: fit-content;
    display: block;
    color: var(--tertiary-color);
    text-decoration: none;
    background-color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-base-s::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    z-index: -1;
    transition: all 250ms
}
   
.btn-base-s:hover 
{
    color: var(--secondary-color);
}
   
.btn-base-s:hover::before 
{
    width: 100%;
}

.btn-base-t
{
    z-index: 1;
    position: relative;
    transition: all 250ms;
    overflow: hidden;
    width: fit-content;
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    background-color: var(--tertiary-color);
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-base-t::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--secondary-color);
    z-index: -1;
    transition: all 250ms
}
   
.btn-base-t:hover 
{
    color: var(--tertiary-color);
}
   
.btn-base-t:hover::before 
{
    width: 100%;
}

.btn-base-p-to-t
{
    z-index: 1;
    position: relative;
    transition: all 250ms;
    overflow: hidden;
    width: fit-content;
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-base-p-to-t::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--tertiary-color);
    z-index: -1;
    transition: all 250ms;
}

.btn-base-p-to-t:hover 
{
    color: var(--secondary-color);
}
   
.btn-base-p-to-t:hover::before 
{
    width: 100%;
}

/******************************/
.btn-base-p-to-s
{
    z-index: 1;
    position: relative;
    transition: all 250ms;
    overflow: hidden;
    width: fit-content;
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-base-p-to-s::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--secondary-color);
    z-index: -1;
    transition: all 250ms;
}

.btn-base-p-to-s:hover 
{
    color: var(--primary-color);
}
   
.btn-base-p-to-s:hover::before 
{
    width: 100%;
}

.logo-white-header
{

}

.logo-black-header
{
    display: none;
}

.btn_call{
    display: block;
    background: #29A71A;
    scale: 1.3;
    animation: shake 3s ease-out infinite, shadow 2s linear infinite;
}

@keyframes shadow {
    0% {
        box-shadow: 0 0 0 0 #29A71A, 0 0 0 0 #29A71A;
    }
    30% {
        box-shadow: 0 0 0 10px rgb(255, 110, 0, 0), 0 0 0 0 #29A71A;
    }
    65% {
        box-shadow: 0 0 0 10px rgb(255, 110, 0, 0), 0 0 0 20px rgb(255, 110, 0, .0);
    }
    100% {
        box-shadow: 0 0 0 0 rgb(255, 110, 0, 0), 0 0 0 20px rgb(255, 110, 0, .0);
    }
}

@keyframes shake{
    5%{ transform:rotate(-4deg); scale: 0}
    10%{ transform:rotate(4deg); scale: 1.1}
    100%{ transform:rotate(0deg); }
}

/****************************** HEADER ******************************/

/******************************************/
/************** MAIN HEADER ***************/
/******************************************/

.main-header
{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    background: transparent;
    padding: 10px 40px;
    position: absolute;
    width: 100%;
    z-index: 2;
    max-width: 1440px;
    left: 0;
    right: 0;
    margin: auto;
}

/************** LOGO HEADER MAIN ***************/

.logo-header-main
{
    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-header-main img
{
    transition: all 250ms;
    cursor: pointer;
}

.logo-header-main:hover img
{
    transform: scale(1.2);
}

/******************************************/
/****************** FOOTER  ***************/
/******************************************/

footer
{
    background: var(--tertiary-color);
    padding: 50px 80px 15px 80px;
}

.head-footer
{
    display: grid;
    padding: 15px 80px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1440px;
    margin: 0 auto;
}

.line-footer
{
    margin: 0 80px;
    border-bottom: 1px solid var(--secondary-color);
    max-width: 1440px;
    margin: 0 auto;
}

.logo-footer-main
{
    grid-area: 1 / 1 / 2 / 2;
}

.btn-contacto-footer-main
{
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    align-items: center;
    justify-content: end;
}

.logo-footer-main img
{
    max-width: 180px;
}


.body-footer
{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    padding: var(--padding-general);
    max-width: 1440px;
    margin: 0 auto;
}

.content1-footer
{
    grid-area: 1 / 1 / 2 / 2;
    color: var(--secondary-color);
}

.title-content
{
    position: relative;
    width: fit-content;
}

.title-content::before
{
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: 0 auto;
    background: var(--secondary-color);
    border-radius: 20px;
}

.items-content
{
    padding: 15px 0;
}

.items-content a
{
    color: #999;
    text-decoration: none;
}

.items-content a:hover
{
    color: var(--secondary-color);
}

.content2-footer
{
    grid-area: 1 / 2 / 2 / 3;
    color: var(--secondary-color);
}

.content3-footer
{
    grid-area: 1 / 5 / 2 / 7;
    color: var(--secondary-color);
}

.items-content3-main p
{
    color: #999;
}

.active
{
    position: relative;
}

.active::before
{
    position: absolute;
    content: '';
    width: 80%;
    height: 1px;
    background: #fff;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.copy-footer
{
    padding: 0 80px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;
}

.copy-footer p 
{
    display: flex;
    align-items: center;
    justify-content: center;

}

.copy-footer p a
{
    display: flex;
    align-items: center;
    justify-content: center;
}

/************** INTERNAS MAIN  ***************/

.internas-main
{
    grid-area: 1 / 2 / 2 / 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-internas
{
    display: flex;
    list-style: none;
    gap: 40px;
}

.item-lista-internas
{
    padding: 12px 0;
    transition: all 250ms;
    text-align: center;
    position: relative;
}

.link-internas
{
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 19px;
}

.item-lista-internas:hover
{
    transform: scale(1.3);
}

/************** BTN CONTACTO MAIN ***************/

.btn-contacto-main
{
    grid-area: 1 / 6 / 2 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-phone-header
{
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.link-phone-header box-icon
{
    fill: var(--secondary-color);
    margin-right: 7px;
}

.link-phone-header:hover box-icon
{
    fill: var(--tertiary-color);
}

.icons
{
    display: flex;
    column-gap: 20px;
}

.ig-main, .fb-main, .lk-main
{
    position: relative;
}

.icon1
{

}

.icon2  
{
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    transition: all .2s;
}

.ig-main:hover .icon2
{
    opacity: 1;
}

.fb-main:hover .icon2
{
    opacity: 1;
}

.lk-main:hover .icon2
{
    opacity: 1;
}

.menu-btn-main
{
    display: none;
}

.btn_menu
{
    background: none;
    border: none;
    transition: all .3s;
}

.btn_menu:active
{
    transform: scale(0.9);
}

@media(max-width: 1200px)
{

    .body-footer
    {
        padding: 25px 80px;
    }

    .content1-footer, .content2-footer
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media(max-width: 992px)
{

    .main-header
    {
        position: relative !important;
        background: var(--primary-color) !important;
    }

    .internas-main
    {
        position: absolute;
        width: 70%;
        left: 0;
        right: 0;
        margin: auto;
        top: 113px;
        grid-area: inherit;
        background: var(--primary-color);
        transform: translateX(-150%);
        transition: all .5s;
    }

    .icons
    {
        display: none;
    }

    .menu-btn-main
    {
        display: flex;
        align-items: center;
    }

    .list-internas
    {
        gap: 0;
        flex-direction: column;
    }

    footer
    {
        padding: 50px 60px 15px 60px;
    }

    .content1-footer
    {
        grid-area: 1 / 1 / 2 / 3;
    }

    .content2-footer
    {
        grid-area: 1 / 3 / 2 / 5;
    }

    .body-footer
    {
        padding: 25px 40px;
    }

    .head-footer
    {
        padding: 15px 40px;
    }
}

@media(max-width: 768px)
{
    .head-footer
    {
        padding: 15px 0;
    }

    .body-footer
    {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
    }

    .content1-footer, .content2-footer, .content3-footer
    {
        grid-area: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .content3-footer
    {
        grid-area: 2 / 1 / 3 / 3;
    }


    footer {
        padding: 50px 40px 15px 40px;
    }

    .copy-footer
    {
        padding: 0 40px;
    }
}
@media(max-width: 576px)
{

    .logo-white-header
    {
        width: 120px;
    }

    .head-footer
    {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }

    .logo-footer-main, .btn-contacto-footer-main
    {
        grid-area: inherit;
        display: flex;
        justify-content: center;
    }

    .body-footer
    {
        padding: 25px 0;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 25px;
    }

    .line-footer
    {
        margin: 0 30px;
    }

    .content3-footer
    {
        grid-area: inherit;
    }

    .copy-footer
    {
        padding: 0;
    }

    .internas-main
    {
        width: 100%;
        top: 94px;
    }
}

.show{
    transform: translateX(0%);
}



.btn-wsp-container
{
    position: fixed !important;
    width: 100px !important;
    bottom: 40px !important;
    right: 40px !important;
    z-index: 15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-wsp-container a 
{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-wsp-container span
{
    background-color: #29A71A !important;
    border-radius: 50% !important;
    padding: 7px !important;
    animation: shadow 2s 500ms linear infinite;
}


