/* =========================================================
   Empresa Training Division - Official Website Theme
   Professional academy / corporate learning design
   ========================================================= */

:root {
    --navy-950: #071a2e;
    --navy-900: #0a2442;
    --navy-800: #12365c;
    --blue-600: #0097d8;
    --blue-500: #00a8f2;
    --blue-100: #e9f7fe;
    --ink-900: #17202b;
    --ink-700: #344054;
    --ink-500: #667085;
    --ink-400: #98a2b3;
    --line: #dbe4ed;
    --surface: #ffffff;
    --surface-soft: #f5f8fb;
    --surface-blue: #f0f8fc;
    --warm: #e8a170;
    --green: #c7e391;
    --rose: #de8287;
    --shadow-sm: 0 2px 10px rgba(7, 26, 46, 0.07);
    --shadow-md: 0 12px 30px rgba(7, 26, 46, 0.10);
    --shadow-lg: 0 24px 60px rgba(7, 26, 46, 0.16);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --header-height: 100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--ink-900);
    background: var(--surface-soft);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 18%, rgba(0, 168, 242, 0.055), transparent 27rem),
        radial-gradient(circle at 95% 75%, rgba(199, 227, 145, 0.08), transparent 30rem),
        var(--surface-soft);
}

::selection {
    background: rgba(0, 168, 242, 0.20);
    color: var(--navy-950);
}

img {
    max-width: 100%;
}

a {
    color: var(--blue-600);
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

a:hover {
    color: var(--navy-800);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
.expandable-heading,
.enrolment-collapse h3 {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.expandable-heading:focus-visible,
.enrolment-collapse h3:focus-visible {
    outline: 3px solid rgba(0, 168, 242, .34);
    outline-offset: 3px;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

section {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ---------------------------
   Header / navigation
   --------------------------- */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: rgba(255, 255, 255, .96);
    border-top: 4px solid var(--blue-500);
    border-bottom: 1px solid rgba(219, 228, 237, .88);
    box-shadow: 0 1px 0 rgba(7, 26, 46, .02);
    backdrop-filter: blur(14px);
    transition: box-shadow .25s ease, background .25s ease;
}

.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(7, 26, 46, .10);
    background: rgba(255, 255, 255, .985);
}

.navbar .container {
    min-height: calc(var(--header-height) - 4px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo-text {
    display: flex;
    align-items: center;
    min-width: 340px;
}

.logo {
    display: block;
    width: auto;
    height: 72px;
    object-fit: contain;
}

.separator {
    color: var(--blue-500);
    font-size: 1.55rem;
    font-weight: 300;
    margin: 0 13px;
    opacity: .75;
}

.academy-name {
    max-width: 150px;
    color: var(--navy-900);
    font-size: .91rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .02em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--ink-700);
    font-size: .91rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--blue-600);
    background: var(--blue-100);
}

.nav-list li:last-child a {
    margin-left: 6px;
    padding-inline: 15px;
    color: #fff;
    background: var(--navy-900);
    box-shadow: 0 7px 16px rgba(10, 36, 66, .16);
}

.nav-list li:last-child a strong {
    color: inherit !important;
    font-weight: 700;
}

.nav-list li:last-child a:hover {
    color: #fff;
    background: var(--blue-600);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy-900);
    cursor: pointer;
}

/* ---------------------------
   Hero
   --------------------------- */
.landing-page {
    position: relative;
    min-height: 690px;
    height: min(78vh, 820px);
    margin-top: var(--header-height);
    overflow: hidden;
    isolation: isolate;
    background: var(--navy-950);
}

.landing-page::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--blue-500) 0 44%, var(--warm) 44% 61%, var(--green) 61% 79%, var(--rose) 79% 100%);
}

.slides,
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    align-items: center;
    opacity: 0;
    background:
        linear-gradient(90deg, rgba(7, 26, 46, .94) 0%, rgba(7, 26, 46, .82) 42%, rgba(7, 26, 46, .40) 68%, rgba(7, 26, 46, .18) 100%),
        linear-gradient(0deg, rgba(7, 26, 46, .30), rgba(7, 26, 46, .04)),
        url('images/training6.jpg') center 45% / cover no-repeat;
    transition: opacity .8s ease;
}

.slide.active {
    display: flex;
    opacity: 1;
}

.landing-page .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 75% 25%, rgba(0, 168, 242, .12), transparent 28rem),
        linear-gradient(180deg, transparent 70%, rgba(7, 26, 46, .18));
}

.slide .content {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 40px 0 56px;
    text-align: left;
    color: #fff;
}

.slide .content::before {
    content: '';
    display: block;
    width: 58px;
    height: 4px;
    margin-bottom: 23px;
    border-radius: 10px;
    background: var(--blue-500);
}

.slide .content h4,
.welcome-small {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.slide .content h1,
.empresa-big {
    max-width: 760px;
    margin: 0 0 20px;
    font-family: 'Merriweather', Georgia, serif;
    color: #fff;
    font-size: clamp(3rem, 5.4vw, 5.25rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .20);
}

.slide .content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .91);
    font-size: clamp(1.06rem, 1.8vw, 1.38rem);
    line-height: 1.6;
    font-weight: 500;
    font-style: normal;
}

