/* === Design system (страницы услуг) === */
body.service-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    color: #334155;
}

/* --- 1. HERO (первый экран услуги) --- */
.seo-hero-block-dynamic {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.94) 0%,
        rgba(15, 23, 42, 0.82) 38%,
        rgba(15, 23, 42, 0.45) 68%,
        rgba(15, 23, 42, 0.25) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.seo-container-1290 {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: block;
}

.seo-hero-block-dynamic .seo-container-1290 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 96px 24px 64px;
    min-height: inherit;
}

.hero-content-inner {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Порядок в hero: рейтинг внизу, под «Напишите нам» */
.hero-breadcrumbs { order: 1; }
.seo-hero-title { order: 2; }
.seo-hero-desc { order: 3; }
.hero-btn-group { order: 4; }
.hero-socials,
.glass-socials-wrapper { order: 5; }
.hero-rating-box { order: 6; }

/* --- 2. ТИПОГРАФИКА HERO --- */
.hero-breadcrumbs {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(226, 232, 240, 0.75);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}
.hero-breadcrumbs a {
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    transition: color 0.15s;
}
.hero-breadcrumbs a:hover { color: #fff; }
.hero-breadcrumbs span.breadcrumb_last { color: #fff; font-weight: 600; }
.hero-breadcrumb-sep {
    color: rgba(148, 163, 184, 0.6);
    user-select: none;
}

.seo-hero-title {
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    text-transform: none;
    text-shadow: none;
    color: #fff;
}

.hero-rating-box {
    margin: 14px 0 0;
    display: inline-flex;
    justify-content: flex-start;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.kk-star-ratings {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
}
.kksr-stars-wrap {
    position: relative;
    display: inline-block;
    min-height: 28px;
}
.kksr-stars-interactive {
    display: flex;
    gap: 4px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}
.kksr-stars-display {
    position: relative;
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 4px;
    user-select: none;
    padding-bottom: 2px;
}
.kk-star-ratings:not(.kksr-voted) .kksr-stars-display {
    padding-top: 0;
    transition: opacity 0.12s;
}
/* При наведении скрываем слой среднего рейтинга — иначе звёзды «двоятся» */
.kk-star-ratings:not(.kksr-voted):hover .kksr-stars-display,
.kk-star-ratings:not(.kksr-voted):focus-within .kksr-stars-display {
    opacity: 0;
}
.kksr-vote-star {
    border: none;
    background: transparent;
    color: transparent;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 4px;
    padding: 0;
    cursor: pointer;
    width: 28px;
    text-shadow: none;
    transition: color 0.12s, transform 0.12s;
}
/* Превью оценки — только подсвеченные звёзды, не все сразу */
.kk-star-ratings:not(.kksr-voted):hover .kksr-vote-star,
.kk-star-ratings:not(.kksr-voted):focus-within .kksr-vote-star {
    color: rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.kk-star-ratings:not(.kksr-voted) .kksr-vote-star.is-active {
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.kksr-vote-star:hover,
.kksr-vote-star:focus-visible {
    transform: scale(1.08);
    outline: none;
}
.kksr-stars-track {
    color: rgba(255,255,255,0.28);
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.kksr-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--kksr-percent, 0%);
    overflow: hidden;
    white-space: nowrap;
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.kksr-legend {
    color: #e2e8f0 !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.kksr-msg {
    font-size: 12px;
    font-weight: 600;
    min-height: 16px;
}
.kksr-msg-success { color: #86efac; }
.kksr-msg-error { color: #fca5a5; }
.kksr-loading { opacity: 0.75; pointer-events: none; }
.kksr-voted .kksr-vote-star {
    cursor: default;
    pointer-events: none;
    display: none;
}

.seo-hero-desc {
    font-size: 17px;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 0 28px;
    color: rgba(226, 232, 240, 0.92);
    font-weight: 400;
    text-shadow: none;
}

/* --- 3. КНОПКИ HERO --- */
.hero-btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.btn-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #16a34a;
    color: #fff !important;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    border: none;
}
.btn-hero-call:hover {
    transform: translateY(-2px);
    background: #15803d;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}
.btn-hero-call-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
}
.btn-hero-call-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.btn-hero-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-hero-anchor:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.hero-no-service-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
    font-weight: 600;
    color: #fca5a5;
}
.hero-no-service-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(226, 232, 240, 0.75);
    margin-top: 4px;
}

/* --- 4. СОЦСЕТИ HERO --- */
.hero-socials,
.glass-socials-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 12px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.hero-socials-label,
.glass-text {
    color: rgba(226, 232, 240, 0.7) !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500;
    white-space: nowrap;
}

.hero-socials-row,
.glass-icons-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.glass-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.glass-icon-item:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.glass-icon-item img {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    display: block;
    object-fit: contain;
}

/* --- HERO: мобильная версия --- */
@media (max-width: 768px) {
    .seo-hero-block-dynamic { min-height: 480px; }
    .seo-hero-block-dynamic .seo-container-1290 {
        padding: 88px 14px 48px;
        justify-content: flex-end;
    }
    .hero-content-inner { max-width: 100%; }
    .seo-hero-title { margin-bottom: 12px; }
    .seo-hero-desc {
        font-size: 15px;
        margin-bottom: 22px;
    }
    .hero-btn-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .btn-hero-call,
    .btn-hero-call-secondary {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .btn-hero-anchor {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 10px;
        font-size: 13px;
    }
    .hero-no-service-msg { grid-column: 1 / -1; }
}
/* --- Секция (О компании / карточки) --- */
.details-section {
    padding: 56px 20px;
    background: #ffffff;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.details-container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

/* --- Карточки «О компании» --- */
.detail-card {
    background: #0f172a;
    background-image: radial-gradient(circle at 100% 0%, #1e293b 0%, #0f172a 80%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.card-title {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

/* --- 1. Карточка Верификации --- */
.card-verified {
    border-left: 3px solid #22c55e;
}
/* Легкая подсветка для верификации */
.card-verified::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative; z-index: 2;
}

.verified-badge img {
    width: 45px; height: 45px; object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.4));
}

.verified-text h3 {
    margin: 0; font-size: 17px; color: #4ade80; font-weight: 700;
}
.verified-text span {
    font-size: 12px; color: #cbd5e1;
}

.address-row {
    font-size: 16px; font-weight: 600; color: #fff;
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
    position: relative; z-index: 2;
}

/* --- 2. График работы --- */
.time-list {
    list-style: none; padding: 0; margin: 0;
}
.time-list li {
    display: flex; justify-content: space-between; margin-bottom: 12px;
    font-size: 15px; color: #cbd5e1;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 5px;
}
.time-list li strong { color: #fff; font-weight: 600; }

/* --- 3. Реквизиты --- */
.legal-info p {
    margin: 0 0 12px 0; font-size: 14px; color: #cbd5e1; line-height: 1.5;
}
.legal-info strong {
    color: #fff; display: block; margin-bottom: 3px; font-size: 15px;
}
.legal-partner-badge {
    font-size: 12px; color: #5cefbb; margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; font-style: italic;
}

/* --- 4. Акция (Фиолетовая) --- */
.card-promo {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #166534 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 8px 28px rgba(22, 163, 74, 0.15);
}
.card-promo .card-title {
    color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3);
}
.promo-content {
    text-align: center; margin-top: auto; margin-bottom: auto;
}
.promo-percent {
    font-size: 52px; font-weight: 900; line-height: 1; margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3); color: #fff;
}
.promo-desc {
    font-size: 16px; font-weight: 600; opacity: 0.9; color: #fff;
}
/* --- Секция цен (все страницы услуг) --- */
.pricing-section {
    padding: clamp(40px, 6vw, 64px) 20px;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 45%, #fff 100%);
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 70%);
    pointer-events: none;
}

.pricing-section .seo-container-1290 {
    position: relative;
    z-index: 1;
}

.pricing-title {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 800;
    text-align: left;
    margin: 0 0 8px;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pricing-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.pricing-table-wrapper {
    margin-top: 28px;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.pricing-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.pricing-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.pricing-table-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Любая таблица внутри обёртки + класс seo-price-table */
.pricing-table-wrapper table,
.seo-price-table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
    font-size: 15px;
    table-layout: fixed;
}

.pricing-table-wrapper table thead th,
.seo-price-table thead th {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #f8fafc;
    text-align: left;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
}

.pricing-table-wrapper table thead th:last-child,
.seo-price-table thead th:last-child {
    text-align: right;
}

/* Fallback: первая строка tbody как шапка (старый WP-формат) */
.pricing-table-wrapper table:not(:has(thead)) tbody > tr:first-child td,
.seo-price-table:not(:has(thead)) tbody > tr:first-child td {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #f8fafc;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
}

.pricing-table-wrapper table:not(:has(thead)) tbody > tr:first-child td h3,
.pricing-table-wrapper table:not(:has(thead)) tbody > tr:first-child td strong,
.pricing-table-wrapper table:not(:has(thead)) tbody > tr:first-child td span {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    margin: 0;
}

.pricing-table-wrapper table tbody td,
.seo-price-table tbody td {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    line-height: 1.45;
    transition: background 0.18s ease, color 0.18s ease;
}

.pricing-table-wrapper table tbody td:first-child,
.seo-price-table tbody td:first-child {
    font-weight: 600;
    color: #0f172a;
    width: 58%;
}

.pricing-table-wrapper table tbody td:last-child,
.seo-price-table tbody td:last-child {
    text-align: right;
    width: 42%;
}

.price-value {
    display: inline-block;
    font-weight: 800;
    font-size: 16px;
    color: #16a34a;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.pricing-table-wrapper table tbody tr:nth-child(even):not(:first-child),
.seo-price-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.pricing-table-wrapper table tbody tr:hover:not(:first-child),
.seo-price-table tbody tr:hover {
    background-color: #eff6ff;
}

.pricing-table-wrapper table tbody tr:last-child td,
.seo-price-table tbody tr:last-child td {
    border-bottom: none;
}

/* Пустые строки WP */
.pricing-table-wrapper table tbody tr:empty,
.pricing-table-wrapper table tbody tr:has(td:empty:only-child) {
    display: none;
}

.price-disclaimer {
    margin-top: 22px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    padding: 18px 20px;
    border-radius: 14px;
    font-size: 14px;
    color: #1e3a5f;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.55;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.price-disclaimer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
}

.price-disclaimer a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

/* --- Адаптив: карточки вместо таблицы --- */
@media (max-width: 768px) {
    .pricing-section {
        padding: 32px 16px 40px;
    }

    .pricing-title::after {
        width: 48px;
        margin-top: 12px;
    }

    .pricing-table-wrapper {
        margin-top: 20px;
        border-radius: 16px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .pricing-table-scroll {
        overflow: visible;
    }

    .pricing-table-wrapper table,
    .seo-price-table {
        display: block;
        min-width: 0;
    }

    .pricing-table-wrapper table thead,
    .seo-price-table thead {
        display: none;
    }

    .pricing-table-wrapper table:not(:has(thead)) tbody > tr:first-child,
    .seo-price-table:not(:has(thead)) tbody > tr:first-child {
        display: none;
    }

    .pricing-table-wrapper table tbody,
    .seo-price-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .pricing-table-wrapper table tbody tr,
    .seo-price-table tbody tr {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 18px;
        background: #fff !important;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    }

    .pricing-table-wrapper table tbody tr:hover,
    .seo-price-table tbody tr:hover {
        border-color: #93c5fd;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    }

    .pricing-table-wrapper table tbody td,
    .seo-price-table tbody td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
    }

    .pricing-table-wrapper table tbody td:first-child,
    .seo-price-table tbody td:first-child {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
        padding-bottom: 4px !important;
    }

    .pricing-table-wrapper table tbody td:last-child,
    .seo-price-table tbody td:last-child {
        padding-top: 0 !important;
    }

    .pricing-table-wrapper table tbody td:last-child::before,
    .seo-price-table tbody td:last-child::before {
        content: 'Цена';
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #94a3b8;
        margin-bottom: 4px;
    }

    .price-value {
        font-size: 18px;
        white-space: normal;
    }

    .price-disclaimer {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 16px;
    }

    .disclaimer-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .price-value {
        font-size: 16px;
    }
}
/* --- Блок «Нужна консультация?» --- */
.consultation-full-section,
.consult-cta {
    width: 100%;
    padding: clamp(48px, 7vw, 72px) 20px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.consult-cta__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 0% 100%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(96, 165, 250, 0.15), transparent 50%),
        linear-gradient(155deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
    pointer-events: none;
}

.consult-cta__grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
    pointer-events: none;
}

.consult-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.consult-cta__orb--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: 10%;
    background: rgba(59, 130, 246, 0.35);
}

.consult-cta__orb--2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: 5%;
    background: rgba(37, 99, 235, 0.25);
}

.consultation-full-section::before {
    display: none;
}

.consult-flex-wrapper,
.consult-cta__layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(28px, 5vw, 56px);
    position: relative;
    z-index: 2;
}

.consult-text-full,
.consult-cta__copy {
    flex: 1;
    min-width: 0;
}

.consult-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px 6px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
}

.consult-cta__eyebrow .brn-ico {
    color: #60a5fa;
}

.consult-text-full h3 {
    font-size: clamp(26px, 4vw, 38px);
    margin: 0 0 14px;
    color: #f8fafc;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.consult-text-full p {
    font-size: clamp(15px, 2vw, 17px);
    margin: 0;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 520px;
}

.consult-text-full p strong {
    color: #e2e8f0;
    font-weight: 600;
}

.consult-actions-full,
.consult-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-width: min(100%, 340px);
    flex-shrink: 0;
}

.btn-white-full,
.btn-consult-call {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: clamp(16px, 2.5vw, 18px);
    padding: 18px 28px;
    border-radius: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 24px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-consult-call__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.btn-consult-call__icon .brn-ico {
    width: 22px;
    height: 22px;
    color: #fff;
}

.btn-consult-call__text {
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-white-full:hover,
.btn-consult-call:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-3px);
    box-shadow:
        0 12px 36px rgba(37, 99, 235, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.consult-cta__messengers {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.consult-cta .hero-socials,
.consult-cta .glass-socials-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.consult-cta .hero-socials-label,
.consult-cta .glass-text {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8 !important;
}

.consult-cta .hero-socials-row,
.consult-cta .glass-icons-grid {
    gap: 10px !important;
}

.consult-cta .glass-icon-item {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.consult-cta .glass-icon-item:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(147, 197, 253, 0.4);
    transform: translateY(-3px) scale(1.04);
}

.consult-cta .glass-icon-item img {
    width: 26px !important;
    height: 26px !important;
}

@media (max-width: 992px) {
    .consult-flex-wrapper,
    .consult-cta__layout {
        flex-direction: column;
        align-items: stretch;
    }

    .consult-actions-full,
    .consult-cta__actions {
        width: 100%;
        min-width: 0;
    }

    .btn-consult-call__text {
        white-space: normal;
    }

    .consult-cta .hero-socials,
    .consult-cta .glass-socials-wrapper {
        align-items: center !important;
    }

    .consult-cta .hero-socials-row,
    .consult-cta .glass-icons-grid {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-white-full,
    .btn-consult-call {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
    }

    .btn-consult-call__text {
        font-size: 16px;
    }
}

.email-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: color 0.15s, border-color 0.15s;
}
.email-link:hover {
    color: #4ade80;
    border-color: #4ade80;
}
/* --- Секция "Веселого" SEO текста --- */
.modern-seo-section {
    padding: 56px 0;
    background-color: #ffffff;
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.modern-text-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
}

.modern-text-wrapper::before,
.modern-text-wrapper::after {
    display: none;
}

.modern-text-wrapper h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.modern-text-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 36px;
    margin-bottom: 16px;
    display: block;
    border-bottom: none;
    padding-left: 14px;
    border-left: 3px solid #22c55e;
}

.drop-cap::first-letter {
    font-size: 3.2em;
    float: left;
    margin-right: 12px;
    margin-top: -6px;
    line-height: 0.85;
    color: #16a34a;
    font-weight: 800;
}

/* --- Стили для Галереи (Шорткод) --- */
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 32px 0;
}

.gallery-item {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    cursor: zoom-in;
    border: 1px solid #e2e8f0;
    padding: 0;
    width: 100%;
    display: block;
    font: inherit;
    color: inherit;
    background-color: #f1f5f9;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    z-index: 2;
}
.gallery-item:focus-visible {
    outline: 3px solid #16a34a;
    outline-offset: 3px;
}

/* --- Лайтбокс галереи --- */
body.gallery-lightbox-open {
    overflow: hidden;
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    background: rgba(8, 12, 20, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.gallery-lightbox[hidden] {
    display: none !important;
}
.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
}
.gallery-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}
.gallery-lightbox-prev { left: 10px; }
.gallery-lightbox-next { right: 10px; }
.gallery-lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 56px 12px;
    min-height: 0;
    touch-action: pan-y pinch-zoom;
}
.gallery-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    user-select: none;
    -webkit-user-drag: none;
}
.gallery-lightbox-footer {
    flex-shrink: 0;
    padding: 10px 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.35));
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gallery-lightbox-counter {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    width: 100%;
}
.gallery-lightbox-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 8px 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
}
.gallery-lightbox-thumbs::-webkit-scrollbar {
    height: 4px;
}
.gallery-lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}
.gallery-lightbox-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    scroll-snap-align: center;
    transition: border-color 0.15s, transform 0.15s;
}
.gallery-lightbox-thumb.is-active {
    border-color: #22c55e;
    transform: scale(1.04);
}
.gallery-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 640px) {
    .gallery-lightbox-stage {
        padding: 52px 8px 8px;
    }
    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
    .gallery-lightbox-prev { left: 4px; }
    .gallery-lightbox-next { right: 4px; }
    .gallery-lightbox-thumb {
        width: 56px;
        height: 56px;
    }
}

