:root {
    --navy-gradient: linear-gradient(182.54deg, #1f50e8 20.95%, #7996f0 134.42%);
    --navy: #22293b;
    --blue: #1f4cd1;
    --blue-dark: #153a9e;
    --blue-pale: #eef3ff;
    --blue-pale-2: #e3ebff;
    --line: #dce4f5;
    --text: #22293b;
    --muted: #5b6b8c;
    --white: #ffffff;
    --bg: #f6f8fc;
    --green: #1e9e5a;
    --green-pale: #e7f7ee;
    --amber: #b5790a;
    --amber-pale: #fff4e0;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 2px 10px rgba(20, 33, 61, 0.06);
    --shadow-md: 0 8px 28px rgba(20, 33, 61, 0.1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin:0;
    font-family:'Inter', system-ui, sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.55;
    font-size:16px;
}
h1,
h2,
h3,
h4 {
    font-family: "Manrope", "Inter", sans-serif;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.01em;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-pale);
    border: 1px solid var(--blue-pale-2);
    padding: 6px 12px;
    border-radius: 100px;
}
.section {
    padding: 64px 0;
}
.section-head {
    max-width: 680px;
    margin-bottom: 40px;
}
.section-head h2 {
    font-size: 30px;
    font-weight: 800;
    margin-top: 12px;
}
.section-head p {
    color: var(--muted);
    margin-top: 10px;
    font-size: 15.5px;
}

.topbar {
    background: var(--navy-gradient);
    color: #b9c6ea;
    font-size: 13px;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.topbar a {
    color: #dce6ff;
}
.topbar-links {
    display: flex;
    gap: 20px;
}

header.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    background: #ee2f53;
    padding: 21px 10px;
}
.brand .badge {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}
nav.main-nav {
    display: flex;
    gap: 28px;
}
nav.main-nav a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
nav.main-nav a:hover {
    color: var(--blue);
    border-color: var(--blue);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.phone-link {
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
}
.btn {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    padding: 11px 20px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(31, 76, 209, 0.28);
}
.btn-primary:hover {
    background: var(--blue-dark);
}
.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1.5px solid var(--blue-pale-2);
}

.hero {
    background: linear-gradient(180deg, var(--blue-pale) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    padding: 56px 0 0;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
}
.hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 16px;
}
.hero-sub {
    color: var(--muted);
    font-size: 16.5px;
    margin-top: 14px;
    max-width: 520px;
}
.hero-cta-row {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.tag {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 13px;
    border-radius: 100px;
}
.stat-card-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.stat-card .num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #ee2f53;
}
.stat-card .label {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 6px;
}
.stat-card.full {
    grid-column: 1 / -1;
    background: var(--navy-gradient);
    border: none;
}
.stat-card.full .num {
    color: #fff;
}
.stat-card.full .label {
    color: #b9c6ea;
}

.audience-strip {
    background: #fff;
    border-top: 1px solid var(--line);
}
.audience-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}
.audience-item {
    padding: 24px 22px 22px;
    border-right: 1px solid var(--line);
    font-size: 14px;
    text-align: left;
    line-height: 23px;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    letter-spacing: .01em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.audience-item:last-child {
    border-right: none;
}
.audience-item__card {
    position: relative;
    width: 100%;
    max-width: 240px;
}
.audience-item__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.audience-item__title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
}

