/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --navy: rgb(9, 34, 87);
    --navy-dark: rgb(5, 22, 55);
    --navy-medium: rgb(13, 47, 106);

    --aqua: rgb(3, 217, 174);
    --aqua-dark: rgb(2, 193, 155);
    --aqua-soft: rgba(3, 217, 174, .11);

    --white: #ffffff;

    --background: #f4f7f7;
    --background-light: #f8faf9;

    --text: #172238;
    --muted: #697586;

    --border: #dce3e5;

    --error: #c73e4f;
    --success: #16845f;

}


/* =========================================================
   RESET
   ========================================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Inter", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}


body.menu-open {

    overflow: hidden;

}


img {

    display: block;

    max-width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    border: 0;

}


input,
select,
textarea {

    outline: none;

}


.container {

    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin-inline: auto;

}


/* =========================================================
   GENERAL
   ========================================================= */

.eyebrow {

    display: block;

    margin-bottom: 11px;

    color: var(--navy);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .13em;

    text-transform: uppercase;

}


.eyebrow-light {

    color: var(--aqua);

}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .7s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);

}


.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    position: sticky;

    z-index: 1000;

    top: 0;

    background:
        rgba(255,255,255,.98);

}


.site-header.scrolled {

    box-shadow:
        0 10px 28px
        rgba(9,34,87,.08);

    backdrop-filter:
        blur(15px);

}


.header-container {

    width:
        min(
            1260px,
            calc(100% - 40px)
        );

    margin-inline: auto;

}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {

    height: 34px;

    display: flex;

    align-items: center;

    color:
        rgba(255,255,255,.7);

    background:
        var(--navy-dark);

    font-size: 10px;

}


.topbar-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.topbar-left,
.topbar-right {

    display: flex;

    align-items: center;

    gap: 22px;

}


.topbar-left a {

    display: flex;

    align-items: center;

    gap: 7px;

}


.topbar a:hover {

    color: var(--aqua);

}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {

    position: relative;

    height: 76px;

    border-bottom:
        1px solid
        rgba(9,34,87,.07);

}


.main-header-inner {

    height: 100%;

    display: flex;

    align-items: center;

}


.site-logo {

    width: 175px;

    flex:
        0 0 175px;

    margin-right: 45px;

}


.site-logo img {

    width: 100%;

    max-height: 53px;

    object-fit: contain;

    object-position:
        left center;

}


.main-nav {

    height: 100%;

    display: flex;

    align-items: center;

    gap: 27px;

    margin-right: auto;

}


.nav-dropdown {

    position: static;

    height: 100%;

}


.nav-link {

    position: relative;

    height: 100%;

    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--navy);

    font-size: 12px;

    font-weight: 600;

}


.nav-link > i {

    font-size: 8px;

    transition:
        transform .25s ease;

}


.nav-dropdown:hover
.dropdown-trigger > i {

    transform:
        rotate(180deg);

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: var(--aqua);

    transform:
        scaleX(0);

    transition:
        transform .25s ease;

}


.nav-link:hover::after,
.nav-link.active::after {

    transform:
        scaleX(1);

}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.header-button {

    min-height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding:
        0 18px;

    color: var(--navy);

    background: var(--aqua);

    font-size: 11px;

    font-weight: 700;

    transition:
        background .25s ease,
        transform .25s ease;

}


.header-button:hover {

    background:
        var(--aqua-dark);

    transform:
        translateY(-1px);

}


.mobile-menu-button {

    width: 43px;
    height: 43px;

    display: none;

    align-items: center;

    justify-content: center;

    color: var(--white);

    background: var(--navy);

    cursor: pointer;

}


/* =========================================================
   MEGA MENU
   ========================================================= */

.mega-menu {

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-8px);

    background:
        rgba(255,255,255,.995);

    border-top:
        1px solid var(--border);

    box-shadow:
        0 25px 48px
        rgba(9,34,87,.12);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

}


.nav-dropdown:not(:hover)
.mega-menu {

    transition-delay: .45s;

}


.nav-dropdown:hover
.mega-menu {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0);

    transition-delay: 0s;

}


.mega-menu-inner {

    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        285px 1fr;

    gap: 44px;

    padding:
        34px 0;

}


/* =========================================================
   MEGA INTRO
   ========================================================= */

.mega-intro {

    padding-right: 30px;

    border-right:
        1px solid var(--border);

}


.mega-intro > span {

    display: block;

    margin-bottom: 7px;

    color: var(--aqua-dark);

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

}


.mega-intro h3 {

    margin-bottom: 10px;

    color: var(--navy);

    font-size: 21px;

    line-height: 1.16;

}