/* --- Списки-карточки --- */
.modern-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
    list-style: none;
    margin: 30px 0;
}

.modern-list li {
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    border-left: 3px solid #22c55e;
    font-weight: 600;
    font-size: 15px;
    color: #334155;
    transition: background 0.15s;
}
.modern-list li:hover {
    background: #f0fdf4;
}

.fun-quote {
    background: #0f172a;
    color: #e2e8f0;
    padding: 24px 28px;
    border-radius: 12px;
    font-style: normal;
    font-size: 16px;
    line-height: 1.65;
    margin: 32px 0;
    position: relative;
    box-shadow: none;
    border-left: 4px solid #22c55e;
}
.fun-quote::before {
    display: none;
}

/* Адаптив */
@media (max-width: 992px) {
    .modern-text-wrapper { padding: 24px 16px; }
    .modern-list { grid-template-columns: 1fr; }
}
/* --- Секция FAQ (DARK MODE) --- */
.faq-section {
    padding: 56px 20px;
    background: #0f172a;
    background-image: radial-gradient(circle at 50% 100%, #1e293b 0%, #0f172a 80%);
    color: #e2e8f0;
}

.faq-header {
    text-align: left;
    margin-bottom: 32px;
    max-width: none;
}
.faq-header h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.02em;
    text-shadow: none;
}
.faq-header p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s;
}