.slide-indicators {
    position: absolute;
    z-index: 5;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.indicator {
    display: block;
    width: 26px;
    height: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}

.indicator.active {
    background: #fff;
}

/* ---------------------------
   Quote / advert band
   --------------------------- */
.advert-page {
    position: relative;
    min-height: 310px;
    margin: 0;
    padding: 78px 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.advert-page::before,
.advert-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.advert-page::before {
    width: 320px;
    height: 320px;
    top: -210px;
    left: -110px;
    background: rgba(0, 168, 242, .07);
}

.advert-page::after {
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -170px;
    background: rgba(199, 227, 145, .12);
}

.advert {
    position: relative;
    z-index: 1;
    width: min(930px, 100%);
}

.advert h1 {
    margin: 0 auto 20px;
    font-family: 'Merriweather', Georgia, serif;
    color: var(--navy-900);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -.02em;
}

.advert h5 {
    margin: 0;
    color: var(--blue-600);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
}

/* ---------------------------
   Shared section treatment
   --------------------------- */
.content-section {
    position: relative;
    margin: 0;
    padding: 96px 0;
    background: #fff;
    color: var(--ink-900);
    border-radius: 0;
    box-shadow: none;
}

.content-section:nth-of-type(even) {
    background: var(--surface-soft);
}

.content-section h2 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 18px;
    color: var(--navy-900);
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.18;
    text-align: center;
    letter-spacing: -.025em;
}

.content-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 58px;
    height: 4px;
    border-radius: 10px;
    background: var(--blue-500);
}

.content-section > .container > p,
.courses-description {
    max-width: 920px;
    margin: 0 auto 44px;
    color: var(--ink-500);
    font-size: 1.08rem;
    line-height: 1.82;
    text-align: center;
}

.content-section strong {
    color: var(--navy-900);
}

/* ---------------------------
   About section
   --------------------------- */
.styled-about-section {
    max-width: none;
    margin: 0;
    padding: 96px 0;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.styled-about-section .container {
    text-align: initial;
}

.styled-about-section .about-intro {
    max-width: 930px;
    margin: 0 auto 48px;
    color: var(--ink-500);
    font-size: 1.12rem;
    line-height: 1.86;
    text-align: center;
}

.overview,
.mission-objectives,
.benefits,
.promise {
    position: relative;
    margin: 0 0 20px;
    padding: 30px 32px 30px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.overview::before,
.mission-objectives::before,
.benefits::before,
.promise::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--blue-500);
}

.mission-objectives::before { background: var(--warm); }
.benefits::before { background: var(--green); }
.promise::before { background: var(--rose); }

.styled-about-section h3 {
    margin: 0 0 14px;
    color: var(--navy-900);
    font-size: 1.24rem;
    line-height: 1.35;
    text-align: left;
    font-weight: 750;
}

.styled-about-section .overview p,
.styled-about-section ul,
.styled-about-section li {
    color: var(--ink-700);
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
}

.styled-about-section .overview p {
    margin: 0;
}

.styled-about-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.styled-about-section li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 25px;
}

.styled-about-section li:last-child {
    margin-bottom: 0;
}

.styled-about-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue-600);
    font-weight: 800;
}

.styled-about-section strong {
    color: var(--navy-900);
}

@media (min-width: 900px) {
    .styled-about-section .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .styled-about-section h2,
    .styled-about-section .about-intro {
        grid-column: 1 / -1;
    }

    .overview,
    .mission-objectives,
    .benefits,
    .promise {
        margin: 0;
    }
}

/* ---------------------------
   Courses
   --------------------------- */
#courses {
    background:
        linear-gradient(180deg, rgba(240, 248, 252, .78), rgba(245, 248, 251, 1));
}

#courses .courses-description strong {
    color: var(--navy-900) !important;
}

.course-category {
    margin: 0 0 22px;
    padding: 0;
    color: var(--ink-900);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.expandable-heading,
.course-category h3 {
    min-height: 76px;
    margin: 0;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--navy-900);
    border: 0;
    border-bottom: 1px solid transparent;
    background: linear-gradient(90deg, #fff 0%, #fbfdff 100%);
    font-size: 1.25rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    user-select: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.expandable-heading:hover {
    color: var(--blue-600);
    background: var(--surface-blue);
}

.toggle-symbol,
.expandable-heading .toggle-symbol {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin: 0;
    border-radius: 50%;
    color: var(--blue-600);
    background: var(--blue-100);
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 800;
}

.course-category .course-content {
    margin: 0;
    padding: 28px;
    color: var(--ink-700);
    background: #fff;
    border-radius: 0;
    border-top: 1px solid var(--line);
}

.course-category .course-content > p {
    margin: 0 0 30px;
    color: var(--ink-500);
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
}

.course-category .course-content strong {
    color: var(--blue-600) !important;
}

.course-category h4 {
    margin: 38px 0 14px;
    color: var(--navy-900);
    font-size: 1.08rem;
    font-weight: 800;
    text-align: left;
    letter-spacing: .01em;
}

.course-category h4:first-of-type {
    margin-top: 10px;
}

.courses-table,
.schedule-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(7, 26, 46, .045);
}

.courses-table th,
.courses-table td,
.schedule-table th,
.schedule-table td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #e8eef4;
    vertical-align: middle;
    text-align: left;
    font-size: .93rem;
    line-height: 1.48;
}

