/* Общий стиль страниц услуг (/promotions/tyrefit, balance, repair-*) */

.service-page {
    --svc-orange: #ff5607;
    --svc-blue: #1193f5;
    --svc-text: #3a3a45;
    --svc-muted: #6d6a7e;
    --svc-border: #cfd6de;
    --svc-bg: #f5f7fa;
    --svc-note: #fff4e5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 0 40px;
    color: var(--svc-text);
}

.service-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    margin-bottom: 20px;
    padding: 28px 32px;
    background:
        linear-gradient(135deg, rgba(255, 86, 7, 0.08) 0%, rgba(17, 147, 245, 0.06) 100%),
        #fff;
    border: 1px solid var(--svc-border);
    border-radius: 12px;
    box-sizing: border-box;
}

.service-hero-text {
    flex: 1 1 280px;
    max-width: 720px;
    min-width: 0;
}

.promo-hero-image {
    display: block;
    flex: 1 0 100%;
    width: 100%;
    max-height: 420px;
    border-radius: 9px;
    object-fit: contain;
    background: var(--svc-bg);
}

.service-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--svc-muted);
}

.service-eyebrow a {
    color: var(--svc-blue);
    text-decoration: none;
    font-weight: 600;
}

.service-eyebrow a:hover {
    text-decoration: underline;
}

.service-hero h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.service-hero-lead {
    margin: 6px 0 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--svc-text);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--svc-orange);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(255, 86, 7, 0.28);
    transition: background-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.service-cta:hover {
    background: #e64c00;
    box-shadow: 0 6px 18px rgba(255, 86, 7, 0.35);
}

.service-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.service-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--svc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--svc-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s, color .15s, background-color .15s;
}

.service-toc a:hover,
.service-toc a.is-current {
    border-color: var(--svc-orange);
    color: var(--svc-orange);
    background: #fff7f2;
}

.service-block {
    margin-bottom: 24px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--svc-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34, 60, 80, 0.05);
    box-sizing: border-box;
}

.service-block h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-block h3 {
    margin: 18px 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.service-block p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--svc-text);
}

.service-block p:last-child {
    margin-bottom: 0;
}

.service-block ul,
.service-block ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-block li {
    position: relative;
    padding: 10px 12px 10px 28px;
    margin-bottom: 6px;
    border-radius: 8px;
    background: var(--svc-bg);
    font-size: 14px;
    line-height: 1.45;
}

.service-block li:last-child {
    margin-bottom: 0;
}

.service-block ul li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--svc-orange);
}

.service-block ol {
    counter-reset: svc-step;
}

.service-block ol li {
    padding-left: 40px;
}

.service-block ol li::before {
    counter-increment: svc-step;
    content: counter(svc-step);
    position: absolute;
    left: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--svc-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.service-block li strong {
    color: var(--svc-text);
}

.service-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-faq-item {
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--svc-bg);
}

.service-faq-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--svc-text);
}

.service-faq-item span,
.service-faq-item {
    font-size: 14px;
    line-height: 1.45;
    color: var(--svc-muted);
}

.service-faq-item strong {
    color: var(--svc-text);
}

.service-note {
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid #f0d2a8;
    border-radius: 10px;
    background: var(--svc-note);
    font-size: 14px;
    line-height: 1.5;
    color: var(--svc-text);
    box-sizing: border-box;
}

.service-note strong {
    color: #b34700;
}

.service-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-address-card {
    padding: 16px;
    border-radius: 8px;
    background: var(--svc-bg);
}

.service-address-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.service-address-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-address-card li {
    margin: 0 0 6px;
    padding: 0;
    background: none;
    font-size: 14px;
    color: var(--svc-muted);
}

.service-address-card li::before {
    display: none;
}

.service-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 8px;
    border: 1px solid var(--svc-border);
    border-radius: 10px;
}

.service-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 14px;
}

.service-table th,
.service-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e8edf2;
    text-align: left;
    vertical-align: top;
}

.service-table th {
    background: var(--svc-bg);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--svc-muted);
}

.service-table tr:last-child td {
    border-bottom: none;
}

.service-bottom-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    padding: 22px 28px;
    border-radius: 12px;
    background: var(--svc-bg);
    border: 1px solid var(--svc-border);
    box-sizing: border-box;
}

.service-bottom-cta p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    max-width: 640px;
}

.service-meta {
    margin-top: 12px;
    font-size: 14px;
    color: var(--svc-muted);
}

.service-prose {
    font-size: 15px;
    line-height: 1.55;
}

.service-prose h2,
.service-prose h3 {
    margin: 20px 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--svc-text);
}

.service-prose p {
    margin: 0 0 18px;
}

.service-prose p:last-child {
    margin-bottom: 0;
}

.service-prose strong {
    font-weight: 700;
    color: var(--svc-text);
}

.service-prose a {
    color: var(--svc-blue);
    font-weight: 600;
    text-decoration: none;
}

.service-prose a:hover {
    text-decoration: underline;
}

.service-prose ul,
.service-prose ol {
    margin: 0 0 14px;
    padding-left: 1.25em;
    list-style: disc;
}

.service-prose ol {
    list-style: decimal;
}

.service-prose li {
    margin: 0 0 6px;
    padding: 0;
    background: none;
    font-size: 15px;
    line-height: 1.5;
}

.service-prose li::before {
    display: none;
}

.service-prose .promo-conditions {
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.service-prose .promo-conditions li {
    position: relative;
    margin-bottom: 8px;
    padding: 11px 14px 11px 32px;
    border-radius: 8px;
    background: var(--svc-bg);
}

.service-prose .promo-conditions li::before {
    content: '';
    display: block;
    position: absolute;
    left: 14px;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--svc-orange);
}

.service-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--svc-muted);
}

.service-empty h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--svc-text);
}

@media screen and (max-width: 860px) {
    .service-page {
        padding: 0 0 28px;
        min-width: 0;
        overflow-x: hidden;
    }

    .service-hero {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .service-hero-text {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .promo-hero-image {
        max-height: 280px;
        border-radius: 7px;
    }

    .service-hero h1 {
        font-size: 22px;
    }

    .service-hero > .service-cta,
    .service-cta {
        display: flex;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .service-toc {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }

    .service-toc a {
        justify-content: center;
        border-radius: 8px;
        min-height: 40px;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
        padding: 8px 10px;
    }

    .service-block {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .service-block h2 {
        font-size: 18px;
    }

    .service-addresses {
        grid-template-columns: 1fr;
    }

    .service-bottom-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 16px;
        text-align: center;
    }

    .service-bottom-cta .service-cta {
        width: 100%;
    }
}
