.tpl-service.hero-city-kpi-home .home-hero-card--service {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
    gap: 24px;
    align-items: start;
}

.tpl-service.hero-city-kpi-home .home-hero-card--service .home-hero-copy {
    max-width: 100%;
}

.tpl-service.hero-city-kpi-home .hero-service-form-card {
    position: relative;
    z-index: 3;
    align-self: center;
    display: grid;
    gap: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(245, 249, 255, .9)),
        radial-gradient(180px 120px at 100% 0%, rgba(188, 214, 255, .22) 0%, rgba(188, 214, 255, 0) 72%);
    border: 1px solid #cfdbef;
    border-radius: 22px;
    box-shadow:
        0 16px 34px rgba(18, 45, 92, .12),
        inset 0 1px 0 rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
    padding: 18px;
}

.tpl-service.hero-city-kpi-home .hero-service-form-title {
    display: block;
    margin-bottom: 2px;
    color: #102549;
    font-size: clamp(1.28rem, 1.1vw, 1.6rem);
    line-height: 1.04;
    letter-spacing: -.02em;
}

.tpl-service.hero-city-kpi-home .hero-service-form-subtitle,
.tpl-service.hero-city-kpi-home .hero-service-form-legal {
    margin: 0;
    color: #526985;
    font-size: 13px;
    line-height: 1.35;
}

.tpl-service.hero-city-kpi-home .hero-service-form-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.tpl-service.hero-city-kpi-home .hero-service-form-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #d7e3f8;
    background: rgba(241, 246, 255, .96);
    color: #2d538f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.tpl-service.hero-city-kpi-home .hero-service-form {
    gap: 10px;
    max-width: 100%;
}

.tpl-service.hero-city-kpi-home .hero-service-form label {
    gap: 6px;
    color: #244266;
    font-size: 13px;
    font-weight: 600;
}

.tpl-service.hero-city-kpi-home .hero-service-form input,
.tpl-service.hero-city-kpi-home .hero-service-form textarea {
    border: 1px solid #c9d8f0;
    border-radius: 16px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 1px 2px rgba(20, 40, 84, .04);
    color: #193254;
}

.tpl-service.hero-city-kpi-home .hero-service-form textarea {
    min-height: 82px;
    resize: vertical;
}

.tpl-service.hero-city-kpi-home .hero-service-form input::placeholder,
.tpl-service.hero-city-kpi-home .hero-service-form textarea::placeholder {
    color: #7788a4;
    font-weight: 400;
    opacity: 1;
}

.tpl-service.hero-city-kpi-home .hero-service-form input:focus,
.tpl-service.hero-city-kpi-home .hero-service-form textarea:focus {
    outline: none;
    border-color: #8fb2ea;
    box-shadow:
        0 0 0 4px rgba(50, 104, 193, .12),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.tpl-service.hero-city-kpi-home .hero-service-form input[name="phone"] {
    min-height: 54px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #18335a;
}

.tpl-service.hero-city-kpi-home .hero-service-form input[name="phone"]::placeholder {
    font-weight: 400;
    color: #8a98b1;
}

.tpl-service.hero-city-kpi-home .hero-service-form .button {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(18, 84, 193, .18);
}

.tpl-service.hero-city-kpi-home .hero-service-form-legal {
    max-width: 34ch;
    color: #415b80;
    font-size: 12px;
    line-height: 1.45;
}

.tpl-service.hero-city-kpi-home .hero-service-photo-note {
    display: none;
}

body.tpl-service.hero-city-kpi-home .home-hero-card--service .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.tpl-service.hero-city-kpi-home .home-hero-card--service .kpi {
    min-width: 0;
    padding: 16px 18px;
    gap: 14px;
}

body.tpl-service.hero-city-kpi-home .home-hero-card--service .kpi:last-child {
    grid-column: auto;
}

body.tpl-service.hero-city-kpi-home .home-hero-card--service .kpi strong {
    font-size: clamp(18px, 1.5vw, 24px);
}

body.tpl-service.hero-city-kpi-home .home-hero-card--service .kpi-copy span {
    font-size: clamp(13px, .9vw, 15px);
}

.tpl-service.hero-city-kpi-home .pricing-guarantees {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tpl-service.hero-city-kpi-home .city-service-experiment-section .pricing-guarantees {
    margin-top: 18px;
}

.tpl-service.hero-city-kpi-home .city-service-experiment-section--pre-arrival {
    border: 1px solid #dbe5f5;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(247, 251, 255, .99)),
        radial-gradient(220px 120px at 100% 0%, rgba(195, 218, 255, .12) 0%, rgba(195, 218, 255, 0) 72%);
}

.tpl-service.hero-city-kpi-home .city-service-experiment-section--pre-arrival > h2::after {
    content: "Перед выездом";
    display: inline-flex;
    margin-left: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(31, 87, 166, .08);
    color: #315f9f;
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
}

.tpl-service.hero-city-kpi-home .city-service-experiment-section--first-visit {
    border: 1px solid #d8e7dd;
    background:
        linear-gradient(180deg, rgba(248, 253, 250, .99), rgba(255, 255, 255, .99)),
        radial-gradient(220px 120px at 100% 0%, rgba(181, 224, 201, .18) 0%, rgba(181, 224, 201, 0) 72%);
}

.tpl-service.hero-city-kpi-home .city-service-experiment-section--first-visit > h2::after {
    content: "На первом визите";
    display: inline-flex;
    margin-left: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(41, 132, 88, .1);
    color: #2a7b56;
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
}

.tpl-service.hero-city-kpi-home .city-service-experiment-card {
    overflow: hidden;
}

.tpl-service.hero-city-kpi-home .city-service-experiment-card--pre-arrival {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .99));
}

