:root {
    --navy: #06285f;
    --navy-2: #0b3f89;
    --gold: #f7a817;
    --gold-2: #ffd36b;
    --red: #d91f2d;
    --ink: #162033;
    --muted: #667085;
    --line: #d9e2ef;
    --soft: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(7, 30, 68, 0.14);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

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

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

p {
    color: var(--muted);
}

ul {
    margin: 0;
    padding: 0;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: calc(100% - 32px);
    max-width: var(--container);
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--red);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(6, 40, 95, 0.08);
}

.site-header.is-scrolled {
    box-shadow: 0 14px 30px rgba(7, 30, 68, 0.12);
}

.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.topbar a {
    color: var(--white);
    font-weight: 700;
}

.topbar__admin {
    min-height: 26px;
    padding: 3px 10px;
    border-radius: var(--radius);
    color: var(--navy) !important;
    background: var(--gold);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.language-switcher a {
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    color: var(--white);
}

.language-switcher a:hover,
.language-switcher a:focus {
    color: var(--navy);
    background: var(--white);
    outline: none;
}

.topbar__split {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.32);
}

body.lang--ar {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}

[dir="rtl"] .topbar__inner,
[dir="rtl"] .nav__inner,
[dir="rtl"] .footer-cta__inner,
[dir="rtl"] .footer-bottom {
    direction: rtl;
}

[dir="rtl"] .check-list li,
[dir="rtl"] .feature-list li {
    padding-right: 28px;
    padding-left: 0;
}

[dir="rtl"] .check-list li::before,
[dir="rtl"] .feature-list li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] blockquote {
    border-right: 5px solid var(--gold);
    border-left: 0;
}

.nav__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand strong,
.brand small,
.brand em {
    display: block;
}

.brand strong {
    color: var(--navy);
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
}

.brand small {
    margin-top: 3px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.brand em {
    margin-top: 2px;
    color: var(--navy);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border-radius: var(--radius);
    color: #23324a;
    font-size: 14px;
    font-weight: 800;
}

.nav__link:hover,
.nav__link:focus,
.nav__link.is-active {
    color: var(--navy);
    background: rgba(247, 168, 23, 0.14);
    outline: none;
}

.nav__link.is-active {
    box-shadow: inset 0 -3px 0 var(--gold);
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    place-items: center;
    cursor: pointer;
}

.nav__toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 3px auto;
}

.hero {
    position: relative;
    min-height: min(660px, 78svh);
    overflow: hidden;
    display: grid;
    align-items: center;
    isolation: isolate;
    background: var(--navy);
}

.hero__media,
.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media img {
    object-fit: cover;
    object-position: center;
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 27, 65, 0.96) 0%, rgba(5, 27, 65, 0.82) 34%, rgba(5, 27, 65, 0.25) 66%, rgba(5, 27, 65, 0.06) 100%),
        linear-gradient(0deg, rgba(5, 27, 65, 0.4), rgba(5, 27, 65, 0));
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    padding: 72px 0;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 56px;
    line-height: 1.02;
    font-weight: 900;
    overflow-wrap: break-word;
}

.hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    max-width: 650px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    outline: none;
}

.btn--primary {
    color: var(--navy);
    background: var(--gold);
    box-shadow: 0 14px 30px rgba(247, 168, 23, 0.22);
}

.btn--primary:hover,
.btn--primary:focus {
    background: var(--gold-2);
}

.btn--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.08);
}

.btn--light {
    color: var(--navy);
    background: var(--white);
}

.hero__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.hero__proof span {
    min-height: 78px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

.hero__proof strong {
    display: block;
    color: var(--white);
    font-size: 20px;
    line-height: 1.2;
}

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

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 40, 95, 0.96), rgba(6, 40, 95, 0.76)),
        url("../images/hero-recruitment.jpg") center / cover;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 76px 0 82px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

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

.section {
    padding: 88px 0;
}

.section--tight {
    padding: 56px 0;
}

.section--soft {
    background: var(--soft);
}

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

.section--navy p {
    color: rgba(255, 255, 255, 0.74);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.split__content h2,
.mission-grid h2,
.message-copy h2,
.profile-grid h2,
.footer-cta h2 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 38px;
    line-height: 1.12;
    font-weight: 900;
}

.section--navy .section-heading h2,
.footer-cta h2 {
    color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: start;
}

.intro-grid__copy {
    display: grid;
    gap: 14px;
}

.intro-grid__copy p {
    margin: 0;
    font-size: 17px;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.value-card,
.industry-card,
.process-card,
.split__panel,
.message-card,
.contact-panel,
.form-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(7, 30, 68, 0.07);
}

.service-card,
.value-card,
.industry-card {
    padding: 26px;
}

.service-card h3,
.value-card h3,
.industry-card h3,
.mini-card h3,
.process-card h3 {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.22;
}

.service-card p,
.value-card p,
.industry-card p,
.mini-card p,
.process-card p {
    margin-bottom: 0;
}

.icon-badge,
.mini-card__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(247, 168, 23, 0.18);
}