.faq-item:hover {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transform: none;
}

.faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #f8fafc;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: #22c55e;
    font-weight: 400;
    transition: transform 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
}

/* --- Состояние: ОТКРЫТО --- */
.faq-item details[open] summary {
    /* Легкая подсветка фона при открытии */
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #3498db; /* Заголовок синеет */
}

.faq-item details[open] summary::after {
    transform: rotate(45deg); 
    color: #e74c3c; /* Крестик краснеет */
}

/* Ответ (текст внутри) */
.faq-answer {
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #94a3b8;
    background: transparent;
}
.faq-footer a {
    color: #4ade80;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(74, 222, 128, 0.5);
    transition: 0.15s;
}
.faq-footer a:hover {
    color: #fff;
    border-color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
    .faq-header h2 { font-size: 28px; }
    .faq-item summary { padding: 15px 20px; font-size: 16px; }
    .faq-answer { padding: 15px 20px; }
}
/* --- КОНТЕЙНЕР --- */
.reviews-split-section { padding: 56px 20px; background: #f8fafc; border-top: 1px solid #f1f5f9; }
.reviews-split-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.reviews-left-col { width: 100%; }
.reviews-header-left { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.reviews-header-left h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #0f172a; margin: 0; letter-spacing: -0.02em; text-transform: none; }
.btn-trigger-review { background: #16a34a; color: #fff; border: none; padding: 12px 20px; border-radius: 12px; font-weight: 600; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background 0.15s, transform 0.15s; text-decoration: none; }
.btn-trigger-review:hover { background: #15803d; transform: translateY(-1px); color: #fff; }
.reviews-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.review-card-grid { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; transition: box-shadow 0.15s, border-color 0.15s; display: flex; flex-direction: column; }
.review-card-grid:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); transform: none; border-color: #bbf7d0; }
.author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.avatar-circle { width: 42px; height: 42px; border-radius: 50%; background: #0f172a; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.author-meta h4 { margin: 0; font-size: 15px; color: #0f172a; font-weight: 600; }
.stars-static { color: #facc15; font-size: 13px; letter-spacing: 1px; }
.review-body { font-size: 15px; color: #475569; line-height: 1.55; font-style: normal; }
.review-date-label { margin-top: auto; padding-top: 14px; font-size: 12px; color: #94a3b8; text-align: right; }
.reviews-right-col { position: -webkit-sticky; position: sticky; top: 40px; z-index: 10; }
.form-sticky-wrapper { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); border-radius: 16px; padding: 24px; position: relative; min-height: 400px; }
.form-sticky-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #16a34a, #22c55e); border-radius: 16px 16px 0 0; }
.sticky-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; color: #0f172a; text-align: center; letter-spacing: -0.02em; }
.sticky-subtitle { font-size: 13px; color: #64748b; text-align: center; margin-bottom: 18px; }
.form-compact-input { width: 100%; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; box-sizing: border-box; font-family: inherit; transition: border-color 0.15s; }
.form-compact-input:focus { border-color: #16a34a; outline: none; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12); }
.policy-checkbox-wrapper a { color: #16a34a; text-decoration: underline; }
.btn-submit-sticky { width: 100%; background: #16a34a; color: white; padding: 14px; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: 15px; transition: background 0.15s; position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit-sticky:hover { background: #15803d; }
.success-title { font-size: 22px; font-weight: 800; color: #16a34a; margin-bottom: 10px; }
.form-compact-group { margin-bottom: 14px; }
.rating-compact { display: flex; flex-direction: row-reverse; justify-content: center; margin-bottom: 5px; }
.rating-compact input { display: none; }
.rating-compact label { font-size: 32px; color: #e2e8f0; cursor: pointer; padding: 0 2px; transition: 0.15s; }
.rating-compact input:checked ~ label, .rating-compact label:hover, .rating-compact label:hover ~ label { color: #facc15; }
.rating-label-text { text-align: center; font-size: 12px; color: #94a3b8; margin-bottom: 14px; }
.policy-checkbox-wrapper { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #64748b; margin-bottom: 18px; line-height: 1.4; }
.policy-checkbox-wrapper input { margin-top: 3px; cursor: pointer; }
.btn-submit-sticky:disabled { background: #94a3b8; cursor: not-allowed; opacity: 0.7; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 20; border-radius: 16px; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; box-sizing: border-box; }
.success-icon { font-size: 50px; margin-bottom: 20px; display: block; }
.success-text { color: #64748b; font-size: 15px; }
.faq-answer p { margin: 0; }
.faq-answer strong { color: #f8fafc; }
.faq-footer { text-align: left; margin-top: 28px; font-size: 15px; color: #64748b; }
.faq-item summary::-webkit-details-marker { display: none; }
@media (max-width: 992px) { .reviews-split-wrapper { grid-template-columns: 1fr; } .reviews-right-col { display: none; margin-top: 30px; } .reviews-right-col.mobile-active { display: block; animation: fadeIn 0.5s; } .btn-trigger-review { width: 100%; justify-content: center; } .reviews-grid-container { grid-template-columns: 1fr; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
/* Секция */
.auto-services-section {
    padding: 48px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.auto-services-header h3 {
    text-align: left;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.auto-services-subtitle {
    text-align: left;
    max-width: 640px;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.5;
    color: #64748b;
}
.service-related-articles {
    max-width: 1140px;
    margin: 0 auto 28px;
    padding: 0 10px;
}
.service-related-articles-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.service-related-articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.service-related-article {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.service-related-article:hover {
    border-color: #16a34a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.service-related-article-img {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}
.service-related-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-related-article-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.service-related-article-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #16a34a;
}
.service-related-article-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}
.service-related-article-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}
.service-related-article-date {
    font-size: 12px;
    color: #94a3b8;
}

/* Дочерние страницы услуги */
.child-page-nav {
    max-width: 1140px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.child-page-back {
    display: inline-block;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 12px;
}
.child-page-back:hover { color: #1d4ed8; }
.child-page-siblings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.child-page-sibling {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.child-page-sibling:hover {
    background: #dbeafe;
    color: #1d4ed8;
}
.child-services-section {
    border-top: 1px solid #eee;
}
.child-services-grid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Сетка */
.auto-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Карточка */
.auto-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    display: flex;
    flex-direction: column;
    height: 150px;
    position: relative;
    border: 1px solid #e2e8f0;
    z-index: 1;
}

.auto-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border-color: #bbf7d0;
}

/* Обёртка для картинки */
.card-img-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: #fff;
}

/* ГРАДИЕНТ-МАСКА (Новое) */
/* Делает картинку белой внизу, чтобы текст читался */
.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Градиент: Сверху прозрачно, снизу белый цвет */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 30%, rgba(255,255,255,0.9) 70%, #ffffff 100%);
    z-index: 1;
}

/* Реальная картинка */
.service-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0.6; /* Сделал чуть ярче, так как теперь есть градиент */
    transition: 0.5s;
}

/* Эффект при наведении */
.auto-service-card:hover .service-real-img {
    opacity: 0.8; 
    transform: scale(1.1); 
}

/* Название услуги */
.service-title {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 14px;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.35;
    text-shadow: none;
}
.auto-service-card:hover .service-title {
    color: #16a34a;
}

/* Адаптив */
@media (max-width: 768px) {
    .auto-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- СЕКЦИЯ КАТАЛОГА --- */
.product-catalog-section {
    padding: 56px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.catalog-header {
    text-align: left;
    margin-bottom: 28px;
}
.catalog-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    text-transform: none;
    margin-bottom: 8px;
}
.catalog-subtitle {
    font-size: 15px;
    color: #64748b;
}

/* --- СЕТКА (GRID 4 в ряд) --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- КАРТОЧКА ТОВАРА --- */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

/* Область картинки */
.prod-img-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f0f2f5;
    cursor: zoom-in;
}

.modern-text-wrapper img:not(.service-real-img) {
    cursor: zoom-in;
    border-radius: 10px;
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .prod-img-wrap img {
    transform: scale(1.1);
}

/* Текстовая часть */
.prod-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

/* Кнопка "Рассчитать" */
.btn-calc-prod {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 1px solid #3498db;
    border-radius: 6px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    background: transparent;
    cursor: pointer;
}

.btn-calc-prod:hover {
    background: #3498db;
    color: #fff;
}

/* --- АДАПТИВ --- */
@media (max-width: 1100px) {
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .catalog-title { font-size: 26px; }
}
@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr; }
}
.hero-no-service-msg {background: #01010166;padding: 20px;border: 3px dashed #ffa500;border-radius: 16px;}
/* --- СТИЛИ ДЛЯ СТРАНИЦЫ О НАС --- */
.about-page-wrapper {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* 1. HERO BLOCK */
.about-hero {
    position: relative;
    background: #0f172a;
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 130px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Декор фон */
.about-hero::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-label {
    display: inline-block;
    color: #2ecc71;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
}

.about-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.about-desc {
    font-size: 20px;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* 2. СТАТИСТИКА (GLASS) */
.stats-glass-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: -50px; /* Наезжает на следующий блок */
    position: relative;
    z-index: 5;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-num {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #bdc3c7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    color: #94a3b8;
    font-size: 14px;
    text-transform: uppercase;
}

/* 3. МИССИЯ (БЕЛЫЙ БЛОК) */
.mission-section {
    padding: 120px 20px 80px 20px; /* Сверху отступ под статы */
    background: #f8f9fa;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 25px;
}
.mission-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.mission-visual {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.f-icon {
    font-size: 24px;
    background: #e8f8f5;
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.f-content h4 { margin: 0 0 5px 0; font-size: 18px; color: #2c3e50; }
.f-content p { margin: 0; font-size: 14px; color: #7f8c8d; }

/* 4. КТО МЫ (IT PANDA) */
.team-section {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}
.panda-box {
    max-width: 800px;
    margin: 0 auto;
    background: #0f172a;
    color: #fff;
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}
.panda-box h3 { font-size: 28px; margin-bottom: 20px; color: #fff; }
.panda-box p { color: #cbd5e1; font-size: 16px; margin-bottom: 30px; }
.panda-btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}
.panda-btn:hover { background: #2980b9; transform: translateY(-3px); }
/* --- ФИКС ШИРИНЫ ДЛЯ СТРАНИЦЫ "О НАС" --- */
/* Находим главный оберточный класс страницы и разрешаем ему 100% */
.about-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Растягиваем основные секции страницы */
.about-hero, .mission-section, .team-section {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
}

/* А теперь центрируем контент внутри (about-container) */
.about-container {
    max-width: 1200px !important; /* Или твоя стандартная ширина */
    margin: 0 auto !important;
    padding: 0 20px;
}

/* --- ОСТАЛЬНЫЕ ТВОИ СТИЛИ СТРАНИЦЫ (БЕЗ ИЗМЕНЕНИЙ) --- */
.about-page-wrapper { font-family: 'Inter', sans-serif; color: #333; }
.about-hero {
    position: relative;
    background: #0f172a;
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 130px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
/* ... и далее весь твой остальной CSS код ... */
/* АДАПТИВ */
@media (max-width: 992px) {
    .about-title { font-size: 36px; }
    .mission-grid { grid-template-columns: 1fr; }
    .stats-glass-row { grid-template-columns: 1fr; margin-bottom: 0; }
    .mission-section { padding-top: 60px; }
}

/* --- Липкая кнопка контактов (страницы услуг) --- */
.service-contact-fab-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    pointer-events: none;
}
.service-contact-fab-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.service-contact-fab {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 150;
}
.service-contact-fab-btn {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    z-index: 2;
}
.service-contact-fab-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.5);
}
.service-contact-fab-btn:focus-visible {
    outline: 3px solid rgba(34, 197, 94, 0.45);
    outline-offset: 3px;
}
.service-contact-fab-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.2s;
}
.service-contact-fab-icon svg { width: 26px; height: 26px; }
.service-contact-fab-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}
.service-contact-fab.is-open .service-contact-fab-icon-phone {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}
.service-contact-fab.is-open .service-contact-fab-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}
.service-contact-fab.is-open .service-contact-fab-btn {
    background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
}
.service-contact-panel {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 0;
    width: min(320px, calc(100vw - 56px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.95);
    transform-origin: bottom left;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    pointer-events: none;
}
.service-contact-fab.is-open .service-contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.service-contact-panel-head {
    padding: 16px 18px 12px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}
.service-contact-panel-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 4px;
}
.service-contact-panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}
.service-contact-panel-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(60vh, 420px);
    overflow-y: auto;
}
.service-contact-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.service-contact-action-call {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}
.service-contact-action-call:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}
.service-contact-action-secondary {
    background: #f1f5f9;
    color: #0f172a !important;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}
.service-contact-action-secondary:hover { background: #e2e8f0; }
.service-contact-action-secondary .service-contact-action-icon {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}
.service-contact-action-email {
    background: #f8fafc;
    color: #0f172a !important;
    border: 1px solid #e2e8f0;
}
.service-contact-action-email:hover { background: #f1f5f9; }
.service-contact-action-email .service-contact-action-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}
.service-contact-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.service-contact-action-icon svg { width: 20px; height: 20px; }
.service-contact-action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.service-contact-action-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}
.service-contact-action-value {
    font-size: 15px;
    font-weight: 800;
    word-break: break-all;
}
.service-contact-messengers-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 8px;
    padding: 0 2px;
}
.service-contact-messengers-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.service-contact-messenger {
    flex: 1;
    min-width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155 !important;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s, transform 0.15s;
}
.service-contact-messenger:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}
.service-contact-messenger img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.service-contact-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    background: #f8fafc;
    border-radius: 10px;
}
.service-contact-address svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #16a34a;
    margin-top: 1px;
}
@media (max-width: 768px) {
    .service-contact-fab {
        bottom: 20px;
        left: 16px;
    }
    .service-contact-fab-btn {
        width: 54px;
        height: 54px;
    }
    .service-contact-panel {
        width: min(300px, calc(100vw - 32px));
    }
}

/* --- Мобильные отступы страниц услуг (единый боковой зазор) --- */
@media (max-width: 768px) {
    body.service-page .site-content-fullwidth .entry-content > * {
        padding-left: 0;
        padding-right: 0;
    }

    body.service-page .seo-container-1290,
    body.service-page .details-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.service-page .details-section {
        padding: 24px 0;
    }

    body.service-page .detail-card {
        padding: 22px 16px;
    }

    body.service-page .pricing-section {
        padding: 32px 0;
    }

    body.service-page .faq-section,
    body.service-page .reviews-split-section,
    body.service-page .product-catalog-section {
        padding: 24px 0;
    }

    body.service-page .faq-item summary,
    body.service-page .faq-answer {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.service-page .modern-seo-section {
        padding: 40px 0;
    }

    body.service-page .modern-text-wrapper {
        padding: 20px 16px;
        border-radius: 12px;
    }

    body.service-page .modern-text-wrapper::before {
        left: 16px;
    }

    body.service-page .modern-text-wrapper::after {
        left: 84px;
    }

    body.service-page .auto-services-section {
        padding: 24px 0;
    }

    body.service-page .child-page-nav {
        margin-left: 14px;
        margin-right: 14px;
        padding: 14px;
    }

    body.service-page .child-services-grid,
    body.service-page .service-related-articles {
        padding-left: 0;
        padding-right: 0;
    }

    body.service-page .fun-quote {
        padding: 20px 16px;
    }

    body.service-page .modern-list li {
        padding: 16px 16px;
    }
}

/* ============================================================
   ДОЧЕРНИЕ СТРАНИЦЫ УСЛУГ — отдельный макет
   ============================================================ */

body.service-child-page .site-content-fullwidth .entry-content > * {
    padding-left: 0;
    padding-right: 0;
}

/* --- Компактный hero (без полноэкранного фото) --- */
.child-service-hero {
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 28px 0 24px;
}

.child-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 28px;
    align-items: center;
}

.child-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.child-breadcrumbs {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 14px;
}
.child-breadcrumbs a {
    color: #475569;
    text-decoration: none;
}
.child-breadcrumbs a:hover { color: #0f172a; }
.child-breadcrumbs .breadcrumb_last { color: #0f172a; font-weight: 700; }
.child-breadcrumb-sep { color: #cbd5e1; margin: 0 4px; }

.child-hero-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 12px;
    text-transform: none;
}

.child-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 18px;
    max-width: 560px;
}

.child-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-child-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
}
.btn-child-call:hover { background: #15803d; transform: translateY(-1px); }
.btn-child-call--block { width: 100%; box-sizing: border-box; }

.btn-child-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.btn-child-secondary:hover {
    border-color: #16a34a;
    background: #f0fdf4;
}

.child-hero-content .hero-socials {
    margin-bottom: 12px;
}
.child-hero-content .glass-text {
    color: #64748b;
    font-size: 13px;
}
.child-hero-content .glass-icon-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.child-hero-rating { margin-top: 4px; }
.child-hero-rating .kksr-legend { color: #64748b; font-size: 13px; }
.child-hero-rating .kksr-stars-track { color: #e2e8f0; }
.child-hero-rating .kksr-stars-fill { color: #facc15; }

.child-hero-visual {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
}
.child-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.child-hero-visual--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    color: #94a3b8;
}

/* --- Горизонтальная навигация по подуслугам --- */
.child-sibling-rail {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 56px;
    z-index: 40;
}
.child-rail-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.child-rail-track::-webkit-scrollbar { display: none; }

.child-rail-link {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.child-rail-link:hover {
    border-color: #86efac;
    color: #15803d;
    background: #f0fdf4;
}
.child-rail-link.is-current {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

/* --- Двухколоночный layout --- */
.child-page-layout {
    max-width: 1290px;
    margin: 0 auto;
    padding: 32px 20px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.child-section {
    margin-bottom: 40px;
}
.child-section:last-child { margin-bottom: 0; }

.child-section-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 8px;
}

.child-section-lead {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 20px;
    line-height: 1.5;
}

.child-intro {
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
}
.child-intro h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 12px;
    letter-spacing: -0.01em;
}
.child-intro h2:first-child { margin-top: 0; }
.child-intro p { margin: 0 0 14px; }

.child-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.child-benefits-list li {
    position: relative;
    padding: 14px 16px 14px 42px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    line-height: 1.45;
}
.child-benefits-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.child-steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: child-step;
    display: grid;
    gap: 12px;
}
.child-steps-list li {
    counter-increment: child-step;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
}
.child-steps-list li::before {
    content: counter(child-step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Карточки цен (дочерние услуги) --- */
.child-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.child-price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    min-height: 88px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.child-price-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}
.child-price-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}
.child-price-value {
    font-size: 18px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.02em;
}
.child-price-note {
    margin: 18px 0 0;
    padding: 14px 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
}

body.site-baranovichi .child-price-value {
    color: var(--brn-accent-hover);
}

body.site-baranovichi .child-price-card:hover {
    border-color: var(--brn-accent-light);
}

body.site-baranovichi .child-price-note {
    border-left-color: var(--brn-accent);
    background: linear-gradient(135deg, var(--brn-accent-muted) 0%, #f8fafc 100%);
}

/* --- FAQ дочерней страницы --- */
.child-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}
.child-faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.child-faq-item summary::-webkit-details-marker { display: none; }
.child-faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: #16a34a;
    flex-shrink: 0;
}
.child-faq-item[open] summary::after {
    content: '−';
}
.child-faq-answer {
    padding: 0 18px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}
.child-faq-answer p { margin: 0; }

/* --- Карточки других подуслуг --- */
.child-sibling-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.child-sibling-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.child-sibling-card:hover {
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateY(-2px);
}
.child-sibling-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}
.child-sibling-card-arrow {
    color: #16a34a;
    font-size: 18px;
    flex-shrink: 0;
}

/* --- Боковая панель --- */
.child-aside {
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.child-aside-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.child-aside-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin: 0 0 10px;
}
.child-aside-call .hero-socials {
    margin-top: 14px;
}
.child-aside-call .glass-icons-grid {
    justify-content: flex-start;
}
.child-aside-parent {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.35;
}
.child-aside-parent:hover { color: #16a34a; }

.child-aside-siblings {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}
.child-aside-siblings li { margin-bottom: 6px; }
.child-aside-siblings a {
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    line-height: 1.4;
}
.child-aside-siblings a:hover { color: #16a34a; }

.child-aside-org {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 6px;
}
.child-aside-region,
.child-aside-unp {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 4px;
    line-height: 1.45;
}
.child-aside-reviews-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    text-decoration: none;
}
.child-aside-reviews-link:hover { text-decoration: underline; }

/* --- Мобильная версия дочерних страниц --- */
@media (max-width: 992px) {
    .child-hero-grid {
        grid-template-columns: 1fr;
    }
    .child-hero-visual {
        order: -1;
        max-height: 180px;
        aspect-ratio: 21 / 9;
    }
    .child-page-layout {
        grid-template-columns: 1fr;
        padding: 24px 14px 40px;
    }
    .child-aside {
        position: static;
        order: -1;
    }
    .child-sibling-rail {
        top: 52px;
    }
}

@media (max-width: 768px) {
    body.service-child-page .child-page-layout {
        padding-left: 14px;
        padding-right: 14px;
    }
    body.service-child-page .child-service-hero .seo-container-1290 {
        padding-left: 14px;
        padding-right: 14px;
    }
    body.service-child-page .child-sibling-rail .seo-container-1290 {
        padding-left: 14px;
        padding-right: 14px;
    }
    .child-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .btn-child-call { grid-column: 1 / -1; width: 100%; }
    .child-price-grid { grid-template-columns: 1fr; }
}

/* --- Преимущества и этапы (страницы услуг) --- */
.svc-section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}
.svc-section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.svc-section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}
.svc-section-head--light h2 { color: #fff; }
.svc-section-head--light p { color: rgba(255, 255, 255, 0.78); }

.svc-benefits {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.svc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.svc-benefit-card {
    padding: 22px 20px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.svc-benefit-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.svc-benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}
.svc-benefit-card__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.svc-benefit-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.svc-steps {
    padding: 56px 0 64px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}
.svc-steps::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 10% 20%, rgba(59, 130, 246, 0.25), transparent),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(34, 197, 94, 0.12), transparent);
    pointer-events: none;
}
.svc-steps .seo-container-1290 {
    position: relative;
    z-index: 1;
}
.svc-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.svc-step-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.svc-step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(147, 197, 253, 0.45);
    transform: translateY(-3px);
}
.svc-step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.svc-step-card__body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.svc-step-card__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.brn-main .svc-benefit-card:hover {
    border-color: var(--brn-accent-light, #93c5fd);
}
.brn-main .svc-benefit-card__icon {
    background: var(--brn-accent-soft, #eff6ff);
}
.brn-main .svc-step-card__num {
    background: linear-gradient(135deg, var(--brn-accent, #3b82f6), var(--brn-accent-hover, #2563eb));
}

@media (max-width: 1024px) {
    .svc-benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .svc-steps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .svc-benefits,
    .svc-steps { padding: 44px 0 48px; }
    .svc-benefits__grid,
    .svc-steps__grid { grid-template-columns: 1fr; }
    .svc-section-head { margin-bottom: 28px; }
}