.tpl-service.hero-city-kpi-home .city-service-experiment-card--pre-arrival::before {
    background: linear-gradient(180deg, #1f6ae2 0%, #81b3fb 100%);
}

.tpl-service.hero-city-kpi-home .city-service-experiment-card--first-visit {
    background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(246, 252, 248, .99));
    border-color: #d7e8dc;
    box-shadow:
        0 10px 24px rgba(42, 123, 86, .06),
        inset 0 1px 0 rgba(255, 255, 255, .8);
}

.tpl-service.hero-city-kpi-home .city-service-experiment-card--first-visit::before {
    background: linear-gradient(180deg, #2d9564 0%, #74c89d 100%);
}

.tpl-service.hero-city-kpi-home .city-service-experiment-card--first-visit > strong::after {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border-radius: 999px;
    background: rgba(45, 149, 100, .12);
    color: #2d9564;
    font-size: 12px;
    line-height: 1;
    vertical-align: text-top;
}

.tpl-service.hero-city-kpi-home .repair-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tpl-service.hero-city-kpi-home .repair-groups .repair-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.tpl-service.hero-city-kpi-home .city-district-links-panel {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid #d8e3f3;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(246, 250, 255, .98)),
        radial-gradient(180px 110px at 100% 0%, rgba(187, 213, 255, .18) 0%, rgba(187, 213, 255, 0) 72%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .84),
        0 10px 24px rgba(18, 49, 103, .05);
}

.tpl-service.hero-city-kpi-home .city-district-links-title {
    margin: 0;
    padding-left: 14px;
    border-left: 3px solid #1f6ae2;
}

.tpl-service.hero-city-kpi-home .city-district-links-title strong {
    display: inline;
    font-size: 16px;
    line-height: 1.35;
}

.tpl-service.hero-city-kpi-home .city-district-links-chips {
    gap: 10px 12px;
}

.tpl-service.hero-city-kpi-home .city-district-links-chips .chip {
    min-height: 46px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    border-color: #cadef9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

.tpl-service.hero-city-kpi-home .city-district-links-chips a.chip {
    padding-right: 34px;
}

.tpl-service.hero-city-kpi-home .city-district-links-chips a.chip::after {
    content: "\203A";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #4f73ae;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.tpl-service.hero-city-kpi-home .pricing-note strong,
.tpl-service.hero-city-kpi-home .pricing-guarantee span strong,
.tpl-service.hero-city-kpi-home .hero-service-symptoms strong,
.tpl-service.hero-city-kpi-home .hero-service-urgency strong,
.tpl-service.hero-city-kpi-home .hero-service-geo strong,
.tpl-service.hero-city-kpi-home .hero-service-rating strong,
.tpl-service.hero-city-kpi-home .hero-service-callback-note strong,
.tpl-service.hero-city-kpi-home .hero-service-form-subtitle strong,
.tpl-service.hero-city-kpi-home .hero-service-form-legal strong,
.tpl-service.hero-city-kpi-home .footer-legal-item strong {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    font-weight: 700;
    vertical-align: baseline;
}

.tpl-service.hero-city-kpi-home .footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
}

.tpl-service.hero-city-kpi-home .footer-legal-block {
    display: grid;
    gap: 10px;
    width: 100%;
    padding-top: 6px;
    color: #4d5f79;
    line-height: 1.45;
}

.tpl-service.hero-city-kpi-home .footer-legal-block--separate {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
    gap: 12px 28px;
    padding: 20px 24px;
    border: 1px solid #d4e0f2;
    border-radius: 24px;
    background:
        radial-gradient(220px 140px at 100% 0%, rgba(183, 212, 255, .16) 0%, rgba(183, 212, 255, 0) 72%),
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 251, 255, .98));
    box-shadow:
        0 12px 28px rgba(18, 49, 103, .07),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.tpl-service.hero-city-kpi-home .footer-legal-block--separate strong {
    grid-column: 1 / -1;
    color: #183256;
    font-size: 18px;
    line-height: 1.2;
}

.tpl-service.hero-city-kpi-home .footer-legal-block--separate .footer-legal-item strong {
    display: inline;
    grid-column: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    font-weight: 700;
    vertical-align: baseline;
}

.tpl-service.hero-city-kpi-home .footer-legal-item,
.tpl-service.hero-city-kpi-home .footer-legal-block--separate span {
    color: #51637e;
    font-size: 14px;
    line-height: 1.5;
}

.tpl-service.hero-city-kpi-home .footer-legal-item--wide {
    grid-column: 1 / -1;
}

.tpl-service.hero-city-kpi-home .footer-legal-block--separate a {
    color: #1f57a6;
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 87, 166, .26);
}