.icon-badge svg,
.mini-card__icon svg {
    width: 25px;
    height: 25px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 54px;
    align-items: center;
}

.split--reverse .split__media {
    order: 2;
}

.split__media {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split__content p {
    font-size: 17px;
}

.mini-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.mini-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    background: var(--white);
}

.mini-card__icon {
    width: 44px;
    height: 44px;
    margin: 0;
}

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

.process-card {
    padding: 24px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.process-card span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 28px;
    font-weight: 900;
}

.process-card h3 {
    color: var(--white);
}

.ceo-preview {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(247, 168, 23, 0.12), rgba(217, 31, 45, 0.06)), var(--white);
}

.ceo-preview__mark {
    display: grid;
    place-items: center;
    width: 140px;
    height: 140px;
    border: 8px solid var(--gold);
    border-radius: 50%;
    color: var(--navy);
    background: var(--white);
    font-size: 34px;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 900;
}

.text-link svg {
    width: 17px;
    height: 17px;
}

.check-list,
.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    list-style: none;
}

.check-list li,
.feature-list li {
    position: relative;
    padding-left: 28px;
    color: #344054;
}

.check-list li::before,
.feature-list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(247, 168, 23, 0.18);
}

.mission-grid,
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.mission-grid article,
.profile-grid article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(6, 40, 95, 0.15);
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(6, 40, 95, 0.05);
    font-weight: 800;
    font-size: 14px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.job-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(7, 30, 68, 0.07);
}

.job-card {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.job-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.job-card__head h3 {
    margin-bottom: 0;
    color: var(--navy);
    font-size: 24px;
    line-height: 1.2;
}

.job-card__head > span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--navy);
    background: rgba(247, 168, 23, 0.2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.job-meta div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.job-meta dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.job-meta dd {
    margin: 2px 0 0;
    color: var(--ink);
    font-weight: 800;
}

.job-card p {
    margin: 0;
}

.job-card__deadline {
    color: var(--red);
    font-weight: 900;
}

.job-card__actions {
    display: flex;
    justify-content: flex-start;
}

.empty-state {
    display: grid;
    justify-items: center;
    max-width: 620px;
    margin: 0 auto;
    padding: 34px;
    text-align: center;
}

.empty-state h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 26px;
}

.empty-state p {
    max-width: 460px;
}

.split__panel {
    padding: 30px;
}

.split__panel h3 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 26px;
}

.message-layout {
    display: grid;
    grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.message-card {
    position: sticky;
    top: 140px;
    padding: 28px;
    text-align: center;
}

.message-card__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 22px;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center;
    box-shadow: 0 14px 34px rgba(7, 30, 68, 0.14);
}

.message-card h2 {
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 24px;
}

.message-card p {
    margin-bottom: 12px;
    color: var(--red);
    font-weight: 900;
}

.message-card span {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(247, 168, 23, 0.18);
    font-size: 13px;
    font-weight: 900;
}

.message-copy p {
    font-size: 17px;
}

blockquote {
    margin: 30px 0 0;
    padding: 26px;
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    background: var(--soft);
}

blockquote p {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
    font-weight: 900;
}

.profile-points {
    display: grid;
    gap: 14px;
}

.profile-points div {
    display: grid;
    gap: 4px;
    padding: 20px;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    background: var(--white);
}

.profile-points strong {
    color: var(--navy);
    font-size: 18px;
}

.profile-points span {
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.contact-panel,
.form-wrap {
    padding: 32px;
}

.contact-panel {
    position: sticky;
    top: 98px;
    overflow: hidden;
    color: var(--white);
    border-color: transparent;
    background:
        linear-gradient(145deg, rgba(217, 31, 45, 0.16), rgba(247, 168, 23, 0.1) 38%, transparent 62%),
        var(--navy);
}

.contact-panel h2 {
    color: var(--white);
    font-size: 30px;
    line-height: 1.15;
}

.contact-panel .eyebrow {
    color: var(--gold);
}

.contact-list,
.footer-contact {
    display: grid;
    gap: 14px;
    list-style: none;
}

.contact-list li,
.footer-contact li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.contact-list svg,
.footer-contact svg {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--gold);
}

.contact-list a,
.contact-list span {
    color: rgba(255, 255, 255, 0.9);
}

.contact-list div,
.footer-contact div {
    display: grid;
    gap: 2px;
}

