/* =========================================================
   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, .10);

    --white: #ffffff;

    --background: #f3f7f7;
    --background-light: #f8faf9;

    --text: #172238;
    --muted: #687486;

    --border: #dce4e5;

}


/* =========================================================
   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;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


button {
    border: 0;
}


img {
    display: block;
    max-width: 100%;
}


.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: .14em;
    text-transform: uppercase;
}


.eyebrow-light {
    color: var(--aqua);
}


.button {
    min-height: 51px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 22px;

    font-size: 11px;
    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    color: var(--navy);
    background: var(--aqua);
}


.button-primary:hover {
    background: var(--aqua-dark);
}


.button-secondary {
    color: var(--navy);
    background: var(--white);

    border: 1px solid var(--border);
}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(22px);

    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 30px 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,.72);
    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 {
    display: flex;
    align-items: center;

    gap: 12px;
}


.header-button {
    min-height: 42px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 0 18px;

    color: var(--navy);
    background: var(--aqua);

    font-size: 11px;
    font-weight: 700;
}


.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 BASE
   ========================================================= */

.mega-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    background: var(--white);

    border-top: 1px solid var(--border);

    box-shadow:
        0 28px 55px rgba(9,34,87,.13);

    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;
}


/* =========================================================
   NOSOTROS MEGA
   ========================================================= */

.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 {
    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;
}


.mega-all-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 18px;

    color: var(--navy);

    font-size: 10px;
    font-weight: 700;
}


.mega-links {
    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 10px;
}


.mega-links a {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 14px;

    border: 1px solid transparent;

    transition:
        background .2s ease,
        border-color .2s ease;
}


.mega-links a:hover {
    background: var(--background-light);
    border-color: var(--border);
}


.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;

    color: var(--muted);

    font-size: 8px;
}


/* =========================================================
   NUEVO MEGA MENÚ DE 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: 27px 0 30px;
}


.exam-mega-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 20px;

    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;
}


.exam-mega-grid {
    display: grid;

    grid-template-columns:
        repeat(6,1fr);

    gap: 18px;

    padding: 23px 0;
}


.exam-mega-group {
    min-width: 0;
}


.exam-mega-group-title {
    min-height: 48px;

    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-bottom: 9px;
}


.group-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--navy);
    background: var(--aqua-soft);

    font-size: 10px;
}


.exam-mega-group-title small,
.professional-heading small {
    display: block;

    color: #8a959e;

    font-size: 7px;

    text-transform: uppercase;
}


.exam-mega-group-title strong,
.professional-heading strong {
    display: block;

    margin-top: 1px;

    color: var(--navy);

    font-size: 10px;
    line-height: 1.25;
}


.exam-mega-group > a {
    position: relative;

    display: block;

    padding: 4px 0 4px 10px;

    color: var(--muted);

    font-size: 9px;

    transition:
        color .2s ease,
        transform .2s ease;
}


.exam-mega-group > a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--aqua);

    transform: translateY(-50%);
}


.exam-mega-group > a:hover {
    color: var(--navy);

    transform: translateX(2px);
}


.exam-mega-professional {
    display: grid;

    grid-template-columns: 185px 1fr;

    gap: 25px;

    padding-top: 22px;

    border-top: 1px solid var(--border);
}


.professional-heading {
    display: flex;
    align-items: flex-start;

    gap: 10px;
}


.professional-columns {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}


.professional-label {
    display: block;

    margin-bottom: 9px;

    color: var(--navy);

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}


.professional-links {
    display: flex;
    align-items: center;

    gap: 7px;

    flex-wrap: wrap;
}


.professional-links a {
    min-height: 31px;

    display: inline-flex;
    align-items: center;

    padding: 0 11px;

    color: var(--muted);

    background: var(--background-light);

    border: 1px solid var(--border);

    font-size: 8px;
    font-weight: 600;
}


.professional-links a:hover {
    color: var(--navy);

    border-color: var(--aqua);
    background: var(--aqua-soft);
}


/* =========================================================
   HERO
   ========================================================= */

.exams-hero {
    position: relative;

    overflow: hidden;

    padding: 70px 0 78px;

    background:
        linear-gradient(
            135deg,
            #f8faf9 0%,
            #edf6f4 100%
        );
}


.hero-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.hero-orb-one {
    width: 550px;
    height: 550px;

    top: -300px;
    right: -210px;

    background: rgba(3,217,174,.08);
}


.hero-orb-two {
    width: 270px;
    height: 270px;

    left: -150px;
    bottom: -145px;

    border: 1px solid rgba(9,34,87,.08);
}


.exams-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: .95fr 1.05fr;

    gap: 75px;

    align-items: center;
}


.breadcrumbs {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 24px;

    color: var(--muted);

    font-size: 9px;
}


