:root {
    --navy: #074c66;
    --navy-dark: #053c51;
    --orange: #f5b544;
    --blue: #2d74d0;
    --blue-light: #65b7ef;
    --background: #f7f9fa;
    --surface: #ffffff;
    --text: #173b49;
    --muted: #617a84;
    --line: #dce5e8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

.header,
.hero,
.services,
.about,
.footer {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.header {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo__image{
    height: 60px;
}

.logo__symbol {
    width: 54px;
    height: auto;
}

.logo__name {
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.header__contact {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
}

.header__contact:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    min-height: 610px;
    align-items: center;
    gap: 70px;
    padding: 40px 0 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 34px;
    height: 3px;
    background: var(--orange);
    content: "";
}

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

h1 {
    max-width: 780px;
    margin-bottom: 28px;
    color: var(--navy);
    font-size: clamp(3rem, 6.2vw, 5.9rem);
    font-weight: 750;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

h1 span {
    display: block;
    color: var(--orange);
}

.hero__intro {
    max-width: 670px;
    margin-bottom: 38px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 24px;
    border: 2px solid var(--navy);
    text-decoration: none;
    font-weight: 700;
    transition: 160ms ease;
}

.button--primary {
    color: #fff;
    background: var(--navy);
}

.button--primary:hover {
    border-color: var(--navy-dark);
    background: var(--navy-dark);
    transform: translateY(-2px);
}

.button--secondary {
    color: var(--navy);
    background: transparent;
}

.button--secondary:hover {
    color: #fff;
    background: var(--navy);
}

.hero__visual {
    position: relative;
    min-height: 470px;
}

.hero__visual::before {
    position: absolute;
    inset: 12% 6% 10% 9%;
    border: 1px solid rgba(7, 76, 102, 0.12);
    border-radius: 50%;
    content: "";
}

.shape {
    position: absolute;
    display: block;
    width: 74px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    box-shadow: 0 22px 40px rgba(21, 80, 184, 0.16);
    transform: rotate(24deg) skewY(-18deg);
}

.shape--one {
    top: 22px;
    left: 38%;
    height: 290px;
}

.shape--two {
    top: 105px;
    left: 17%;
    height: 275px;
    opacity: 0.82;
}

.shape--three {
    top: 145px;
    left: 47%;
    height: 300px;
}

.shape--four {
    top: 185px;
    right: 7%;
    height: 205px;
    width: 58px;
}

.shape--five {
    top: 235px;
    right: 0;
    height: 105px;
    width: 28px;
    opacity: 0.72;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service {
    min-height: 230px;
    padding: 42px 38px 38px 0;
}

.service + .service {
    padding-left: 38px;
    border-left: 1px solid var(--line);
}

.service__number {
    display: block;
    margin-bottom: 28px;
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.service h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 1.35rem;
}

.service p {
    margin-bottom: 0;
    color: var(--muted);
}

.about {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr auto;
    gap: 54px;
    align-items: start;
    padding: 64px 0;
}

.about__title {
    color: var(--navy);
    font-weight: 750;
}

.about__text {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.about__link {
    color: var(--navy);
    font-weight: 750;
    text-underline-offset: 5px;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 28px 0 36px;
    border-top: 8px solid var(--navy);
    color: var(--muted);
    font-size: 0.88rem;
}

.footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 20px;
        padding-top: 45px;
    }

    .hero__visual {
        min-height: 310px;
        max-width: 430px;
        width: 100%;
        margin-inline: auto;
        transform: scale(0.78);
        transform-origin: center;
    }

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

    .service,
    .service + .service {
        min-height: auto;
        padding: 32px 0;
        border-left: 0;
    }

    .service + .service {
        border-top: 1px solid var(--line);
    }

    .service__number {
        margin-bottom: 14px;
    }

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

@media (max-width: 600px) {
    .header,
    .hero,
    .services,
    .about,
    .footer {
        width: min(100% - 32px, 1180px);
    }

    .header {
        min-height: 88px;
    }

    .header__contact {
        display: none;
    }

    .hero {
        padding: 38px 0 55px;
    }

    h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 240px;
        margin-top: -20px;
        margin-bottom: -30px;
        transform: scale(0.58);
    }

    .footer {
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