.courses-table th,
.schedule-table th {
    background: var(--navy-900);
    color: #fff;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .055em;
    font-weight: 750;
}

.courses-table tr:last-child td,
.schedule-table tr:last-child td {
    border-bottom: 0;
}

.courses-table tbody tr:nth-child(even) td,
.schedule-table tbody tr:nth-child(even) td {
    background: #f9fbfd;
}

.courses-table tbody tr:hover td,
.schedule-table tbody tr:hover td {
    background: var(--blue-100);
}

.courses-table td:first-child,
.schedule-table td:nth-child(3) {
    color: var(--navy-800);
    font-family: ui-monospace, 'Cascadia Code', 'Courier New', monospace;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------------------------
   Schedule
   --------------------------- */
#schedule {
    background:
        radial-gradient(circle at 88% 15%, rgba(0, 168, 242, .14), transparent 22rem),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    color: #fff;
}

#schedule h2 {
    color: #fff;
}

#schedule h2::after {
    background: var(--blue-500);
}

#schedule > .container > p {
    color: rgba(255, 255, 255, .76);
}

#schedule > .container > p strong {
    color: #8bdbff !important;
}

#schedule .schedule-table {
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

#schedule .schedule-table th {
    background: #12365c;
}

#schedule .schedule-table td {
    color: var(--ink-700);
}

.book-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 8px 13px;
    border-radius: 8px;
    color: #fff !important;
    background: var(--blue-600);
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none !important;
    box-shadow: 0 5px 12px rgba(0, 151, 216, .18);
}

.book-now:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
}

.schedule-note {
    margin: 20px 0 0 !important;
    padding: 14px 16px;
    max-width: none !important;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 10px;
    color: rgba(255, 255, 255, .74) !important;
    background: rgba(255, 255, 255, .06);
    font-size: .91rem !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

.schedule-note strong {
    color: #fff !important;
}

/* ---------------------------
   Enrolment
   --------------------------- */
#enrolment {
    background: #fff;
}

.enrolment-collapse {
    margin: 0 0 14px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(7, 26, 46, .04);
}

.enrolment-collapse h3 {
    min-height: 68px;
    margin: 0;
    padding: 19px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--navy-900);
    background: #fff;
    font-size: 1.03rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.enrolment-collapse h3:hover {
    color: var(--blue-600);
    background: var(--surface-blue);
}

.enrolment-details {
    padding: 0 24px 22px;
    color: var(--ink-700);
    border-top: 1px solid var(--line);
    background: #fbfdff;
}

.enrolment-details ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.enrolment-details li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 24px;
    color: var(--ink-700);
    font-size: .98rem;
    line-height: 1.65;
    text-align: left;
}

.enrolment-details li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--blue-600);
    font-weight: 900;
}

#enrolment > .container > p:last-child {
    margin-top: 38px;
    margin-bottom: 0;
}

/* ---------------------------
   Contact
   --------------------------- */
#contact {
    background:
        linear-gradient(180deg, var(--surface-soft) 0%, #eef4f8 100%);
}

#contact .container {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 30px;
    align-items: start;
}

#contact h2 {
    grid-column: 1 / -1;
}

.contact-form,
.map-view {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.contact-form {
    max-width: none;
    margin: 0;
    display: grid;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cdd8e3;
    border-radius: 9px;
    color: var(--ink-900);
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea,
.booking-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(0, 168, 242, .11);
}

.contact-form button,
.booking-form button[type='submit'] {
    min-height: 49px;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--navy-900);
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(10, 36, 66, .16);
}

.contact-form button:hover,
.booking-form button[type='submit']:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
}

.map-view h3 {
    margin: 0 0 17px;
    color: var(--navy-900);
    font-size: 1.25rem;
    text-align: left;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 0;
    color: var(--ink-500);
    font-size: .91rem;
    line-height: 1.55;
    text-align: left;
}

.contact-info p:first-child,
.contact-info p:last-child {
    grid-column: 1 / -1;
}

.contact-info strong {
    color: var(--navy-900);
}

.map-view iframe {
    display: block;
    width: 100% !important;
    height: 390px !important;
    border: 0 !important;
    border-radius: 11px;
    filter: saturate(.82) contrast(.98);
}

/* ---------------------------
   Footer
   --------------------------- */
.footer-modern {
    position: relative;
    padding: 70px 0 0;
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(circle at 8% 25%, rgba(0, 168, 242, .12), transparent 20rem),
        var(--navy-950);
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--warm), var(--green), var(--rose));
}