.breadcrumbs i {
    font-size: 6px;
}


.exams-hero-copy h1 {
    max-width: 700px;

    color: var(--navy);

    font-size: clamp(46px,5.3vw,69px);

    line-height: .98;

    letter-spacing: -.055em;
}


.exams-hero-copy h1 span {
    color: var(--aqua-dark);
}


.exams-hero-copy > p {
    max-width: 570px;

    margin-top: 23px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}


.hero-actions {
    display: flex;

    gap: 11px;

    margin-top: 29px;

    flex-wrap: wrap;
}


.hero-summary {
    display: grid;

    grid-template-columns: repeat(3,1fr);

    margin-top: 37px;

    border-top: 1px solid rgba(9,34,87,.10);
}


.hero-summary > div {
    padding: 20px 14px 0 0;
}


.hero-summary strong {
    display: block;

    color: var(--navy);

    font-size: 22px;
}


.hero-summary span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 8px;
}


.exams-hero-visual {
    position: relative;

    height: 575px;

    overflow: hidden;

    background: #e0e7e8;
}


.exams-hero-visual > img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hero-image-placeholder {
    position: absolute;

    z-index: 1;

    inset: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #8d999f;
    background: #e4e9ea;
}


.hero-card {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 170px;

    padding: 14px 16px;

    background: var(--white);

    box-shadow:
        0 16px 35px rgba(9,34,87,.14);
}


.hero-card > i {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--navy);
    background: var(--aqua);
}


.hero-card small {
    display: block;

    color: var(--muted);

    font-size: 7px;
}


.hero-card strong {
    display: block;

    color: var(--navy);

    font-size: 10px;
}


.hero-card-one {
    top: 28px;
    left: 25px;
}


.hero-card-two {
    right: 24px;
    top: 50%;

    transform: translateY(-50%);
}


.hero-card-three {
    left: 30px;
    bottom: 28px;
}


/* =========================================================
   FINDER
   ========================================================= */

.exam-finder {
    padding: 90px 0 100px;

    scroll-margin-top: 120px;
}


.finder-heading {
    display: grid;

    grid-template-columns: 1fr 380px;

    gap: 80px;

    align-items: end;

    margin-bottom: 35px;
}


.finder-heading h2 {
    color: var(--navy);

    font-size: clamp(35px,4vw,50px);

    line-height: 1.05;
}


.finder-heading > p {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.8;
}


/* FILTROS */

.finder-controls {
    display: grid;

    grid-template-columns: 1fr 280px;

    gap: 20px;

    align-items: center;

    padding: 18px;

    background: var(--background-light);

    border: 1px solid var(--border);
}


.filter-tabs {
    display: flex;

    gap: 7px;

    flex-wrap: wrap;
}


