:root {
    --navy: #0b1628;
    --navy-light: #142942;
    --blue: #236bc4;
    --accent: #64b5f6;
    --white: #ffffff;
    --gray: #f2f5f9;
    --text: #344256;
    --muted: #64748b;
    --border: #dce3eb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
}

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

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

.container {
    width: min(1200px, 91%);
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid #25374e;
}

.navigation {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: white;
}

.logo {
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--accent);
    border-right: 2px solid var(--accent);
    padding-right: 12px;
    line-height: 1.3;
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}

.brand-name small {
    display: block;
    font-size: 8px;
    color: #a8bdd6;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: #d2dce9;
}

nav a:hover {
    color: var(--accent);
}

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    color: white;
    background:
        radial-gradient(
            ellipse at 90% 50%,
            #244d79 0%,
            transparent 55%
        ),
        linear-gradient(
            120deg,
            #091321,
            #142b45
        );
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(
            #ffffff08 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            #ffffff08 1px,
            transparent 1px
        );
    background-size: 65px 65px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 95px 0;
}

.eyebrow {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2.5px;
    color: var(--blue);
    margin-bottom: 18px;
}

.hero .eyebrow,
.dark .eyebrow,
.contact .eyebrow,
.mission .eyebrow {
    color: var(--accent);
}

h1, h2, h3, h4 {
    line-height: 1.25;
    margin-top: 0;
    color: var(--navy);
}

h1 {
    font-size: clamp(50px, 7.5vw, 90px);
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 25px;
    color: white;
}

h1 span {
    color: var(--accent);
}

h2 {
    font-size: clamp(30px, 4vw, 43px);
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

h3 {
    font-size: 23px;
}

.hero p {
    font-size: 21px;
    color: #b9cce2;
    max-width: 650px;
}

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.button {
    display: inline-block;
    padding: 13px 27px;
    border-radius: 5px;
    font-weight: 650;
    font-size: 15px;
    transition: background .2s, transform .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.primary {
    background: var(--blue);
    color: white;
}

.primary:hover {
    background: #18569f;
}

.secondary {
    border: 1px solid #7e9cbd;
    color: white;
}

.secondary:hover {
    background: #ffffff12;
}

.metrics {
    background: #142942;
    border-top: 1px solid #29415c;
    color: white;
    padding: 30px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.metrics-grid div {
    padding: 12px 20px;
    text-align: center;
    border-right: 1px solid #344a63;
}

.metrics-grid div:last-child {
    border: 0;
}

.metrics strong {
    display: block;
    color: var(--accent);
    font-size: 26px;
    line-height: 1.5;
}

.metrics span {
    font-size: 13px;
    color: #c6d3e3;
}

.section {
    padding: 95px 0;
}

.light {
    background: white;
}

.gray {
    background: var(--gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 65px;
    align-items: center;
}

.lead {
    font-size: 20px;
    color: #334b65;
}

.mission {
    padding: 40px;
    background: var(--navy-light);
    color: #d4dfed;
    border-radius: 10px;
    border-top: 4px solid var(--blue);
}

.mission h3 {
    font-size: 29px;
    color: white;
}

.mission h4 {
    color: white;
    margin: 22px 0 10px;
}

.mission hr {
    border: 0;
    border-top: 1px solid #3a506a;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 5px 0;
}

.check-list li::before {
    content: "\2713";
    color: var(--accent);
    margin-right: 12px;
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-heading p {
    font-size: 18px;
    color: var(--muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: white;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 15px #12253b08;
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px #12253b14;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #e9f2ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 800;
    border-radius: 7px;
    margin-bottom: 23px;
}

.card h3 {
    margin-bottom: 15px;
}

.card ul {
    margin: 20px 0 0;
    padding-left: 18px;
    font-size: 14px;
    color: var(--muted);
}

.card li {
    margin: 7px 0;
}

.card li::marker {
    color: var(--blue);
}

.dark {
    background: var(--navy);
    color: #c5d3e4;
}

.dark h2,
.dark h3 {
    color: white;
}

.dark .section-heading p {
    color: #b0c1d6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.expertise-card {
    background: #13243b;
    border: 1px solid #2b405b;
    padding: 30px;
    border-radius: 8px;
}

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

.tags span {
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #3c5879;
    border-radius: 4px;
    background: #1a3453;
    color: #c9def5;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    text-align: center;
}

.step {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-size: 20px;
    font-weight: 750;
}

.process-grid p {
    color: var(--muted);
    font-size: 14px;
}

.status {
    display: inline-block;
    color: #215c9f;
    background: #e8f1fb;
    padding: 4px 10px;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 22px;
}

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

.contact {
    text-align: center;
    background: linear-gradient(
        120deg,
        #10243d,
        #1d436c
    );
    color: #c9d9ec;
}

.contact h2 {
    color: white;
}

.contact-box {
    max-width: 600px;
    margin: 35px auto 0;
    padding: 30px;
    border: 1px solid #567798;
    background: #ffffff08;
    border-radius: 8px;
}

.contact-box h3 {
    color: white;
}

.contact-box p {
    margin: 8px 0;
}

footer {
    background: #080f1c;
    color: #aab8ca;
    padding: 45px 0 20px;
    font-size: 13px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

.copyright {
    padding-top: 22px;
    border-top: 1px solid #28364a;
}

@media (max-width: 1000px) {
    .navigation {
        flex-direction: column;
        padding: 20px 0;
        gap: 18px;
    }

    nav {
        justify-content: center;
        gap: 18px;
    }

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

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

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    html {
        scroll-padding-top: 150px;
    }
}

@media (max-width: 650px) {
    .header {
        position: static;
    }

    html {
        scroll-padding-top: 20px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 60px 0;
    }

    h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 18px;
    }

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

    .metrics-grid div:nth-child(2) {
        border: 0;
    }

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

    .section {
        padding: 60px 0;
    }

    .card-grid,
    .expertise-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .mission,
    .card,
    .expertise-card {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    * {
        transition: none !important;
    }
}
