:root {
    --navy: #06275c;
    --navy-deep: #031946;
    --gold: #ffc928;
    --gold-dark: #d89a00;
    --ink: #17213d;
    --muted: #65708a;
    --line: #dce2ec;
    --soft: #f4f6fa;
    --white: #ffffff;
    --danger: #e72433;
    --shadow: 0 12px 30px rgba(7, 31, 75, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.narrow {
    max-width: 860px;
}

.site-header {
    position: relative;
    z-index: 20;
    color: var(--white);
    background: var(--navy-deep);
}

.top-header {
    border-bottom: 1px solid rgba(255, 201, 40, 0.25);
    background: #041b4e;
}

.header-inner,
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-inner {
    min-height: 86px;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.brand img {
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: var(--white);
}

.brand strong {
    display: block;
    font-size: 27px;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand small {
    display: block;
    margin-top: 4px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
}

.contact-chip {
    display: flex;
    align-items: center;
    gap: 9px;
}

.chip-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-weight: 700;
}

.contact-chip small {
    display: block;
    color: #dbe6ff;
    font-size: 13px;
}

.contact-chip strong {
    display: block;
    color: var(--gold);
    font-size: 18px;
    line-height: 1.1;
}

.main-nav {
    background: var(--navy);
}

.nav-inner {
    min-height: 54px;
}

.main-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-menu > li {
    flex: 0 0 auto;
}

.main-menu a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 17px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
}

.main-menu a:hover,
.main-menu .current-menu-item > a {
    color: var(--gold);
}

.nav-cta,
.gold-btn,
.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    color: #091d45;
    background: var(--gold);
    border: 0;
    border-radius: 6px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-cta {
    flex: 0 0 auto;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 24px;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--navy-deep);
}

.slider-track {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 500px;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transition: opacity 0.45s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
}

.hero-overlay {
    min-height: 500px;
    background: linear-gradient(90deg, rgba(3, 25, 70, 0.92) 0%, rgba(3, 25, 70, 0.72) 45%, rgba(3, 25, 70, 0.12) 100%);
}

.hero-content {
    display: flex;
    min-height: 500px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 52px 0;
    color: var(--white);
}

.hero-kicker {
    margin: 0 0 4px;
    color: var(--gold);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0;
    font-size: 72px;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-accent {
    margin: 7px 0 18px;
    color: var(--gold);
    font-size: 33px;
    font-style: italic;
    font-weight: 700;
}

.hero-bullets {
    display: grid;
    gap: 7px;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.hero-bullets li {
    position: relative;
    padding-left: 28px;
    font-weight: 700;
}

.hero-bullets li::before {
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    content: "✓";
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
    border: 0;
    border-radius: 50%;
    font-size: 34px;
    transform: translateY(-50%);
    cursor: pointer;
}

.slider-prev {
    left: 18px;
}

.slider-next {
    right: 18px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    background: rgba(255, 255, 255, 0.7);
    border: 0;
    border-radius: 50%;
}

.slider-dots button.is-active {
    background: var(--gold);
}

.stats-strip {
    position: relative;
    z-index: 5;
    color: var(--white);
    background: var(--navy);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 0 0 28px 28px;
    overflow: hidden;
}

.stats-grid div {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    min-height: 82px;
    padding: 14px 20px;
    background: var(--navy);
}

.stats-grid span {
    grid-row: span 2;
    color: var(--gold);
    font-size: 36px;
}

.stats-grid strong {
    color: var(--gold);
    font-size: 20px;
}

.stats-grid small {
    color: #dce7ff;
}

.section {
    padding: 62px 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section h2,
.center-title {
    margin: 0;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.15;
    text-transform: uppercase;
}

.section-head h2::after,
.center-title::after {
    display: block;
    width: 92px;
    height: 3px;
    margin-top: 10px;
    content: "";
    background: var(--gold);
}

.center-title {
    margin-bottom: 34px;
    text-align: center;
}

.center-title::after {
    margin-right: auto;
    margin-left: auto;
}

.small-btn {
    min-height: 36px;
    padding: 0 17px;
    color: var(--white);
    background: var(--navy);
    font-size: 13px;
}

.job-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.job-card,
.news-card,
.reason-card,
.job-filter,
.empty-state,
.job-detail-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.job-card {
    overflow: hidden;
}

.job-image {
    position: relative;
    display: block;
    background: #d9e2f0;
}

.job-image img,
.news-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.job-country {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 10px;
    background: var(--white);
    border-radius: 4px;
    color: var(--navy);
    font-weight: 900;
    text-transform: uppercase;
}

.flag-emoji {
    font-size: 20px;
    line-height: 1;
}

.flag-img {
    width: 24px;
    height: 16px;
    object-fit: cover;
}

.salary-label {
    position: absolute;
    left: 12px;
    bottom: 36px;
    padding: 2px 7px;
    color: var(--navy);
    background: var(--gold);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.job-salary {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 9px;
    color: var(--white);
    font-size: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.job-body,
.news-body {
    padding: 16px;
}

.job-body h3,
.news-body h3,
.reason-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.25;
    text-transform: uppercase;
}

.job-body dl {
    display: grid;
    gap: 5px;
    margin: 0 0 15px;
    font-size: 14px;
}

.job-body dl div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 6px;
}

.job-body dt {
    color: var(--muted);
}

.job-body dd {
    margin: 0;
}

.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 0 14px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid #9daac0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.why-section {
    background: var(--white);
}

.why-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 30px;
    align-items: stretch;
}

.academy-collage {
    display: grid;
    gap: 12px;
}

.collage-main,
.collage-thumbs img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.collage-main {
    aspect-ratio: 16 / 10;
}

.collage-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.collage-thumbs img {
    aspect-ratio: 4 / 2.4;
}

.reason-list {
    display: grid;
    gap: 14px;
}

.reason-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    min-height: 104px;
    padding: 18px;
}

.reason-card > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    overflow: hidden;
    color: var(--navy);
    background: #f7f9fd;
    border: 2px solid #d7def0;
    border-radius: 50%;
    font-size: 28px;
}