.filter-button {
    min-height: 38px;

    padding: 0 14px;

    color: var(--muted);
    background: var(--white);

    border: 1px solid var(--border);

    font-size: 8px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.filter-button:hover {
    color: var(--navy);

    border-color: rgba(3,217,174,.65);
}


.filter-button.active {
    color: var(--navy);

    background: var(--aqua);

    border-color: var(--aqua);
}


/* SEARCH */

.search-box {
    position: relative;
}


.search-box > i {
    position: absolute;

    left: 15px;
    top: 50%;

    color: #9ca7ab;

    font-size: 11px;

    transform: translateY(-50%);
}


.search-box input {
    width: 100%;
    height: 44px;

    padding: 0 42px 0 39px;

    outline: none;

    color: var(--navy);
    background: var(--white);

    border: 1px solid var(--border);

    font-size: 9px;

    transition: border-color .2s ease;
}


.search-box input:focus {
    border-color: var(--aqua);
}


.search-box button {
    position: absolute;

    top: 50%;
    right: 7px;

    width: 31px;
    height: 31px;

    display: none;
    align-items: center;
    justify-content: center;

    color: var(--muted);
    background: transparent;

    cursor: pointer;

    transform: translateY(-50%);
}


.search-box.has-value button {
    display: flex;
}


/* PROFESIONALES SUBFILTER */

.professional-filter-wrap {
    display: none;
    align-items: center;

    gap: 15px;

    margin-top: 18px;

    padding: 14px 18px;

    background: var(--navy);

    color: var(--white);
}


.professional-filter-wrap.visible {
    display: flex;
}


.professional-filter-wrap > span {
    font-size: 9px;
    font-weight: 700;
}


.professional-filter-buttons {
    display: flex;

    gap: 7px;
}


.professional-filter {
    min-height: 33px;

    padding: 0 13px;

    color: rgba(255,255,255,.65);
    background: transparent;

    border: 1px solid rgba(255,255,255,.18);

    font-size: 8px;
    font-weight: 700;

    cursor: pointer;
}


.professional-filter.active {
    color: var(--navy);

    background: var(--aqua);

    border-color: var(--aqua);
}


/* TOOLBAR */

.results-toolbar {
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 15px;

    border-bottom: 1px solid var(--border);
}


.results-toolbar p {
    color: var(--muted);

    font-size: 9px;
}


.results-toolbar strong {
    color: var(--navy);
}


.results-toolbar button {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--navy);
    background: transparent;

    font-size: 8px;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   EXAM GRID
   ========================================================= */

.exam-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    margin-top: 30px;

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


.exam-card {
    position: relative;

    min-height: 335px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    background: var(--white);

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.exam-card:hover {
    z-index: 2;

    background: var(--background-light);

    box-shadow:
        0 18px 40px rgba(9,34,87,.09);

    transform: translateY(-4px);
}


.exam-card.hidden-card {
    display: none;
}


.exam-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.exam-category {
    color: var(--aqua-dark);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.exam-arrow {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #a1acb1;

    border: 1px solid var(--border);

    font-size: 8px;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.exam-card:hover .exam-arrow {
    color: var(--navy);

    background: var(--aqua);

    border-color: var(--aqua);
}


.exam-card-icon {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 35px;

    color: var(--navy);
    background: var(--aqua-soft);

    font-size: 18px;

    transition:
        background .25s ease;
}


.exam-card:hover .exam-card-icon {
    background: var(--aqua);
}


.exam-card h3 {
    margin-top: 30px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.15;
}


.exam-card > p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 9px;
    line-height: 1.75;
}


.exam-tags {
    display: flex;

    gap: 5px;

    flex-wrap: wrap;

    margin-top: auto;

    padding-top: 20px;
}


.exam-tags span {
    padding: 5px 8px;

    color: var(--navy);
    background: var(--background);

    font-size: 7px;
    font-weight: 700;
}


/* BECAS */

.scholarship-card .exam-card-icon {
    color: var(--navy);

    background: rgba(3,217,174,.16);
}


/* PROFESIONALES */

.professional-card .exam-card-icon {
    background: rgba(9,34,87,.07);
}


/* =========================================================
   NO RESULTS
   ========================================================= */

.no-results {
    display: none;

    max-width: 520px;

    margin: 50px auto 0;

    padding: 45px 30px;

    text-align: center;

    background: var(--background-light);

    border: 1px solid var(--border);
}


.no-results.visible {
    display: block;
}


.no-results > span {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 16px;

    color: var(--navy);
    background: var(--aqua);
}


.no-results h3 {
    color: var(--navy);

    font-size: 20px;
}


.no-results p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 10px;
}


.no-results button {
    margin-top: 18px;

    padding: 11px 16px;

    color: var(--white);
    background: var(--navy);

    font-size: 9px;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   CATEGORIES OVERVIEW
   ========================================================= */

.categories-overview {
    padding: 85px 0;

    color: var(--white);
    background: var(--navy);
}


.categories-heading {
    margin-bottom: 35px;
}


.categories-heading h2 {
    color: var(--white);

    font-size: clamp(35px,4vw,48px);

    line-height: 1.05;
}


.category-showcase-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid rgba(255,255,255,.15);
    border-left: 1px solid rgba(255,255,255,.15);
}


.category-showcase-card {
    position: relative;

    min-height: 270px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 26px;

    color: var(--white);
    background: transparent;

    border-right: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);

    text-align: left;

    cursor: pointer;

    transition:
        background .25s ease;
}


.category-showcase-card:hover {
    background: rgba(255,255,255,.05);
}


.category-showcase-card > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 16px;

    color: var(--navy);
    background: var(--aqua);
}


.showcase-number {
    position: absolute;

    top: 24px;
    right: 24px;

    color: rgba(255,255,255,.28);

    font-size: 8px;
}


.category-showcase-card h3 {
    margin-top: auto;

    color: var(--white);

    font-size: 17px;
}


.category-showcase-card p {
    margin-top: 7px;

    color: rgba(255,255,255,.55);

    font-size: 9px;
    line-height: 1.7;
}


.category-showcase-wide {
    grid-column: span 4;

    min-height: 190px;
}


/* =========================================================
   GUIDANCE
   ========================================================= */

.guidance-section {
    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            var(--navy-medium),
            var(--navy)
        );
}


.guidance-grid {
    display: grid;

    grid-template-columns: 1fr 360px;

    gap: 80px;

    align-items: center;
}


.guidance-copy h2 {
    max-width: 690px;

    color: var(--white);

    font-size: clamp(34px,4vw,48px);

    line-height: 1.05;
}


.guidance-action p {
    color: rgba(255,255,255,.58);

    font-size: 10px;
    line-height: 1.8;
}


