:root {
    --navy: #07172d;
    --navy2: #0c2343;
    --gold: #c89b3c;
    --gold2: #e0bb66;
    --ink: #18202b;
    --muted: #6e7781;
    --line: #e7e9ed;
    --shadow: 0 16px 50px rgba(3, 20, 44, .10)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55
}

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

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 30;

    background: var(--navy);
    border-bottom: 1px solid rgba(224, 187, 102, .18);

    /* blur на сплошном фоне больше не нужен */
    backdrop-filter: none;
}


/* Header uses a wider container so the larger logo, navigation and CTA fit comfortably */
.header .container {
    width: min(1440px, calc(100% - 48px));
}

.header-inner {
    min-height: clamp(96px, 8vw, 132px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 2vw, 32px)
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: clamp(250px, 22vw, 350px);
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, .6vw, 10px);
    flex: 1 1 auto;
    min-width: 0;
}

.nav a {
    padding: 11px clamp(10px, 1vw, 15px);
    border-radius: 10px;
    font-size: clamp(14px, 1vw, 15px);

    color: #ffffff;
    white-space: nowrap;
    transition: .2s;
}

.nav a:hover {
    background: rgba(224, 187, 102, .12);
    color: var(--gold2);
}

.nav a.active {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: var(--navy);
}

.header-cta {
    padding: 12px 18px;

    border: 1px solid var(--gold2);
    color: var(--gold2);
    background: transparent;

    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    border-color: var(--gold);
    color: var(--navy);

    box-shadow: 0 8px 20px rgba(194, 143, 44, .22);
    transform: translateY(-1px);
}

.header-contact {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-phone {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    color: var(--gold2);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;

    transition: color .2s ease;
}

.header-phone:hover {
    color: var(--gold);
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: #ffffff;
    font-size: 28px;
}

.hero {
    background: #07172d;
    color: #fff;
    padding: 82px 0 64px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f0d28f;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 800
}

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

h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    margin: 18px 0 22px;
    letter-spacing: -.035em
}

.hero p {
    font-size: 18px;
    color: #d9e2ec;
    max-width: 650px;
    margin: 0 0 30px
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 800;
    transition: .2s;
    border: 1px solid transparent;
    cursor: pointer
}

.btn.gold {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #1f2430
}

.btn.gold:hover {
    transform: translateY(-2px)
}

.btn.outline {
    border-color: rgba(255, 255, 255, .25);
    color: #fff
}

.hero-card {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    overflow: visible;
    width: 120%;
    max-width: none;
}

.hero-card img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

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

.stat {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .18)
}

.stat b {
    display: block;
    font-size: 23px
}

.stat span {
    font-size: 13px;
    color: #b7c4d2
}

.section {
    padding: 76px 0
}

.section.soft {
    background: #f7f8fa
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 34px
}

.section-head h2 {
    font-size: 36px;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.02em
}

.section-head p {
    max-width: 560px;
    margin: 0;
    color: var(--muted)
}

.kicker {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 10px
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 26px rgba(17, 35, 60, .04);
    transition: .2s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.card .num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f4ead3;
    color: #8b651d;
    font-weight: 900;
    margin-bottom: 18px
}

.card h3 {
    margin: 0 0 10px;
    font-size: 20px
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px
}

.trust-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center
}