.footer-sections {
    display: grid;
    grid-template-columns: 1.35fr 1fr .75fr .75fr;
    gap: 44px;
}

.footer-section h4,
.footer-description {
    margin: 0 0 16px;
    color: #fff;
    font-size: .98rem;
    font-weight: 750;
    letter-spacing: .01em;
}

.footer-description {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.25rem;
}

.footer-subtext {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 255, 255, .63);
    font-size: .91rem;
    line-height: 1.7;
}

.footer-links,
.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0 0 10px;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, .68);
    font-size: .89rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-section:nth-child(3) .footer-links span {
    color: rgba(255, 255, 255, .38);
    cursor: not-allowed;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .04);
}

.footer-social a:hover {
    color: #fff;
    background: var(--blue-600);
    border-color: var(--blue-600);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 52px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .48);
    font-size: .82rem;
    text-align: center;
}

/* ---------------------------
   Floating return-home button
   --------------------------- */
.return-home {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 950;
    display: none;
    min-height: 50px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    color: #fff;
    background: rgba(10, 36, 66, .94);
    box-shadow: 0 12px 28px rgba(7, 26, 46, .22);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: .84rem;
    font-weight: 700;
}

.return-home:hover {
    background: var(--blue-600);
}

/* ---------------------------
   Popups / booking form
   --------------------------- */
.popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    padding: 34px 18px;
    overflow-y: auto;
    background: rgba(3, 17, 31, .72);
    backdrop-filter: blur(7px);
}

.popup-title {
    width: min(780px, 100%);
    margin: 0 auto 10px;
    color: #fff;
    font-size: .92rem;
    font-weight: 750;
}

.popup-content {
    position: relative;
    width: min(780px, 100%);
    margin: 36px auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

#imagePopup .popup-content {
    width: min(900px, 100%);
    padding: 12px;
}

.popup-image {
    display: block;
    width: 100%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 4;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink-500);
    background: var(--surface-soft);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.close:hover {
    color: #fff;
    background: var(--navy-900);
}

#bookingPopup .popup-content h3 {
    margin: 0 0 24px;
    color: var(--navy-900);
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.55rem;
}

.booking-form {
    display: grid;
    gap: 20px;
}

.group-box {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfdff;
}

.group-box legend {
    padding: 0 8px;
    color: var(--navy-900);
    font-weight: 750;
}

.booking-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 14px;
}

.booking-row:last-child {
    margin-bottom: 0;
}

.booking-column {
    min-width: 0;
}

.booking-form label {
    display: block;
    margin: 12px 0 6px;
    color: var(--ink-700);
    font-size: .86rem;
    font-weight: 700;
}

.booking-column label {
    margin-top: 0;
}

.booking-form input[readonly] {
    color: var(--ink-500);
    background: #f2f5f8;
}

/* ---------------------------
   Responsive behaviour
   --------------------------- */
