/* ---GLOBAL STYLES--- */

* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    word-break: break-word;
    scroll-behavior: smooth;
}

:root {
    --yellow: #FCC64E;
    --blue: #112A42;
}

@font-face {
    font-family: "Neue Haas";
    src: url("../media/woff/neuehaas.woff");
}

body {
    background: var(--blue);
}

body.noscroll {
    overflow: hidden;
}

img,
svg {
    width: 100%;
    max-width: 100%;
}

a {
    cursor: pointer;
    width: fit-content;
    display: inline-block;
    text-decoration: none;
    transition: .25s;
}

button {
    cursor: pointer;
    transition: .25s;
}

h1,
h2,
h3 {
    font-family: "Neue Haas";
    color: white;
    font-size: 3vw;
    line-height: 1;
}

h1 span,
h2 span,
h3 span {
    font-family: "Neue Haas";
    color: var(--yellow);
}

p,
li {
    color: white;
    font-size: 1vw;
    font-weight: 400;
}

ul,
ol {
    color: white;
    list-style-position: inside;
}

.absolute_media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main_btn {
    width: fit-content;
    position: relative;
    color: var(--blue);
    font-size: 1vw;
    font-weight: bold;
    padding: .75vw 2vw;
    border: none;
    border-radius: .25vw;
    background: var(--yellow);
    overflow: hidden;
    transition: .25s;
    z-index: 1;
}

.main_btn:hover {
    transform: scale(.95);
}

.main_btn span {
    position: relative;
    z-index: 1;
}

.main_btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    transition: .25s;
}

.main_btn:hover::before {
    height: 100%;
}

@media (max-width: 996px) {
    h1,
    h2 {
        font-size: 7vw;
    }
    p,
    li {
        font-size: 3.5vw;
    }
    .main_btn {
        font-size: 3.5vw;
        padding: 2vw 4vw;
        border-radius: 1vw;
    }
}


/* ---HEADER STYLES--- */

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

header .desk_box .bar_box {
    width: 100%;
    display: none;
    justify-content: space-between;
    padding: .5vw 10vw;
    background: var(--yellow);
}

header .desk_box .bar_box a {
    color: var(--blue);
    font-size: .8vw;
    font-weight: 500;
}

header .desk_box .bar_box a:hover {
    color: white;
}

header .desk_box .networks_box {
    display: flex;
    gap: 1vw;
}

header .desk_box .networks_box i {
    font-size: 1vw;
}

header .desk_box .header_box {
    position: fixed;
    top: 2.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    display: flex;
    justify-content: space-between;
    border-radius: .5vw;
    padding: .5vw;
    background: #193F61aa;
    backdrop-filter: blur(1vw);
    -webkit-backdrop-filter: blur(1vw);
}

header .desk_box .header_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header .desk_box .logo_item {
    width: 8%;
}

header .desk_box .logo_item a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .desk_box .nav_bar {
    flex-direction: row;
    gap: 3vw;
}

header .desk_box .nav_bar a {
    color: white;
    font-size: 1vw;
}

header .desk_box .nav_bar a.active,
header .desk_box .nav_bar a:hover {
    color: var(--yellow);
}

header .desk_box .menu_box {
    position: relative;
}

header .desk_box .menu_box>a {
    display: flex;
    align-items: flex-end;
    gap: .5vw;
}

header .desk_box .dropdown_box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20vw;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 1vw;
    border-radius: .5vw;
    transform: translateY(100%);
    background: #193f61;
    backdrop-filter: blur(5vw);
    -webkit-backdrop-filter: blur(5vw);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
}

header .desk_box .menu_box:hover .dropdown_box {
    pointer-events: inherit;
    opacity: 1;
}

header .desk_box .language_box {
    display: flex;
    align-items: center;
    gap: 1vw;
}

header .desk_box .language_box a,
header .desk_box .language_box span {
    color: white;
    font-size: 1vw;
}

header .desk_box .language_box a.active,
header .desk_box .language_box a:hover {
    color: var(--yellow);
}

header .desk_box .language_box span {
    pointer-events: none;
}

header .mobile_box {
    display: none;
}