.contact-list strong,
.footer-contact strong {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.contact-panel__note {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-panel__note strong,
.contact-panel__note span {
    display: block;
}

.contact-panel__note span {
    color: rgba(255, 255, 255, 0.78);
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 700;
}

.form-alert ul {
    margin-top: 8px;
    padding-left: 20px;
}

.form-alert--success {
    color: #0f5f36;
    background: #e5f8ee;
    border: 1px solid #a9e2c3;
}

.form-alert--error {
    color: #8a1c22;
    background: #fff1f2;
    border: 1px solid #f4bdc1;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
}

.contact-form span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form select {
    min-height: 49px;
}

.contact-form input[type="file"] {
    padding: 10px 13px;
    cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--navy-2);
    box-shadow: 0 0 0 4px rgba(11, 63, 137, 0.12);
}

.contact-form.was-validated input:invalid,
.contact-form.was-validated select:invalid,
.contact-form.was-validated textarea:invalid {
    border-color: var(--red);
}

.form-wrap {
    box-shadow: 0 16px 42px rgba(7, 30, 68, 0.09);
}

.form-wrap h2 {
    color: var(--navy);
}

.form-wrap > p {
    max-width: 680px;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: #9fb0c8;
}

.form-help {
    color: var(--muted);
    font-size: 13px;
}

.office-map-section .section-heading--center {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

.office-map-section .section-heading--center h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.map-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    min-height: 460px;
    overflow: hidden;
    border: 1px solid rgba(6, 40, 95, 0.12);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--gold), var(--red));
    z-index: 1;
}

.map-card > div {
    position: relative;
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 34px 30px 34px 36px;
    background:
        linear-gradient(180deg, rgba(6, 40, 95, 0.04), rgba(247, 168, 23, 0.08)),
        var(--white);
}

.map-card h3 {
    margin-bottom: 0;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.1;
}

.map-card p {
    margin-bottom: 0;
    color: #41516b;
    font-size: 16px;
    line-height: 1.75;
}

.map-card iframe {
    display: block;
    width: 100%;
    min-height: 460px;
    height: 100%;
    border: 0;
}

.map-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 56px rgba(7, 30, 68, 0.16);
}

.captcha-field {
    max-width: 280px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.footer-cta {
    padding: 44px 0;
    background: var(--red);
}

.footer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-cta .eyebrow {
    color: var(--gold-2);
}

.footer-cta h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 32px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.8);
    background: #041b41;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr) minmax(260px, 1fr);
    gap: 48px;
    padding: 54px 0 34px;
}

.brand--footer strong {
    color: var(--white);
}

.brand--footer small {
    color: var(--gold);
}

.footer-brand p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-license {
    color: var(--gold) !important;
    font-weight: 900;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
    color: var(--gold);
}

.footer-contact span,
.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom a {
    color: var(--white);
    font-weight: 900;
}

.reveal {
    opacity: 1;
    transform: none;
    animation: reveal-up 520ms ease both;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes reveal-up {
    from {
        opacity: 1;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1040px) {
    .card-grid--four,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .map-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        position: static;
    }

    .map-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .map-card > div {
        align-content: start;
    }

    .map-card iframe {
        min-height: 430px;
        height: 430px;
    }

    .contact-layout,
    .message-layout,
    .split,
    .intro-grid,
    .mission-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media {
        order: 0;
    }

    .message-card {
        position: static;
    }
}

@media (max-width: 880px) {
    .topbar__inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 8px 0;
        text-align: center;
    }

    .nav__toggle {
        display: grid;
    }

    .nav__menu {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        display: none;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav__menu.is-open {
        display: grid;
    }

    .nav__link {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        min-height: 620px;
    }

    .hero__shade {
        background:
            linear-gradient(90deg, rgba(5, 27, 65, 0.96), rgba(5, 27, 65, 0.72)),
            linear-gradient(0deg, rgba(5, 27, 65, 0.42), rgba(5, 27, 65, 0));
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.08;
    }

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

    .hero__proof {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .section-heading h2,
    .split__content h2,
    .mission-grid h2,
    .message-copy h2,
    .profile-grid h2 {
        font-size: 31px;
    }

    .footer-cta__inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

    .topbar__inner {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .topbar__inner span,
    .topbar__inner a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .topbar__split {
        display: none;
    }

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

    .brand {
        max-width: calc(100% - 68px);
    }

    .brand span {
        min-width: 0;
    }

    .brand strong {
        font-size: 14px;
        overflow-wrap: break-word;
    }

    .brand small {
        font-size: 10px;
        overflow-wrap: break-word;
    }

    .nav__inner {
        min-height: 70px;
        gap: 12px;
    }

    .hero {
        min-height: 590px;
    }

    .hero__content {
        padding: 52px 0;
    }

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

    .hero p,
    .page-hero p {
        font-size: 16px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    .page-hero__inner {
        padding: 58px 0 62px;
    }

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

    .card-grid--three,
    .card-grid--four,
    .process-grid,
    .job-meta,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .value-card,
    .industry-card,
    .split__panel,
    .message-card,
    .contact-panel,
    .form-wrap,
    .mission-grid article,
    .profile-grid article {
        padding: 22px;
    }

    .mini-card {
        grid-template-columns: 1fr;
    }

    .ceo-preview {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .ceo-preview__mark {
        width: 110px;
        height: 110px;
        font-size: 28px;
    }

    .footer-cta h2 {
        font-size: 26px;
    }

    .office-map-section .section-heading--center h2 {
        font-size: 30px;
    }

    .map-card > div {
        padding: 26px 22px 24px 28px;
    }

    .map-card h3 {
        font-size: 23px;
    }

    .map-card iframe {
        min-height: 360px;
        height: 360px;
    }
}
