:root {
    --blue: #0a4f7a;
    --dark-blue: #063652;
    --gold: #e8b545;
    --light-grey: #d9dde2;
    --light-background: #f4f7f9;
    --white: #ffffff;
    --text: #25313c;
    --shadow: 0 14px 35px rgba(10, 79, 122, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--dark-blue);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid #e5eaee;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-mark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.logo-mark i {
    width: 13px;
    height: 24px;
    display: block;
    background: var(--gold);
    transform: skew(-18deg);
}

.logo-mark i:nth-child(2) {
    height: 29px;
    background: var(--blue);
}

.logo-mark i:nth-child(3) {
    height: 22px;
    background: #98aeba;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-menu a:hover {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    color: var(--blue);
    background: transparent;
    border: 0;
    font-size: 1.7rem;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    background: var(--dark-blue);
}

.button-gold {
    color: var(--dark-blue);
    background: var(--gold);
    border-color: var(--gold);
}

.button-outline {
    color: var(--white);
    background: transparent;
    border-color: var(--white);
}

.home-hero,
.page-hero {
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            rgba(6, 54, 82, 0.97),
            rgba(6, 54, 82, 0.78),
            rgba(6, 54, 82, 0.22)
        ),
        url("/assets/images/hero.jpg") center / cover no-repeat,
        var(--blue);
}

.home-hero {
    min-height: 610px;
    display: flex;
    align-items: center;
}

.page-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
}

.home-hero-content,
.page-hero-content {
    max-width: 720px;
    padding-block: 80px;
}

.home-hero h1,
.page-hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-description {
    max-width: 630px;
    font-size: 1.15rem;
}

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

.eyebrow {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.section {
    padding-block: 80px;
}

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

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

.statistics {
    padding-block: 50px;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: var(--white);
    background: var(--blue);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.statistics article {
    padding: 30px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.statistics article:last-child {
    border-right: 0;
}

.statistics strong {
    display: block;
    color: var(--gold);
    font-size: 2rem;
}

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

.card,
.form-panel,
.contact-panel {
    padding: 28px;
    background: var(--white);
    border: 1px solid #e3e8ec;
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 32px;
}

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

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    background: var(--white);
    border: 1px solid #cad4da;
    border-radius: 4px;
    font: inherit;
}

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

.contact-cta {
    padding-block: 50px;
    color: var(--white);
    background: linear-gradient(90deg, var(--dark-blue), var(--blue));
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.site-footer {
    padding: 55px 0 20px;
    color: #d7e4eb;
    background: #032c45;
}

.site-footer h3,
.site-footer h4 {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 35px;
}

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

.footer-grid li {
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 20px;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.86rem;
}

.narrow-content {
    max-width: 750px;
}

@media (max-width: 1050px) {
    .menu-toggle {
        display: block;
    }

    .main-menu {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 4%;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-menu.open {
        display: flex;
    }

    .header-button {
        display: none;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .statistics-grid,
    .card-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .statistics article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero {
        min-height: 530px;
    }
}