@media (max-width: 996px) {
    header .desk_box {
        display: none;
    }
    header .mobile_box {
        display: flex;
        flex-direction: column;
        gap: 3vw;
        position: fixed;
        top: 0;
        left: 0;
        padding: 10vw 10vw 0 10vw;
    }
    header .mobile_box .header_box {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 80vw;
        padding: 3vw;
        border-radius: 1vw;
        background: #193F61aa;
        backdrop-filter: blur(3vw);
        -webkit-backdrop-filter: blur(3vw);
        z-index: 1;
    }
    header .mobile_box .logo_item {
        width: 30%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .mobile_box .toggle_box {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2vw;
        z-index: 1;
    }
    header .mobile_box .bar_item {
        width: 10vw;
        height: .5vw;
        background: var(--yellow);
        transition: .25s;
    }
    header .mobile_box.active .bar_item:nth-child(1) {
        transform: rotate(45deg) translate(2vw, 1.5vw);
    }
    header .mobile_box.active .bar_item:nth-child(2) {
        opacity: 0;
    }
    header .mobile_box.active .bar_item:nth-child(3) {
        transform: rotate(-45deg) translate(2vw, -1.5vw);
    }
    header .mobile_box .nav_box {
        max-height: 0;
        min-height: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 7.5vw;
        padding: 5vw;
        border-radius: 1vw;
        background: #193F61aa;
        backdrop-filter: blur(3vw);
        -webkit-backdrop-filter: blur(3vw);
        transition: .25s;
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }
    header .mobile_box.active .nav_box {
        max-height: 100vh;
        opacity: 1;
        pointer-events: inherit;
    }
    header .mobile_box .nav_item {
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
    header .mobile_box .nav_item a,
    header .mobile_box .nav_item p {
        color: white;
        font-size: 4vw;
    }
    header .mobile_box .nav_item .active,
    header .mobile_box .nav_item a:hover {
        color: var(--yellow);
    }
    header .mobile_box .menu_box {
        display: flex;
        flex-direction: column;
        pointer-events: none;
    }
    header .mobile_box.active .menu_box {
        pointer-events: inherit;
    }
    header .mobile_box .menu_box p {
        display: flex;
        align-items: flex-end;
        gap: 1.5vw;
    }
    header .mobile_box #servicios_mobile {
        user-select: none;
    }
    header .mobile_box .dropdown_box {
        display: flex;
        flex-direction: column;
        gap: 3vw;
        opacity: 0;
        pointer-events: none;
        transition: .25s;
        max-height: 0;
        min-height: 0;
    }
    header .mobile_box .menu_box:hover .dropdown_box {
        padding: 3vw 0 0 0;
        max-height: 100vw;
        min-height: 45vw;
        opacity: 1;
        pointer-events: inherit;
    }
    header .mobile_box li a {
        font-size: 3.5vw !important;
    }
    header .mobile_box li::marker {
        color: var(--yellow);
    }
    header .mobile_box .language_box {
        display: flex;
        align-items: center;
        gap: 3vw;
    }
    header .mobile_box .bar_box {
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }
    header .mobile_box .bar_box a {
        color: white;
    }
    header .mobile_box .networks_box {
        display: flex;
        gap: 5vw;
    }
    header .mobile_box .networks_box i {
        font-size: 4vw;
    }
    header .mobile_box .language_box a,
    header .mobile_box .language_box span {
        color: white;
        font-size: 3.5vw;
    }
    
    header .mobile_box .language_box a.active,
    header .mobile_box .language_box a:hover {
        color: var(--yellow);
    }
    
    header .mobile_box .language_box span {
        pointer-events: none;
    }
    header .mobile_box .backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #00000050;
        backdrop-filter: blur(10vw);
        -webkit-backdrop-filter: blur(10vw);
        transition: .25s;
        opacity: 0;
        pointer-events: none;
    }
    header .mobile_box.active .backdrop {
        opacity: 1;
        pointer-events: inherit;
    }
}


/* ---FOOTER STYLES--- */

footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5vw 0 0 0;
}

footer hr {
    width: 80vw;
    padding: .1vw 0;
    border: 0;
    border-radius: 1vw;
    background: var(--yellow);
}

