:root {
    color-scheme: light;
    --mp-blue: #0056c9;
    --mp-navy: #002a55;
    --mp-deep: #001d3d;
    --mp-ink: #061a3d;
    --mp-text: #17213a;
    --mp-muted: #5a6680;
    --mp-line: #dce4f0;
    --mp-soft: #f4f7fb;
    --mp-card: #ffffff;
    --mp-shadow: 0 8px 20px rgba(0, 31, 76, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--mp-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 42, 85, 0.08);
    box-shadow: 0 3px 14px rgba(0, 20, 44, 0.06);
}

.nav {
    width: min(1350px, calc(100% - 58px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.brand img {
    display: block;
    width: 266px;
    max-width: 28vw;
    height: auto;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 35px;
    color: #071944;
    font-size: 15px;
    font-weight: 800;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.nav-links a.active {
    color: var(--mp-blue);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--mp-blue);
    transform: translateX(-50%);
}

/* Desktop uses the inline navigation; the compact menu exists only on mobile. */
.hamburger,
.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    min-height: clamp(560px, 72vh, 780px);
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    width: min(1350px, calc(100% - 58px));
    margin: 0 auto;
    padding: 82px 0 94px;
    color: #ffffff;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
    overflow-wrap: anywhere;
}

.hero p {
    max-width: 610px;
    margin: 18px 0 0;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.45;
    font-weight: 700;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.btn,
button {
    min-width: 190px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 4px;
    padding: 0 22px;
    background: var(--mp-blue);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    box-shadow: 0 5px 12px rgba(0, 86, 201, 0.28);
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: none;
}

.slider-dots {
    position: absolute;
    right: 42px;
    top: 50%;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}

.slider-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
}

.slider-dots span:first-child {
    background: var(--mp-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 201, 0.2);
}

.wrap {
    width: min(1350px, calc(100% - 58px));
    margin: 0 auto;
}

.metrics {
    position: relative;
    z-index: 3;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 5px;
    background: linear-gradient(135deg, #00366f, #001f43);
    box-shadow: var(--mp-shadow);
}

.metric {
    min-height: 104px;
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.metric:last-child {
    border-right: 0;
}

.icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 3px solid var(--mp-blue);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eyebrow {
    display: block;
    color: var(--mp-blue);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.metric .eyebrow {
    color: rgba(255, 255, 255, 0.84);
    font-size: 11px;
}

.metric strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 27px;
    line-height: 1;
}

.metric p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.section {
    padding: 30px 0 0;
}

.split {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 28px;
    align-items: start;
}

h2 {
    margin: 7px 0 0;
    color: var(--mp-ink);
    font-size: 31px;
    line-height: 1.05;
    font-weight: 900;
}

.copy {
    margin: 13px 0 0;
    color: #101b36;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
}

.wide-image {
    width: 100%;
    height: 124px;
    display: block;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: var(--mp-shadow);
}

.operation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.image-card,
.white-card,
.news-card,
.contact-card,
.journey-step {
    border: 1px solid var(--mp-line);
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 23, 58, 0.08);
}

.image-card {
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: 102px;
    display: block;
    object-fit: cover;
}

.image-card-body {
    position: relative;
    min-height: 72px;
    padding: 12px 16px 14px;
}

.image-card h3,
.white-card h3,
.news-card h3 {
    margin: 0;
    color: #071944;
    font-size: 16px;
    line-height: 1.08;
    font-weight: 900;
}

.image-card p,
.white-card p,
.news-card p {
    margin: 7px 0 0;
    color: #1f2c48;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.arrow {
    color: var(--mp-blue);
    font-size: 20px;
    font-weight: 900;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.promo {
    min-height: 128px;
    padding: 16px 24px;
    border-radius: 5px;
    overflow: hidden;
    background: #eef6f2;
    color: #092033;
    box-shadow: var(--mp-shadow);
}

.promo h3 {
    max-width: 390px;
    margin: 3px 0 8px;
    color: #071944;
    font-size: 23px;
    line-height: 1.02;
    font-weight: 900;
}

.link {
    color: var(--mp-blue);
    font-size: 13px;
    font-weight: 900;
}

.news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.news-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 118px;
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card div {
    padding: 10px 14px;
}

.meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--mp-blue);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer {
    margin-top: 20px;
    background: linear-gradient(135deg, #003a78, #001d3d);
    color: #ffffff;
}

.footer-inner {
    width: min(1350px, calc(100% - 58px));
    min-height: 116px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px repeat(6, 1fr) 180px;
    gap: 22px;
    align-items: start;
    padding: 20px 0 14px;
}

.footer-logo {
    width: 210px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.socials {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    font-weight: 900;
}

.footer h4 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
}

.footer p,
.footer li {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.footer ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    width: min(1350px, calc(100% - 58px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.white-card {
    min-height: 82px;
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 12px;
    padding: 15px;
}

.journey {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.journey-step {
    min-height: 70px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns: 44px 1fr 20px;
    align-items: center;
    gap: 10px;
}

.journey-step strong {
    color: #061a3d;
    font-size: 14px;
}

.journey-step span {
    color: #273552;
    font-size: 12px;
    font-weight: 700;
}

.band {
    margin-top: 12px;
    padding: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #003a78, #001d3d);
    color: #ffffff;
}

.band h2,
.band .eyebrow {
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.contact-card {
    padding: 16px 22px;
}

.contact-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin-top: 12px;
}

label {
    display: block;
}

input,
select,
textarea {
    width: 100%;
    min-height: 32px;
    border: 1px solid #cfd8e6;
    border-radius: 3px;
    padding: 7px 12px;
    color: var(--mp-text);
    font: 13px Arial, Helvetica, sans-serif;
    font-weight: 700;
}

textarea {
    min-height: 74px;
    resize: vertical;
}

.wide {
    grid-column: 1 / -1;
}

.message {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #b7d8c2;
    border-radius: 5px;
    background: #ecfdf3;
    color: #086034;
    font-weight: 900;
}

@media (max-width: 1040px) {
    .nav {
        height: auto;
        min-height: 84px;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .brand img {
        max-width: 260px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .metrics,
    .operation-grid,
    .promo-grid,
    .news-grid,
    .content-grid,
    .journey,
    .contact-strip,
    .contact-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .metrics {
        margin-top: 18px;
        border-radius: 0;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .news-card {
        grid-template-columns: 120px 1fr;
    }

    .footer-inner {
        gap: 16px;
    }
}

@media (max-width: 720px) {
    .nav,
    .hero-content,
    .wrap,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 28px, 1350px);
    }

    .site-header {
        background: rgba(255,255,255,0.99);
        border-bottom: 1px solid rgba(0,42,85,0.06);
        box-shadow: 0 1px 3px rgba(0,20,44,.05);
    }

    .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 62px;
        padding: 10px 0;
    }

    .brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .brand img {
        width: min(160px, 42vw);
        max-width: none;
    }

    .nav-links {
        width: 100%;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .hamburger {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .mobile-nav {
        display: grid;
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        padding: 10px 14px 14px;
        background: #fff;
        border-top: 1px solid var(--mp-line);
        box-shadow: 0 12px 22px rgba(0, 31, 76, .12);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .mobile-nav.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 10px;
        border-radius: 6px;
        color: var(--mp-navy);
        font-weight: 800;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        background: var(--mp-soft);
        outline: none;
    }

    .nav-links a {
        min-height: 38px;
        padding: 0 4px;
    }

    .hero {
        min-height: auto;
        align-items: start;
    }

    .hero-content {
        padding: 72px 0 108px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 38px;
        line-height: 1.08;
    }

    .hero p {
        max-width: 100%;
        font-size: 16px;
    }

    .hero-actions,
    .actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn,
    button {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 0 14px;
    }

    .slider-dots {
        right: auto;
        top: auto;
        left: 50%;
        bottom: 28px;
        display: flex;
        transform: translateX(-50%);
    }

    .metric,
    .white-card,
    .journey-step {
        grid-template-columns: 54px 1fr;
    }

    .metric {
        min-height: 112px;
        padding: 16px;
    }

    .icon {
        width: 46px;
        height: 46px;
    }

    .news-head,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card img {
        height: 180px;
    }

    .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card p strong,
    .contact-card p span {
        float: none !important;
        display: block;
        margin-top: 4px;
        overflow-wrap: anywhere;
    }
}
