/* ==========================================================================
   Shine Detailing — Коммерческий SEO-движок 2026 (Оклейка пленкой + Антикор)
   Палитра: --main-color: #f7941d; --main-color-darken: #f08708; фон #111 / #f7f8fa
   ========================================================================== */

/* 1. Хлебные крошки (по стандарту WAI-ARIA Breadcrumb + CSS empty-alt divider) */
.seo-breadcrumb {
    margin: 0 0 18px 0;
    position: relative;
    z-index: 3;
}
.seo-breadcrumb > ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 8px 14px;
    background: rgba(18, 18, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    width: fit-content;
    max-width: 100%;
    backdrop-filter: blur(6px);
}
.seo-breadcrumb > ol > li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
}
.seo-breadcrumb > ol > li + li::before {
    content: "›";
    content: "›" / "";
    color: var(--main-color, #f7941d);
    font-weight: 700;
}
.seo-breadcrumb > ol > li > a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.32);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.seo-breadcrumb > ol > li > a:hover,
.seo-breadcrumb > ol > li > a:focus-visible {
    color: var(--main-color, #f7941d);
    text-decoration-color: var(--main-color, #f7941d);
}
.seo-breadcrumb > ol > li > a[aria-current="page"] {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    cursor: default;
}
.seo-breadcrumb > ol > li > a:focus-visible {
    outline: 2px solid var(--main-color, #f7941d);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Бейджи цены и сроков на первом экране */
.seo-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px 0;
}
.seo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.seo-hero-badge--price {
    background: var(--main-color, #f7941d);
    color: #111111;
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.35);
}
.seo-hero-badge--meta {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* 2. Навигатор-развилка интентов (например 4 страницы по фарам или фильтр гнилых авто) */
.seo-intent-router {
    padding: 28px 0 10px;
    background: #f6f7f9;
}
.seo-intent-router__box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid var(--main-color, #f7941d);
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.seo-intent-router__title {
    font-size: 18px;
    font-weight: 700;
    color: #141414;
    margin: 0 0 10px 0;
}
.seo-intent-router__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 14px 0;
}
.seo-intent-router__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.seo-intent-router__card {
    display: block;
    padding: 13px 15px;
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    background: #fafafa;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.seo-intent-router__card:hover {
    border-color: var(--main-color, #f7941d);
    background: #fffaf3;
    transform: translateY(-2px);
}
.seo-intent-router__card--current {
    border-color: var(--main-color, #f7941d);
    background: #fff7eb;
}
.seo-intent-router__card strong {
    display: block;
    font-size: 14px;
    color: #111827;
    margin-bottom: 4px;
}
.seo-intent-router__card span {
    display: block;
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.4;
}

/* 3. Интерактивный калькулятор пакетов и зон (BYN) */
.seo-calc-section {
    padding: 56px 0;
    background: #141414;
    color: #ffffff;
}
.seo-calc-header {
    max-width: 820px;
    margin-bottom: 28px;
}
.seo-calc-header h2 {
    color: #ffffff !important;
    margin-bottom: 10px;
}
.seo-calc-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
}
.seo-calc-box {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
}
.seo-calc-step-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--main-color, #f7941d);
    margin: 0 0 12px 0;
}
.seo-calc-classes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.seo-calc-class-btn {
    background: #272727;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 13px 14px;
    text-align: left;
    color: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.seo-calc-class-btn:hover {
    border-color: rgba(247, 148, 29, 0.6);
}
.seo-calc-class-btn.is-active {
    background: rgba(247, 148, 29, 0.14);
    border-color: var(--main-color, #f7941d);
}
.seo-calc-class-btn strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}
.seo-calc-class-btn span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.35;
}
.seo-calc-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.seo-calc-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    background: #262626;
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 13px 15px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.seo-calc-item:hover {
    border-color: rgba(247, 148, 29, 0.5);
}
.seo-calc-item.is-checked {
    background: rgba(247, 148, 29, 0.12);
    border-color: var(--main-color, #f7941d);
}
.seo-calc-item input[type="checkbox"] {
    accent-color: var(--main-color, #f7941d);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.seo-calc-item__info {
    flex: 1;
    min-width: 0;
}
.seo-calc-item__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
}
.seo-calc-item__mat {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
    margin-top: 2px;
}
.seo-calc-item__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color, #f7941d);
    white-space: nowrap;
}
.seo-calc-summary {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.seo-calc-summary__title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 6px;
}
.seo-calc-summary__total {
    font-size: 34px;
    font-weight: 800;
    color: var(--main-color, #f7941d);
    line-height: 1.15;
    margin-bottom: 12px;
}
.seo-calc-summary__list {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 16px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    min-height: 64px;
}
.seo-calc-summary__note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
    margin-bottom: 16px;
}
.seo-calc-submit-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 9px;
    background: var(--main-color, #f7941d);
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.seo-calc-submit-btn:hover {
    background: var(--main-color-darken, #f08708);
    transform: translateY(-1px);
}

/* 4. Прайс-лист (по стандарту modern-web-guidance: responsive-table + @container) */
.seo-price-section {
    padding: 60px 0;
    background: #ffffff;
}
.seo-price-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}
.seo-price-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    padding: 7px 14px;
    border-radius: 999px;
}
.seo-price-updated::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
}
.seo-table-wrapper {
    overflow: auto;
    max-inline-size: 100%;
    container-type: inline-size;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}
.seo-table-wrapper:focus-visible {
    outline: 2px solid var(--main-color, #f7941d);
    outline-offset: 2px;
}
.seo-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14.5px;
    color: #1f2937;
}
.seo-price-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.seo-price-table thead {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
}
.seo-price-table thead th {
    background: #161616;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 15px 16px;
    text-align: left;
    white-space: nowrap;
}
.seo-price-table tbody tr:nth-child(even) th,
.seo-price-table tbody tr:nth-child(even) td {
    background: #f9fafb;
}
.seo-price-table tbody tr:nth-child(odd) th,
.seo-price-table tbody tr:nth-child(odd) td {
    background: #ffffff;
}
.seo-price-table tbody tr:hover th,
.seo-price-table tbody tr:hover td {
    background: #fff8ee;
}
.seo-price-table tbody th {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    font-weight: 600;
    color: #111827;
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid #eceef2;
}
.seo-price-table tbody td {
    padding: 15px 16px;
    border-bottom: 1px solid #eceef2;
    vertical-align: middle;
}
.seo-price-val {
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}
.seo-price-order-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 7px;
    background: var(--main-color, #f7941d);
    color: #111111;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.seo-price-order-btn:hover {
    background: var(--main-color-darken, #f08708);
}
.seo-price-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    font-size: 13.5px;
    color: #4b5563;
}

@container (width < 680px) {
    .seo-price-table,
    .seo-price-table thead,
    .seo-price-table tbody,
    .seo-price-table tr,
    .seo-price-table th,
    .seo-price-table td {
        display: block;
    }
    .seo-price-table thead {
        display: none;
    }
    .seo-price-table tbody tr {
        margin: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
    }
    .seo-price-table tbody th {
        position: static;
        background: #181818 !important;
        color: #ffffff;
        font-size: 15px;
        padding: 12px 14px;
        border-bottom: none;
    }
    .seo-price-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        text-align: right;
    }
    .seo-price-table tbody td:nth-child(2)::before { content: var(--label-2) ": "; font-weight: 600; color: #6b7280; text-align: left; }
    .seo-price-table tbody td:nth-child(3)::before { content: var(--label-3) ": "; font-weight: 600; color: #6b7280; text-align: left; }
    .seo-price-table tbody td:nth-child(4)::before { content: var(--label-4) ": "; font-weight: 600; color: #6b7280; text-align: left; }
    .seo-price-table tbody td:nth-child(5)::before { content: var(--label-5) ": "; font-weight: 600; color: #6b7280; text-align: left; }
    .seo-price-table tbody td:nth-child(6)::before { content: var(--label-6) ": "; font-weight: 600; color: #6b7280; text-align: left; }
    .seo-price-table tbody td:last-child {
        justify-content: stretch;
    }
    .seo-price-table tbody td:last-child::before {
        content: none;
    }
    .seo-price-order-btn {
        width: 100%;
        text-align: center;
        padding: 11px 14px;
    }
}

/* 5. Экспертный блок, матрица материалов и ограничения технологии */
.seo-expert-section {
    padding: 60px 0;
    background: #f6f7f9;
}
.seo-expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 26px;
}
.seo-expert-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.seo-expert-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.35;
}
.seo-expert-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #374151;
    margin: 0 0 10px 0;
}
.seo-expert-card p:last-child {
    margin-bottom: 0;
}
.seo-expert-card ul {
    margin: 10px 0 0 0;
    padding-left: 18px;
}
.seo-expert-card li {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 6px;
}
.seo-warning-box {
    margin-top: 24px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #d97706;
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #78350f;
}
.seo-warning-box strong {
    color: #92400e;
}

/* Сравнительная таблица материалов */
.seo-compare-wrap {
    margin-top: 28px;
}
.seo-compare-wrap h3 {
    font-size: 21px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px 0;
}

/* 6. Хабовый каталог подразделов и карточки умной перелинковки */
.seo-links-section {
    padding: 56px 0;
    background: #ffffff;
}
.seo-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
    margin-top: 26px;
}
.seo-link-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px;
    background: #181818;
    color: #ffffff;
    border-radius: 13px;
    border: 1px solid #2b2b2b;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.seo-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--main-color, #f7941d);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
.seo-link-card__top h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.seo-link-card__top p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0 0 16px 0;
}
.seo-link-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.seo-link-card__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color, #f7941d);
}
.seo-link-card__arrow {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

/* Семантический h3 в FAQ без поломки верстки темы */
.questions__item h3.item-title {
    margin: 0;
    font-weight: 600;
}

/* Мобильная адаптация калькулятора и бейджей */
@media (max-width: 992px) {
    .seo-calc-box {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .seo-calc-classes {
        grid-template-columns: 1fr;
    }
    .seo-calc-items {
        grid-template-columns: 1fr;
    }
    .seo-breadcrumb > ol {
        padding: 6px 10px;
        gap: 6px;
    }
    .seo-breadcrumb > ol > li {
        font-size: 12px;
    }
    .seo-calc-section,
    .seo-price-section,
    .seo-expert-section,
    .seo-links-section {
        padding: 40px 0;
    }
}
