:root {
    --blue-900: #102a4c;
    --blue-800: #123f7a;
    --blue-700: #185aa6;
    --gold: #d6a829;
    --gold-soft: #fff4cc;
    --graphite: #1d2733;
    --muted: #637083;
    --line: #dfe6ef;
    --bg: #f6f8fb;
    --white: #ffffff;
    --green: #1f7a5b;
    --shadow: 0 18px 55px rgba(16, 42, 76, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(223, 230, 239, .9);
    backdrop-filter: blur(16px);
}

.topline {
    background: var(--blue-900);
    color: var(--white);
    font-size: 13px;
}

.topline__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: var(--blue-900);
}

.brand__logo {
    width: 212px;
    height: auto;
}

.brand__logo--footer {
    width: 220px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--white);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-weight: 700;
    color: #26364a;
}

.nav a {
    transition: color .2s ease;
}

.nav a:hover {
    color: var(--blue-700);
}

.nav__item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    display: grid;
    width: 360px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translate(-50%, 12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.dropdown a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.dropdown a:hover {
    background: var(--bg);
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 6px);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.phone-link {
    font-weight: 800;
    color: var(--blue-900);
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--blue-800);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(18, 63, 122, .2);
}

.btn--primary:hover {
    background: var(--blue-700);
}

.btn--light {
    background: rgba(255, 255, 255, .9);
    color: var(--blue-900);
    border-color: rgba(255, 255, 255, .55);
}

.btn--wide {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--blue-900);
}

.hero {
    position: relative;
    min-height: 670px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 42, 76, .92) 0%, rgba(16, 42, 76, .72) 38%, rgba(16, 42, 76, .12) 76%);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    padding: 86px 0 118px;
}