.tpl-service.hero-city-kpi-home .footer-legal-block--separate a:hover {
    color: #15448b;
    border-bottom-color: rgba(21, 68, 139, .42);
}

.tpl-service.hero-city-kpi-home .footer-links--after-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
    padding-top: 2px;
}

.tpl-service.hero-city-kpi-home .footer-links-brand {
    color: #5d708d;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}

.tpl-service.hero-city-kpi-home .footer-links-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.tpl-service.hero-city-kpi-home .footer-links--after-legal a {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4f6481;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    transition: color .18s ease;
}

.tpl-service.hero-city-kpi-home .footer-links--after-legal a:hover {
    color: #214f90;
}

.tpl-service.hero-city-kpi-home .mobile-dual-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: none;
    gap: 10px;
    padding: 8px;
    border-radius: 20px;
    border: 1px solid rgba(188, 206, 236, .95);
    background: rgba(248, 251, 255, .96);
    box-shadow:
        0 14px 30px rgba(20, 44, 89, .16),
        inset 0 1px 0 rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px);
}

.tpl-service.hero-city-kpi-home .mobile-dual-cta-link,
.tpl-service.hero-city-kpi-home .mobile-dual-cta-button {
    flex: 1 1 0;
    min-height: 50px;
    border: 1px solid transparent;
    border-radius: 16px;
    font: inherit;
    font-weight: 700;
    text-align: center;
}

.tpl-service.hero-city-kpi-home .mobile-dual-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
    border-color: #c8d8f2;
    color: #18345d;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.tpl-service.hero-city-kpi-home .mobile-dual-cta-button {
    background: linear-gradient(180deg, #1860da 0%, #1257cb 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(18, 87, 203, .24);
}

@media (max-width: 980px) {
    .tpl-service.hero-city-kpi-home .pricing-guarantees {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tpl-service.hero-city-kpi-home .home-hero-card--service {
        grid-template-columns: 1fr;
    }

    .tpl-service.hero-city-kpi-home .home-hero-card--service::after {
        opacity: .22;
        background-position: right -220px center;
        background-size: auto 94%;
    }

    .tpl-service.hero-city-kpi-home .hero-service-form-card {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
    }

    body.tpl-service.hero-city-kpi-home .home-hero-card--service .kpi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.tpl-service.hero-city-kpi-home {
        padding-bottom: 86px;
    }

    .tpl-service.hero-city-kpi-home .home-hero-card--service {
        gap: 16px;
        padding: 18px;
    }

    .tpl-service.hero-city-kpi-home .home-hero-card--service::after {
        opacity: .16;
        background-position: right -280px top;
        background-size: auto 82%;
    }

    .tpl-service.hero-city-kpi-home .hero-service-form-card {
        padding: 16px;
        border-radius: 18px;
    }

    .tpl-service.hero-city-kpi-home .hero-service-form-badges {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tpl-service.hero-city-kpi-home .hero-service-form input[name="phone"] {
        min-height: 50px;
        font-size: 15px;
    }

    .tpl-service.hero-city-kpi-home .pricing-guarantees,
    .tpl-service.hero-city-kpi-home .repair-groups {
        grid-template-columns: 1fr;
    }

    .tpl-service.hero-city-kpi-home .city-district-links-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .tpl-service.hero-city-kpi-home .city-service-experiment-section--pre-arrival > h2::after,
    .tpl-service.hero-city-kpi-home .city-service-experiment-section--first-visit > h2::after {
        display: inline-flex;
        margin-top: 10px;
        margin-left: 0;
    }

    .tpl-service.hero-city-kpi-home .city-district-links-chips,
    .tpl-service.hero-city-kpi-home .chips {
        gap: 8px;
    }

    .tpl-service.hero-city-kpi-home .footer-legal-block--separate {
        grid-template-columns: 1fr;
        padding: 16px 18px;
        border-radius: 18px;
        gap: 10px;
    }

    .tpl-service.hero-city-kpi-home .footer-links--after-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tpl-service.hero-city-kpi-home .footer-links-brand {
        white-space: normal;
    }

    .tpl-service.hero-city-kpi-home .footer-links-nav {
        justify-content: flex-start;
        gap: 8px 14px;
    }

    .tpl-service.hero-city-kpi-home .mobile-dual-cta {
        display: flex;
    }

    .tpl-service.hero-city-kpi-home .mobile-call-fab {
        display: none;
    }
}
