.model-fault-hero {
    --mfh-ink: #141a21;
    --mfh-muted: #5d6772;
    --mfh-bg: color-mix(in srgb, var(--color_brand) 6%, #ffffff);
    --mfh-card: #ffffff;
    --mfh-line: color-mix(in srgb, var(--color_brand) 16%, #e3e7ec);
    --mfh-soft: color-mix(in srgb, var(--color_brand) 9%, #ffffff);
    --mfh-brand-ink: color-mix(in srgb, var(--color_brand) 78%, #10161d);
    /* заливка под белый текст: +10% тёмного гарантируют AA-контраст
     даже на светлых брендовых цветах */
    --mfh-brand-strong: color-mix(in srgb, var(--color_brand) 90%, #10161d);
    --mfh-brand-strong-hover: color-mix(in srgb, var(--mfh-brand-strong) 86%, #000000);
    --mfh-focus: color-mix(in srgb, var(--color_brand) 45%, transparent);

    box-sizing: border-box;
    background: var(--mfh-bg);
    border: 1px solid var(--mfh-line);
    /*border-radius: 24px;*/
    padding: 20px 16px 24px;
    color: var(--mfh-ink);
    font: inherit;
}

.model-fault-hero *,
.model-fault-hero *::before,
.model-fault-hero *::after {
    box-sizing: inherit
}

/* ---------- Хлебные крошки (список, разделители — псевдо) ---------- */
.model-fault-hero__crumbs {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--mfh-muted)
}

.model-fault-hero__crumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
}

.model-fault-hero__crumb {
    display: inline-flex;
    align-items: center
}

.model-fault-hero__crumb+.model-fault-hero__crumb::before {
    content: "/";
    margin: 0 6px 0 2px;
    color: color-mix(in srgb, var(--mfh-muted) 55%, #ffffff);
}

.model-fault-hero__crumb a {
    display: inline-block;
    padding: 4px 2px;
    margin: -4px 0;
    /* тач-зона ≥24px без сдвига макета */
    color: var(--mfh-muted);
    text-decoration: none;
    border-radius: 4px;
}

.model-fault-hero__crumb a:hover {
    color: var(--mfh-brand-ink)
}

.model-fault-hero__crumb a:focus-visible {
    outline: 2px solid var(--mfh-focus);
    outline-offset: 1px
}

.model-fault-hero__crumb[aria-current] {
    color: var(--mfh-ink);
    font-weight: 600
}

/* ---------- Сетка ---------- */
.model-fault-hero__side {
    margin-top: 24px
}

@media (min-width:1040px) {
    .model-fault-hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 44px;
        align-items: start;
    }

    .model-fault-hero__side {
        margin-top: 0
    }
}

/* ---------- Заголовок ---------- */
.model-fault-hero__title {
    margin: 0;
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.model-fault-hero__lead {
    margin: 12px 0 0;
    max-width: 56ch;
    font-size: 16px;
    line-height: 1.55;
    color: var(--mfh-muted);
}

/* ---------- Чипы симптомов ----------
   Мобильные: внутренний вертикальный скролл (~3 ряда) с фейдами.
   Десктоп: перенос, лишние чипы прячутся за «Ещё +N». */
.model-fault-hero__chips-wrap {
    position: relative;
    margin: 18px 0 12px
}

.model-fault-hero__chips {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    max-height: 140px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px;
    scrollbar-width: none;
}

.model-fault-hero__chips::-webkit-scrollbar {
    display: none
}

.model-fault-hero__chips-wrap::before,
.model-fault-hero__chips-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 26px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity .15s;
}

.model-fault-hero__chips-wrap::before {
    top: 0;
    background: linear-gradient(180deg, var(--mfh-bg), transparent)
}

.model-fault-hero__chips-wrap::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--mfh-bg), transparent)
}

.model-fault-hero__chips-wrap.is-top::before {
    opacity: 1
}

.model-fault-hero__chips-wrap.is-bottom::after {
    opacity: 1
}

.model-fault-hero__chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--mfh-card);
    border: 1px solid var(--mfh-line);
    color: var(--mfh-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

.model-fault-hero__chip:hover {
    border-color: color-mix(in srgb, var(--color_brand) 45%, #e3e7ec)
}

.model-fault-hero__chip:focus-visible {
    outline: 2px solid var(--mfh-focus);
    outline-offset: 2px
}

.model-fault-hero__chip.is-active {
    background: var(--mfh-brand-strong);
    border-color: var(--mfh-brand-strong);
    color: #ffffff;
}

/* Кнопка «Ещё +N» / «Свернуть» — существует только на десктопе */
.model-fault-hero__more {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: transparent;
    border: 1px dashed color-mix(in srgb, var(--color_brand) 45%, #e3e7ec);
    color: var(--mfh-brand-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.model-fault-hero__more:hover {
    background: var(--mfh-soft)
}

.model-fault-hero__more:focus-visible {
    outline: 2px solid var(--mfh-focus);
    outline-offset: 2px
}

.model-fault-hero__more-close {
    display: none
}

.model-fault-hero__more.is-open .model-fault-hero__more-label {
    display: none
}

.model-fault-hero__more.is-open .model-fault-hero__more-close {
    display: inline
}

/* Тач-экраны: цели ≥42px (WCAG target-size с запасом) */
@media (pointer:coarse) {

    .model-fault-hero__chip,
    .model-fault-hero__more {
        min-height: 42px;
        padding: 10px 16px
    }

    .model-fault-hero__chips {
        gap: 10px;
        max-height: 172px
    }
}

@media (min-width:720px) {
    .model-fault-hero__chips {
        max-height: none;
        overflow: visible
    }

    .model-fault-hero__chips-wrap::before,
    .model-fault-hero__chips-wrap::after {
        display: none
    }

    .model-fault-hero__chips.is-collapsed .model-fault-hero__chip--extra {
        display: none
    }

    .model-fault-hero__more.is-on {
        display: inline-flex
    }
}

/* ---------- Вердикт (скрыт до выбора причины) ---------- */
.model-fault-hero__verdict {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--mfh-card);
    border: 1px solid var(--mfh-line);
    border-radius: 16px;
    padding: 16px;
}

.model-fault-hero__verdict[hidden] {
    display: none
}

.model-fault-hero__verdict-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--mfh-soft);
    color: var(--mfh-brand-ink);
    display: grid;
    place-items: center;
}

.model-fault-hero__ic {
    width: 24px;
    height: 24px
}

.model-fault-hero__ic--ok {
    display: none
}

.model-fault-hero__verdict[data-kind="yes"] .model-fault-hero__ic--search {
    display: none
}

.model-fault-hero__verdict[data-kind="yes"] .model-fault-hero__ic--ok {
    display: block
}

.model-fault-hero__verdict-body {
    min-width: 0
}

.model-fault-hero__verdict-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--mfh-soft);
    color: var(--mfh-brand-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    margin: 0 0 6px;
}

.model-fault-hero__verdict-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3
}