.benefit-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.benefit-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow);
}
.benefit-card .icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 16px;
}
.benefit-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}
.benefit-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.benefit-card li {
    font-size: 14.5px;
    color: var(--text);
    padding: 9px 0 9px 22px;
    position: relative;
    border-top: 1px solid #f0f2f8;
}
.benefit-card li:first-child {
    border-top: none;
}
.benefit-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.dir-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.dir-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.15s,
        transform 0.15s;
}
.dir-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.dir-card .num {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    color: var(--blue-pale-2);
    font-size: 22px;
}
.dir-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
}
.dir-card .link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    margin-top: 12px;
    display: inline-block;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.article-thumb {
    height: 120px;
    background: linear-gradient(135deg, var(--blue-pale), var(--blue-pale-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.article-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-date {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 600;
}
.article-body h4 {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
}
.article-body .link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    margin-top: 12px;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.req-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.req-card .flag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 100px;
    background: var(--blue-pale);
    color: var(--blue);
    margin-bottom: 14px;
}
.req-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
}
.req-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: req;
}
.req-card ol li {
    counter-increment: req;
    font-size: 14.5px;
    padding: 10px 0 10px 34px;
    position: relative;
    border-top: 1px solid #f0f2f8;
}
.req-card ol li:first-child {
    border-top: none;
}
.req-card ol li::before {
    content: counter(req);
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--navy-gradient);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.req-note {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.steps {
    position: relative;
}
.step-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    margin-bottom: 0;
}
.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 0 0 6px var(--blue-pale);
    flex-shrink: 0;
}
.step-line {
    width: 2px;
    flex: 1;
    background: var(--line);
    margin-top: 6px;
}
.step-content {
    padding-bottom: 36px;
}
.step-content h4 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-content p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    max-width: 640px;
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tab-btn {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 18px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
}
.tab-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 28px;
    box-shadow: var(--shadow);
}
.guarantee-grid .g-item {
    font-size: 14.5px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f8;
    position: relative;
    padding-left: 22px;
}
.guarantee-grid .g-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 14px;
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
}

.bonus-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bonus-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.bonus-block h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.bonus-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 0;
    border-top: 1px solid #f0f2f8;
}
.bonus-row:first-of-type {
    border-top: none;
}
.bonus-row .amount {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    color: var(--blue);
    font-size: 16px;
    white-space: nowrap;
}
.bonus-row .desc {
    font-size: 13px;
    color: var(--muted);
    padding-right: 14px;
}
.bonus-highlight {
    background: var(--amber-pale);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 14px;
}
.bonus-highlight .amount {
    color: var(--amber);
    font-size: 19px;
}
.bonus-highlight .desc {
    color: #7a5306;
}

.review-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}
.review-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.review-card p {
    font-size: 13.5px;
    color: var(--text);
    margin: 0 0 14px;
}
.review-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
}
.faq-q .plus {
    font-size: 20px;
    color: var(--blue);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item.open .plus {
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.faq-a p {
    margin: 0;
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: var(--muted);
}

.cta-banner {
    background: var(--navy-gradient);
    border-radius: 20px;
    padding: 44px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    color: #fff;
}
.cta-banner h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}
.cta-banner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #b9c6ea;
    font-size: 14px;
}
.cta-banner li {
    padding: 3px 0;
}
.cta-banner .btn-primary {
    white-space: nowrap;
}

footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 40px 0 24px;
    margin-top: 16px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.footer-legal {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.7;
}
.footer-col h5 {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.footer-col a {
    display: block;
    font-size: 13.5px;
    color: var(--muted);
    padding: 5px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 12.5px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 900px) {
    nav.main-nav {
        display: none;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .audience-row {
        grid-template-columns: 1fr 1fr;
    }
    .audience-item {
        border-bottom: 1px solid var(--line);
    }
    .benefit-cols {
        grid-template-columns: 1fr;
    }
    .dir-grid {
        grid-template-columns: 1fr 1fr;
    }
    .article-grid {
        grid-template-columns: 1fr 1fr;
    }
    .req-grid {
        grid-template-columns: 1fr;
    }
    .guarantee-grid {
        grid-template-columns: 1fr;
        padding: 8px 22px;
    }
    .bonus-tabs {
        grid-template-columns: 1fr;
    }
    .review-track {
        grid-template-columns: 1fr 1fr;
    }
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.fon_banner{
    position: absolute;
    right: -50px;
    bottom: -20px;
    width: 550px;
    opacity: 0.4;
    pointer-events: none;
}

.btn.btn-primary.form{
    background: #fff;
    color: #000;
    box-shadow: none;
}

.brand-logo {
    height: 34px;
    width: auto;
}
.section--decor {
    position: relative;
    overflow: hidden;
}
.section--white {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.benefits-decor {
    position: absolute;
    left: -60px;
    bottom: -30px;
    width: 260px;
    opacity: 0.4;
    pointer-events: none;
}
.article-thumb {
    padding: 0;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.req-logo {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}
.review-card--img {
    padding: 10px;
}
.review-card--img img {
    width: 100%;
    border-radius: 8px;
}
.faq-list {
    max-width: 760px;
}
.bonus-highlight .bonus-row {
    border: none;
    padding: 0;
}
.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    padding: 10px;
    background: #ee2f53;
    box-sizing: content-box;
}

.hero > .container,
.section--decor > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .header-row { height: 64px; }
    .brand { padding: 15px 10px; }
    .hero h1 { font-size: 32px; }
    .fon_banner { width: 320px; opacity: 0.25; }
    .audience-item { padding: 20px 18px 18px; }
    .dir-grid, .review-track { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .section-head { margin-bottom: 28px; }
    .section-head h2 { font-size: 24px; }

    .topbar-text { display: none; }
    .topbar .container { justify-content: flex-end; height: 34px; }
    .topbar-links { gap: 16px; }

    .phone-link { display: none; }
    .header-actions .btn { padding: 10px 14px; font-size: 13.5px; }
    .brand-logo { height: 28px; }

    .hero { padding-top: 36px; }
    .hero h1 { font-size: 27px; }
    .hero-sub { font-size: 15.5px; }
    .hero-cta-row .btn { width: 100%; justify-content: center; }
    .hero-grid { gap: 32px; padding-bottom: 36px; }

    .stat-card-group { grid-template-columns: 1fr; gap: 10px; }
    .stat-card { padding: 18px; }

    .audience-row { grid-template-columns: 1fr 1fr; }
    .audience-item { padding: 16px 12px; font-size: 12px; line-height: 18px; }
    .audience-item__title { left: 10px; right: 10px; bottom: 12px; }

    .benefits-decor { width: 160px; opacity: 0.25; }
    .fon_banner { width: 220px; right: -60px; }

    .dir-grid, .review-track { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .article-thumb { height: 160px; }

    .req-card { padding: 22px; }
    .guarantee-grid { padding: 4px 18px; }

    .bonus-highlight .bonus-row { flex-direction: column; gap: 6px; }

    .cta-banner { padding: 28px 22px; border-radius: 16px; }
    .cta-banner .btn { width: 100%; justify-content: center; }

    .step-row { grid-template-columns: 48px 1fr; gap: 14px; }
    .step-dot { width: 38px; height: 38px; font-size: 15px; }
}

a.link:hover,
a.link:focus-visible {
    text-decoration: underline;
}

.audience-row {
    align-items: stretch;
}
.audience-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
@media (max-width: 900px) {
    .audience-item:nth-child(2n) { border-right: none; }
    .audience-item:nth-last-child(-n+2):nth-child(odd),
    .audience-item:last-child { border-bottom: none; }
}

nav.main-nav a.is-active {
    color: var(--blue);
    border-color: var(--blue);
}
.page-head {
    background: linear-gradient(180deg, var(--blue-pale) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    padding: 32px 0 40px;
}
.page-head h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 18px;
}
.page-head p {
    color: var(--muted);
    font-size: 15.5px;
    margin: 10px 0 0;
    max-width: 640px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}
.breadcrumbs a {
    color: var(--blue);
    font-weight: 600;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.section--tight {
    padding-top: 40px;
}
a.article-card {
    transition: box-shadow 0.15s, transform 0.15s;
}
a.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
a.article-card:hover .link,
a.article-card:focus-visible .link {
    text-decoration: underline;
}
.article-grid .article-card .article-thumb {
    height: 160px;
    overflow: hidden;
}
.article-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
}
.article-body .link {
    display: inline-block;
}
.section-more {
    margin-top: 28px;
}
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}
.page-num {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text);
}
a.page-num:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.page-num.is-current {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
a.page-num:focus-visible,
a.article-card:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .page-head { padding: 24px 0 28px; }
    .page-head h1 { font-size: 28px; }
    .section--tight { padding-top: 28px; }
    .pagination { margin-top: 28px; }
    .section-more .btn { width: 100%; justify-content: center; }
}

.post-container {
    max-width: 808px;
}
.post-head h1 {
    font-size: 34px;
    text-wrap: balance;
}
.post-meta {
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
}
.post-cover {
    margin: 32px 0 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 2 / 1;
    max-width: 100%;
}
.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-body {
    padding: 32px 0 64px;
    font-size: 17px;
    line-height: 1.7;
}
.post-body > * {
    margin: 0;
}
.post-body > * + * {
    margin-top: 18px;
}
.post-body h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 40px;
    scroll-margin-top: 96px;
}
.post-lead {
    font-size: 18.5px;
    color: var(--text);
}
.post-body a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-body ul {
    padding-left: 0;
    list-style: none;
}
.post-body li {
    position: relative;
    padding-left: 24px;
}
.post-body li + li {
    margin-top: 8px;
}
.post-body li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}
.post-cta {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--blue-pale);
    border: 1px solid var(--blue-pale-2);
    border-radius: var(--radius);
    font-size: 16px;
}
.post-cta p {
    margin: 0;
}
.post-cta a {
    font-weight: 700;
    white-space: nowrap;
}
.related .section-head {
    margin-bottom: 24px;
}
.article-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
    .article-grid--3 { grid-template-columns: 1fr 1fr; }
    .article-grid--3 .article-card:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
    .post-head h1 { font-size: 26px; }
    .post-cover { margin-top: 20px; }
    .post-body { padding: 24px 0 48px; font-size: 16px; }
    .post-lead { font-size: 17px; }
    .post-body h2 { font-size: 21px; margin-top: 32px; }
    .post-cta { padding: 16px 18px; font-size: 15px; }
    .article-grid--3 { grid-template-columns: 1fr; }
    .article-grid--3 .article-card:nth-child(3) { display: flex; }
}

