/* Тема «Телекомза» для landing-cms.telekomza.ru */

:root {
    --lending-red: #f3473c;
    --lending-red-dark: #d63026;
    --lending-red-rgb: 243, 71, 60;
    --lending-ink: #161616;
    --lending-muted: #686f7a;
    --lending-line: #edf0f4;
    --lending-soft: #f6f7f9;
    --lending-red-soft: #fff1ef;
    --ui-title-size: clamp(1.35rem, 2vw, 1.95rem);
    --ui-title-weight: 800;
    --ui-title-gap: 1rem;
    --ui-title-line: 1.25;
    --ui-title-letter: -0.02em;
    --ui-title-color: #212121;
    --ui-h3-size: clamp(1.15rem, 1.7vw, 1.4rem);
    --ui-h3-weight: 800;
    --ui-h3-line: 1.3;
    --ui-h3-letter: -0.015em;
    --ui-h3-color: #212121;
}

body.site-lending {
    background: #fff;
    color: var(--lending-ink);
}

body.site-lending a {
    color: var(--lending-red);
}

body.site-lending a:hover {
    color: var(--lending-red-dark);
}

body.site-lending .navbar {
    border-bottom: 1px solid rgba(22, 22, 22, 0.06);
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.05);
}

body.site-lending .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 991px) {
    body.site-lending .journal-navbar .container.lending-header-bar,
    body.site-lending .journal-navbar .lending-header-bar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "brand location toggle";
        align-items: center;
        column-gap: 0.55rem;
        row-gap: 0;
    }
}

body.site-lending .navbar-brand {
    flex-shrink: 0;
}

body.site-lending .navbar-logo {
    height: 48px !important;
    width: auto;
    max-width: 188px;
    object-fit: contain;
}

@media (max-width: 991px) {
    body.site-lending .journal-navbar .navbar-logo {
        height: clamp(22px, 6.2vw, 32px) !important;
        max-width: min(140px, 42vw);
    }

    body.site-lending .journal-navbar .lending-header-bar.is-city-compact .navbar-logo {
        height: clamp(18px, 5vw, 26px) !important;
        max-width: min(112px, 34vw);
    }
}