.model-fault-hero__verdict-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--mfh-muted)
}

.model-fault-hero__verdict-stats {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--mfh-brand-ink)
}

.model-fault-hero__verdict-body.is-in {
    animation: modelFaultHeroFade .28s ease
}

@keyframes modelFaultHeroFade {
    from {
        opacity: 0;
        transform: translateY(3px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media (prefers-reduced-motion:reduce) {
    .model-fault-hero__verdict-body.is-in {
        animation: none
    }

    .model-fault-hero__chip,
    .model-fault-hero__more,
    .model-fault-hero__submit {
        transition: none
    }
}

/* ---------- Форма ---------- */
.model-fault-hero__form {
    margin-top: 18px
}

.model-fault-hero__field {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.model-fault-hero__input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--mfh-line);
    background: #ffffff;
    color: var(--mfh-ink);
    font: inherit;
    font-size: 16px;
}

/* placeholder: полный muted (5.7:1) + opacity:1, иначе Firefox
   приглушает до провала контраста */
.model-fault-hero__input::placeholder {
    color: var(--mfh-muted);
    opacity: 1
}

.model-fault-hero__input:focus {
    outline: none;
    border-color: var(--color_brand);
    box-shadow: 0 0 0 3px var(--mfh-focus);
}

.model-fault-hero__submit {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: var(--mfh-brand-strong);
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.model-fault-hero__submit:hover {
    background: var(--mfh-brand-strong-hover)
}

.model-fault-hero__submit:focus-visible {
    outline: 2px solid var(--mfh-focus);
    outline-offset: 2px
}

@media (min-width:560px) {
    .model-fault-hero__field {
        flex-direction: row
    }

    .model-fault-hero__input {
        flex: 1 1 auto;
        min-width: 0
    }

    .model-fault-hero__submit {
        flex: 0 0 auto
    }
}

.model-fault-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 12px;
}

.model-fault-hero__sale {
    padding: 5px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color_brand) 14%, #ffffff);
    color: var(--mfh-brand-ink);
    font-size: 13px;
    font-weight: 800;
}

.model-fault-hero__hint {
    font-size: 13px;
    color: var(--mfh-muted)
}

.model-fault-hero__consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--mfh-muted);
    cursor: pointer;
}

.model-fault-hero__consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--color_brand);
}

.model-fault-hero__consent a {
    display: inline-block;
    padding: 4px 2px;
    margin: -4px -2px;
    /* тач-зона ≥24px */
    color: var(--mfh-brand-ink);
    border-radius: 4px;
}

.model-fault-hero__consent a:focus-visible {
    outline: 2px solid var(--mfh-focus);
    outline-offset: 1px
}

/* ---------- Строка доверия ---------- */
.model-fault-hero__trust {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.model-fault-hero__trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mfh-muted);
}

.model-fault-hero__trust svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--mfh-brand-ink)
}

/* ---------- Карточка «что входит» ---------- */
.model-fault-hero__card {
    background: var(--mfh-card);
    border: 1px solid var(--mfh-line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--color_brand) 8%, transparent);
}

.model-fault-hero__card-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mfh-muted);
}

.model-fault-hero__price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap
}

.model-fault-hero__price {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1
}

.model-fault-hero__price-note {
    font-size: 13px;
    color: var(--mfh-muted)
}

.model-fault-hero__card-title {
    margin: 16px 0 10px;
    font-size: 14px;
    font-weight: 700
}

.model-fault-hero__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px
}

.model-fault-hero__list li {
    display: flex;
    gap: 9px;
    font-size: 14px;
    line-height: 1.45
}

.model-fault-hero__list svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--mfh-brand-strong)
}

.model-fault-hero__fair {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--mfh-soft);
    font-size: 13px;
    line-height: 1.5;
}

.model-fault-hero__call {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--mfh-line);
    text-decoration: none;
    color: var(--mfh-brand-ink);
}

.model-fault-hero__call svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto
}

.model-fault-hero__call b {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2
}

.model-fault-hero__call small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--mfh-muted)
}

.model-fault-hero__call:focus-visible {
    outline: 2px solid var(--mfh-focus);
    outline-offset: 4px;
    border-radius: 8px
}

/* ---------- Отступы контейнера на широких экранах ---------- */
@media (min-width:720px) {
    .model-fault-hero {
        padding: 28px 28px 32px
    }
}

@media (min-width:1040px) {
    .model-fault-hero {
        padding: 36px 40px 40px
    }
}