.group-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 22px;
}
.prof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.prof-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s, transform 0.15s;
}
.prof-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.prof-card:hover .link,
.prof-card:focus-visible .link {
    text-decoration: underline;
}
.prof-card:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.prof-thumb {
    aspect-ratio: 4 / 3;
    background: var(--blue-pale);
    max-width: 100%;
}
.prof-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prof-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prof-body h3 {
    font-size: 17px;
    font-weight: 700;
}
.prof-body p {
    font-size: 14px;
    color: var(--muted);
    margin: 8px 0 0;
    flex: 1;
}
.prof-body .link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    margin-top: 14px;
}

.prof-hero {
    padding-bottom: 48px;
}
.prof-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-top: 18px;
}
.prof-hero h1 {
    margin-top: 0;
    font-size: 40px;
}
.prof-lead {
    color: var(--muted);
    font-size: 16.5px;
    margin: 14px 0 0;
    max-width: 520px;
}
.prof-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.prof-facts > div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.fact-num {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--blue);
    white-space: nowrap;
}
.fact-label {
    font-size: 12.5px;
    color: var(--muted);
}
.prof-hero-img {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    max-width: 100%;
}
.prof-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prof-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.prof-two-col > div {
    min-width: 0;
}
.prof-two-col .section-head {
    margin-bottom: 20px;
}
.fit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.fit-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 22px;
}
.fit-card h3 {
    font-size: 16.5px;
    font-weight: 700;
}
.fit-card p {
    margin: 8px 0 0;
    font-size: 14.5px;
    color: var(--muted);
}
.prof-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .prof-grid { grid-template-columns: repeat(3, 1fr); }
    .prof-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .prof-hero-img { max-width: 560px; }
    .prof-two-col { grid-template-columns: 1fr; gap: 40px; }
    .fit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .prof-grid, .prof-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .prof-body { padding: 12px 14px 14px; }
    .prof-body h3 { font-size: 15px; }
    .prof-body p { font-size: 13px; }
    .prof-hero h1 { font-size: 30px; }
    .prof-facts > div { flex: 1 1 calc(50% - 6px); }
    .group-title { font-size: 19px; }
}
@media (max-width: 380px) {
    .prof-grid, .prof-grid--3 { grid-template-columns: 1fr; }
}