@media (max-width: 1120px) {
    :root {
        --header-height: 88px;
    }

    .navbar .container {
        gap: 12px;
    }

    .logo-text {
        min-width: auto;
    }

    .logo {
        height: 62px;
    }

    .academy-name {
        max-width: 128px;
        font-size: .82rem;
    }

    .nav-list a {
        padding-inline: 8px;
        font-size: .84rem;
    }

    .footer-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .container,
    .slide .content {
        width: min(100% - 36px, 1180px);
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .navbar nav {
        position: absolute;
        inset: calc(100% + 1px) 18px auto;
    }

    .nav-list {
        display: none;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: rgba(255, 255, 255, .99);
        box-shadow: var(--shadow-lg);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list a {
        width: 100%;
        padding: 11px 13px;
    }

    .nav-list li:last-child a {
        margin: 4px 0 0;
        justify-content: center;
    }

    .landing-page {
        min-height: 610px;
        height: 72vh;
    }

    .slide {
        background:
            linear-gradient(90deg, rgba(7, 26, 46, .92) 0%, rgba(7, 26, 46, .72) 62%, rgba(7, 26, 46, .48) 100%),
            url('images/training6.jpg') center / cover no-repeat;
    }

    #contact .container {
        grid-template-columns: 1fr;
    }

    #contact h2 {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 78px;
    }

    .container,
    .slide .content {
        width: min(100% - 28px, 1180px);
    }

    .navbar {
        border-top-width: 3px;
    }

    .navbar .container {
        min-height: calc(var(--header-height) - 3px);
    }

    .logo {
        height: 43px;
    }

    .separator {
        margin-inline: 8px;
        font-size: 1.15rem;
    }

    .academy-name {
        max-width: 104px;
        font-size: .72rem;
    }

    .landing-page {
        min-height: 565px;
        height: 70vh;
    }

    .slide {
        background:
            linear-gradient(90deg, rgba(7, 26, 46, .93) 0%, rgba(7, 26, 46, .72) 100%),
            url('images/training6.jpg') 58% center / cover no-repeat;
    }

    .slide .content {
        padding-bottom: 40px;
    }

    .slide .content h1,
    .empresa-big {
        font-size: clamp(2.45rem, 11vw, 3.55rem);
    }

    .advert-page {
        min-height: 270px;
        padding: 58px 18px;
    }

    .content-section,
    .styled-about-section {
        padding: 72px 0;
    }

    .content-section > .container > p,
    .courses-description,
    .styled-about-section .about-intro {
        margin-bottom: 34px;
        font-size: 1rem;
    }

    .overview,
    .mission-objectives,
    .benefits,
    .promise {
        padding: 24px 22px 24px 26px;
    }

    .expandable-heading,
    .course-category h3 {
        min-height: 68px;
        padding: 18px 20px;
        font-size: 1.06rem;
    }

    .course-category .course-content {
        padding: 20px 14px 22px;
    }

    .courses-table,
    .schedule-table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .courses-table th,
    .courses-table td,
    .schedule-table th,
    .schedule-table td {
        min-width: 118px;
        padding: 12px 13px;
        font-size: .86rem;
    }

    .courses-table th:nth-child(2),
    .courses-table td:nth-child(2),
    .schedule-table th:nth-child(4),
    .schedule-table td:nth-child(4) {
        min-width: 230px;
    }

    .schedule-note {
        margin-top: 16px !important;
    }

    .contact-form,
    .map-view {
        padding: 22px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-info p,
    .contact-info p:first-child,
    .contact-info p:last-child {
        grid-column: auto;
    }

    .map-view iframe {
        height: 320px !important;
    }

    .footer-modern {
        padding-top: 54px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-subtext {
        max-width: 440px;
    }

    .footer-bottom {
        margin-top: 36px;
    }

    .return-home {
        right: 14px;
        bottom: 14px;
    }

    .popup {
        padding-inline: 10px;
    }

    .popup-content {
        padding: 22px 18px;
    }

    .booking-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .academy-name {
        display: none;
    }

    .separator {
        display: none;
    }

    .logo {
        height: 45px;
    }

    .slide .content::before {
        margin-bottom: 18px;
    }

    .slide .content h4,
    .welcome-small {
        font-size: .88rem;
    }

    .advert h1 {
        font-size: 1.6rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .group-box {
        padding: 18px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   Empresa Brand Refinement - September 2026
   Applies the official Empresa palette and typography guidance
   with a lighter, more institutional academy presentation.
   ========================================================= */

:root {
    --brand-blue: #00a8f2;
    --brand-orange: #e8a170;
    --brand-green: #c7e391;
    --brand-red: #de8287;
    --brand-grey: #666566;
    --brand-black: #222222;
    --brand-white: #ffffff;
    --neutral-050: #fbfbfb;
    --neutral-100: #f5f5f5;
    --neutral-200: #e7e7e7;
    --neutral-300: #d4d4d4;
    --header-height: 96px;
}

html,
body {
    background: var(--brand-white);
}

body {
    font-family: 'Myriad Pro', Myriad, 'Segoe UI', Arial, sans-serif;
    color: var(--brand-grey);
    background: var(--brand-white);
    line-height: 1.6;
}

body::before {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.academy-name,
.expandable-heading,
.enrolment-collapse h3,
.footer-description,
.popup-content h3,
.group-box legend {
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif !important;
}

.container {
    width: min(1200px, calc(100% - 56px));
}

a {
    color: var(--brand-blue);
}

a:hover {
    color: var(--brand-grey);
}

/* Header: clean institutional treatment */
.navbar {
    min-height: var(--header-height);
    background: #fff;
    border-top: 3px solid var(--brand-blue);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: none;
    backdrop-filter: none;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--brand-blue) 0 25%,
        var(--brand-orange) 25% 50%,
        var(--brand-green) 50% 75%,
        var(--brand-red) 75% 100%);
    opacity: .42;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
}

.navbar .container {
    min-height: calc(var(--header-height) - 3px);
}

.logo {
    height: 70px;
}

.separator {
    color: var(--brand-blue);
    font-size: 1.35rem;
    margin: 0 14px;
    opacity: 1;
}

.academy-name {
    max-width: 170px;
    color: var(--brand-grey);
    font-size: .92rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
}

.nav-list {
    gap: 5px;
}

.nav-list a {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 3px;
    color: var(--brand-grey);
    font-family: 'Myriad Pro', Myriad, 'Segoe UI', Arial, sans-serif;
    font-size: .92rem;
    font-weight: 600;
}

.nav-list a:hover {
    color: var(--brand-blue);
    background: transparent;
}

.nav-list li:last-child a {
    margin-left: 10px;
    padding-inline: 17px;
    color: #fff;
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    border-radius: 4px;
    box-shadow: none;
}

.nav-list li:last-child a:hover {
    color: var(--brand-blue);
    background: #fff;
    transform: none;
}

.menu-toggle {
    border: 1px solid var(--neutral-300);
    border-radius: 3px;
    color: var(--brand-grey);
    background: #fff;
}

/* Hero: white academic/corporate composition with an unobscured training image */
.landing-page {
    min-height: 610px;
    height: min(72vh, 720px);
    margin-top: var(--header-height);
    background: #fff;
    border-bottom: 1px solid var(--neutral-200);
    overflow: hidden;
}

.landing-page::after {
    height: 5px;
    background: linear-gradient(90deg,
        var(--brand-blue) 0 25%,
        var(--brand-orange) 25% 50%,
        var(--brand-green) 50% 75%,
        var(--brand-red) 75% 100%);
}

.slides,
.slide {
    position: absolute;
    inset: 0;
}

.slide,
.slide.active {
    display: flex;
    align-items: center;
    opacity: 1;
    background: #fff;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 49%;
    height: 100%;
    background: url('images/training6.jpg') center 46% / cover no-repeat;
    border-left: 1px solid var(--neutral-200);
    z-index: 0;
}

.slide::before {
    content: '';
    position: absolute;
    z-index: 2;
    left: 51%;
    bottom: 34px;
    width: 130px;
    height: 5px;
    background: linear-gradient(90deg,
        var(--brand-blue) 0 25%,
        var(--brand-orange) 25% 50%,
        var(--brand-green) 50% 75%,
        var(--brand-red) 75% 100%);
}

.landing-page .overlay,
.slide-indicators {
    display: none;
}

.slide .content {
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
    padding: 55px 54% 55px 0;
    color: var(--brand-grey);
    text-align: left;
}

.slide .content::before {
    width: 48px;
    height: 3px;
    margin-bottom: 21px;
    border-radius: 0;
    background: var(--brand-blue);
}

.welcome-small,
.slide .content h4 {
    margin: 0 0 12px;
    color: var(--brand-blue);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.slide .content h1,
.empresa-big {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--brand-grey);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif !important;
    font-size: clamp(2.65rem, 4.5vw, 4.5rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.02em;
    text-shadow: none;
}

.slide .content p {
    max-width: 540px;
    margin: 0;
    color: var(--brand-grey);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.65;
    font-style: italic;
    text-shadow: none;
}

/* Quote band: light and editorial rather than a dark marketing block */
.advert-page {
    min-height: 210px;
    padding: 54px 0;
    background: #fff;
    border-bottom: 1px solid var(--neutral-200);
}

.advert-page::before,
.advert-page::after {
    display: none;
}

.advert {
    width: min(980px, calc(100% - 56px));
    margin: 0 auto;
    padding: 0 0 0 28px;
    border-left: 4px solid var(--brand-blue);
}

.advert h1 {
    max-width: none;
    margin: 0 0 9px;
    color: var(--brand-grey);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif !important;
    font-size: clamp(1.4rem, 2.1vw, 2.05rem);
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: 0;
}

.advert h5 {
    margin: 0;
    color: var(--brand-blue);
    font-size: .98rem;
    font-weight: 600;
}

/* Shared sections: more white space, less card/gradient styling */
.content-section,
.content-section:nth-of-type(even),
.styled-about-section,
#courses,
#schedule,
#enrolment,
#contact {
    background: #fff;
    color: var(--brand-grey);
}

.content-section,
.styled-about-section {
    padding: 82px 0;
    border-bottom: 1px solid var(--neutral-200);
}

.content-section h2,
.styled-about-section h2,
#schedule h2,
#contact h2 {
    margin: 0 0 22px;
    padding: 0 0 14px;
    color: var(--brand-grey);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif !important;
    font-size: clamp(1.95rem, 3vw, 2.65rem);
    line-height: 1.2;
    font-weight: 500;
    text-align: left;
    letter-spacing: -.01em;
}

.content-section h2::after,
.styled-about-section h2::after,
#schedule h2::after,
#contact h2::after {
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    transform: none;
    border-radius: 0;
    background: var(--brand-blue);
}

.content-section > .container > p,
.courses-description,
.styled-about-section .about-intro,
#schedule > .container > p {
    max-width: 920px;
    margin: 0 0 38px;
    color: var(--brand-grey) !important;
    font-size: 1.04rem;
    line-height: 1.72;
    text-align: left;
}

.content-section strong,
.styled-about-section strong,
#schedule > .container > p strong {
    color: var(--brand-grey) !important;
}

