:root {
    --pattens: #ebf1f4;
    --oxford: #072c3f;
    --midnight: #0a3655;
    --maastricht: #051c33;
    --light-blue: #86a1b4;
    --jelly: #457796;
    --ink: #031523;
    --steel: #304d5f;
    --muted: #607887;
    --line: rgba(7, 44, 63, 0.16);
    --line-dark: rgba(235, 241, 244, 0.18);
    --white: #ffffff;
    --surface: #f7fafc;
    --shadow: 0 18px 45px rgba(5, 28, 51, 0.14);
    --shadow-soft: 0 10px 30px rgba(5, 28, 51, 0.1);
    --radius: 8px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: "Inter", "IBM Plex Sans Arabic", Arial, sans-serif;
    line-height: 1.6;
}

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

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

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

:focus-visible {
    outline: 3px solid rgba(69, 119, 150, 0.45);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 1000;
    padding: 10px 14px;
    color: var(--white);
    background: var(--oxford);
    border-radius: var(--radius);
    transform: translateY(-140%);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 250, 252, 0.92);
    border-bottom: 1px solid rgba(7, 44, 63, 0.12);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 178px;
}

.brand img {
    width: 100%;
    height: 46px;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.site-nav a,
.header-cta,
.button,
.filter-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a {
    padding: 8px 10px;
    color: var(--steel);
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--oxford);
    background: rgba(134, 161, 180, 0.18);
}

.header-cta {
    padding: 9px 16px;
    color: var(--white);
    background: var(--oxford);
    font-size: 14px;
    border: 1px solid var(--oxford);
}

.header-cta:hover {
    background: var(--midnight);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--oxford);
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--maastricht);
}

.hero-bg,
.subpage-hero > img,
.section-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade,
.subpage-hero::after,
.section-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 28, 51, 0.93) 0%, rgba(5, 28, 51, 0.72) 40%, rgba(5, 28, 51, 0.25) 100%),
        linear-gradient(0deg, rgba(5, 28, 51, 0.45), rgba(5, 28, 51, 0.04));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: end;
    gap: 48px;
    padding: 96px 0;
    color: var(--white);
}

.hero-copy {
    max-width: 740px;
}

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

h1,
h2,
h3 {
    color: inherit;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(42px, 7vw, 86px);
    font-weight: 800;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
}

h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 800;
}

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

.hero p,
.subpage-content p,
.section-dark p,
.section-image p,
.dark-panel p,
.dark-card p,
.site-footer p,
.site-footer li,
.site-footer address,
.site-footer a {
    color: rgba(235, 241, 244, 0.82);
}

.hero-copy p {
    max-width: 660px;
    margin-bottom: 32px;
    font-size: 20px;
}

.hero-actions,
.final-cta,
.form-two {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    padding: 12px 18px;
    border: 1px solid transparent;
    cursor: pointer;
}

.button-primary {
    color: var(--white);
    background: var(--midnight);
    border-color: var(--midnight);
    box-shadow: var(--shadow-soft);
}

.button-primary:hover {
    background: var(--oxford);
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(235, 241, 244, 0.36);
    background: rgba(235, 241, 244, 0.08);
}

.button-secondary:hover,
.button-light:hover {
    background: rgba(235, 241, 244, 0.18);
}

.button-light {
    color: var(--white);
    background: rgba(235, 241, 244, 0.11);
    border-color: rgba(235, 241, 244, 0.34);
}

.hero-panel {
    padding: 24px;
    border: 1px solid rgba(235, 241, 244, 0.24);
    border-radius: var(--radius);
    background: rgba(5, 28, 51, 0.62);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.hero-panel span,
.section-kicker,
.service-card > span,
.card-number,
.contact-methods span {
    display: inline-flex;
    color: var(--jelly);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-panel strong {
    display: block;
    margin: 12px 0 10px;
    font-size: 28px;
    line-height: 1.1;
}

.section {
    padding: 96px 0;
}

.section-light {
    color: var(--ink);
    background: var(--surface);
}

.section-dark {
    color: var(--white);
    background:
        linear-gradient(135deg, var(--maastricht), var(--oxford) 48%, var(--midnight));
}

.section-header {
    margin-bottom: 48px;
}

.split-header,
.media-split,
.contact-layout,
.dual-panels,
.vision-grid {
    display: grid;
    gap: 48px;
}

.split-header {
    grid-template-columns: 1fr minmax(280px, 0.72fr);
    align-items: end;
}

.section-header p {
    margin-bottom: 0;
    font-size: 18px;
}

.centered {
    max-width: 760px;
    text-align: center;
}

.strength-grid,
.value-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

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

.feature-card,
.service-card,
.statement-panel,
.process-panel,
.contact-details,
.contact-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.feature-card,
.service-card {
    min-height: 238px;
    padding: 26px;
}

.feature-card.compact {
    min-height: 0;
}

.feature-card p,
.service-card p,
.statement-panel p {
    margin-bottom: 0;
}

.dark-card {
    border-color: var(--line-dark);
    background: rgba(235, 241, 244, 0.07);
    box-shadow: none;
}

.card-number {
    margin-bottom: 36px;
}

.media-split {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: center;
}

.media-split-light {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.media-frame {
    overflow: hidden;
    min-height: 460px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--maastricht);
}

.media-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.section-copy p {
    margin-bottom: 26px;
    font-size: 18px;
}

.compact-list {
    display: grid;
    gap: 10px;
}

.compact-list a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
}

.compact-list span {
    font-weight: 800;
}

.compact-list small {
    color: var(--light-blue);
    white-space: nowrap;
}

.section-image {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--maastricht);
}