footer .footer_box {
    width: 100%;
    display: grid;
    grid-template-columns: 12% 26% 19% 22%;
    gap: 7%;
    padding: 5vw 10vw;
}

footer .footer_item {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

footer .footer_item h2 {
    color: var(--yellow);
    font-size: 2vw;
}

footer .footer_item ul {
    display: flex;
    flex-direction: column;
    gap: .5vw;
}

footer .footer_item li::marker {
    color: var(--yellow);
}

footer .footer_item a {
    color: white;
    font-size: 1vw;
}

footer .footer_item a:hover {
    color: var(--yellow);
}

footer .logo_item {
    width: 100%;
}

footer .networks_box {
    display: flex;
    gap: 1.5vw;
}

footer .networks_box i {
    font-size: 1.2vw;
}

footer .footer_item .main_btn {
    color: var(--blue);
}

footer .footer_item .main_btn:hover {
    color: var(--blue);
}

footer .legal_box {
    display: flex;
    flex-direction: column;
    gap: .5vw;
    padding-top: 1vw;
}

footer .legal_box a {
    font-size: .8vw;
}

footer .footer_bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: .5vw;
    background: var(--yellow);
}

footer .footer_bar a {
    color: var(--blue);
    font-size: .8vw;
    font-weight: 500;
}

footer .footer_bar a:hover {
    color: white;
}

footer .scroll_box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 5vw;
    right: 10vw;
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    background: var(--yellow);
    z-index: 1;
    cursor: pointer;
    transition: .25s;
}

footer .scroll_box:hover {
    background: white;
}

footer .scroll_box i {
    color: var(--blue);
    font-size: 2vw;
}

@media (max-width: 996px) {
    footer {
        padding: 5vw 0 0 0;
    }
    footer hr {
        padding: .25vw 0;
        border-radius: 3vw;
    }
    footer .footer_box {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10vw;
        padding: 10vw;
    }
    footer .footer_item {
        justify-content: center;
        align-items: center;
        gap: 3vw;
    }
    footer .footer_item h2 {
        font-size: 7vw;
        text-align: center;
    }
    footer .footer_item ul {
        gap: 3vw;
        text-align: center;
    }
    footer .footer_item a {
        font-size: 3.5vw;
        text-align: center;
    }
    footer .logo_item {
        width: 30%;
    }
    footer .networks_box {
        gap: 5vw;
    }
    footer .networks_box i {
        font-size: 5vw;
    }
    footer .footer_item .main_btn:hover {
        color: var(--blue);
    }
    footer .legal_box {
        align-items: center;
        gap: 3vw;
        padding-top: 5vw;
    }
    footer .legal_box a {
        font-size: 2.5vw;
        text-align: center;
    }
    footer .footer_bar {
        padding: 3vw;
    }
    footer .footer_bar a {
        font-size: 2.5vw;
        text-align: center;
    }
    footer .scroll_box {
        bottom: 20vw;
        right: 10vw;
        width: 8vw;
        height: 8vw;
    }
    footer .scroll_box i {
        font-size: 5vw;
    }
}


/* ---SUGGESTIONS STYLES--- */

.suggestions_section {
    padding: 5vw 10vw;
}

.suggestions_section .suggestions_box {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.suggestions_section .info_box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.suggestions_section .title_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.suggestions_section .nav_box {
    display: flex;
    gap: 1vw;
    user-select: none;
}

.suggestions_section .nav_box i {
    color: var(--yellow);
    font-size: 2vw;
    cursor: pointer;
    transition: .25s;
}

.suggestions_section .nav_box i:hover {
    color: white;
}

.suggestions_section .nav_box i.disabled {
    pointer-events: none;
    opacity: .5;
}

.suggestions_section .services_item {
    width: 95%;
    height: 20vw;
    display: flex;
    align-items: flex-end;
    position: relative;
    border-radius: .5vw;
    overflow: hidden;
    transition: .25s;
}

.suggestions_section .services_item:hover {
    transform: scale(.95);
}

.suggestions_section .services_item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    background: linear-gradient(to top, var(--blue), transparent);
    transition: .5s;
    opacity: .75;
    z-index: 1;
}

