@font-face {
    font-family: Barlow Condensed;
    src: url("fonts/barlow-condensed-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("fonts/inter-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --navy: #0b1626;
    --navy-deep: #07111e;
    --navy-light: #14263b;
    --ink: #132034;
    --muted: #4b5b6d;
    --steel: #dce4ed;
    --mist: #f4f6f8;
    --yellow: #ffc229;
    --yellow-bright: #ffd15a;
    --green: #126d45;
    --white: #fff;
    --body: Inter, system-ui, sans-serif;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1179d4; outline-offset: 4px; }
section[id], article[id] { scroll-margin-top: 24px; }

.container { width: min(100% - 96px, 1240px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 10; padding: 10px 16px; background: var(--yellow); color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.top-strip { background: var(--navy-deep); color: #d1dce9; font-size: .8125rem; }
.top-strip-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-strip span, .top-strip a { display: inline-flex; align-items: center; gap: 8px; }
.top-strip a { text-decoration: none; }
.top-strip a:hover { color: var(--white); }
.top-strip .icon { color: var(--yellow); }
.nav-bar { background: var(--white); position: relative; z-index: 2; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { border-radius: 50%; width: 72px; height: 72px; box-shadow: 0 2px 6px #0b162633; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(20px, 3vw, 46px); }
.primary-nav a { color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover { color: #295d91; text-decoration: underline; text-underline-offset: .35em; }
.menu-toggle { display: none; place-items: center; width: 46px; height: 46px; padding: 0; color: var(--navy); border: 1px solid var(--steel); border-radius: 5px; background: var(--white); }
.menu-toggle .icon { width: 24px; height: 24px; }

.button { min-height: 51px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 5px; font-weight: 740; font-size: .875rem; line-height: 1.25; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: #233d59; }
.header-contact { min-height: 43px; padding-inline: 19px; }
.button-yellow { background: var(--yellow); color: var(--navy); }
.button-yellow:hover { background: var(--yellow-bright); }
.button-outline { border-color: #8493a4; color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--white); background: #ffffff15; }
.button .icon { width: 19px; height: 19px; }

.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); min-height: 565px; }
.hero-inner { display: flex; align-items: center; min-height: inherit; position: relative; pointer-events: none; }
.hero-content { padding: 67px 0 75px; width: min(55%, 660px); pointer-events: auto; }
.hero-visual { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 59.5%; }
.hero-visual picture, .hero-visual img { display: block; width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: 42% 45%; filter: saturate(.88) contrast(1.08); }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, #0b1626e8 13%, #0b16265c 34%, #07111e08 66%), linear-gradient(0deg, #07111e69, transparent 52%); }
.photo-label { position: absolute; z-index: 1; bottom: 23px; right: max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; background: #07111eea; color: var(--white); border: 1px solid #ffffff31; border-radius: 4px; font-size: .75rem; font-weight: 600; }
.photo-label span { background: var(--yellow); color: var(--navy); padding: 3px 7px; border-radius: 2px; font-weight: 850; }
.section-label { color: #536478; font-size: .8125rem; letter-spacing: .13em; line-height: 1.45; font-weight: 800; text-transform: uppercase; }
.section-label::before { content: ""; display: inline-block; width: 20px; margin-right: 9px; height: 3px; vertical-align: middle; background: var(--yellow); }
.hero .section-label, .region-section .section-label, .contact-section .section-label { color: var(--yellow); }
.hero h1 { max-width: 680px; margin-top: 14px; font: 700 clamp(4.5rem, 7.1vw, 6.2rem)/.9 var(--display); letter-spacing: -.013em; text-transform: uppercase; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-description { margin-top: 27px; max-width: 465px; font-size: 1.0625rem; line-height: 1.7; color: #e0e8f2; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .button { min-height: 54px; }

.highlights { background: var(--yellow); position: relative; }
.highlight-list { margin-block: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlight-list li { display: flex; gap: 15px; align-items: center; justify-content: center; min-height: 92px; padding: 14px; font-size: .9375rem; font-weight: 780; line-height: 1.35; }
.highlight-list li + li { border-left: 1px solid #191f3030; }
.highlight-list small { display: block; margin-top: 4px; font-size: .8125rem; font-weight: 550; }
.highlight-list .icon { width: 30px; height: 30px; stroke-width: 1.7; }

.section { padding-block: 90px; }
.section h2 { font: 700 clamp(2.85rem, 4.65vw, 4.7rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.008em; margin-top: 10px; }
.section-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 34px; }
.section-intro > p { color: var(--muted); max-width: 480px; justify-self: end; }
.courses-section { background: var(--mist); }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.course-card { display: flex; flex-direction: column; min-height: 267px; padding: 20px; border: 1px solid var(--steel); border-top: 3px solid #aebdca; background: var(--white); transition: border-color .18s ease; }
.course-card:hover, .course-card:focus-within, .course-card:target { border-top-color: #d59800; }
.course-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; background: #fff2ca; color: var(--navy); border-radius: 4px; }
.course-icon .icon { width: 25px; height: 25px; }
.course-code { color: #425771; background: #edf2f7; padding: 4px 8px; border-radius: 3px; font-size: .75rem; font-weight: 810; letter-spacing: .035em; }
.course-card h3 { margin-top: 17px; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.025em; }
.course-card p { margin: 10px 0 17px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.course-card a, .text-link { color: #174772; font-weight: 730; text-decoration: underline; text-decoration-color: #b6c8da; text-underline-offset: 4px; }
.course-card a { align-self: flex-start; margin-top: auto; font-size: .875rem; padding-block: 4px; }
.course-card a:hover, .text-link:hover { color: #1464a6; text-decoration-color: currentColor; }
.talk-banner { margin-top: 19px; padding: 22px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 19px; align-items: center; background: var(--navy-light); color: var(--white); border-left: 4px solid var(--yellow); }
.talk-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--yellow); border: 1px solid #ffffff36; border-radius: 4px; }
.talk-icon .icon { width: 26px; height: 26px; }
.talk-banner h3 { font-size: 1.14rem; line-height: 1.3; }
.talk-banner p { color: #d0dbea; font-size: .9rem; margin-top: 5px; }

.gallery-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.gallery-photo { position: relative; min-width: 0; }
.gallery-photo a { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--mist); }
.gallery-photo img { width: 100%; height: clamp(190px, 24vw, 315px); object-fit: cover; transition: transform .26s ease; }
.gallery-photo a:hover img { transform: scale(1.035); }
.gallery-expand { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 4px; position: absolute; right: 10px; bottom: 10px; background: var(--navy-deep); color: var(--white); }
.gallery-expand .icon { width: 17px; height: 17px; }
.gallery-photo figcaption { padding-top: 11px; color: var(--muted); font-size: .875rem; }
.gallery-dialog { max-width: min(94vw, 1050px); max-height: 92vh; padding: 0; overflow: auto; border: none; border-radius: 5px; background: var(--navy); }
.gallery-dialog::backdrop { background: #07111edb; }
.gallery-dialog img { width: auto; height: auto; max-height: 91vh; object-fit: contain; }
.gallery-close { position: absolute; top: 10px; right: 10px; background: var(--navy-deep) !important; color: var(--white); }

.region-section { background: var(--navy); color: var(--white); padding-block: 0; overflow: hidden; }
.region-inner { display: grid; grid-template-columns: 1fr .85fr; gap: 40px; align-items: stretch; }
.region-copy { padding-block: 73px; }
.region-copy > p:not(.section-label), .contact-copy > p:not(.section-label) { color: #d4dfed; margin-top: 21px; max-width: 490px; }
.region-copy .button { margin-top: 22px; }
.region-metric { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 38px 15px; background: #14263b; position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.region-metric > .icon { width: 34px; height: 34px; color: var(--yellow); margin-bottom: 6px; }
.region-metric > span { font-size: .875rem; color: #dbe5f1; }
.region-metric strong { font: 700 clamp(5.25rem, 10vw, 9rem)/.79 var(--display); color: var(--yellow); letter-spacing: -.015em; margin-block: 3px 14px; }
.region-metric small { font-size: .45em; letter-spacing: 0; }
.region-rings { position: absolute; z-index: -1; border: 1px solid #7187a34a; border-radius: 50%; width: 275px; height: 275px; box-shadow: 0 0 0 35px #8ba3b90c, 0 0 0 70px #8ba3b90a; opacity: .85; }
.region-rings::after { content: ""; position: absolute; inset: -35px; border: 1px solid #8ba3b94a; border-radius: 50%; }

.faq-inner { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(30px, 6vw, 90px); }
.faq-inner > div:first-child > p:not(.section-label) { margin-block: 18px 13px; color: var(--muted); max-width: 350px; }
.text-link { display: inline-block; font-size: .875rem; }
.faq-items { border-top: 1px solid var(--steel); }
.faq-items details { border-bottom: 1px solid var(--steel); }
.faq-items summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; cursor: pointer; font-size: 1.02rem; font-weight: 730; list-style: none; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary .icon { color: #194a74; }
.faq-items details[open] summary .icon { transform: rotate(45deg); }
.faq-items details p { color: var(--muted); padding: 0 21px 19px 2px; }

.contact-section { background: var(--navy-light); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.contact-number { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; color: var(--yellow); margin-top: 20px; text-underline-offset: 5px; }
.lead-form { background: var(--white); color: var(--ink); padding: 28px; border-radius: 6px; border-top: 4px solid var(--yellow); }
.lead-form h3 { font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.25; }
.lead-form > p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 17px 16px; }
.form-fields label { display: block; font-size: .875rem; font-weight: 720; }
.form-fields .full-width { grid-column: 1 / -1; }
.optional { font-size: .75rem; font-weight: 500; color: var(--muted); }
.form-fields input, .form-fields select { display: block; min-height: 45px; width: 100%; margin-top: 5px; padding: 8px 11px; border: 1px solid #aab9c8; border-radius: 4px; background: var(--white); color: var(--ink); font-weight: 500; font-size: 1rem; }
.form-fields :is(input, select):focus { border-color: #1179d4; }
.form-fields input::placeholder { color: #65758a; }
.form-submit { width: 100%; }
.lead-form p.form-note { font-size: .775rem; line-height: 1.5; }
.form-error { padding: 9px 11px; border-left: 3px solid #a61c29; background: #fff1f1; color: #861622 !important; }

.site-footer { color: #d2deec; background: var(--navy-deep); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr .95fr; gap: 26px; padding-block: 40px; }
.footer-info p { margin-top: 13px; max-width: 270px; font-size: .875rem; }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 8px; font-size: .875rem; }
.footer-contact :is(a, span) { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--yellow); }
.site-footer a:not(.brand) { text-decoration-color: #8097ad; text-underline-offset: 4px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 14px; border-top: 1px solid #26384c; font-size: .8125rem; padding-right: 46px; }

.chat-widget { position: fixed; z-index: 4; right: max(24px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-toggle { color: var(--white); background: var(--green); width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #ffffff73; border-radius: 50%; box-shadow: 0 5px 16px #07111e31; transition: background .18s ease; }
.chat-toggle:hover, .chat-action:hover { background: #0c5032; }
.chat-toggle .icon { width: 29px; height: 29px; }
.chat-panel { width: min(320px, calc(100vw - 42px)); border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 12px 36px #07111e35; border: 1px solid var(--steel); }
.chat-header { display: flex; align-items: center; gap: 10px; background: var(--green); color: var(--white); padding: 8px 10px 8px 14px; }
.chat-header strong { flex: 1; font-size: .95rem; }
.plain-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; color: inherit; background: transparent; }
.plain-button:hover { background: #ffffff22; }
.chat-body { padding: 17px; }
.chat-body p { font-size: .92rem; margin-bottom: 13px; }
.chat-action { min-height: 46px; width: 100%; color: var(--white); background: var(--green); }

.privacy-page { background: var(--mist); min-height: 100vh; }
.privacy-content { max-width: 725px; padding-block: 58px; }
.privacy-content h1 { font: 700 clamp(3rem, 7vw, 5.2rem)/.9 var(--display); text-transform: uppercase; margin: 25px 0 18px; }
.privacy-content h2 { font-size: 1.25rem; line-height: 1.3; margin: 24px 0 6px; }
.privacy-content p { color: var(--muted); }
.privacy-content p a { text-underline-offset: 4px; }

@media (min-width: 761px) and (max-width: 1100px) {
    .hero h1 { font-size: clamp(3.75rem, 7.65vw, 5.5rem); }
    .hero-visual { width: 57%; }
    .hero-content { width: 60%; }
    .hero-description { max-width: min(430px, 92%); }
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .course-card { min-height: 228px; }
}

@media (max-width: 850px) {
    .container { width: calc(100% - 52px); }
    .section { padding-block: 65px; }
    .region-section { padding-block: 0; }
    .nav-inner { gap: 14px; }
    .primary-nav { gap: 14px; }
    .primary-nav a { font-size: .8125rem; }
}

@media (max-width: 760px) {
    .container { width: calc(100% - 36px); }
    .nav-inner { min-height: 78px; flex-wrap: wrap; padding-block: 8px; gap: 10px; }
    .brand img { width: 62px; height: 62px; }
    .nav-inner > .menu-toggle { display: inline-grid; }
    .header-contact { display: none; }
    .primary-nav { flex-basis: 100%; gap: 1px; padding-block: 4px; }
    .menu-toggle:not([hidden]) ~ .primary-nav { display: none; }
    .menu-toggle:not([hidden]) ~ .primary-nav.is-open { display: grid; }
    .primary-nav a { min-height: 44px; display: flex; align-items: center; padding-inline: 8px; font-size: .9rem; }
    .hero { display: flex; flex-direction: column-reverse; min-height: auto; }
    .hero-visual { position: relative; width: 100%; height: clamp(245px, 59vw, 410px); margin-top: -10px; }
    .hero-visual img { object-position: 50% 41%; }
    .hero-visual::after { background: linear-gradient(180deg, var(--navy) 0%, #0b162655 17%, transparent 35%), linear-gradient(0deg, #07111e65, transparent 45%); }
    .hero-inner { display: block; }
    .hero-content { width: 100%; padding: 41px 0 37px; }
    .hero h1 { font-size: min(calc((100vw - 36px) / 6.75), 5.65rem); line-height: .9; margin-top: 11px; }
    .hero-description { margin-top: 19px; font-size: 1rem; max-width: 475px; line-height: 1.58; }
    .hero-actions { margin-top: 20px; gap: 7px; }
    .hero-actions .button { padding-inline: 13px; min-height: 47px; }
    .hero-actions .icon { width: 17px; height: 17px; }
    .photo-label { right: 18px; bottom: 12px; }
    .highlight-list { grid-template-columns: 1fr; padding-block: 5px; }
    .highlight-list li { min-height: 54px; justify-content: start; gap: 10px; padding: 8px 5px; font-size: .9rem; }
    .highlight-list li + li { border-top: 1px solid #191f3030; border-left: 0; }
    .highlight-list .icon { width: 25px; height: 25px; }
    .highlight-list small { font-size: .765rem; margin-top: 2px; }
    .section { padding-block: 53px; }
    .section-intro, .region-inner, .contact-inner, .faq-inner { grid-template-columns: 1fr; gap: 16px; }
    .section-intro { margin-bottom: 23px; }
    .section-intro > p { justify-self: start; }
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .course-card { min-height: 252px; padding: 13px; }
    .course-icon { width: 36px; height: 36px; }
    .course-icon .icon { width: 22px; height: 22px; }
    .course-code { font-size: .6875rem; padding: 4px 5px; }
    .course-card h3 { margin-top: 13px; font-size: 1rem; }
    .course-card p { font-size: .86rem; margin-top: 7px; }
    .course-card a { font-size: .8125rem; }
    .talk-banner { grid-template-columns: auto 1fr; gap: 10px; padding: 15px; }
    .talk-banner .button { grid-column: 2; justify-self: start; min-height: 44px; padding-inline: 12px; }
    .talk-icon { align-self: start; width: 35px; height: 35px; }
    .talk-icon .icon { width: 20px; height: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; }
    .gallery-photo:first-child { grid-column: 1 / -1; }
    .gallery-photo:first-child img { height: min(65vw, 390px); }
    .gallery-photo img { height: 33vw; min-height: 123px; }
    .gallery-photo figcaption { font-size: .8125rem; padding-top: 6px; }
    .region-section { padding-block: 0 22px; }
    .region-copy { padding-block: 53px 7px; }
    .region-metric { min-height: 237px; border-radius: 4px; }
    .faq-inner, .contact-inner { gap: 25px; }
    .lead-form { padding: 19px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
    .footer-info { grid-column: 1 / -1; }
    .chat-widget { right: max(13px, env(safe-area-inset-right)); bottom: max(13px, env(safe-area-inset-bottom)); }
    .chat-toggle { width: 52px; height: 52px; }
    .chat-toggle .icon { width: 26px; height: 26px; }
}

@media (max-width: 370px) {
    .top-strip { font-size: .7rem; }
    .course-grid, .form-fields, .footer-main { grid-template-columns: 1fr; }
    .course-card { min-height: auto; }
    .lead-form { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