.guidance-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 18px;

    padding: 0 19px;

    color: var(--navy);
    background: var(--aqua);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding: 90px 0;

    background: var(--background);
}


.faq-grid {
    display: grid;

    grid-template-columns: 330px 1fr;

    gap: 90px;
}


.faq-heading h2 {
    color: var(--navy);

    font-size: clamp(34px,4vw,46px);

    line-height: 1.05;
}


.faq-heading p {
    margin-top: 15px;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.7;
}


.faq-list {
    border-top: 1px solid #ccd6d9;
}


.faq-item {
    border-bottom: 1px solid #ccd6d9;
}


.faq-question {
    width: 100%;

    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: var(--navy);
    background: transparent;

    font-size: 12px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}


.faq-question i {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #bec9cc;

    border-radius: 50%;

    font-size: 8px;

    transition:
        transform .25s ease,
        background .25s ease;
}


.faq-item.active
.faq-question i {
    background: var(--aqua);
    border-color: var(--aqua);

    transform: rotate(45deg);
}


.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height .35s ease;
}


.faq-answer p {
    max-width: 630px;

    padding: 0 50px 20px 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.75;
}


/* =========================================================
   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;
}


/* =========================================================
   <= 1180
   ========================================================= */

@media (max-width: 1180px) {

    .exam-mega-grid {
        grid-template-columns: repeat(3,1fr);

        row-gap: 28px;
    }


    .exam-grid {
        grid-template-columns: repeat(3,1fr);
    }

}


/* =========================================================
   <= 1000
   ========================================================= */

@media (max-width: 1000px) {

    .exams-hero-grid {
        gap: 45px;
    }


    .finder-controls {
        grid-template-columns: 1fr;
    }


    .category-showcase-grid {
        grid-template-columns: 1fr 1fr;
    }


    .category-showcase-wide {
        grid-column: span 2;
    }

}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 900px) {

    .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;
    }


    .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-menu {
        position: static;

        display: none;

        width: 100%;

        max-height: none;

        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;
    }


    .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-title {
        margin-bottom: 6px;
    }


    .exam-mega-group > a {
        padding: 6px 0 6px 40px;

        font-size: 10px;
    }


    .exam-mega-group > a::before {
        left: 29px;
    }


    .exam-mega-professional {
        grid-template-columns: 1fr;

        gap: 16px;

        padding: 17px 4px 0;
    }


    .professional-columns {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .professional-links {
        padding-left: 40px;
    }


    .exams-hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .exams-hero-visual {
        height: 500px;
    }


    .finder-heading {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .exam-grid {
        grid-template-columns: 1fr 1fr;
    }


    .guidance-grid,
    .faq-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container,
    .header-container {
        width: calc(100% - 30px);
    }


    .exams-hero {
        padding: 48px 0 55px;
    }


    .exams-hero-copy h1 {
        font-size: 42px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-summary {
        grid-template-columns: 1fr 1fr;
    }


    .hero-summary > div:last-child {
        grid-column: 1 / -1;
    }


    .exams-hero-visual {
        height: 400px;
    }


    .hero-card {
        min-width: 145px;

        padding: 11px;
    }


    .hero-card-two {
        right: 10px;
    }


    .hero-card-one {
        left: 10px;
    }


    .hero-card-three {
        left: 10px;
    }


    .exam-finder {
        padding: 65px 0 75px;
    }


    .filter-tabs {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;
    }


    .filter-button {
        width: 100%;

        padding: 0 7px;
    }


    .professional-filter-wrap {
        align-items: flex-start;
        flex-direction: column;
    }


    .professional-filter-buttons {
        width: 100%;
    }


    .professional-filter {
        flex: 1;
    }


    .results-toolbar {
        align-items: flex-start;
        flex-direction: column;

        justify-content: center;

        padding: 13px 0;
    }


    .exam-grid {
        grid-template-columns: 1fr;
    }


    .exam-card {
        min-height: 290px;
    }


    .category-showcase-grid {
        grid-template-columns: 1fr;
    }


    .category-showcase-wide {
        grid-column: auto;
    }


    .category-showcase-card,
    .category-showcase-wide {
        min-height: 230px;
    }


    .categories-overview {
        padding: 65px 0;
    }


    .guidance-section {
        padding: 60px 0;
    }


    .faq-section {
        padding: 65px 0;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 50px 0 40px;
    }


    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        gap: 7px;

        padding: 15px 0;
    }


    .floating-whatsapp {
        width: 52px;
        height: 52px;

        right: 15px;
        bottom: 15px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {

    .filter-tabs {
        grid-template-columns: 1fr;
    }


    .hero-summary {
        grid-template-columns: 1fr;
    }


    .hero-summary > div:last-child {
        grid-column: auto;
    }

}