.suggestions_section .services_item:hover::before {
    opacity: 1;
}

.suggestions_section .description_box {
    display: flex;
    align-items: center;
    gap: .5vw;
    padding: 2vw;
    z-index: 1;
}

.suggestions_section .description_box i {
    color: var(--yellow);
    font-size: 1.75vw;
}

.suggestions_section .description_box h2,
.suggestions_section .description_box h2 span {
    font-family: "Montserrat", sans-serif;
    font-size: 1vw;
}

@media (max-width: 996px) {
    .suggestions_section {
        padding: 10vw;
    }
    .suggestions_section .suggestions_box {
        gap: 3vw;
    }
    .suggestions_section .info_box {
        align-items: flex-start;
        flex-direction: column;
        gap: 3vw;
    }
    .suggestions_section .title_box {
        gap: 3vw;
    }
    .suggestions_section .title_box p {
        width: 100%;
    }
    .suggestions_section .nav_box {
        gap: 3vw;
    }
    .suggestions_section .nav_box i {
        font-size: 10vw;
    }
    .suggestions_section .services_item {
        width: 100%;
        height: 70vw;
        border-radius: 1vw;
    }
    .suggestions_section .description_box {
        gap: 3vw;
        padding: 5vw;
    }
    .suggestions_section .description_box i {
        font-size: 10vw;
    }
    .suggestions_section .description_box h2,
    .suggestions_section .description_box h2 span {
        font-size: 5vw;
    }
}


/* ---CONTACT STYLES--- */

.contact_section {
    padding: 5vw 10vw;
}

.contact_section .contact_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
}

.contact_section .media_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_section .media_box img {
    border-radius: .5vw;
}

.contact_section .form_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
}

.contact_section .form_box h2 {
    color: var(--yellow);
}

.contact_section input {
    color: white;
    font-size: 1vw;
    padding: .5vw;
    border: 0;
    border-radius: .5vw;
    background: #193f61;
}

.contact_section textarea {
    resize: none;
    height: 6vw;
    color: white;
    font-size: 1vw;
    padding: .5vw;
    border: 0;
    border-radius: .5vw;
    background: #193f61;
}

.contact_section input:focus-visible,
.contact_section textarea:focus-visible {
    outline: none;
    background: #235886;
}

.contact_section input::placeholder,
.contact_section textarea::placeholder {
    color: #ffffff50;
}

.contact_section .main_btn {
    width: fit-content;
}

.contact_section .message_box {
    position: relative;
    width: 100%;
    height: 1vw;
}

.contact_section .message_box p {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: .9vw;
}

.contact_section .success {
    color: #0bb300;
}

.contact_section .error {
    color: #f31212;
}

@media (max-width: 996px) {
    .contact_section {
        padding: 10vw;
    }
    .contact_section .contact_box {
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .contact_section .info_box {
        gap: 3vw;
    }
    .contact_section .form_box {
        gap: 3vw;
    }
    .contact_section input {
        font-size: 3.5vw;
        padding: 3vw;
    }
    .contact_section textarea {
        height: 25vw;
        font-size: 3.5vw;
        padding: 3vw;
    }
    .contact_section .message_box {
        height: 4vw;
    }
    .contact_section .message_box p {
        font-size: 2.8vw;
    }
}


/* ---ANIMATIONS--- */

@keyframes introscale {
    0% {
        width: 0;
        height: 0;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
    10% {
        opacity: 0;
    }
    50% {
        width: 40%;
        height: 40%;
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    70% {
        width: 40%;
        height: 40%;
        transform: translate(-50%, -50%);
    }
    100% {
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideup {
    0% {
        transform: translate(-50%, 50%);
        z-index: 1;
    }
    10% {
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    33.33% {
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    43.33% {
        transform: translate(-50%, -150%);
        z-index: 2;
    }
    100% {
        transform: translate(-50%, -150%);
        z-index: 2;
    }
}

@keyframes slidedown {
    0% {
        transform: translate(-50%, -50%);
    }
    70% {
        transform: translate(-50%, -50%);
    }
    100% {
        transform: translate(-50%, 50%);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}