* {
    box-sizing: border-box;
}

:root {
    --navy: #10233f;
    --blue: #2878d4;
    --light-blue: #eaf3ff;
    --background: #f6f8fb;
    --white: #ffffff;
    --text: #243247;
    --muted: #68778d;
    --border: #dce4ee;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

.site {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    padding: 30px 22px;
    background: var(--navy);
    color: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 55px;
}

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--blue);
    font-weight: 800;
    letter-spacing: -1px;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 18px;
}

.brand span {
    margin-top: 2px;
    color: #aebbd0;
    font-size: 11px;
}

nav {
    display: grid;
    gap: 8px;
}

nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: #cbd6e6;
    text-decoration: none;
    font-weight: 700;
}

nav a:hover,
nav a.active {
    color: var(--white);
    background: #1c385f;
}

.sidebar-contact {
    margin-top: auto;
    padding-top: 30px;
    color: #aebbd0;
    font-size: 13px;
}

.sidebar-contact p {
    margin: 0 0 5px;
}

.sidebar-contact a {
    color: #ffffff;
    text-decoration: none;
}

.content {
    width: calc(100% - 250px);
}

.hero {
    min-height: 570px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 35px;
    padding: 70px 8%;
    background: var(--white);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

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

.hero h1 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--blue);
}

.intro {
    max-width: 570px;
    color: var(--muted);
    font-size: 17px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

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

.button.primary:hover {
    background: #1f65b5;
}

.button.secondary {
    color: var(--navy);
    border: 1px solid var(--border);
    background: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: min(100%, 430px);
    height: auto;
}

.section {
    padding: 75px 8%;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 35px;
}

.section-heading h2,
.contact-box h2 {
    margin-bottom: 0;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.15;
}

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

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 8px;
    color: var(--blue);
    background: var(--light-blue);
    font-size: 13px;
    font-weight: 800;
}

.card h3 {
    color: var(--navy);
    font-size: 20px;
}

.card p,
.service p,
.page-header p,
.contact-box p {
    color: var(--muted);
}

.page-header {
    padding: 80px 8% 55px;
    background: var(--white);
}

.page-header h1 {
    max-width: 800px;
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.page-header > p:last-child {
    max-width: 680px;
}

.services {
    padding: 15px 8% 60px;
}

.service {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.service-number {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.service h2 {
    margin-bottom: 8px;
    color: var(--navy);
}

.service p {
    max-width: 720px;
    margin-bottom: 0;
}

.contact-box {
    margin: 0 8% 70px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 12px;
    background: var(--navy);
}

.contact-box h2 {
    color: var(--white);
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 25px;
    padding: 30px 8%;
    border-top: 1px solid var(--border);
    background: var(--white);
    color: var(--muted);
    font-size: 13px;
}

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

.footer p {
    margin: 0;
}

.footer a {
    color: var(--blue);
    text-decoration: none;
}

.copyright {
    text-align: right;
}

@media (max-width: 900px) {
    .site {
        display: block;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        position: static;
        padding: 18px 6%;
    }

    .brand {
        margin-bottom: 18px;
    }

    nav {
        display: flex;
    }

    nav a {
        padding: 9px 12px;
    }

    .sidebar-contact {
        display: none;
    }

    .content {
        width: 100%;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 55px 7%;
    }

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

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

    .copyright {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .hero h1,
    .page-header h1 {
        font-size: 40px;
    }

    .service {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-box {
        display: block;
    }

    .contact-box .button {
        margin-top: 15px;
    }
}