.mega-intro p {

    color: var(--muted);

    font-size: 10px;

    line-height: 1.6;

}


.mega-all-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 18px;

    color: var(--navy);

    font-size: 10px;

    font-weight: 700;

}


/* =========================================================
   MEGA NOSOTROS
   ========================================================= */

.mega-links {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 10px;

    align-content: start;

}


.mega-links a {

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 78px;

    padding: 14px;

    border:
        1px solid transparent;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;

}


.mega-links a:hover {

    background:
        var(--background-light);

    border-color:
        var(--border);

    transform:
        translateY(-2px);

}


.mega-icon {

    width: 42px;
    height: 42px;

    flex:
        0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--navy);

    background:
        var(--aqua-soft);

}


.mega-links strong {

    display: block;

    color: var(--navy);

    font-size: 11px;

}


.mega-links small {

    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 8px;

}


/* =========================================================
   MEGA EXÁMENES
   ========================================================= */

.mega-menu-exams {
    max-height: calc(100vh - 110px);

    overflow-y: auto;
}


.exam-mega-wrapper {
    width:
        min(
            1240px,
            calc(100% - 40px)
        );

    margin-inline: auto;

    padding:
        25px
        0
        30px;
}



/* =========================================================
   HEADER DEL MEGA MENÚ
   ========================================================= */

.exam-mega-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 19px;

    border-bottom:
        1px solid
        var(--border);
}


.exam-mega-header span {
    display: block;

    margin-bottom: 4px;

    color:
        var(--aqua-dark);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.exam-mega-header h3 {
    color:
        var(--navy);

    font-size: 21px;

    line-height: 1.15;
}


.exam-mega-header > a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--navy);

    font-size: 10px;
    font-weight: 700;

    transition:
        color .2s ease;
}


.exam-mega-header > a:hover {
    color:
        var(--aqua-dark);
}



/* =========================================================
   GRID DE EXÁMENES
   ========================================================= */

.exam-mega-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap:
        31px
        27px;

    padding:
        24px
        0
        4px;
}


.exam-mega-group {
    min-width: 0;
}



/* =========================================================
   CABECERA DE GRUPO
   ========================================================= */

.exam-mega-group-title {
    min-height: 47px;

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-bottom: 8px;
}


.group-icon {
    width: 31px;
    height: 31px;

    flex:
        0 0 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--navy);

    background:
        var(--aqua-soft);

    font-size: 10px;
}


.exam-mega-group-title small {
    display: block;

    color:
        #8a959e;

    font-size: 7px;
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: .04em;

    text-transform: uppercase;
}


.exam-mega-group-title strong {
    display: block;

    margin-top: 2px;

    color:
        var(--navy);

    font-size: 10px;
    font-weight: 800;

    line-height: 1.25;
}



/* =========================================================
   LINKS
   ========================================================= */

.exam-mega-group > a {
    position: relative;

    display: block;

    padding:
        4px
        0
        4px
        11px;

    color:
        var(--muted);

    font-size: 9px;
    font-weight: 500;

    line-height: 1.45;

    transition:
        color .2s ease,
        transform .2s ease;
}


.exam-mega-group > a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 10px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(--aqua);
}


.exam-mega-group > a:hover,
.exam-mega-group > a.current-exam {
    color:
        var(--navy);

    font-weight: 700;

    transform:
        translateX(2px);
}



/* =========================================================
   SCROLLBAR
   ========================================================= */

.mega-menu-exams::-webkit-scrollbar {
    width: 6px;
}


.mega-menu-exams::-webkit-scrollbar-track {
    background:
        #f5f7f7;
}


.mega-menu-exams::-webkit-scrollbar-thumb {
    background:
        #cdd8d9;

    border-radius: 10px;
}



/* =========================================================
   RESPONSIVE MEGA MENÚ
   ========================================================= */

@media (max-width: 1180px) {

    .exam-mega-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap:
            29px
            40px;
    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .mega-menu-exams {
        max-height: none;

        overflow: visible;
    }


    .exam-mega-wrapper {
        width: 100%;

        padding:
            10px
            0
            25px;
    }


    .exam-mega-header {
        display: none;
    }


    .exam-mega-grid {
        grid-template-columns: 1fr;

        gap: 0;

        padding: 0;
    }


    .exam-mega-group {
        padding:
            15px
            4px;

        border-bottom:
            1px solid
            var(--border);
    }


    .exam-mega-group:last-child {
        border-bottom: 0;
    }


    .exam-mega-group-title {
        min-height: 0;

        margin-bottom: 7px;
    }


    .exam-mega-group > a {
        padding:
            6px
            0
            6px
            40px;

        font-size: 10px;
    }


    .exam-mega-group > a::before {
        left: 29px;

        top: 12px;
    }

}


