/* ----------------------------------------------- */
/* ESTILOS GLOBALES */
/* ----------------------------------------------- */
:root {
    --menu-bg: rgb(20, 20, 20);
    --menu-color: rgb(240, 240, 240);
    --menu-shadow-color: rgba(0, 0, 0, .8);
    --dropdown-bg: rgb(80, 80, 80);
    --link-bg: rgba(30, 85, 148, .7);
    --solutions-paragraphs: rgb(100, 100, 100);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;;
    overflow-x: hidden;
}

/* IA */
body.menu-open {
    overflow: hidden;
    height: 100%;
}

/* IA */
@keyframes fadeGrowIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* IA */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity .8s ease, transform .8s ease;
}

/* IA */
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ----------------------------------------------- */
/* ENCABEZADO MOBILE FIRST */
/* ----------------------------------------------- */
.header {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: transparent;
    padding: .5em .8em;
    position: fixed;
    transition: all .5s ease;
    z-index: 10;
}

.header.down {
    background-color: rgba(5, 5, 5, .5);
    backdrop-filter: saturate(180%) blur(10px);
}

/* IA */
.header.mobile-hidden {
    transform: translateY(-100%);
}

/* IA */
.header.mobile-visible {
    transform: translateY(0);
    background-color: rgba(5, 5, 5, .5);
}

.header_link_logo {
    max-width: 250px;
}

.header_logo {
    display: block;
    width: 100%;
}

.menu_open, .menu_close {
    display: block;
    background-color: transparent;
    color: var(--menu-color);
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.menu_open {
    margin-left: auto;
}

.menu_close {
    color: var(--menu-color);
}

.list_one_ext, .list_two_ext {
    display: none;
}

.nav {
    opacity: 0;
    visibility: hidden;
    width: 65%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4em;
    padding: 2.5em .5em;
    position: fixed; /* IA, yo -> position: absolute */
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--menu-bg);
    box-shadow: 0 0 0 100vmax var(--menu-shadow-color);

    /* IA */
    height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
    transition:
        transform .35s ease,
        opacity .35s ease,
        visibility 0s linear .35s;
}

.nav.visible {
    opacity: 1;
    visibility: visible;

    /* IA */
    transform: translateX(0);
    transition:
        transform .35s ease,
        opacity .35s ease,
        visibility 0s;
}

.list_one, .list_two {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.list_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3em;
    overflow: hidden;
}

.arrow .list_arrow {
    transform: rotate(90deg);
}

.list_button {
    display: flex;
    justify-content: center;
    width: 45%;
    color: var(--menu-color);
}

.list_button--click {
    cursor: pointer;
}

.list_link {
    text-decoration: none;
    color: var(--menu-color);
    text-align: center;
    font-size: 1rem;
}

.list_link:hover:not(.meeting_link) {
    text-decoration: underline;
}

.list_link:active:not(.meeting_link) {
    text-decoration: underline;
    color: rgb(200, 200, 200);
}

.list_arrow {
    margin-left: .3em;
    transition: transform .3s;
}

.list_dropdown {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5em;
    height: 0;
    transition: height .4s;
}

.dropdown_item, .dropdown_item_contact {
    text-align: center;
    color: var(--menu-color);
    width: 100%;
    border-radius: 5px;
    padding: .2em 1em;
    background-color: var(--dropdown-bg);
    font-size: .9rem;
}

.dropdown_item {
    cursor: pointer;
}

.dropdown_item_contact {
    cursor: default;
}

.dropdown_item:hover, .dropdown_item_contact:hover {
    background-color: rgb(130, 130, 130);
    transition: all .1s ease-in-out;
}

.dropdown_item:active {
    background-color: rgb(170, 170, 170);
    transform: scale(0.95);
}

.dropdown_link {
    text-decoration: none;
    color: var(--menu-color);
}

.meeting_link, .hero_link {
    background-color: var(--link-bg);
    padding: .3em .7em;
    border-radius: 20px;
    border: 2px solid rgb(104, 159, 223);
}

.meeting_link:hover, .hero_link:hover {
    background-color: rgb(104, 159, 223);
    color: rgb(21, 54, 92);
    transition: all .1s ease-in-out;
}

.meeting_link:active, .hero_link:active {
    background-color: rgb(174, 208, 248);
    border: 2px solid rgb(174, 208, 248);
    transform: scale(0.95);
}