/* About */
.styled-about-section .about-intro {
    margin-bottom: 42px;
}

.overview,
.mission-objectives,
.benefits,
.promise {
    margin: 0 0 16px;
    padding: 28px 30px;
    border: 1px solid var(--neutral-200);
    border-top: 3px solid var(--brand-blue);
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

.overview::before,
.mission-objectives::before,
.benefits::before,
.promise::before {
    display: none;
}

.mission-objectives { border-top-color: var(--brand-orange); }
.benefits { border-top-color: var(--brand-green); }
.promise { border-top-color: var(--brand-red); }

.styled-about-section h3 {
    margin: 0 0 13px;
    color: var(--brand-grey);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif;
    font-size: 1.16rem;
    font-weight: 600;
}

.styled-about-section .overview p,
.styled-about-section ul,
.styled-about-section li {
    color: var(--brand-grey);
}

.styled-about-section li::before {
    content: '•';
    color: var(--brand-blue);
}

/* Course accordions and tables */
.course-category,
.enrolment-collapse {
    border: 1px solid var(--neutral-200);
    border-radius: 3px;
    box-shadow: none;
    background: #fff;
}

.expandable-heading,
.course-category h3,
.enrolment-collapse h3 {
    min-height: 68px;
    padding: 18px 22px;
    color: var(--brand-grey);
    background: #fff;
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif !important;
    font-size: 1.08rem;
    font-weight: 600;
}

.expandable-heading:hover,
.enrolment-collapse h3:hover {
    color: var(--brand-blue);
    background: var(--neutral-050);
}

.toggle-symbol,
.expandable-heading .toggle-symbol {
    width: 30px;
    height: 30px;
    border: 1px solid var(--brand-blue);
    border-radius: 2px;
    color: var(--brand-blue);
    background: #fff;
    font-weight: 600;
}

.course-category .course-content,
.enrolment-details {
    color: var(--brand-grey);
    background: #fff;
    border-top: 1px solid var(--neutral-200);
}

.course-category .course-content > p,
.enrolment-details li {
    color: var(--brand-grey);
}

.course-category h4 {
    color: var(--brand-grey);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
}

.courses-table,
.schedule-table {
    border: 1px solid var(--neutral-200);
    border-radius: 2px;
    box-shadow: none;
}

.courses-table th,
.schedule-table th,
#schedule .schedule-table th {
    padding-top: 13px;
    padding-bottom: 13px;
    background: var(--brand-grey);
    color: #fff;
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif;
    font-size: .77rem;
    font-weight: 600;
    letter-spacing: .025em;
}

