@font-face {
    font-family: 'MuseoModerno';
    font-style: italic;
    font-weight: 100 900;
    src: url(../../plugins/fonts/museomoderno/zrf80HnU0_7wWdMrFcWqSEXlXjnmqAb6ow.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'MuseoModerno';
    font-style: italic;
    font-weight: 100 900;
    src: url(../../plugins/fonts/museomoderno/zrf80HnU0_7wWdMrFcWqSEXlXjnnqAb6ow.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'MuseoModerno';
    font-style: italic;
    font-weight: 100 900;
    src: url(../../plugins/fonts/museomoderno/zrf80HnU0_7wWdMrFcWqSEXlXjnpqAY.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'MuseoModerno';
    font-style: normal;
    font-weight: 100 900;
    src: url(../../plugins/fonts/museomoderno/zrfi0HnU0_7wWdMrFcWqSEXlVAnrsAI.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'MuseoModerno';
    font-style: normal;
    font-weight: 100 900;
    src: url(../../plugins/fonts/museomoderno/zrfi0HnU0_7wWdMrFcWqSEXlVQnrsAI.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'MuseoModerno';
    font-style: normal;
    font-weight: 100 900;
    src: url(../../plugins/fonts/museomoderno/zrfi0HnU0_7wWdMrFcWqSEXlWwnr.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    src: url(../../plugins/fonts/syne/8vIH7w4qzmVxm2NL9Hz_.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    src: url(../../plugins/fonts/syne/8vIH7w4qzmVxm25L9Hz_.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    src: url(../../plugins/fonts/syne/8vIH7w4qzmVxm2BL9A.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root {
    --color-extra: #3D3CD6;
    --color-principal: #2E2A77;
    --color-secundario: #06FAC7;
    --color-terciario: #4A49EA;
    --color-texto-negro-principal: #222222;
    --color-texto-negro-secundario: #1E1E1E;
    --color-texto-negro-terciario: #000000;
    --color-blanco: #F2F2F2;
    --color-blanco-secundario: #D9D9D9;
    --color-blanco-terciario: #FCFCFC;
    --color-gris: #ABC3FF;
    --color-gris-wab: rgb(171,195,255,.5);
    --color-gris-secundario: #898888;
    --color-gris-terciario: #E4E4E4;
    --color-petroleo: #073145;

    --font-syne: "Syne", serif;
    --font-museo-moderno: "MuseoModerno", serif;

    --font-size-14: 14px;
    --font-size-17: 17px;
    --font-size-20: 20px;
    --font-size-22: clamp(1.3rem, 1.2vw, 2.2rem);
    --font-size-24: clamp(1.4rem, 1.38vw, 2.4rem);
    --font-size-26: clamp(1.6rem, 1.5vw, 2.6rem);
    --font-size-28: clamp(1.7rem, 1.5vw, 2.8rem);
    --font-size-30: clamp(1.8rem, 1.6vw, 3rem);
    --font-size-32: clamp(2rem, 1.7vw, 3.2rem);
    --font-size-34: clamp(2rem, 1.7vw, 3.4rem);
    --font-size-38: clamp(2.2rem, 2vw, 3.8rem);
    --font-size-39: clamp(2.3rem, 2.1vw, 3.9rem);
    --font-size-45: clamp(2.5rem, 2.5vw, 4.5rem);
    --font-size-48: clamp(2.7rem, 3vw, 4.8rem);
    --font-size-56: clamp(3rem, 2.9vw, 5.6rem);
    --font-size-58: clamp(3rem, 3vw, 5.8rem);
    --font-size-60: clamp(4rem, 3.1vw, 6rem);
    --font-size-62: clamp(4.2rem, 3.2vw, 6.2rem);
}

html {
    overflow-x: hidden;
    font-size: 10px;
    scroll-behavior: smooth;
}

main {
    background-color: var(--color-blanco);
}

/* MENÚ */
header {
    width: 100%;
    z-index: 100;
    position: fixed;
    background-color: var(--color-blanco);
}

header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 7%;
    position: relative;
}

.header-logo {
    width: 176px;
    min-width: 10rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: width .33s ease;
}

.header-logo-img {
    width: 100%;
    margin-left: 0;
    z-index: -1;
    transition: margin-left 1s ease;
    cursor: pointer;
    width: 42px;
    height: 42px;
}

.header-logo-img:last-child {
    width: auto;
    height: 42px;
}

.header-logo-img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-blanco);
    z-index: unset;
}

header > div nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
}

#nav-menu div:nth-child(3) {
    margin-right: 4vw;
}
 
.nav-item {
    position: relative;
    border-bottom: .2rem solid transparent;
}

.nav-item p, .nav-item > a, .nav-botones div a, .dropdown li a {
    font-family: var(--font-syne);
    font-weight: 500;
    font-size: var(--font-size-20);
    color: var(--color-texto-negro-principal);
}

.nav-item p {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.nav-item p > img {
    width: 25%;
    transition: .3s ease;
}

.nav-item:hover {
    border-bottom: .2rem solid var(--color-principal);
}

.nav-item.active p > img {
    transform: rotate(-180deg);
}

.nav-item.active .dropdown {
    display: block;
}

.nav-item.in-active .dropdown {
    display: none;
}

.dropdown {
    display: none;
    position: absolute;
    top: 29px;
    background-color: var(--color-principal);
    width: max-content;
}

.dropdown li {
    padding: .5rem 1rem;
}

.dropdown li:hover {
    background-color: var(--color-secundario);
}

.dropdown li:hover a {
    color: var(--color-texto-negro-principal);
}

.dropdown li a {
    color: var(--color-blanco);
}

.nav-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-content: center;
    justify-content: center;
}

.nav-botones div a {
    border-radius: 10rem;
    border: .1rem solid var(--color-principal);
    background-color: var(--color-principal);
    font-weight: 700;
    color: var(--color-blanco);
    padding: .5rem 1rem;
    display: block;
}

.nav-botones div:first-child a {
    background-color: var(--color-blanco);
    color: var(--color-texto-negro-principal);
}

.menu-icon {
    display: none;
    align-items: center;
    cursor: pointer;
}

@media (min-width: 1700px) {
    .header-logo, .header-logo-img:first-child, .header-logo-img:last-child {
        height: 55px;
        width: auto;
    }
    
    .dropdown {
        top: 35px;
    }
}

@media (min-width: 1171px) {
    .nav-item-desplg:hover {
        border-bottom-color: transparent;
    }
}

@media (max-width: 700px) {
    .header-logo {
        width: 14%;
    }
}

@media (max-width: 1170px) {

    header > div {
        align-items: stretch;
    }
    
    header > div nav, .nav-botones {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-botones {
        flex-direction: row;
        width: 100%;
    }

    .menu-icon {
        display: flex;
    }

    .menu-icon .bi {
        font-size: 3.5rem;
    }

    header > div nav.active, .nav-botones.active {
        display: flex;
    }

    header > div nav.active {
        position: absolute;
        top: 58px;
        left: 0;
        width: 100%;
        background-color: var(--color-blanco);
        padding: 1rem 7% 1.5rem 7%;
    }

    #nav-menu div:nth-child(4), #nav-menu div:nth-child(3) {
        margin: 0;
    }

    #nav-menu {
        align-items: flex-start;
    }

    .nav-item.active p > img {
        transform: rotate(0deg);
    }

    .nav-item, .nav-item a {
        display: inline-block;
        width: 100%;
    }

    .nav-item p {
        gap: 1rem;
        width: 100%;
    }

    .nav-item p > img {
        width: 2rem;
        transform: rotate(-90deg);
    }
    
    .dropdown {
        display: none;
        position: relative;
        flex-direction: column;
        background-color: var(--color-blanco);
        width: 100%;
        top: 0;
    }

    .dropdown li a {
        color: var(--color-texto-negro-principal);
        width: 100%;
    }

    #logo-ocultar {
        margin-left: -140px;
    }
}

/* QUITAR EL FEEDBACK AL DAR CLICK AL ALGUN ELEMENTO */
.menu-icon, .nav-item, .dropdown li, .header-logo, .nav-botones div a {
    -webkit-tap-highlight-color: transparent;
}

/* FOOTER */
.footer {
    padding: 4% 7%;
    background-color: var(--color-gris);
}

.contenedor-logo-footer {
    width: 12%;
    min-width: 10rem;
    margin-bottom: 4%;
}

.contenedor-logo-footer img {
    width: 100%;
}

.enlaces-contenido {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2rem;
    column-gap: 5%;
}

.enlaces{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enlaces h5 {
    font-family: var(--font-syne);
    font-weight: 700;
    font-size: var(--font-size-22);
    font-style: normal;
    color: var(--color-texto-negro-principal);
}

.enlaces a {
    font-family: var(--font-syne);
    font-weight: 400;
    font-size: var(--font-size-20);
    font-style: normal;
    color: var(--color-texto-negro-principal);
}

.enlaces a:hover {
    color: var(--color-principal);
}

.redes-sociales-footer {
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
}

.redes-sociales-footer a {
    background-color: var(--color-principal);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
}

.redes-sociales-footer a img {
    width: 2.5rem;
}

.copyright {
    background-color: var(--color-terciario);
    padding: 1% 0;
    font-family: var(--font-museo-moderno);
    font-weight: 400;
    font-size: var(--font-size-20);
    font-style: normal;
    color: var(--color-blanco);
    text-align: center;
}

@media (max-width: 715px) {
    .redes-sociales-footer a {
        width: 3rem;
        height: 3rem;
    }

    .redes-sociales-footer a img {
        width: 1.8rem;
    }
}

@media (max-width: 600px) {
    .redes-sociales-footer a {
        width: 2.5rem;
        height: 2.5rem;
    }

    .redes-sociales-footer a img {
        width: 1.2rem;
        height: 1.2rem;
    }
}

/* CTA's */
.cta {
    padding: 5% 0 5% 7%;
}

.cta-contenido {
    width: 100%;
    background-color: var(--color-principal);
    padding: 5% 7%;
    border-top-left-radius: 30rem;
    border-bottom-left-radius: 30rem;
    display: flex;
    justify-content: center;

}

.cta-contenido > div {
    max-width: 106rem;
    text-align: center;
    margin-right: 6%;
}

.cta-titulo {
    font-family: var(--font-museo-moderno);
    font-weight: 700;
    font-style: normal;
    font-size: var(--font-size-48);
    color: var(--color-blanco);
    margin-bottom: 5%;
    text-align: center;
    line-height: 1.2;
}

.cta-p {
    font-family: var(--font-syne);
    font-weight: 500;
    font-style: normal;
    font-size: var(--font-size-24);
    color: var(--color-blanco);
    margin-bottom: 5%;
    text-align: center;
}

.cta-contenido div div {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-enlace {
    font-family: var(--font-syne);
    font-weight: 700;
    font-style: normal;
    font-size: var(--font-size-22);
    color: var(--color-texto-negro-principal);
    background-color: var(--color-secundario);
    border-radius: 10rem;
    padding: 1rem 2rem;
    position:relative;
}

.cta-enlace:hover {
    transform: translateX(0%) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.boton-medio {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 3.5rem 0;
}

.linea-horizontal {
    border: none;
    height: 0.8rem;
    background-color: var(--color-secundario);
    width: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    z-index: 0;
}

.cta-color-principal {
    color: var(--color-principal);
    border-color: var(--color-principal);
}

@media (max-width: 480px) {
    .cta-contenido {
        padding: 5rem 7% 5rem 3rem;
    }

    .cta-titulo {
        font-size: var(--font-size-39);
    }

    .cta-enlace {
        padding: .5rem 1.5rem;
    }

    .boton-medio {
    display: flex;
    justify-content: center; 
    align-items: center;  
    margin-top: 3rem;
    margin-bottom: 3.5rem;
}
}

.color-primario {
    background-color: var(--color-principal);
}

.color-secundario {
    background-color: var(--color-secundario);
}

.color-terciario {
    background-color: var(--color-terciario);
}

.color-gris {
    background-color: var(--color-gris);
}

.color-blanco {
    color: var(--color-blanco);
}

.color-negro {
    color: var(--color-texto-negro-secundario);
}

.colo-fuente-negro {
    color: var(--color-texto-negro-principal);
}

.f-blanco-terciario {
    color: var(--color-blanco-terciario);
}

/* ENLACE A WHATSAPP */
.enlace-what {
    position: fixed;
    right: 15px;
    bottom: 15px;
    font-size: 3.6rem;
    background-color: #25d366;
    color: var(--color-blanco);
    padding: 9px;
    border-radius: 50%;
    z-index: 100;
}

.enlace-what a {
    color: var(--color-blanco);
}

@media (min-width: 1390px) {
    .enlace-what {
        font-size: 4.5rem;
    }
}