.prof-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
    margin-top: 24px;
}
.prof-media {
    position: sticky;
    top: 100px;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 5;
    max-width: 100%;
}
.prof-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prof-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
}
.prof-content .prof-lead {
    margin-bottom: 22px;
}
.prof-text {
    padding: 8px 0 0;
}
.prof-text h2:first-child {
    margin-top: 32px;
}
@media (max-width: 900px) {
    .prof-layout { grid-template-columns: 1fr; gap: 24px; }
    .prof-media { position: static; aspect-ratio: 16 / 10; }
    .prof-content h1 { font-size: 32px; }
}
@media (max-width: 600px) {
    .prof-content h1 { font-size: 28px; }
    .prof-content .btn { width: 100%; justify-content: center; }
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.2s, opacity 0.2s;
}
.burger:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}
.mobile-nav a {
    padding: 14px 0;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid #f0f2f8;
}
.mobile-nav a.is-active {
    color: var(--blue);
}
.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 22px;
}
.mobile-phone {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--blue);
}
.mobile-menu-actions .btn {
    justify-content: center;
}
body.no-scroll {
    overflow: hidden;
}
@media (max-width: 900px) {
    .header-actions { gap: 10px; }
}
@media (max-width: 600px) {
    .header-row { gap: 12px; }
}
@media (max-width: 400px) {
    .header-cta { display: none; }
}
@media (min-width: 1200px) {
    .mobile-menu { display: none !important; }
}

nav.main-nav a,
.phone-link,
.header-actions .btn {
    white-space: nowrap;
}
@media (max-width: 1199px) {
    nav.main-nav { display: none; }
    .burger { display: inline-flex; }
    .mobile-menu { display: block; }
    .mobile-menu[hidden] { display: none; }
}