.image-callout {
    position: relative;
    z-index: 2;
    max-width: var(--container);
}

.image-callout h2,
.image-callout p {
    max-width: 620px;
}

.image-callout p {
    margin-bottom: 26px;
    font-size: 18px;
}

.final-cta {
    justify-content: space-between;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--white), var(--pattens));
    box-shadow: var(--shadow-soft);
}

.final-cta h2 {
    margin-bottom: 10px;
}

.final-cta p {
    max-width: 680px;
    margin-bottom: 0;
}

.subpage-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--maastricht);
}

.subpage-content {
    position: relative;
    z-index: 2;
    padding: 92px 0;
}

.subpage-content h1 {
    max-width: 860px;
    font-size: clamp(38px, 5.5vw, 68px);
}

.subpage-content p {
    max-width: 680px;
    font-size: 19px;
}

.statement-panel,
.process-panel,
.contact-details,
.contact-form {
    padding: 34px;
}

.vision-grid,
.dual-panels,
.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dark-panel {
    color: var(--white);
    border-color: var(--line-dark);
    background: linear-gradient(135deg, var(--oxford), var(--maastricht));
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--steel);
}

.dark-panel .check-list li {
    color: rgba(235, 241, 244, 0.86);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 10px;
    height: 2px;
    background: var(--jelly);
}

.no-top-padding {
    padding-top: 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-button {
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    color: var(--steel);
    background: var(--white);
    cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
    color: var(--white);
    border-color: var(--midnight);
    background: var(--midnight);
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 286px;
}

.service-card a {
    margin-top: auto;
    color: var(--midnight);
    font-weight: 800;
}

.dark-card a {
    color: var(--pattens);
}

.service-card.is-hidden {
    display: none;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list span {
    padding: 9px 12px;
    color: var(--white);
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(235, 241, 244, 0.08);
    font-weight: 700;
    font-size: 14px;
}

.dark-pills span {
    color: var(--oxford);
    border-color: rgba(7, 44, 63, 0.18);
    background: var(--pattens);
}

.process-panel {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 32px;
    align-items: start;
}

.process-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--steel);
    background: var(--surface);
    font-weight: 700;
}

.process-list span {
    color: var(--jelly);
    font-weight: 800;
}

.contact-layout {
    align-items: start;
}

.contact-details {
    position: sticky;
    top: 104px;
    color: var(--white);
    border-color: var(--line-dark);
    background: linear-gradient(135deg, var(--oxford), var(--maastricht));
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-methods a,
.contact-methods p {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
}

.contact-methods a {
    color: var(--white);
}

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

.form-two {
    align-items: start;
}

.form-two > * {
    flex: 1 1 220px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    color: var(--oxford);
    font-size: 14px;
    font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    border: 1px solid rgba(7, 44, 63, 0.22);
    border-radius: 6px;
    background: var(--surface);
}

.form-row textarea {
    resize: vertical;
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
    border-color: var(--jelly);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--midnight);
    box-shadow: 0 0 0 3px rgba(69, 119, 150, 0.18);
}

.form-row small {
    color: #b3261e;
    font-weight: 700;
}

.form-notice {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 700;
}

.form-notice.success {
    color: #075432;
    background: #e9f8ef;
}

.form-notice.warning {
    color: #6a4a00;
    background: #fff7d7;
}

.form-notice.error {
    color: #84231c;
    background: #fdeceb;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.9fr 1fr;
    gap: 40px;
    padding: 70px 0 44px;
}

.footer-brand img {
    width: 260px;
    height: 72px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 18px;
}

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

.footer-links,
.footer-list,
.site-footer address {
    display: grid;
    gap: 10px;
}

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

.site-footer address {
    font-style: normal;
}

.footer-links a:hover,
.site-footer address a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 980px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .nav-shell {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 86px;
        display: none;
        flex-direction: column;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: flex-start;
        min-height: 44px;
        padding: 10px 12px;
    }

    .header-cta {
        display: none;
    }

    .hero-content,
    .split-header,
    .media-split,
    .media-split-light,
    .vision-grid,
    .dual-panels,
    .contact-layout,
    .process-panel {
        grid-template-columns: 1fr;
    }

    .hero-content {
        align-items: start;
        padding: 76px 0;
    }

    .hero-panel {
        max-width: 520px;
    }

    .strength-grid,
    .value-grid,
    .value-grid.four,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-details {
        position: static;
    }

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

@media (max-width: 680px) {
    .brand {
        width: 146px;
    }

    .brand img {
        height: 40px;
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-shade,
    .subpage-hero::after,
    .section-image::after {
        background: linear-gradient(90deg, rgba(5, 28, 51, 0.92), rgba(5, 28, 51, 0.78));
    }

    .hero-content,
    .subpage-content {
        padding: 68px 0;
    }

    .hero-copy p,
    .subpage-content p,
    .section-copy p,
    .image-callout p {
        font-size: 17px;
    }

    .hero-actions,
    .final-cta {
        align-items: stretch;
    }

    .hero-actions .button,
    .final-cta .button {
        width: 100%;
    }

    .hero-panel,
    .feature-card,
    .service-card,
    .statement-panel,
    .process-panel,
    .contact-details,
    .contact-form,
    .final-cta {
        padding: 22px;
    }

    .strength-grid,
    .value-grid,
    .value-grid.four,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .media-frame {
        min-height: 300px;
    }

    .section-image {
        min-height: 520px;
    }

    .subpage-hero {
        min-height: 460px;
    }

    .filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .filter-button {
        flex: 0 0 auto;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }
}