body.site-lending .navbar-service-tag {
    margin-left: 0.85rem;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    background: var(--lending-red-soft);
    color: var(--lending-red);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

body.site-lending .navbar-section-link,
body.site-lending .navbar-section-link.is-active,
body.site-lending .navbar-location,
body.site-lending .navbar-location-btn,
body.site-lending .navbar-location i {
    color: var(--lending-red);
}

body.site-lending .navbar-location,
body.site-lending .navbar-location-btn {
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: var(--lending-red);
    text-underline-offset: 0.22em;
}

body.site-lending .navbar-location-btn:hover,
body.site-lending .navbar-location-btn:focus-visible {
    opacity: 0.88;
    text-decoration: underline;
}

body.site-lending .downdetector-page {
    background:
        radial-gradient(circle at 100% 3%, rgba(var(--lending-red-rgb), 0.08), transparent 250px),
        linear-gradient(180deg, #f7f7f8 0%, #ffffff 360px);
}

body.site-lending .site-breadcrumbs-wrap {
    background: transparent;
    border: 0;
}

body.site-lending .hero-section {
    padding: 3.25rem 0 2.6rem;
    background: #fafbfc;
    border-bottom: 1px solid var(--lending-line);
}

body.site-lending .hero-badge {
    background: var(--lending-red-soft);
    color: var(--lending-red);
    font-weight: 850;
}

body.site-lending .downdetector-page .hero-badge {
    background: #fff0e0 !important;
    color: #c4511a !important;
}

body.site-lending .downdetector-page .hero-badge i {
    color: #c4511a !important;
}

body.site-lending .hero-title {
    max-width: none;
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    line-height: 1.3;
    letter-spacing: -0.035em;
}

body.site-lending .hero-subtitle {
    max-width: 690px;
    color: var(--lending-muted);
}

body.site-lending .downdetector-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

body.site-lending .downdetector-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--lending-line);
    border-radius: 999px;
    background: #fff;
    padding: 0.48rem 0.78rem;
    color: #333943;
    font-size: 0.9rem;
    font-weight: 750;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

body.site-lending .downdetector-hero-points i,
body.site-lending .section-eyebrow {
    color: var(--lending-red);
}

body.site-lending .section-eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.site-lending .section-card,
body.site-lending .downdetector-card,
body.site-lending .downdetector-chart-card,
body.site-lending .downdetector-recent,
body.site-lending .city-faq-item {
    border-color: var(--lending-line);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

body.site-lending .support-card,
body.site-lending .support-card:hover,
body.site-lending .support-card:focus-visible {
    color: #111827;
    text-decoration: none;
}

body.site-lending .support-card .support-card-name {
    color: var(--lending-red);
}

body.site-lending .support-card:hover .support-card-name,
body.site-lending .support-card:focus-visible .support-card-name {
    color: var(--lending-red-dark);
}

body.site-lending .downdetector-head {
    padding: 1.2rem 1.25rem;
}

body.site-lending .downdetector-head h2,
body.site-lending .city-faq-section h2 {
    letter-spacing: var(--ui-title-letter, -0.02em);
    font-size: var(--ui-title-size, clamp(1.35rem, 2vw, 1.95rem));
    font-weight: var(--ui-title-weight, 800);
    line-height: var(--ui-title-line, 1.25);
    color: var(--ui-title-color, #212121);
}

body.site-lending .downdetector-card {
    border-radius: 20px;
    padding: 1rem;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.site-lending .downdetector-card:hover {
    transform: translateY(-2px);
    border-color: #f5b5b0;
    box-shadow: 0 16px 34px rgba(var(--lending-red-rgb), 0.12);
}

body.site-lending .downdetector-card-name {
    color: #20242c;
}

body.site-lending .downdetector-counts {
    color: var(--lending-muted);
}

body.site-lending .downdetector-sparkline {
    border-bottom-color: #cfd5df;
}

body.site-lending a.provider-sort-pill,
body.site-lending span.provider-sort-pill {
    border-color: #e5e7eb;
    background: #fff;
}

body.site-lending a.provider-sort-pill:hover,
body.site-lending a.provider-sort-pill-active,
body.site-lending span.provider-sort-pill-active {
    background: var(--lending-red-soft);
    border-color: #f5b5b0;
    color: var(--lending-red-dark);
}

body.site-lending .downdetector-current-status-stable,
body.site-lending .downdetector-card .downdetector-current-status-stable {
    border-color: #b7dfbf;
    background: #edf9ef;
    color: #236a2a;
}

body.site-lending .downdetector-current-status-local,
body.site-lending .downdetector-card .downdetector-current-status-local {
    border-color: #f7d39e;
    background: #fff7ea;
    color: #8d5a12;
}

body.site-lending .downdetector-current-status-global,
body.site-lending .downdetector-card .downdetector-current-status-global {
    border-color: #f0a4a0;
    background: #fff0ef;
    color: #9f251e;
}

body.site-lending .hero-section--downdetector-provider {
    padding: 2.4rem 0 1.35rem;
    border-bottom: none;
}

body.site-lending .downdetector-provider-hero-panel {
    border-top-color: var(--lending-line);
    background: #fafafa;
}

body.site-lending .downdetector-provider-hero-name {
    letter-spacing: -0.02em;
}

body.site-lending .downdetector-provider-head {
    border-left: 4px solid var(--lending-red);
}

body.site-lending .downdetector-address-check {
    border-color: #f5b5b0;
    box-shadow: 0 16px 36px rgba(var(--lending-red-rgb), 0.12);
}

body.site-lending .downdetector-address-check-badge {
    background: var(--lending-red);
    box-shadow: 0 4px 12px rgba(var(--lending-red-rgb), 0.28);
}

body.site-lending .downdetector-address-check-form .address-input-wrap--combo:focus-within {
    border-color: var(--lending-red);
    box-shadow: 0 0 0 3px rgba(var(--lending-red-rgb), 0.16);
}

body.site-lending .downdetector-address-check-trigger:hover,
body.site-lending .downdetector-address-check-trigger:focus-visible {
    border-color: var(--lending-red);
    box-shadow: 0 0 0 3px rgba(var(--lending-red-rgb), 0.16);
}

body.site-lending .downdetector-address-check-trigger-action {
    background: var(--lending-red);
}

body.site-lending .downdetector-recent {
    border-color: var(--lending-line);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

body.site-lending .downdetector-reports-more-btn.city-opinion-more-btn:hover {
    background: var(--lending-red-dark);
}

body.site-lending .downdetector-report-form {
    border-left: 5px solid var(--lending-red);
    background:
        radial-gradient(circle at 98% 0%, rgba(var(--lending-red-rgb), 0.08), transparent 120px),
        #fff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

body.site-lending .downdetector-report-form-badge,
body.site-lending .btn-connect-card,
body.site-lending .modal-submit-btn,
body.site-lending .downdetector-modal-submit-btn {
    background-color: var(--lending-btn-from, var(--lending-red));
    background-image: linear-gradient(
        90deg,
        var(--lending-btn-from, var(--lending-red)) 0%,
        var(--lending-btn-to, var(--lending-red)) 48%,
        var(--lending-btn-from, var(--lending-red)) 100%
    );
    background-size: 220% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    color: var(--lending-btn-ink, #fff);
    box-shadow: 0 4px 14px rgba(var(--lending-red-rgb), 0.28);
    border-radius: var(--lending-btn-radius, 14px);
    transition: background-position 0.45s ease, filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

body.site-lending .btn-connect-card:hover,
body.site-lending .modal-submit-btn:hover,
body.site-lending .downdetector-modal-submit-btn:hover {
    background-position: 100% 50%;
    filter: brightness(1.08) saturate(1.06);
    color: var(--lending-btn-ink, #fff);
}

body.site-lending .modal-phone-input,
body.site-lending .city-modal-input {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

body.site-lending .ru-phone-field {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

body.site-lending .ru-phone-field .modal-phone-input,
body.site-lending .ru-phone-field .ru-phone-field__input {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.site-lending .modal-phone-input:focus,
body.site-lending .city-modal-input:focus {
    border-color: #d1d5db;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.04);
}

body.site-lending .ru-phone-field:focus-within {
    border-color: #d1d5db;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.04);
}

body.site-lending .ru-phone-field .modal-phone-input:focus,
body.site-lending .ru-phone-field .ru-phone-field__input:focus {
    border: 0 !important;
    box-shadow: none !important;
}

body.site-lending .modal-submit-btn,
body.site-lending .address-lookup-check-actions .btn-connect-card,
body.site-lending .address-lookup-check-actions .modal-submit-btn {
    border-radius: 16px;
    font-weight: 700;
}

body.site-lending .callback-modal .modal-form .modal-submit-btn.is-inactive {
    background: rgba(var(--lending-red-rgb), 0.55);
    background: color-mix(in srgb, var(--lending-red) 62%, white);
    color: #fff;
    box-shadow: 0 2px 8px rgba(var(--lending-red-rgb), 0.18);
}

body.site-lending .downdetector-chart-period.is-active,
body.site-lending .downdetector-chart-period:hover {
    background: var(--lending-red-soft);
    border-color: #f5b5b0;
    color: var(--lending-red-dark);
}

body.site-lending .downdetector-chart-report-btn {
    background: var(--lending-red);
}

body.site-lending .downdetector-chart-report-btn:hover {
    background: var(--lending-red-dark);
}

body.site-lending .downdetector-comment-cta,
body.site-lending .downdetector-client-chat,
body.site-lending .downdetector-other-regions,
body.site-lending .downdetector-streets-card {
    border-color: var(--lending-line);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

body.site-lending .downdetector-streets-period.is-active,
body.site-lending .downdetector-streets-period:hover {
    background: var(--lending-red-soft);
    border-color: #f5b5b0;
    color: var(--lending-red-dark);
}

body.site-lending .downdetector-streets-count {
    color: var(--lending-red);
}

body.site-lending .downdetector-street-input:focus,
body.site-lending .downdetector-modal-details-textarea:focus {
    border-color: var(--lending-red);
    box-shadow: 0 0 0 3px rgba(var(--lending-red-rgb), 0.16);
}

body.site-lending .downdetector-hot-region-pill {
    border-color: #f5b5b0;
    background: var(--lending-red-soft);
    color: var(--lending-red-dark);
}

body.site-lending .downdetector-issue-btn.is-active,
body.site-lending .downdetector-issue-btn:hover {
    border-color: var(--lending-red);
    background: var(--lending-red-soft);
    color: var(--lending-red-dark);
}

body.site-lending .downdetector-star-btn.is-active,
body.site-lending .downdetector-star-btn:hover {
    color: var(--lending-red);
}

body.site-lending .city-faq-section {
    background: #fff;
}

body.site-lending .city-faq-question:hover {
    color: var(--lending-red);
}

body.site-lending .footer {
    background: #fff;
    color: var(--lending-ink);
    padding: 2.25rem 0 2.75rem;
}

body.site-lending .lending-footer-card {
    display: grid;
    grid-template-columns: minmax(200px, 1.05fr) minmax(0, 2.2fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
    background: #f3f4f6;
    border: 0;
    border-radius: 24px;
    padding: 2rem 2.15rem 2.15rem;
    box-shadow: none;
}

body.site-lending .footer-brand-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    height: 100%;
}

body.site-lending .footer-brand-panel p {
    max-width: 17.5rem;
    margin: 1.1rem 0 1.35rem;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

body.site-lending .footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

body.site-lending .footer-logo img {
    height: 36px;
    width: auto;
}

body.site-lending .footer-links {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(220px, 0.95fr);
    gap: 1.75rem 2rem;
    margin: 0;
}

body.site-lending .footer-column h5 {
    margin: 0 0 0.85rem;
    color: var(--lending-red);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

body.site-lending .footer-column:first-child ul {
    columns: 1;
}

body.site-lending .footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.site-lending .footer-column ul li {
    color: var(--lending-red);
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.28rem 0;
}

body.site-lending .footer-column ul li a,
body.site-lending .footer-privacy-link,
body.site-lending .footer-main-link {
    color: var(--lending-red) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.15s ease, opacity 0.15s ease;
}

body.site-lending .footer-column ul li a:hover,
body.site-lending .footer-privacy-link:hover,
body.site-lending .footer-main-link:hover {
    color: var(--lending-red-dark) !important;
    opacity: 0.92;
    text-decoration: none !important;
}

body.site-lending .footer-privacy-link {
    margin-top: auto;
    font-size: 0.88rem;
}

body.site-lending .footer-signature {
    color: #6b7280;
}

body.site-lending .footer-contact-column {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

body.site-lending .lending-footer-contact-panel {
    background: #fff;
    border-radius: 18px;
    padding: 1.05rem 1.15rem;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
    border: 0;
}

body.site-lending .lending-footer-contact-hours {
    margin: 0 0 0.5rem;
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 500;
}

body.site-lending .lending-footer-contact-phone {
    display: block;
    color: var(--lending-red) !important;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 850;
    line-height: 1.15;
    text-decoration: none !important;
    letter-spacing: -0.02em;
}

body.site-lending .lending-footer-contact-phone:hover {
    color: var(--lending-red-dark) !important;
    text-decoration: none !important;
}

body.site-lending .lending-footer-need-internet-btn,
body.site-lending .lending-footer-need-internet-btn.btn-connect-card {
    width: 100%;
    margin: 0;
    min-height: 3rem;
    padding: 0.85rem 1.25rem !important;
    border: 0 !important;
    border-radius: var(--lending-btn-radius, 14px) !important;
    background-color: var(--lending-btn-from, var(--lending-red)) !important;
    background-image: linear-gradient(
        90deg,
        var(--lending-btn-from, var(--lending-red)) 0%,
        var(--lending-btn-to, var(--lending-red)) 48%,
        var(--lending-btn-from, var(--lending-red)) 100%
    ) !important;
    background-size: 220% 100% !important;
    background-position: 0% 50% !important;
    background-repeat: no-repeat !important;
    color: var(--lending-btn-ink, #fff) !important;
    font-size: 1rem !important;
    font-weight: 750 !important;
    line-height: 1.25;
    box-shadow: 0 10px 24px rgba(var(--lending-red-rgb), 0.28) !important;
    cursor: pointer;
    transition: background-position 0.45s ease, filter 0.2s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.site-lending .lending-footer-need-internet-btn:hover,
body.site-lending .lending-footer-need-internet-btn.btn-connect-card:hover {
    background-position: 100% 50% !important;
    filter: brightness(1.08) saturate(1.06);
    color: var(--lending-btn-ink, #fff) !important;
    box-shadow: 0 12px 28px rgba(var(--lending-red-rgb), 0.34) !important;
}

body.site-lending .footer-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

body.site-lending .footer-contact-card span {
    display: block;
    margin-bottom: 0.3rem;
    color: #667085;
    font-size: 0.78rem;
}

body.site-lending .footer .phone-link {
    color: var(--lending-red);
    font-size: 1.08rem;
    font-weight: 900;
}

body.site-lending .footer-bottom,
body.site-lending .footer-company-details,
body.site-lending .footer-logo-text,
body.site-lending .footer-logo-sub {
    display: none;
}

@media (max-width: 1100px) {
    body.site-lending .lending-footer-card {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    body.site-lending .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    body.site-lending .lending-footer-card,
    body.site-lending .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body.site-lending .navbar-service-tag {
        display: none;
    }

    body.site-lending .hero-section {
        padding: 2.35rem 0 2rem;
    }

    body.site-lending .hero-section--downdetector-provider {
        padding: 1.75rem 0 1rem;
    }

    body.site-lending .lending-footer-card {
        padding: 1.35rem 1.2rem 1.45rem;
        border-radius: 20px;
    }

    body.site-lending .footer-brand-panel p {
        max-width: none;
        margin-bottom: 1rem;
    }
}

/* Страница компании / команды / контактов — фон как у страниц города */
body.site-lending.page-company,
body.site-lending.page-crew,
body.site-lending.page-contacts,
body.site-lending.page-error-404 {
    --lending-page-bg: #fafbfc;
    --lending-content-bg: #fff;
    background: var(--lending-page-bg);
}

body.site-lending.page-company .city-page-top,
body.site-lending.page-company .company-page,
body.site-lending.page-company .company-hero,
body.site-lending.page-company .info-page-section,
body.site-lending.page-company .info-page-section--muted,
body.site-lending.page-crew .city-page-top,
body.site-lending.page-crew .crew-page,
body.site-lending.page-crew .crew-hero,
body.site-lending.page-crew .info-page-section,
body.site-lending.page-crew .info-page-section--muted,
body.site-lending.page-contacts .city-page-top,
body.site-lending.page-contacts .contacts-page,
body.site-lending.page-contacts .contacts-hero,
body.site-lending.page-contacts .info-page-section,
body.site-lending.page-contacts .info-page-section--muted,
body.site-lending.page-error-404 .city-page-top,
body.site-lending.page-error-404 .error-page,
body.site-lending.page-error-404 .error-miss {
    background: transparent;
}

body.page-company .landing-address-widget,
body.page-crew .landing-address-widget,
body.page-contacts .landing-address-widget {
    padding: 1.5rem 0 2.35rem;
    background: #fff;
}

body.page-company .landing-address-panel,
body.page-crew .landing-address-panel,
body.page-contacts .landing-address-panel {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.5rem 1.6rem 1.25rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.page-company .landing-address-panel .landing-section-title,
body.page-crew .landing-address-panel .landing-section-title,
body.page-contacts .landing-address-panel .landing-section-title {
    margin: 0 0 0.45rem;
    font-size: var(--ui-title-size, clamp(1.35rem, 2vw, 1.95rem));
    font-weight: var(--ui-title-weight, 800);
    letter-spacing: var(--ui-title-letter, -0.02em);
    line-height: var(--ui-title-line, 1.25);
    color: var(--ui-title-color, var(--lending-ink));
}

body.page-company .landing-address-panel .landing-section-lead,
body.page-crew .landing-address-panel .landing-section-lead,
body.page-contacts .landing-address-panel .landing-section-lead {
    margin: 0;
    max-width: 40rem;
    color: var(--lending-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

/* Страница тарифов по адресу — фон как у страниц города */
body.site-lending.page-address-tariffs {
    --lending-page-bg: #fafbfc;
    --lending-content-bg: #fff;
    background: var(--lending-page-bg);
}

body.site-lending.page-address-tariffs .hero-section--address-page {
    background: var(--lending-page-bg);
    border-bottom: 0;
}

body.site-lending.page-address-tariffs #addressTariffPicks {
    scroll-margin-top: 5.5rem;
}

body.site-lending.page-address-tariffs .address-internet-profile {
    margin-top: 1.25rem;
}

body.site-lending.page-address-tariffs .address-page-scope-note {
    color: var(--lending-muted);
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-section-head {
    border-top-color: var(--lending-line);
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-section-title {
    color: var(--lending-ink);
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-section-sub {
    color: var(--lending-muted);
}

body.site-lending.page-address-tariffs .providers-section {
    background: var(--lending-page-bg);
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-summary {
    background: #fff;
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-accordion[open] > .provider-tariffs-catalog-summary {
    border-bottom-color: var(--lending-line);
    background: #fff;
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-summary:hover {
    background: #f7f7f8;
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-accordion .partner-tariffs-section--accordion-child .partner-tariff-card {
    border-color: rgba(var(--lending-red-rgb), 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 8px 28px rgba(var(--lending-red-rgb), 0.06);
}

@media (min-width: 769px) {
    body.site-lending.page-address-tariffs .partner-tariff-card-aside {
        background: var(--lending-red-soft);
        border-color: rgba(var(--lending-red-rgb), 0.14);
    }
}

@media (max-width: 768px) {
    body.site-lending.page-address-tariffs .partner-tariff-card-aside,
    body.site-lending.page-address-tariffs .provider-tariffs-catalog-accordion .partner-tariffs-section--accordion-child .partner-tariff-card-aside {
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 1.1rem 0 0;
        margin-top: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.09);
    }

    body.site-lending.page-address-tariffs .partner-tariff-promo-period {
        background: transparent;
        border-radius: 0;
        border-left: 3px solid rgba(184, 134, 11, 0.45);
        padding: 0.15rem 0 0.15rem 0.65rem;
    }
}

body.site-lending.page-address-tariffs .partner-tariff-filter-pill,
body.site-lending.page-address-tariffs .partner-tariffs-speed-chip {
    border-color: rgba(var(--lending-red-rgb), 0.22);
}

body.site-lending.page-address-tariffs .partner-tariff-filter-pill:hover,
body.site-lending.page-address-tariffs .partner-tariffs-speed-chip:hover,
body.site-lending.page-address-tariffs .city-top-tariff-info-btn:hover {
    background: var(--lending-red-soft);
}

body.site-lending.page-address-tariffs .partner-tariffs-catalog-accordion .partner-tariffs-section--accordion-child .partner-tariffs-sidebar {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 20px rgba(var(--lending-red-rgb), 0.06);
}

body.site-lending.page-address-tariffs .partner-tariffs-catalog-accordion .partner-tariffs-section--accordion-child .partner-tariffs-sidebar-title {
    color: var(--lending-ink);
}

body.site-lending.page-address-tariffs .city-top-tariffs-wrap:not(.city-top-tariffs-wrap--feature) .city-top-tariffs-segment-btn[aria-pressed="true"] {
    color: var(--lending-red);
}

body.site-lending.page-address-tariffs .city-top-tariffs-wrap--feature .city-top-tariffs-segment-btn {
    color: rgba(255, 255, 255, 0.82);
}

body.site-lending.page-address-tariffs .city-top-tariffs-wrap--feature .city-top-tariffs-segment-btn:hover,
body.site-lending.page-address-tariffs .city-top-tariffs-wrap--feature .city-top-tariffs-segment-btn[aria-pressed="true"] {
    color: #fff;
}

body.site-lending.page-address-tariffs .city-top-tariff-promo-badge {
    background: var(--lending-red-soft);
    color: var(--lending-red-dark);
    box-shadow: 0 2px 8px rgba(var(--lending-red-rgb), 0.08);
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-stat-label {
    color: var(--lending-muted);
}

body.site-lending.page-address-tariffs .provider-tariffs-catalog-stat--muted .provider-tariffs-catalog-stat-value {
    color: #4b5563;
}

/* Страница партнёрской программы /cpa/ */
body.site-lending.page-cpa {
    background: #f7f7f8;
}

body.site-lending .cpa-page .hero-section.cpa-hero {
    padding-bottom: 2.25rem;
}

body.site-lending .cpa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: var(--lending-red-soft);
    color: var(--lending-red);
    font-size: 0.82rem;
    font-weight: 800;
}

body.site-lending .cpa-hero-badge--providers {
    background: #eef2ff;
    color: #4338ca;
}

body.site-lending .cpa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

body.site-lending .cpa-hero-actions .btn-connect-card,
body.site-lending .cpa-hero-actions .btn-check-availability,
body.site-lending .cpa-cta-actions .btn-connect-card,
body.site-lending .cpa-cta-actions .btn-check-availability {
    width: auto !important;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0.7rem 1.35rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

body.site-lending .cpa-section {
    padding: 2.25rem 0;
}

body.site-lending .cpa-section--muted {
    background: #fff;
    border-top: 1px solid var(--lending-line);
    border-bottom: 1px solid var(--lending-line);
}

body.site-lending .cpa-section--providers {
    padding-bottom: 3rem;
}

body.site-lending .cpa-section-title {
    margin: 0 0 var(--ui-title-gap, 1rem);
    font-size: var(--ui-title-size, clamp(1.35rem, 2vw, 1.95rem));
    font-weight: var(--ui-title-weight, 800);
    line-height: var(--ui-title-line, 1.25);
    letter-spacing: var(--ui-title-letter, -0.02em);
    color: var(--ui-title-color, var(--lending-ink));
}

body.site-lending .cpa-section-lead {
    max-width: 46rem;
    margin: 0 0 1.5rem;
    color: #4b5563;
    line-height: 1.6;
}

body.site-lending .cpa-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body.site-lending .cpa-card {
    height: 100%;
    padding: 1.25rem 1.3rem;
}

body.site-lending .cpa-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: var(--lending-red-soft);
    color: var(--lending-red);
    font-size: 1.15rem;
}

body.site-lending .cpa-card-title {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--lending-ink);
}

body.site-lending .cpa-card-text {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
    font-size: 0.95rem;
}

body.site-lending .cpa-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

body.site-lending .cpa-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.25rem;
}

body.site-lending .cpa-step-num {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lending-red);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

body.site-lending .cpa-step-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
}

body.site-lending .cpa-step-text {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

body.site-lending .cpa-ready-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

body.site-lending .cpa-benefits-col {
    min-width: 0;
}

body.site-lending .cpa-benefits-col .cpa-section-title {
    margin-top: 0;
}

body.site-lending .cpa-benefits-col .cpa-benefits {
    margin-bottom: 0;
}

body.site-lending .cpa-ready-grid .cpa-cta-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.site-lending .cpa-ready-grid .cpa-cta-actions {
    margin-top: auto;
}

body.site-lending .cpa-benefits {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

body.site-lending .cpa-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #374151;
    line-height: 1.5;
}

body.site-lending .cpa-benefits li i {
    color: var(--lending-red);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

body.site-lending .cpa-cta-panel,
body.site-lending .cpa-providers-panel {
    padding: 1.5rem 1.6rem;
}

body.site-lending .cpa-cta-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 850;
    color: var(--lending-ink);
}

body.site-lending .cpa-cta-text {
    margin: 0 0 1rem;
    color: #4b5563;
    line-height: 1.55;
    max-width: 42rem;
}

body.site-lending .cpa-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

body.site-lending .cpa-phone-link {
    font-weight: 750;
    color: var(--lending-red);
    text-decoration: none;
}

body.site-lending .cpa-phone-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body.site-lending .cpa-audience-grid {
        grid-template-columns: 1fr;
    }

    body.site-lending .cpa-ready-grid {
        grid-template-columns: 1fr;
    }

    body.site-lending .cpa-ready-grid .cpa-cta-panel {
        order: 2;
    }

    body.site-lending .cpa-benefits-col {
        order: 1;
    }

    body.site-lending .cpa-hero-actions,
    body.site-lending .cpa-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.site-lending .cpa-hero-actions .btn-connect-card,
    body.site-lending .cpa-hero-actions .btn-check-availability,
    body.site-lending .cpa-cta-actions .btn-connect-card,
    body.site-lending .cpa-cta-actions .btn-check-availability {
        width: 100% !important;
        white-space: normal;
    }
}

/* Страница города: светло-серый фон страницы, белые карточки контента */
body.site-lending.page-home {
    --lending-page-bg: #fafbfc;
    --lending-content-bg: #fff;
    background: var(--lending-page-bg);
}

body.site-lending.page-home .hero-section,
body.site-lending.page-home .providers-section,
body.site-lending.page-home .tariffs-section,
body.site-lending.page-home .how-we-pick-section,
body.site-lending.page-home .city-how-to-section,
body.site-lending.page-home .city-connect-seo-section,
body.site-lending.page-home .provider-sale-seo,
body.site-lending.page-home .city-faq-section,
body.site-lending.page-home .provider-stability-section,
body.site-lending.page-home .provider-opinions-section,
body.site-lending.page-home .popular-cities-wrap,
body.site-lending.page-home .home-manifesto-section,
body.site-lending.page-home .why-no-tariffs-section,
body.site-lending.page-home .faq-section {
    background: var(--lending-page-bg);
}

body.site-lending.page-home .city-how-to-carousel-slide-inner {
    background: var(--lending-content-bg);
}

body.site-lending.page-home .hero-city-check-card,
body.site-lending.page-home .hero-city-widget {
    background: #f3f4f6;
}

body.site-lending.page-home .provider-tariffs-catalog-summary:hover {
    background: #f6f7f9;
}

body.site-lending.page-home .city-connect-seo-card,
body.site-lending.page-home .provider-sale-seo-card {
    border-color: var(--lending-line, #edf0f4);
    box-shadow: 0 8px 28px rgba(22, 22, 22, 0.05);
}

/* Городская главная монобренда — лёгкий дилерский акцент */
body.page-home--dealer .hero-section--city-landing {
    padding-bottom: 1.5rem;
}

body.page-home--dealer .city-landing-hero {
    border-radius: 1.1rem;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

body.page-home--dealer .landing-best-tariffs,
body.page-home--dealer .city-best-tariffs {
    margin-top: 0.75rem;
}