.stat-card .num {
    white-space: nowrap;
    font-size: clamp(18px, 1.75vw, 22px);
}
@media (max-width: 900px) {
    .stat-card .num { font-size: 22px; }
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}
.city-stats .stat-card .num {
    color: var(--blue);
}
.city-cta {
    margin-top: 24px;
}
.city-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3;
    column-gap: 32px;
}
.city-item {
    break-inside: avoid;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f8;
}
.city-item[hidden] {
    display: none;
}
.city-name {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--text);
}
.city-name:hover {
    color: var(--blue);
}
.city-item .link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    white-space: nowrap;
}
.show-more {
    margin-top: 24px;
}
.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 520px;
}
.price-table th,
.price-table td {
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f2f8;
    font-variant-numeric: tabular-nums;
}
.price-table thead th {
    font-family: "Manrope", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: var(--bg);
}
.price-table tbody th {
    font-weight: 600;
}
.price-table tbody th a {
    color: var(--blue);
}
.price-table tfoot th,
.price-table tfoot td {
    font-weight: 800;
    background: var(--blue-pale);
    border-bottom: 0;
}
.price-table tr[hidden] {
    display: none;
}
.wide-img {
    margin: 0 0 28px;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 21 / 8;
    max-width: 100%;
}
.wide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cond-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cond-col {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    min-width: 0;
}
.cond-col h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.cond-col ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text);
}
.cond-col li + li {
    margin-top: 6px;
}
.footnotes {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.svc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.15s, transform 0.15s;
}
.svc-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.svc-card .icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--blue-pale);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-card h3 {
    font-size: 16.5px;
}
.svc-price {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    color: var(--blue);
}
.note {
    font-size: 13.5px;
    color: var(--muted);
    margin: 16px 0 0;
}
.callout {
    margin-top: 16px;
}
.callout p {
    margin: 0;
    color: #7a5306;
    font-size: 14.5px;
}
.text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
}
.text-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.text-block {
    min-width: 0;
}
.text-block h3 {
    font-size: 17px;
}
.text-block p {
    margin: 8px 0 0;
    font-size: 14.5px;
    color: var(--muted);
}
.num-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ns;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.num-steps li {
    counter-increment: ns;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px 20px 20px 68px;
    position: relative;
    min-width: 0;
}
.num-steps li::before {
    content: counter(ns);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.num-steps h3 {
    font-size: 16px;
}
.num-steps p {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--muted);
}
.request-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.request-grid > * {
    min-width: 0;
}
.contacts-title {
    font-size: 17px;
    margin-bottom: 8px;
}
.lead-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lead-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 8px;
}
.lead-form input,
.lead-form textarea {
    font: inherit;
    font-size: 15px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    width: 100%;
}
.lead-form input:focus,
.lead-form textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 0;
    border-color: var(--blue);
    background: #fff;
}
.lead-form .is-invalid {
    border-color: #d93a3a;
}
.lead-form .btn {
    margin-top: 16px;
    justify-content: center;
}
.form-status {
    margin: 8px 0 0;
    font-size: 14px;
}
.form-status.is-error { color: #c62f2f; }
.form-status.is-ok { color: var(--green); }

@media (max-width: 1100px) {
    .city-stats, .svc-grid, .cond-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .city-list { columns: 2; }
    .text-grid, .num-steps { grid-template-columns: 1fr 1fr; }
    .request-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .city-list { columns: 1; }
    .city-stats { gap: 10px; }
    .city-stats .stat-card { padding: 16px; }
    .city-cta { width: 100%; justify-content: center; }
    .svc-grid { gap: 12px; }
    .svc-card { padding: 16px; }
    .cond-grid, .text-grid, .text-grid--2, .num-steps { grid-template-columns: 1fr; }
    .wide-img { aspect-ratio: 16 / 9; }
    .lead-form { padding: 20px; }
    .show-more { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
    .city-stats, .svc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .price-table { min-width: 0; font-size: 13px; }
    .price-table th, .price-table td { padding: 10px 8px; }
    .price-table th:first-child, .price-table td:first-child { padding-left: 14px; }
    .price-table thead th { font-size: 10.5px; letter-spacing: 0.02em; }
}
@media (max-width: 380px) {
    .price-table { font-size: 12.5px; }
    .price-table th, .price-table td { padding: 9px 5px; }
    .price-table th:first-child, .price-table td:first-child { padding-left: 10px; }
}

.price-table td {
    white-space: nowrap;
}
@media (max-width: 380px) {
    .price-table thead th { font-size: 9.5px; letter-spacing: 0; }
    .price-table th, .price-table td { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 380px) {
    .price-table th:last-child, .price-table td:last-child { padding-right: 10px; }
    .price-table th:first-child, .price-table td:first-child { padding-left: 8px; }
    .price-table tbody th { font-size: 12px; }
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
body.no-scroll {
    overflow: hidden;
}
.brand {
    display: inline-flex;
    align-items: center;
}
a.btn {
    text-decoration: none;
}
.btn-sm {
    padding: 9px 16px;
    font-size: 13.5px;
    align-self: flex-start;
    margin-top: auto;
}
.link-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--blue);
    cursor: pointer;
    text-decoration: underline;
}
.dir-card .link-button {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.dir-card .link-button:hover {
    text-decoration: underline;
}
.empty-text {
    color: var(--muted);
    font-size: 16px;
}
.hero-tags + .hero-cta-row {
    margin-top: 24px;
}
.page-head .hero-tags {
    margin-top: 18px;
}
.city-stats--3 {
    grid-template-columns: repeat(3, 1fr);
}
.prof-card--plain .prof-body {
    min-height: 140px;
}
.prof-card .btn-sm {
    margin-top: 14px;
}
.prof-layout--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
}
.price-total {
    font-weight: 800;
    color: var(--blue);
}
.cond-period {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--blue);
    margin-bottom: 8px;
}
.cond-period span {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}
.cond-col li.is-through {
    text-decoration: line-through;
    color: var(--muted);
}
.text-block ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 14.5px;
}
.text-block li + li {
    margin-top: 4px;
}
.req-value {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--blue);
    margin: 4px 0 10px;
}
.req-card p {
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
}
.callout--total {
    margin-top: 20px;
}
.callout--total p {
    margin-top: 8px;
}
.review-card--video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: #000;
}
.review-card--text {
    font-size: 14px;
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #fff;
    transition: background 0.15s;
}
.social:hover {
    background: var(--blue-dark);
}
.social__icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.footer-legal a {
    color: inherit;
}
.messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.messenger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9px;
    background: #fff;
    border: 1.5px solid var(--blue-pale-2);
    color: var(--blue);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14.5px;
}
.messenger:hover {
    border-color: var(--blue);
}
.messenger__icon {
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 50%;
    background: var(--blue);
    fill: currentColor;
}
.post-cta .link-button {
    font-weight: 600;
}
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14.5px;
}
.post-body th,
.post-body td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.alignleft {
    float: left;
    margin: 0 20px 12px 0;
}
.alignright {
    float: right;
    margin: 0 0 12px 20px;
}
.aligncenter {
    display: block;
    margin: 0 auto 16px;
}
.wp-caption-text {
    font-size: 13px;
    color: var(--muted);
}