/* =========================================================
   ASESORÍA PRINCIPAL
   ========================================================= */

.advisory-section {

    position: relative;

    overflow: hidden;

    padding:
        72px 0 90px;

    background:
        linear-gradient(
            135deg,
            #f8faf9 0%,
            #f1f6f5 100%
        );

}


.advisory-decoration {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}


.advisory-decoration-one {

    width: 520px;
    height: 520px;

    right: -280px;
    top: -300px;

    background:
        rgba(3,217,174,.08);

}


.advisory-decoration-two {

    width: 310px;
    height: 310px;

    left: -190px;
    bottom: -200px;

    border:
        1px solid
        rgba(9,34,87,.07);

}


.advisory-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    gap: 80px;

    align-items: start;

}


/* =========================================================
   COLUMNA IZQUIERDA
   ========================================================= */

.advisory-content {

    padding-top: 35px;

}


.advisory-content h1 {

    max-width: 570px;

    color: var(--navy);

    font-size:
        clamp(
            43px,
            5vw,
            63px
        );

    line-height: 1;

    letter-spacing: -.05em;

}


.advisory-content h1 span {

    color:
        var(--aqua-dark);

}


.advisory-description {

    max-width: 510px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   PUNTOS IZQUIERDA
   ========================================================= */

.advisory-points {

    max-width: 520px;

    margin-top: 35px;

    border-top:
        1px solid #d2dcde;

}


.advisory-points article {

    display: grid;

    grid-template-columns:
        40px 1fr;

    gap: 14px;

    padding:
        18px 0;

    border-bottom:
        1px solid #d2dcde;

}


.advisory-point-number {

    padding-top: 2px;

    color:
        var(--aqua-dark);

    font-size: 9px;

    font-weight: 800;

}


.advisory-points strong {

    display: block;

    margin-bottom: 3px;

    color: var(--navy);

    font-size: 12px;

}


.advisory-points p {

    max-width: 400px;

    color: var(--muted);

    font-size: 9px;

    line-height: 1.7;

}


/* =========================================================
   CONTACTO DIRECTO
   ========================================================= */

.direct-contact {

    max-width: 520px;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 26px;

    padding: 17px 18px;

    background:
        rgba(255,255,255,.75);

    border:
        1px solid var(--border);

}


.direct-contact-icon {

    width: 42px;
    height: 42px;

    flex:
        0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    background: #25d366;

    font-size: 20px;

}


.direct-contact small {

    display: block;

    color: var(--muted);

    font-size: 8px;

}


.direct-contact a {

    display: block;

    margin-top: 2px;

    color: var(--navy);

    font-size: 11px;

    font-weight: 700;

}


/* =========================================================
   FORM PANEL
   ========================================================= */

.form-panel {

    padding:
        36px 38px 38px;

    background: var(--white);

    border:
        1px solid
        rgba(9,34,87,.08);

    box-shadow:
        0 20px 55px
        rgba(9,34,87,.08);

}


.form-heading {

    margin-bottom: 27px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border);

}


.form-heading > span {

    display: block;

    margin-bottom: 5px;

    color:
        var(--aqua-dark);

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .1em;

}


.form-heading h2 {

    color: var(--navy);

    font-size: 29px;

    line-height: 1.1;

}


.form-heading p {

    margin-top: 7px;

    color: var(--muted);

    font-size: 9px;

}


/* =========================================================
   FORM
   ========================================================= */

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;

}


.form-group {

    margin-bottom: 17px;

}


.form-group > label,
.form-label-line label {

    display: block;

    margin-bottom: 7px;

    color: var(--navy);

    font-size: 9px;

    font-weight: 700;

}


.form-label-line {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}


.form-label-line span {

    color: #99a6ab;

    font-size: 8px;

}


/* =========================================================
   CAMPOS
   ========================================================= */

.field-wrapper {

    position: relative;

}


.field-wrapper > i:first-child {

    position: absolute;

    z-index: 2;

    left: 14px;
    top: 50%;

    color: #99a5aa;

    font-size: 10px;

    transform:
        translateY(-50%);

    pointer-events: none;

}