.courses-table td,
.schedule-table td,
#schedule .schedule-table td {
    color: var(--brand-grey);
    border-bottom-color: var(--neutral-200);
    background: #fff;
}

.courses-table tbody tr:nth-child(even) td,
.schedule-table tbody tr:nth-child(even) td,
#schedule .schedule-table tbody tr:nth-child(even) td {
    background: var(--neutral-050);
}

.courses-table tbody tr:hover td,
.schedule-table tbody tr:hover td,
#schedule .schedule-table tbody tr:hover td {
    background: #fff;
    box-shadow: inset 4px 0 0 var(--brand-blue);
}

.courses-table td:first-child,
.schedule-table td:nth-child(3),
#schedule .schedule-table td:nth-child(3) {
    color: var(--brand-grey);
    font-family: 'Myriad Pro', Myriad, 'Segoe UI', Arial, sans-serif;
    font-size: .9rem;
    font-weight: 700;
}

/* Schedule: white, calm and readable */
#schedule {
    background: #fff !important;
}

#schedule .schedule-table {
    border-color: var(--neutral-200);
    box-shadow: none;
}

.book-now {
    min-width: 84px;
    padding: 8px 13px;
    border: 1px solid var(--brand-blue);
    border-radius: 3px;
    color: #fff !important;
    background: var(--brand-blue);
    font-weight: 600;
    box-shadow: none;
}

.book-now:hover {
    color: var(--brand-blue) !important;
    background: #fff;
    transform: none;
}

.schedule-note {
    margin-top: 18px !important;
    padding: 13px 16px;
    border: 1px solid var(--neutral-200);
    border-left: 4px solid var(--brand-blue);
    border-radius: 2px;
    color: var(--brand-grey) !important;
    background: var(--neutral-050);
}

.schedule-note strong {
    color: var(--brand-grey) !important;
}

/* Enrolment */
.enrolment-collapse {
    margin-bottom: 12px;
}

.enrolment-details {
    padding: 0 22px 20px;
}

/* Contact */
#contact .container {
    gap: 34px;
}

.contact-form,
.map-view {
    padding: 28px;
    border: 1px solid var(--neutral-200);
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.booking-form input,
.booking-form select,
.booking-form textarea {
    border-color: var(--neutral-300);
    border-radius: 3px;
    color: var(--brand-grey);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(0, 168, 242, .12);
}

.contact-form button,
.booking-form button[type='submit'] {
    border: 1px solid var(--brand-blue);
    border-radius: 3px;
    color: #fff;
    background: var(--brand-blue);
    font-weight: 600;
    box-shadow: none;
}

.contact-form button:hover,
.booking-form button[type='submit']:hover {
    color: var(--brand-blue);
    background: #fff;
    transform: none;
}

.map-view h3,
.contact-info strong {
    color: var(--brand-grey);
}

.map-view iframe {
    border-radius: 2px;
    filter: none;
}

/* Footer: light, official and aligned to the requested white-led palette */
.footer-modern {
    padding-top: 58px;
    color: var(--brand-grey);
    background: var(--neutral-050);
    border-top: 1px solid var(--neutral-200);
}

.footer-modern::before {
    height: 4px;
    background: linear-gradient(90deg,
        var(--brand-blue) 0 25%,
        var(--brand-orange) 25% 50%,
        var(--brand-green) 50% 75%,
        var(--brand-red) 75% 100%);
}

.footer-section h4,
.footer-description {
    color: var(--brand-grey);
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif !important;
    font-weight: 600;
}

.footer-description {
    font-size: 1.14rem;
}

.footer-subtext,
.footer-links a,
.footer-links span,
.footer-bottom p {
    color: var(--brand-grey);
}

.footer-links a:hover {
    color: var(--brand-blue);
}

.footer-section:nth-child(3) .footer-links span {
    color: var(--brand-grey);
    opacity: .55;
}

.footer-social a {
    border: 1px solid var(--neutral-300);
    border-radius: 3px;
    color: var(--brand-grey);
    background: #fff;
}

.footer-social a:hover {
    color: #fff;
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: none;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-200);
}