.modal-wrapper {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 33, 61, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    overflow-y: auto;
}
.modal-wrapper.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 28px;
    box-shadow: var(--shadow-md);
    display: none;
    transform: translateY(12px);
    transition: transform 0.2s;
}
.modal.active {
    display: block;
}
.modal-wrapper.active .modal.active {
    transform: none;
}
.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    color: var(--navy);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.modal__close:hover {
    background: var(--blue-pale);
    color: var(--blue);
}
.modal__title {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--navy);
}
.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    font: inherit;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.15s;
}
.input:focus {
    outline: none;
    border-color: var(--blue);
}
.input.is-invalid,
.checkbox.is-invalid .checkbox__box {
    border-color: #c62f2f;
}
.form .btn {
    justify-content: center;
    margin-top: 6px;
}
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14.5px;
    user-select: none;
}
.checkbox__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.checkbox__box {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: #fff;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}
.checkbox__input:checked + .checkbox__box {
    background: var(--blue);
    border-color: var(--blue);
}
.checkbox__input:checked + .checkbox__box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox__input:focus-visible + .checkbox__box {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.checkbox--privacy {
    font-size: 13px;
    color: var(--muted);
}
.form .form-status {
    margin: 4px 0 0;
    font-size: 14px;
}
.lead-form .btn[disabled],
.form .btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 18px 20px;
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner__content {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    color: var(--text);
}
.cookie-banner__btn {
    flex-shrink: 0;
}

.corner-link {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 800;
    display: flex;
    align-items: center;
    max-width: calc(100vw - 28px);
}
.corner-link__icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(31, 76, 209, 0.35);
    animation: corner-link-pulse 2.4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
.corner-link__text-wrapper {
    display: grid;
    grid-template-columns: 0fr;
    transition: grid-template-columns 0.35s ease;
    margin-right: -32px;
}
.corner-link__inner {
    overflow: hidden;
}
.corner-link__text {
    display: block;
    white-space: nowrap;
    background: #fff;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 44px 14px 18px;
    border-radius: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.corner-link_open .corner-link__text-wrapper,
.corner-link:hover .corner-link__text-wrapper {
    grid-template-columns: 1fr;
}
@keyframes corner-link-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.error-404 {
    text-align: center;
}
.error-404__content {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 0;
}
.error-404__title {
    font-size: 96px;
    line-height: 1;
    color: var(--blue);
    margin: 0 0 12px;
}
.error-404__subtitle {
    margin: 0 0 12px;
}
.error-404__text {
    color: var(--muted);
    margin: 0 0 24px;
}

@media (max-width: 900px) {
    .city-stats--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .city-stats--3 { grid-template-columns: 1fr; }
    .modal { padding: 28px 18px 20px; }
    .modal__title { font-size: 20px; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    .cookie-banner__content { flex-direction: column; align-items: stretch; }
    .corner-link { right: 14px; bottom: 14px; }
    .corner-link__icon { width: 54px; height: 54px; min-width: 54px; }
    .corner-link__text { font-size: 12.5px; white-space: normal; width: 210px; }
    .error-404__title { font-size: 72px; }
}
@media (max-width: 600px) {
    .has-cookie .corner-link { bottom: 150px; }
}
.cta-banner .btn {
    color: #000;
    background: #fff;
}
.prof-content .btn {
    margin: 15px 0px;
}