.hero h1 {
    max-width: 780px;
    margin: 14px 0 18px;
    font-size: clamp(40px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero p {
    max-width: 660px;
    font-size: 20px;
    color: rgba(255, 255, 255, .88);
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.section {
    padding: 88px 0;
}

.section--tight {
    padding: 0 0 70px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.section--muted {
    background: var(--bg);
}

.section--split {
    background: var(--white);
}

.section--contact {
    background: linear-gradient(135deg, #eef4fb 0%, #ffffff 52%, #fff7dd 100%);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2,
.split h2,
.page-hero h1,
.text-block h2,
.contact-list h2 {
    margin: 10px 0 12px;
    color: var(--blue-900);
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.15;
    letter-spacing: 0;
}

.section-head p,
.page-hero p,
.split p,
.text-block p {
    color: var(--muted);
    font-size: 17px;
}

.priority-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -58px;
}

.priority-card,
.service-card,
.process-step,
.advantage-item,
.info-panel,
.side-note,
.lead-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(16, 42, 76, .08);
}

.priority-card {
    min-height: 220px;
    padding: 26px;
}

.priority-card span {
    color: var(--gold);
    font-weight: 800;
}

.priority-card h2,
.service-card h3,
.service-card h2 {
    margin: 16px 0 10px;
    color: var(--blue-900);
    font-size: 24px;
    line-height: 1.2;
}

.priority-card p,
.service-card p,
.process-step p,
.side-note p,
.info-panel p {
    color: var(--muted);
}

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

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

.service-card {
    min-height: 230px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.service-card span {
    margin-top: auto;
    color: var(--blue-700);
    font-weight: 800;
}

.split,
.contact-layout,
.content-grid,
.page-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split--reverse {
    grid-template-columns: .95fr 1fr;
}

.split__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.metric-row div {
    border-left: 3px solid var(--gold);
    padding-left: 14px;
}

.metric-row strong {
    display: block;
    color: var(--blue-800);
    font-size: 30px;
    line-height: 1;
}

.metric-row span {
    color: var(--muted);
    font-size: 14px;
}

.advantage-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.advantage-item {
    min-height: 150px;
    padding: 20px;
}

.advantage-item span {
    display: block;
    width: 34px;
    height: 6px;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    border-radius: 999px;
}

.advantage-item p {
    margin: 0;
    font-weight: 800;
    color: var(--blue-900);
}

.process-step {
    min-height: 230px;
    padding: 24px;
}

.process-step span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: #9a6d00;
    font-weight: 800;
}

.process-step h3 {
    margin: 20px 0 8px;
    color: var(--blue-900);
}

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

.city-cloud a {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--blue-900);
    font-weight: 700;
}

.page-hero {
    padding: 76px 0 58px;
    background: linear-gradient(135deg, #edf4fb 0%, #ffffff 56%, #fff4cf 100%);
}

.page-hero h1 {
    max-width: 900px;
}

.page-hero p {
    max-width: 760px;
}

.info-panel {
    padding: 28px;
}

.info-panel h2 {
    margin: 0 0 16px;
    color: var(--blue-900);
}

.info-panel p {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.info-panel p:last-child {
    border-bottom: 0;
}

.text-block {
    max-width: 760px;
}

.text-block--wide {
    max-width: 880px;
}

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

.check-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    color: var(--muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    transform: rotate(-45deg);
}

.side-note {
    align-self: start;
    padding: 26px;
}

.side-note h3 {
    margin: 0 0 8px;
    color: var(--blue-900);
}

.side-note a {
    color: var(--blue-700);
    font-weight: 800;
}

.lead-form {
    padding: 28px;
}

.form-head h2 {
    margin: 10px 0 8px;
    color: var(--blue-900);
}

.form-head p {
    color: var(--muted);
}

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

.lead-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--blue-900);
    font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--graphite);
    background: var(--white);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: 3px solid rgba(24, 90, 166, .15);
    border-color: var(--blue-700);
}

.consent {
    grid-template-columns: auto 1fr !important;
    align-items: start;
    font-weight: 500 !important;
    color: var(--muted) !important;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.consent a {
    color: var(--blue-700);
    font-weight: 800;
}

.field-error,
.lead-form small {
    color: #b42318;
    font-weight: 700;
}

.form-message {
    margin: 16px 0;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-message--success {
    color: var(--green);
    background: #e8f6f0;
}

.form-message--error {
    color: #b42318;
    background: #fff0ed;
}

.contact-list p {
    display: grid;
    gap: 4px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list span {
    color: var(--muted);
}

.contact-list a {
    color: var(--blue-800);
    font-size: 22px;
    font-weight: 800;
}

.requisites {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.requisite-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.requisite-row:last-child {
    border-bottom: 0;
}

.requisite-row span {
    color: var(--muted);
}

.footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, .78);
    padding: 54px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.footer a,
.footer span {
    display: block;
    margin: 8px 0;
}

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

.footer__bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

@media (max-width: 1040px) {
    .header__inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav,
    .header__actions {
        display: none;
    }

    .nav.is-open,
    .header__actions.is-open {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        gap: 12px;
        padding-bottom: 16px;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        margin-top: 8px;
    }

    .priority-grid,
    .service-grid,
    .advantage-grid,
    .process-grid,
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .split--reverse,
    .contact-layout,
    .content-grid,
    .page-hero__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .topline__inner {
        display: grid;
    }

    .hero {
        min-height: 620px;
    }

    .hero__media::after {
        background: linear-gradient(90deg, rgba(16, 42, 76, .92), rgba(16, 42, 76, .72));
    }

    .hero h1 {
        font-size: 36px;
    }

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

    .section {
        padding: 62px 0;
    }

    .page-hero {
        padding: 62px 0 48px;
    }

    .priority-grid,
    .service-grid,
    .service-grid--large,
    .advantage-grid,
    .process-grid,
    .metric-row,
    .form-grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .priority-grid {
        margin-top: -36px;
    }

    .requisite-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .brand__text {
        font-size: 20px;
    }

    .brand__logo {
        width: 178px;
    }
}