/* Return-home and modal styling */
.return-home {
    border: 1px solid var(--brand-blue);
    border-radius: 3px;
    color: var(--brand-blue);
    background: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
    backdrop-filter: none;
}

.return-home:hover {
    color: #fff;
    background: var(--brand-blue);
}

.popup {
    background: rgba(34, 34, 34, .48);
    backdrop-filter: none;
}

.popup-content {
    border: 1px solid var(--neutral-200);
    border-radius: 3px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.popup-title {
    color: #fff;
    font-family: 'Exo', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
}

#imagePopup .popup-content {
    padding: 8px;
    background: #fff;
}

.popup-image {
    border-radius: 1px;
}

.close {
    border: 1px solid var(--neutral-200);
    border-radius: 2px;
    color: var(--brand-grey);
    background: #fff;
}

.close:hover {
    color: #fff;
    background: var(--brand-blue);
}

#bookingPopup .popup-content h3,
.group-box legend {
    color: var(--brand-grey);
}

.group-box {
    border: 1px solid var(--neutral-200);
    border-radius: 3px;
    background: #fff;
}

/* Keep accent colour usage exact to the brand palette */
::selection {
    color: #fff;
    background: var(--brand-blue);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.expandable-heading:focus-visible,
.enrolment-collapse h3:focus-visible {
    outline-color: var(--brand-blue);
}

@media (min-width: 900px) {
    .styled-about-section .container {
        gap: 16px;
    }
}

@media (max-width: 1120px) {
    :root {
        --header-height: 86px;
    }

    .academy-name {
        max-width: 150px;
        font-size: .84rem;
    }

    .nav-list a {
        padding-inline: 8px;
        font-size: .86rem;
    }

    .landing-page {
        min-height: 570px;
    }
}

@media (max-width: 900px) {
    .container,
    .slide .content,
    .advert {
        width: min(100% - 36px, 1200px);
    }

    .navbar .container {
        min-height: calc(var(--header-height) - 3px);
    }

    .nav-list {
        border-top: 1px solid var(--neutral-200);
        background: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    }

    .nav-list li:last-child a {
        margin-left: 0;
    }

    .landing-page {
        min-height: 700px;
        height: auto;
    }

    .slide,
    .slide.active {
        align-items: flex-start;
    }

    .slide::after {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 42%;
        border-left: 0;
        border-top: 1px solid var(--neutral-200);
        background-position: center 45%;
    }

    .slide::before {
        left: 18px;
        bottom: calc(42% + 18px);
        width: 108px;
    }

    .slide .content {
        padding: 68px 0 48%;
    }

    .slide .content h1,
    .empresa-big {
        max-width: 680px;
        font-size: clamp(2.35rem, 8vw, 3.45rem);
    }

    .content-section,
    .styled-about-section {
        padding: 66px 0;
    }

    #contact .container {
        grid-template-columns: 1fr;
    }

    #contact h2 {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .container,
    .slide .content,
    .advert {
        width: min(100% - 28px, 1200px);
    }

    .logo {
        height: 52px;
    }

    .separator {
        margin: 0 9px;
    }

    .academy-name {
        max-width: 130px;
        font-size: .78rem;
    }

    .landing-page {
        min-height: 665px;
    }

    .slide::after {
        height: 40%;
    }

    .slide::before {
        bottom: calc(40% + 14px);
    }

    .slide .content {
        padding-top: 54px;
        padding-bottom: 46%;
    }

    .slide .content h1,
    .empresa-big {
        font-size: 2.35rem;
    }

    .welcome-small,
    .slide .content h4 {
        font-size: .9rem;
    }

    .advert-page {
        padding: 42px 0;
    }

    .advert {
        padding-left: 18px;
    }

    .content-section,
    .styled-about-section {
        padding: 56px 0;
    }

    .content-section h2,
    .styled-about-section h2,
    #schedule h2,
    #contact h2 {
        font-size: 1.85rem;
    }

    .overview,
    .mission-objectives,
    .benefits,
    .promise,
    .contact-form,
    .map-view {
        padding: 22px;
    }

    .expandable-heading,
    .course-category h3,
    .enrolment-collapse h3 {
        padding: 16px 17px;
    }

    .course-category .course-content {
        padding: 18px;
    }
}