.trust-panel {
    background: linear-gradient(160deg, #0c2343, #07172d);
    border-radius: 24px;
    padding: 36px;
    color: #fff;
    box-shadow: var(--shadow)
}

.trust-panel h3 {
    font-size: 30px;
    margin: 0 0 12px
}

.trust-panel p {
    color: #c5d0dc
}

.checklist {
    display: grid;
    gap: 13px;
    margin-top: 24px
}

.check {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.check i {
    width: 24px;
    height: 24px;
    flex: none;
    border-radius: 50%;
    background: #d6b15a;
    color: #0a1730;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 900
}

.check span {
    color: #dbe3ec
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px
}

.news {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px
}

.news time {
    font-size: 13px;
    color: var(--muted)
}

.news h3 {
    font-size: 18px;
    margin: 10px 0
}

.news a {
    color: var(--navy);
    font-weight: 800
}

.footer {
    background: #04101f;
    color: #d7dee7;
    padding: 44px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 40px
}

.footer img {
    width: 210px
}

.footer h4 {
    color: #fff;
    margin: 0 0 14px
}

.footer p,
.footer a {
    color: #aeb9c6;
    font-size: 14px
}

.footer-links {
    display: grid;
    gap: 9px
}

.copyright {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: #7f8b99
}

.page-hero {
    padding: 55px 0;
    background: linear-gradient(120deg, #06162b, #0f2f58);
    color: #fff
}

.page-hero h1 {
    font-size: 46px;
    margin: 8px 0 10px
}

.breadcrumbs {
    font-size: 13px;
    color: #b7c6d7
}

.breadcrumbs a {
    color: #e1bf73
}

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

.service-card {
    padding: 26px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f6e9c8, #d8ad52);
    display: grid;
    place-items: center;
    color: #0c2343;
    font-size: 23px;
    font-weight: 900;
    margin-bottom: 20px
}

.service-card h3 {
    margin: 0 0 9px
}

.service-card p {
    color: var(--muted);
    margin: 0 0 16px
}

.more {
    font-weight: 800;
    color: #9a711f
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px
}

.contact-info {
    background: var(--navy);
    color: #fff;
    border-radius: 20px;
    padding: 30px
}

.contact-item {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.contact-item:last-child {
    border: 0
}

.contact-item small {
    display: block;
    color: #8fa1b7;
    margin-bottom: 4px
}

.form {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    background: #fff
}

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

.field {
    display: grid;
    gap: 7px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 13px;
    font-weight: 700
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #d8dde5;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit
}

.field textarea {
    min-height: 130px;
    resize: vertical
}

.map {
    margin-top: 30px;
    width: 100%;
    height: 420px;

    border-radius: 20px;
    overflow: hidden;

    border: 1px solid var(--line);
    background: #eef3f7;
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map strong {
    font-size: 22px;
    color: var(--navy)
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px
}

.filter {
    padding: 9px 14px;
    border-radius: 99px;
    border: 1px solid #dfe3e8;
    background: #fff;
    cursor: pointer
}

.filter.active {
    background: var(--navy);
    color: #fff
}

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

.client-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    font-weight: 800;
    color: #314158
}


/* ===== MOBILE / TABLET ===== */
@media (max-width: 900px) {
    .header {
        position: relative;
    }

    .header .container {
        width: min(100% - 32px, 1180px);
    }

    .header-inner {
        position: relative;
        min-height: 88px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .brand {
        flex: 0 0 auto;
        width: clamp(200px, 42vw, 280px);
    }

    .brand img {
        width: 100%;
        height: auto;
        max-height: 78px;
    }

    .nav {
        display: none !important;
        position: absolute;
        top: calc(100% + 1px);
        left: 14px;
        right: 14px;
        z-index: 1000;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 6px;
        padding: 12px;

        background: var(--navy);
        border: 1px solid rgba(224, 187, 102, .25);
        border-radius: 14px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    }

    .nav.nav-open {
        display: flex !important;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 12px 14px;

        color: #fff;
        background: transparent;

        border-radius: 10px;
        font-size: 15px;
        text-align: left;
        white-space: normal;
    }

    .nav a:hover {
        color: var(--gold2);
        background: rgba(224, 187, 102, .10);
    }

    .nav a.active {
        color: var(--navy);
        background: linear-gradient(135deg, var(--gold2), var(--gold));
    }

    .header-contact {
        display: none !important;
    }

    .menu-btn {
        display: block !important;
        flex-shrink: 0;
        margin-left: auto;
        padding: 8px;

        border: 0;
        background: transparent;

        color: #fff;
        font-size: 27px;
        line-height: 1;
        cursor: pointer;
    }

    .hero-grid,
    .trust-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        margin-top: 24px;
    }

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

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

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

    .header .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 76px;
        gap: 12px;
    }

    .brand {
        width: clamp(170px, 56vw, 220px);
    }

    .brand img {
        width: 100%;
        height: auto;
        max-height: 64px;
    }

    .nav {
        left: 12px;
        right: 12px;
        padding: 10px;
    }

    .nav a {
        padding: 11px 12px;
        font-size: 15px;
    }

    .hero {
        padding: 46px 0;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

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

    .cards,
    .service-grid,
    .client-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

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

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

    .section {
        padding: 54px 0;
    }

    .map {
        height: 320px;
    }
}

.form-input {
    width: 100%;
    border: 1px solid #d8dde5;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, .12);
}

textarea.form-input {
    min-height: 130px;
    resize: vertical;
}

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

.form-message {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.form-message.success {
    background: #edf8f0;
    color: #266b3a;
    border: 1px solid #bfe0c7;
}

/* Consultation button hover */
.header-cta {
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease
}

.header-cta:hover,
.header-cta:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(194, 143, 44, .22);
    transform: translateY(-1px)
}

.map {
        height: 320px;
    }