.field-wrapper input,
.field-wrapper select,
.form-group textarea {

    width: 100%;

    border:
        1px solid #d6dfe1;

    color: var(--navy);

    background: #fbfcfc;

    font-size: 10px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.field-wrapper input,
.field-wrapper select {

    height: 47px;

    padding:
        0 15px 0 39px;

}


.field-wrapper select {

    appearance: none;

    padding-right: 42px;

}


.select-arrow {

    position: absolute !important;

    left: auto !important;
    right: 15px !important;

    color: var(--navy) !important;

    font-size: 8px !important;

}


.form-group textarea {

    min-height: 140px;

    padding: 13px 14px;

    resize: vertical;

    line-height: 1.7;

}


.field-wrapper input:focus,
.field-wrapper select:focus,
.form-group textarea:focus {

    border-color: var(--aqua);

    background: var(--white);

    box-shadow:
        0 0 0 3px
        rgba(3,217,174,.08);

}


.field-wrapper input::placeholder,
.form-group textarea::placeholder {

    color: #a5afb3;

}


/* =========================================================
   ERROR
   ========================================================= */

.form-group.invalid
input,

.form-group.invalid
select,

.form-group.invalid
textarea {

    border-color:
        rgba(199,62,79,.65);

}


.field-error {

    min-height: 12px;

    display: block;

    margin-top: 4px;

    color: var(--error);

    font-size: 8px;

}


/* =========================================================
   OPCIONES DE CONTACTO
   ========================================================= */

.contact-options {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 8px;

}


.contact-option {

    cursor: pointer;

}


.contact-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.contact-option > span {

    min-height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding:
        0 10px;

    color: var(--muted);

    background: var(--white);

    border:
        1px solid var(--border);

    font-size: 9px;

    font-weight: 600;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;

}


.contact-option input:checked
+ span {

    color: var(--navy);

    border-color: var(--aqua);

    background:
        var(--aqua-soft);

}


/* =========================================================
   PRIVACIDAD
   ========================================================= */

.privacy-wrapper {

    margin:
        4px 0 19px;

}


.privacy-option {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: var(--muted);

    font-size: 8px;

    line-height: 1.6;

    cursor: pointer;

}


.privacy-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.custom-check {

    width: 19px;
    height: 19px;

    flex:
        0 0 19px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: transparent;

    background: var(--white);

    border:
        1px solid #cbd4d7;

    font-size: 7px;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}


.privacy-option input:checked
+ .custom-check {

    color: var(--navy);

    background: var(--aqua);

    border-color: var(--aqua);

}


/* =========================================================
   MENSAJE
   ========================================================= */

.form-message {

    display: none;

    margin-bottom: 15px;

    padding:
        12px 14px;

    font-size: 9px;

    line-height: 1.6;

}


.form-message.success {

    display: block;

    color: #0d664a;

    background:
        rgba(22,132,95,.09);

    border:
        1px solid
        rgba(22,132,95,.2);

}


.form-message.error {

    display: block;

    color: #a83343;

    background:
        rgba(199,62,79,.08);

    border:
        1px solid
        rgba(199,62,79,.18);

}


/* =========================================================
   BOTÓN SUBMIT
   ========================================================= */

.submit-button {

    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    color: var(--navy);

    background: var(--aqua);

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;

}


.submit-button:hover {

    background:
        var(--aqua-dark);

    transform:
        translateY(-1px);

}


.submit-button:disabled {

    opacity: .65;

    cursor: not-allowed;

    transform: none;

}


.form-note {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 6px;

    margin-top: 12px;

    color: #99a5aa;

    font-size: 7px;

}


/* =========================================================
   HONEYPOT
   ========================================================= */

.honeypot {

    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;

}


/* =========================================================
   CIERRE
   ========================================================= */

.advisory-bottom {

    padding:
        65px 0;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--navy-medium),
            var(--navy)
        );

}


.advisory-bottom-inner {

    display: grid;

    grid-template-columns:
        1fr 380px;

    gap: 80px;

    align-items: center;

}


.advisory-bottom h2 {

    max-width: 650px;

    color: var(--white);

    font-size:
        clamp(
            31px,
            3.5vw,
            44px
        );

    line-height: 1.08;

}


.advisory-bottom-action p {

    color:
        rgba(255,255,255,.58);

    font-size: 10px;

    line-height: 1.7;

}


.advisory-bottom-action a {

    min-height: 45px;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 18px;

    padding:
        0 18px;

    color: var(--navy);

    background: var(--aqua);

    font-size: 10px;

    font-weight: 700;

}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    color:
        rgba(255,255,255,.64);

    background: var(--navy-dark);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.45fr
        .8fr
        1fr
        1fr;

    gap: 50px;

    padding:
        58px 0 48px;

}


.footer-logo {

    width: 180px;

    display: block;

    margin-bottom: 17px;

}


.footer-logo img {

    max-height: 55px;

}


.footer-brand p {

    max-width: 310px;

    font-size: 11px;

}