.reason-card > span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-card p,
.news-body p {
    margin: 0;
    color: var(--muted);
}

.news-card {
    overflow: hidden;
}

.news-body time {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
}

.read-more {
    display: inline-flex;
    margin-top: 14px;
    color: var(--navy);
    font-weight: 900;
}

.site-footer {
    color: var(--white);
    background: var(--navy-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr 0.8fr;
    gap: 34px;
    padding: 42px 0;
}

.site-footer .footer-grid--wide {
    width: min(1320px, calc(100% - 40px));
}

.footer-col h2,
.footer-form h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 19px;
    text-transform: uppercase;
}

.facebook-card {
    position: relative;
    min-height: 150px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}

.facebook-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.36;
    object-fit: cover;
}

.facebook-card strong,
.facebook-card span {
    position: relative;
    display: block;
}

.facebook-card strong {
    margin-top: 58px;
}

.footer-qr img {
    width: 150px;
    padding: 10px;
    background: var(--white);
    border-radius: 8px;
}

.footer-col p {
    margin: 0 0 9px;
    color: #dce7ff;
}

.footer-form {
    overflow: hidden;
    background: var(--white);
    border-radius: 8px;
}

.footer-form h2 {
    margin: 0;
    padding: 12px 16px;
    color: var(--navy);
    background: var(--gold);
    text-align: center;
}

.footer-form-body {
    padding: 12px;
}

.footer-form input,
.footer-form textarea,
.footer-form select {
    width: 100%;
    min-height: 34px;
    margin-bottom: 7px;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
}

.footer-form textarea {
    min-height: 56px;
    resize: vertical;
}

.footer-form input[type="submit"] {
    color: var(--white);
    background: var(--navy);
    border: 0;
    font-weight: 900;
    text-transform: uppercase;
}

.form-empty {
    margin: 0;
    color: var(--muted);
}

.footer-bottom {
    padding: 13px 0;
    color: #cbd8f5;
    background: #021236;
    font-size: 14px;
}

.compact-hero {
    padding: 58px 0;
    color: var(--white);
    background: linear-gradient(90deg, rgba(3, 25, 70, 0.96), rgba(6, 39, 92, 0.9)), url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.page-hero p {
    margin: 0 0 8px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: 42px;
    line-height: 1.15;
}

.page-content,
.single-content {
    background: var(--white);
}

.page-content .container,
.single-content .container {
    font-size: 18px;
}

.job-filter {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 26px;
    padding: 18px;
}

.job-filter label span {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 900;
}

.job-filter select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
}

.reset-filter {
    width: auto;
    min-height: 42px;
}

.archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty-state {
    padding: 34px;
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 8px;
    color: var(--navy);
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    padding: 0 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.pagination .current {
    color: var(--white);
    background: var(--navy);
}

.single-image img {
    width: 100%;
    max-height: 460px;
    border-radius: 8px;
    object-fit: cover;
}

.job-detail-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 22px 0;
    padding: 18px;
}

.job-detail-box p {
    margin: 0;
}

.entry-content {
    margin-bottom: 24px;
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .header-contact {
        justify-content: flex-start;
    }

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

    .menu-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .menu-wrap.is-open {
        display: block;
    }

    .main-menu {
        width: min(1180px, calc(100% - 32px));
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        margin: 0 auto;
        padding: 10px 0;
    }

    .main-menu > li {
        flex: 0 0 auto;
    }

    .main-menu a {
        min-height: 42px;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .stats-grid,
    .job-grid,
    .news-grid,
    .archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-layout,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .job-filter {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand strong {
        font-size: 21px;
    }

    .brand small {
        font-size: 12px;
    }

    .brand img {
        width: 56px;
        height: 56px;
    }

    .header-contact {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .nav-inner {
        gap: 10px;
    }

    .nav-cta {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .slider-track,
    .hero-slide,
    .hero-overlay,
    .hero-content {
        min-height: 560px;
    }

    .hero-overlay {
        background: rgba(3, 25, 70, 0.82);
    }

    .hero-kicker {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-accent {
        font-size: 25px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .section {
        padding: 42px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .section h2,
    .center-title {
        font-size: 27px;
    }

    .stats-grid,
    .job-grid,
    .news-grid,
    .archive-grid,
    .why-layout,
    .footer-grid,
    .job-filter,
    .job-detail-box {
        grid-template-columns: 1fr;
    }

    .collage-thumbs {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 22px;
    }

    .page-hero h1 {
        font-size: 32px;
    }
}