/* ----------------------------------------------- */
/* SECCIÓN DEL HERO */
/* ----------------------------------------------- */
.meeting_image {
    background-image: url(../../../Images/Forms-Images/Meeting-Page-Images/Meeting-BG.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 220px;
    display: flex;
}

.hero {
    width: fit-content;
    height: fit-content;
    margin: 6.5em auto;
    padding: .7em;
    background-color: var(--menu-shadow-color);
}

.hero_title {
    text-align: center;
    color: var(--menu-color);
    font-weight: 400;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

/* ----------------------------------------------- */
/* CUERPO: PRIMER PÁRRAFO */
/* ----------------------------------------------- */
.paragraph_container {
    padding: 1.3em 1em;
}

.first_paragraph_text {
    text-align: center;
    color: var(--solutions-paragraphs);
    font-weight: 400;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* ----------------------------------------------- */
/* CUERPO: FORMULARIO */
/* ----------------------------------------------- */
.form_image {
    display: none;
}

.form_full {
    display: flex;
    justify-content: center;
    padding: 0 1em;
}

.form_container {
    width: 100%;
    max-width: 700px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

/* ----------------------------------------------- */
.main_info {
    display: flex;
    flex-direction: column;
    color: var(--dropdown-bg);
    padding-bottom: 1em;
    border-bottom: 1px solid var(--menu-bg);
}

.label[for^="em"], .label[for^="com"] {
    margin-top: .8em;
}

.label {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 600;
    color: var(--dropdown-bg);
}

.info_input {
    color: inherit;
    font-size: clamp(.9rem, 1.1vw, 1.2rem);
    font-weight: 500;
    padding: .4em .5em;
    border: 1px solid;
    border-radius: 5px;
}

.error-message {
    display: none;
    margin-top: .2em;
    color: #d32f2f;
    font-size: .8rem;
}

.info_input.invalid {
    border-color: #d32f2f;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.12);
}

/* ----------------------------------------------- */
.areas_container {
    display: flex;
    flex-direction: column;
    gap: .5em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--menu-bg);
}

.areas {
    display: flex;
    flex-direction: column;
    gap: .7em;
    padding: 0;
}

.area_label {
    background-color: rgb(230, 230, 230);
    font-weight: 300;
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
    display: flex;
    gap: .5em;
    padding: .3em .5em;
    border-radius: 10px;
    cursor: pointer;
}

.area_input {
    appearance: none;
    margin: auto 0;
    width: clamp(17px, 1.5vw, 20px);
    height: clamp(17px, 1.5vw, 20px);
    background-color: #fff;
    border: 2px solid var(--dropdown-bg);
    border-radius: 3px;
    transition: background-color .2s ease-in-out;
    cursor: pointer;
}

.area_input:checked {
    background-color: var(--dropdown-bg);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.area_input:focus {
    border-color: hsl(0, 10%, 0%);
}

/* ----------------------------------------------- */
.message_container {
    display: flex;
    flex-direction: column;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--menu-bg);
}

.message_input {
    height: 100px;
    padding: .4em .5em;
    color: var(--dropdown-bg);
    font-size: clamp(.9rem, 1.1vw, 1.1rem);
    font-family: inherit;
    border-radius: 5px;
}

/* ----------------------------------------------- */
.button {
    width: 80%;
    max-width: 350px;
    margin: .5em auto 0;
    padding: .5em 0;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background-color: rgb(5, 5, 5);
    color: var(--menu-color);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    word-spacing: 3px;
    letter-spacing: .7px;
    transition: all .1s ease-in-out;
}

.button:hover {
    background-color: rgb(30, 30, 30);   
}

.button:active {
    background-color: rgb(60, 60, 60);
    transform: scale(0.95);
}

/* ----------------------------------------------- */
/* CUERPO: ÚLTIMO PÁRRAFO */
/* ----------------------------------------------- */
.last_paragraph_text {
    text-align: center;
    color: var(--solutions-paragraphs);
    font-weight: 500;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* ----------------------------------------------- */
/* FINAL DE PÁGINA */
/* ----------------------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    background-color: rgb(5, 5, 5);
}

.footer_first {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    padding: 3em 2em 1em;
    justify-content: flex-start;
}

.footer_link_container {
    width: 100%;
    max-width: 1023px;
    height: fit-content;
    padding: 0 .5em;
    display: flex;
}

.footer_link_image {
    width: 70%;
    max-width: 230px;
    height: fit-content;
    margin: 0 auto;
}

.footer_image {
    width: 100%;
    display: block;
}

.footer_container {
    display: flex;
    flex-direction: column;
    gap: .5em;
    flex-grow: 1;
}

.footer_title {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 500;
    border-bottom: 1px solid var(--menu-color);
    color: var(--menu-color);
}

.footer_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .3em;
}

.footer_item {
    color: var(--solutions-paragraphs);
    margin-left: .5em;
    font-size: clamp(1rem, 1vw, 1.2rem);
}

.footer_link {
    text-decoration: none;
    color: inherit;
    transition: all .1s ease;
}

.footer_link:hover {
    color: var(--menu-color);
    text-decoration: underline;
}

.footer_link:active {
    color: rgb(170, 170, 170);
}

.footer_last {
    padding: 1em;
    border-top: 1px solid rgb(60, 60, 60);
    color: rgb(60, 60, 60);
}

.last_paragraph {
    text-align: center;
    font-size: clamp(.8rem, 1.5vw, 1rem);
}

/* ----------------------------------------------- */
/* POP UP DE CONFIRMACIÓN DE ENVÍO */
/* ----------------------------------------------- */
.form-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 1000;
}

.form-modal.visible {
    opacity: 1;
    visibility: visible;
}

.form-modal__content {
    position: relative;
    width: min(90%, 500px);
    padding: 2rem;
    background-color: rgb(3, 3, 3);
    border-radius: 12px;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
}

.form-modal.visible .form-modal__content {
    transform: translateY(0);
}

.form-modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.form-modal__button {
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-modal__containerImage {
    width: 80%;
}

.form-modal__image {
    width: 100%;
}

#modal-title, #modal-message {
    color: var(--menu-color);
}

#modal-title {
    font-weight: 400;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

#modal-message {
    font-weight: 300;
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
}

/* ----------------------------------------------- */
/* RESPONSIVE DESGIN */
/* BREAKPOINT: 600px */
/* ----------------------------------------------- */
@media (min-width: 600px) {
    /* ----------------------------------------------- */
    /* FORMULARIO */
    /* ----------------------------------------------- */
    .form_full {
        gap: clamp(1em, 4vw, 4.5em);
        padding: 0 3em;
    }

    .form_image {
        display: block;
        width: 100%;
        max-width: 450px;
        background-image: url(../../../Images/Forms-Images/Meeting-Page-Images/Image-Form.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        border-radius: 10px;
    }
}

/* ----------------------------------------------- */
/* RESPONSIVE DESGIN */
/* BREAKPOINT: 1024px */
/* ----------------------------------------------- */
@media (min-width: 1024px) {
    /* ----------------------------------------------- */
    /* ENCABEZADO (DESKTOP) */
    /* ----------------------------------------------- */
    .menu_open, .nav {
        display: none;
    }

    /* IA */
    .header.mobile-visible {
        transform: translateY(0);
        background-color: rgba(5, 5, 5, .5);
        backdrop-filter: saturate(180%) blur(10px);
    }

    /* IA */
    .header.mobile-hidden {
        transform: translateY(-100%);
    }

    .header {
        justify-content: space-around;
        padding-left: 0;
        padding-right: 0;
    }

    .list_one_ext, .list_two_ext {
        display: flex;
    }

    ul {
        list-style: none;
    }

    .list_one_ext, .list_two_ext {
        gap: clamp(2em, 4vw, 7em);
    }
    
    .list_item_ext:hover > .list_dropdown_ext {
        display: flex;
        flex-direction: column;
        gap: .5em;
    }
    
    .list_link_ext {
        text-decoration: none;
        color: var(--menu-color);
        font-size: clamp(.9rem, 1vw, 1.1rem);
    }
    
    
    .list_link_ext:not(.meeting_link):hover {
        text-decoration: underline;
    }
    
    .list_arrow {
        display: none;
    }
    
    .list_dropdown_ext {
        display: none;
        position: absolute;
        background-color: rgba(100, 100, 100, .9);
        margin-top: .1em;
    }

    .dropdown_item_ext, .dropdown_item_contact_ext {
        padding: clamp(.2em, 1vw, .5em);
        color: var(--menu-color);
        font-size: clamp(.8rem, 1vw, 1rem);
        transition: all .1s ease;
    }

    .dropdown_item_ext:hover, .dropdown_item_contact_ext:hover {
        background-color: rgb(40, 40, 40);
        cursor: default;
    }

    .dropdown_item_ext:hover {
        cursor: pointer;
    }

    .dropdown_item_ext:active {
        background-color: rgb(5, 5, 5);
    }

    .dropdown_link_ext {
        color: inherit;
        text-decoration: none;
    }

    /* ----------------------------------------------- */
    /* HERO */
    /* ----------------------------------------------- */
    .meeting_image {
        height: 250px;
    }
    
    .hero {
        margin: 7.5em auto;
    }

    /* ----------------------------------------------- */
    /* PÁRRAFOS */
    /* ----------------------------------------------- */
    .paragraph_container {
        padding: 3em 1em;
    }

    /* ----------------------------------------------- */
    /* FORMULARIO */
    /* ----------------------------------------------- */
    .form_full {
        padding: 0 10em;
    }

    .message_input {
        height: 200px;
    }

    /* ----------------------------------------------- */
    /* FINAL DE PÁGINA */
    /* ----------------------------------------------- */
    .footer_first {
        gap: 3em;
        justify-content: space-evenly;
        flex-wrap: nowrap;
    }

    .footer_link_container {
        width: fit-content;
    }

    .footer_link_image {
        margin: 0;
        width: 400px;
    }

    .footer_container {
        flex-grow: 0;
        gap: .8em;
    }

    .footer_list {
        gap: inherit;
    }    
}