.social-links {

    display: flex;

    gap: 7px;

    margin-top: 19px;

}


.social-links a {

    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.15);

}


.social-links a:hover {

    color: var(--navy);

    background: var(--aqua);

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;

}


.footer-column h3 {

    margin-bottom: 8px;

    color: var(--white);

    font-size: 12px;

}


.footer-column a {

    font-size: 10px;

}


.footer-column a:hover {

    color: var(--aqua);

}


.footer-contact a {

    display: flex;

    align-items: center;

    gap: 9px;

}


.footer-contact i {

    color: var(--aqua);

}


.footer-bottom {

    min-height: 56px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid
        rgba(255,255,255,.1);

    font-size: 8px;

}


.footer-bottom > div {

    display: flex;

    gap: 18px;

}


/* =========================================================
   WHATSAPP
   ========================================================= */

.floating-whatsapp {

    position: fixed;

    z-index: 900;

    right: 20px;
    bottom: 20px;

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--white);

    background: #25d366;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.18);

    font-size: 25px;

}


/* =========================================================
   MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1120px) {


    .advisory-grid {

        gap: 55px;

    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {


    /* HEADER */

    .topbar {

        display: none;

    }


    .main-header {

        height: 70px;

    }


    .site-logo {

        width: 145px;

        flex: initial;

        margin-right: auto;

    }


    .header-button {

        display: none;

    }


    .mobile-menu-button {

        display: flex;

    }


    /* NAV */

    .main-nav {

        position: fixed;

        z-index: 1200;

        top: 70px;
        left: 0;

        width: 100%;

        height:
            calc(100dvh - 70px);

        display: block;

        padding:
            14px 20px 40px;

        overflow-y: auto;

        background: var(--white);

        transform:
            translateX(100%);

        transition:
            transform .35s ease;

    }


    .main-nav.mobile-open {

        transform:
            translateX(0);

    }


    .nav-link {

        width: 100%;

        min-height: 56px;

        height: auto;

        justify-content:
            space-between;

        border-bottom:
            1px solid var(--border);

        font-size: 13px;

    }


    .nav-link::after {

        display: none;

    }


    .nav-dropdown {

        height: auto;

    }


    /* MEGA MOBILE */

    .mega-menu {

        position: static;

        display: none;

        width: 100%;

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: none;

        border: 0;

        box-shadow: none;

        transition: none;

    }


    .nav-dropdown.mobile-active
    .mega-menu {

        display: block;

    }


    .nav-dropdown.mobile-active
    .dropdown-trigger > i {

        transform:
            rotate(180deg);

    }


    .mega-menu-inner{

        width: 100%;

        display: block;

        padding:
            10px 0 22px;

    }


    .mega-intro {

        display: none;

    }


    .mega-links {

        grid-template-columns: 1fr;

    }


    .mega-links a {

        min-height: 62px;

        padding:
            10px 5px;

    }

    /* ASESORÍA */

    .advisory-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .advisory-content {

        padding-top: 0;

    }


    .advisory-content h1 {

        max-width: 720px;

    }


    .advisory-description {

        max-width: 650px;

    }


    .advisory-points {

        max-width: none;

    }


    .direct-contact {

        max-width: none;

    }


    .form-panel {

        max-width: 720px;

    }


    /* CIERRE */

    .advisory-bottom-inner {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {


    .container,
    .header-container {

        width:
            calc(100% - 30px);

    }


    /* EXAM MENU */

    .mega-columns-exams {

        grid-template-columns: 1fr;

        gap: 22px;

    }


    /* ASESORÍA */

    .advisory-section {

        padding:
            48px 0 60px;

    }


    .advisory-content h1 {

        font-size: 39px;

    }


    .advisory-description {

        font-size: 12px;

    }


    .advisory-points {

        margin-top: 28px;

    }


    .form-panel {

        padding:
            27px 19px 28px;

    }


    .form-heading h2 {

        font-size: 25px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .contact-options {

        grid-template-columns: 1fr;

    }


    .contact-option > span {

        justify-content: flex-start;

        padding:
            0 15px;

    }


    .direct-contact {

        padding: 14px;

    }


    /* CIERRE */

    .advisory-bottom {

        padding:
            50px 0;

    }


    .advisory-bottom h2 {

        font-size: 30px;

    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;

        padding:
            50px 0 40px;

    }


    .footer-bottom {

        flex-direction: column;

        justify-content: center;

        gap: 6px;

        padding:
            15px 0;

    }


    .floating-whatsapp {

        width: 52px;
        height: 52px;

        right: 15px;
        bottom: 15px;

    }

}