
        :root {
            --accent: #f68b1f;
            --accent-dark: #e07400;
            --bg-light: #f7f7f7;
            --text-main: #222;
        }

        body {
            margin: 0;
            font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
            color: var(--text-main);
            background: #ffffff;
        }

        .page {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .topbar {
    background: #111;
    color: #fff;
    font-size: 14px;
    padding: 8px 16px;
}
 .topbar__inner,
.header__inner,
.section__inner,
.footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
     

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.topbar__text {
    flex: 1 1 auto;
}
.topbar__contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.topbar__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.topbar__phone-link--secondary {
    font-weight: 400;
    opacity: 0.9;
}
.topbar__icon {
    font-size: 16px;
}
.topbar__icon-link {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}
.topbar__icon-link--wa::before {
    content: 'W';
    font-weight: 700;
}
.topbar__icon-link--tg::before {
    content: 'T';
    font-weight: 700;
}

/* Мобильная адаптация: перенос строк и только трубка вместо номера */
@media (max-width: 640px) {
    .topbar__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .topbar__contacts {
        gap: 8px;
    }
    /* на очень маленьком экране показываем только трубку + первую иконку */
    .topbar__phone-text {
        display: none;
    }
}


        .header {
            border-bottom: 1px solid #eee;
            background: #fff;
        }
        .header__inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            padding-bottom: 12px;
        }
        .logo {
            font-weight: 700;
            font-size: 20px;
            text-transform: uppercase;
        }
        .logo span {
            color: var(--accent);
        }
        .header__nav {
            display: flex;
            gap: 20px;
            font-size: 14px;
        }
        .header__nav a {
            color: #444;
            text-decoration: none;
        }
        .header__nav a:hover {
            color: var(--accent-dark);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 22px;
            border-radius: 6px;
            border: none;
            background: var(--accent);
            color: #fff;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            cursor: pointer;
            transition: background .2s ease, transform .1s ease;
            white-space: nowrap;
        }
        .btn:hover {
            background: var(--accent-dark);
            transform: translateY(-1px);
        }
        .btn--outline {
            background: transparent;
            border: 1px solid var(--accent);
            color: var(--accent-dark);
        }
        .btn--outline:hover {
            background: rgba(246,139,31,0.06);
        }

        main {
            flex: 1 0 auto;
        }

        .section {
            padding: 56px 0;
        }
        .section--gray {
            background: var(--bg-light);
        }
        .section__title {
            font-size: 28px;
            font-weight: 700;
            margin: 0 0 12px;
        }
        .section__subtitle {
            font-size: 16px;
            margin: 0 0 28px;
            color: #555;
            max-width: 640px;
        }

        /* Первый экран */
        .hero {
            padding: 56px 0 40px;
            background: linear-gradient(135deg,#ffffff 0%,#fff5ea 40%,#ffe4c2 100%);
        }
        .hero__inner {
            display: grid;
            grid-template-columns: 1.3fr 1fr;
            gap: 32px;
            align-items: center;
        }
        .hero__title {
            font-size: 34px;
            line-height: 1.2;
            margin: 0 0 16px;
        }
        .hero__badge {
            display: inline-block;
            padding: 6px 10px;
            border-radius: 100px;
            background: #111;
            color: #fff;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 14px;
        }
        .hero__subtitle {
            font-size: 17px;
            margin-bottom: 16px;
            color: #444;
        }
        .hero__list {
            margin: 0 0 20px;
            padding-left: 18px;
            font-size: 14px;
            color: #444;
        }
        .hero__price {
            font-weight: 600;
            margin-bottom: 18px;
        }
        .hero__buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 14px;
        }
        .hero__note {
            font-size: 13px;
            color: #666;
        }
        .hero__form-box {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 12px 26px rgba(0,0,0,0.12);
            padding: 20px 18px;
        }
        .hero__form-title {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 8px;
        }
        .hero__form-subtitle {
            font-size: 13px;
            color: #666;
            margin-bottom: 14px;
        }

        /* Карточки направлений */
        .grid {
            display: grid;
            grid-template-columns: repeat(4,minmax(0,1fr));
            gap: 16px;
        }
        .card {
            background: #fff;
            border-radius: 10px;
            padding: 16px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.04);
        }
        .card--clickable {
            cursor: pointer;
        }
        .card__title {
            font-weight: 600;
            margin-bottom: 6px;
            font-size: 16px;
        }
        .card__text {
            font-size: 14px;
            color: #555;
            margin-bottom: 10px;
        }
        .card__price {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        .card__link {
            font-size: 13px;
            color: var(--accent-dark);
            text-decoration: none;
        }

        /* Коммерческие блоки */
        .columns-3 {
            display: grid;
            grid-template-columns: repeat(3,minmax(0,1fr));
            gap: 18px;
        }
        .tariff {
            background: #fff;
            border-radius: 10px;
            padding: 18px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        .tariff__title {
            font-weight: 600;
            font-size: 18px;
            margin-bottom: 6px;
        }
        .tariff__size {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
        }
        .tariff__price {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .tariff__list {
            font-size: 14px;
            margin: 0 0 12px;
            padding-left: 18px;
            color: #555;
        }

        /* Факты */
        .facts {
            display: grid;
            grid-template-columns: repeat(3,minmax(0,1fr));
            gap: 16px;
        }
        .fact {
            background: #fff;
            border-radius: 10px;
            padding: 14px 16px;
            font-size: 14px;
            box-shadow: 0 3px 8px rgba(0,0,0,0.03);
        }
        .fact__title {
            font-weight: 600;
            margin-bottom: 4px;
        }

        /* Портфолио */
        .portfolio {
            display: grid;
            grid-template-columns: repeat(3,minmax(0,1fr));
            gap: 18px;
        }
        .portfolio__item {
            background: #fff;
            border-radius: 10px;
            padding: 14px 16px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.04);
            font-size: 14px;
        }
        .portfolio__city {
            font-size: 12px;
            color: #777;
            margin-bottom: 4px;
        }
        .portfolio__price {
            font-weight: 600;
            margin-top: 6px;
        }

        /* Этапы */
        .steps {
            display: grid;
            grid-template-columns: repeat(4,minmax(0,1fr));
            gap: 14px;
            font-size: 14px;
        }
        .step {
            background: #fff;
            border-radius: 10px;
            padding: 14px 16px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.04);
        }
        .step__num {
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--accent-dark);
        }
        .step__title {
            font-weight: 600;
            margin-bottom: 4px;
        }

        /* FAQ, отзывы */
        .faq-item {
            margin-bottom: 14px;
            padding: 12px 14px;
            border-radius: 8px;
            background: #fff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.03);
            font-size: 14px;
        }
        .faq-item__q {
            font-weight: 600;
            margin-bottom: 4px;
        }
        .reviews {
            display: grid;
            grid-template-columns: repeat(3,minmax(0,1fr));
            gap: 16px;
        }
        .review {
            background: #fff;
            border-radius: 10px;
            padding: 14px 16px;
            font-size: 14px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.04);
        }
        .review__name {
            font-weight: 600;
            margin-bottom: 3px;
        }
        .review__meta {
            font-size: 12px;
            color: #777;
            margin-bottom: 4px;
        }

        /* Формы в середине страницы */
        .cta {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
            align-items: center;
        }
        .cta__text {
            flex: 1 1 260px;
            font-size: 15px;
        }
        .cta__form {
            flex: 0 0 320px;
            max-width: 100%;
        }
        .cta__form-box {
            background: #fff;
            border-radius: 10px;
            padding: 18px 16px;
            box-shadow: 0 8px 18px rgba(0,0,0,0.08);
        }

        /* Контакты/подвал */
        .contacts-list {
            font-size: 14px;
            line-height: 1.6;
        }
        .contacts-list a {
            color: var(--accent-dark);
            text-decoration: none;
        }
        .footer {
            background: #111;
            color: #aaa;
            padding: 16px 0;
            font-size: 12px;
        }

        /* Адаптив */
        @media (max-width: 960px) {
            .hero__inner,
            .columns-3,
            .facts,
            .portfolio,
            .steps,
            .reviews {
                grid-template-columns: 1fr;
            }
            .grid {
                grid-template-columns: repeat(2,minmax(0,1fr));
            }
            .header__nav {
                display: none;
            }
        }
        @media (max-width: 640px) {
            .grid {
                grid-template-columns: 1fr;
            }
            .hero {
                padding-top: 28px;
            }
            .hero__title {
                font-size: 26px;
            }
        }
		.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.steps__item {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  gap: 10px;
}
.steps__number {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.steps__title {
  font-weight: 600;
  margin-bottom: 4px;
}
.steps__text {
  font-size: 14px;
  color: #4b5563;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.faq__question {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq__answer {
  margin-top: 6px;
  font-size: 14px;
  color: #4b5563;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.section--dark {
  background: #111827;
  color: #e5e7eb;
}
.section__title--light,
.section__subtitle--light {
  color: #e5e7eb;
}
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.contacts__col {
  flex: 1 1 260px;
}
.contacts-list > div {
  margin-bottom: 6px;
  font-size: 14px;
}
.contacts-list a {
  color: #f97316;
  text-decoration: none;
}
.contacts-note {
  font-size: 14px;
  color: #9ca3af;
}
.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #9ca3af;
}
.footer-bottom a {
  color: #9ca3af;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    line-height: 1.35;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.cookie-banner--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.cookie-banner__text {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-banner__text a {
    color: #f97316;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-banner__btn {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    background: #f97316;
    color: #111827;
    font-weight: 600;
}

.cookie-banner__btn:hover {
    background: #fb923c;
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 8px 10px;
        gap: 10px;
        font-size: 11px;
        border-radius: 10px;
    }

    .cookie-banner__text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cookie-banner__btn {
        padding: 7px 10px;
        font-size: 11px;
        align-self: center;
    }
}
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.review {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-size: 14px;
}
.review__name {
  font-weight: 600;
  margin-bottom: 2px;
}
.review__source {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.review__text {
  color: #4b5563;
}
.reviews__links {
  margin-top: 10px;
  font-size: 13px;
}
.reviews__links a {
  color: #f97316;
  text-decoration: underline;
}
.hero-mini-reviews {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}
.hero-mini-reviews__item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.hero-mini-reviews__photo img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}
.hero-mini-reviews__name {
    font-weight: 600;
    margin-bottom: 2px;
}
.hero-mini-reviews__text {
    color: #4b5563;
}
@media (max-width: 640px) {
    .hero-mini-reviews__item {
        gap: 6px;
    }
    .hero-mini-reviews__photo img {
        width: 40px;
        height: 40px;
    }
}
.contacts-map__title {
    font-weight: 600;
    margin-bottom: 4px;
}
.contacts-map__subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}
html, body {
    margin: 0;
    padding: 0;
}

.footer {
    background: #020617; /* цвет полоски */
}

.footer-bottom {
    max-width: 1180px;       /* как у section__inner */
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #9ca3af;
}

.footer-bottom__right a {
    color: #9ca3af;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Единый стиль для чекбокса согласия с политикой */
.chekForm {
    width: 16px;
    height: 16px;
}

.flxCntr {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.flxDiv1 {
    margin-right: 8px;
}

.flxDiv2 a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .flxCntr {
        align-items: flex-start;
    }
}


/* Иконки мессенджеров в верхней плашке */
.topbar__icon-img {
    width: 16px;
    height: 16px;
    display: block;
}

.topbar__icon-link--wa::before,
.topbar__icon-link--tg::before {
    content: none;
}

/* Визуал на первом экране */
.hero__visual {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.hero__visual img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Изображения в тарифах */
.tariff__image {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.tariff__image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Изображение в блоке ремонта */
.cta__image {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.cta__image img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

/* Фото в отзывах */
.review__photo {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.review__photo img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Иконки мессенджеров и VK в контактах */
.contacts__row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.contacts__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Адаптивные высоты картинок на маленьких экранах */
@media (max-width: 640px) {
    .hero__visual img {
        height: 160px;
    }
    .tariff__image img {
        height: 160px;
    }
    .review__photo img {
        height: 140px;
    }
}

/* ВИЗУАЛ КАРТОЧЕК И ОТЗЫВОВ */

/* Картинки в портфолио: немного «дороговизны» */
.portfolio__img {
    width: 100%;
    display: block;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Мини-отзывы под формой: лёгкая тень, без изменения размеров */
.hero-mini-reviews__photo img {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Фото в большом блоке отзывов (на будущее, когда добавите) */
.review__photo img {
    width: 100%;
    max-height: 180px;      /* на 20–30% ниже, чем стандартные картинки */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
    .review__photo img {
        max-height: 140px;  /* на мобилке ещё чуть ниже */
    }
}

/* БЛОК "ПОЧЕМУ НАМ ДОВЕРЯЮТ" */

.section--why {
    background: #fed7aa33; /* лёгкая тёплая подложка, прозрачная */
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.features__item {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.features__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.features__text {
    font-size: 14px;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .features {
        grid-template-columns: 1fr;
    }
    .section--why {
        background: #ffe4c4; /* чуть плотнее на мобилке — блок не разваливается */
    }
}

/* БЛОК "КАК МЫ РАБОТАЕМ" — ЕДИНЫЙ СТИЛЬ С .features */

.section--steps {
    background: #fed7aa33; /* такой же тёплый фон, как в section--why */
}

/* Сетка 3+2 -> 2 -> 1 */
.features--steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .features--steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .features--steps {
        grid-template-columns: 1fr;
    }
}

/* ШАГИ — правим отступы и линию */

.step {
    position: relative;
    /* делаем место под кружок слева */
    padding: 22px 18px 18px 64px;
}

/* Номер шага в кружке */
.step__badge {
    position: absolute;
    top: 18px;
    left: 20px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #111827;
}

/* Первый и последний шаги — акцент */
.step--first .step__badge,
.step--last .step__badge {
    background: #f97316;
    color: #fff;
    border-color: transparent;
}

/* Линия между шагами — делаем заметнее */
@media (min-width: 1025px) {
    .step::after {
        content: "";
        position: absolute;
        top: 34px;          /* чутка ниже центра кружка */
        right: -18px;
        width: 36px;
        height: 3px;        /* толще */
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.16);  /* темнее */
    }

    /* нет линии после 3-го (переход строки) и последнего */
    .features--steps .step:nth-child(3)::after,
    .features--steps .step:last-child::after {
        display: none;
    }
}

/* Блок "Что говорят клиенты" — фон секции + белые карточки */

#reviews {
    background: #fed7aa33; /* мягкий тёплый фон, как в блоках "Почему" и "Шаги" */
}

/* Карточки отзывов: белые, с лёгкой тенью */
#reviews .review {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* Имя + источник */
#reviews .review__name {
    font-weight: 600;
    margin-bottom: 2px;
}

#reviews .review__source {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

/* Текст отзыва */
#reviews .review__text {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

/* Ссылки "Смотреть все отзывы..." */
.reviews__links {
    margin-top: 16px;
    font-size: 14px;
}

.reviews__links a {
    text-decoration: underline;
}

/* ===== FAQ ===== */

.section--faq {
    background: #fed7aa33; /* мягкий тёплый фон как в "Почему" и "Шаги" */
}

.faq {
    margin-top: 24px;
    max-width: 900px;
}

/* Карточка вопроса */
.faq__item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Убираем стандартный маркер summary */
.faq__question {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq__question::-webkit-details-marker,
.faq__question::marker {
    display: none;
}

/* Текст ответа */
.faq__answer {
    padding: 0 16px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

/* Плюс/минус справа */
.faq__question::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
    margin-left: 12px;
    color: #6b7280;
    flex-shrink: 0;
}

.faq__item[open] .faq__question::after {
    content: "–";
}

/* Мобильная адаптация */
@media (max-width: 640px) {
    .faq {
        max-width: 100%;
    }

    .faq__question {
        padding: 12px 14px;
    }

    .faq__answer {
        padding: 0 14px 12px;
    }
}

/* ===== Финальный CTA-блок (Нужен навес или козырёк?) ===== */

.section--cta {
    background: #fed7aa33;              /* как блоки "Почему" и "Шаги" */
}

.section--cta .section__inner {
    max-width: 1120px;                  /* чуть ближе текст и форма */
}

/* Карточка формы — светлее фона */
.section--cta .hero__form-box {
    background: #fff6eb;
}

/* Доп. CTA: ссылка WhatsApp внизу блока как кнопка */
#cta-bottom a[href*="wa.me"] {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #22c55e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: #ecfdf3;
    color: #166534;
}

#cta-bottom a[href*="wa.me"]:hover {
    background: #bbf7d0;
}

/* ===== Оформление форм заявок ===== */

/* Карточка формы */
.hero__form-box {
    background: #fffdf7;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

/* Если сверху есть фото (первая форма) — убираем двойной угол */
.hero__form-box .hero__visual {
    margin: -18px -18px 12px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

/* Заголовок и подпись формы */
.hero__form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero__form-note {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
    margin-bottom: 12px;
}

/* Подписи к полям */
.form__row label,
.form__label {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

/* Поля ввода */
.form__input,
.form__select,
input[type="text"],
input[type="tel"],
select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    padding: 10px 11px;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

/* Ховер/фокус на полях */
.form__input:focus,
.form__select:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249,115,22,0.25);
    background: #fff;
}

/* Кнопка формы */
.hero__form-box .btn,
.hero__form-box button[type="submit"],
.hero__form-box input[type="submit"] {
    width: 100%;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background: #f97316;
    color: #fff;
    cursor: pointer;
    transition: transform .1s ease, box-shadow .1s ease, background .1s ease;
}

.hero__form-box .btn:hover,
.hero__form-box button[type="submit"]:hover,
.hero__form-box input[type="submit"]:hover {
    background: #ea580c;
    box-shadow: 0 10px 20px rgba(249,115,22,0.35);
    transform: translateY(-1px);
}

/* Чекбокс согласия и подпись — ровнее и легче */
.flxCntr {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #4b5563;
}

.chekForm {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* Микротекст под формой */
.form__note,
.hero__form-box .hero__note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #4b5563;
}

/* Адаптив: чуть меньше тени и отступов на мобилке */
@media (max-width: 640px) {
    .hero__form-box {
        padding: 16px 14px 18px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
    }
}

/* ===== Карточки форм (верхняя, ремонт, финальная) ===== */

/* Контейнеры форм: верхняя, ремонт, нижняя */
.hero__form-box,
#remont .elementor-widget-form,
#cta-bottom .elementor-widget-form {
    background: #fffdf7 !important; /* светлая карточка поверх оранжевого фона */
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

/* Если в верхней форме есть фото – оно прилипает к краю карточки */
.hero__form-box .hero__visual {
    margin: -18px -18px 12px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}


/* Honeypot-поле для ботов: скрыто для людей, но доступно для спам-ботов */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =================================================================
   ПАТЧ ДЛЯ ЛЕНДИНГА (FIX VISUAL BUGS)
   ================================================================= */

/* --- 1. ЛЕЧИМ ФОРМЫ (ОТСТУПЫ И ПОЛЯ) --- */

/* Добавляем воздух между полями формы */
.elementor-field-group {
    margin-bottom: 16px !important;
}

/* Стилизация подписей (Label) */
.elementor-field-label {
    display: block;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* Стилизация самих полей ввода (Input/Select) */
.elementor-field-textual,
.elementor-select-wrapper select {
    height: 48px !important; /* Делаем поля выше, удобнее для пальца */
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    background-color: #fff !important;
    width: 100% !important;
    font-size: 15px !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Убираем лишние отступы внутри колонок Elementor, которые ломают сетку */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 0 !important;
}

/* --- 2. ЛЕЧИМ КНОПКИ (ДЕЛАЕМ ОДИНАКОВЫМИ И ЯРКИМИ) --- */

/* Принудительно растягиваем кнопки на 100% и красим в оранжевый */
.hero__form-box button[type="submit"],
.cta__form-box button[type="submit"],
.elementor-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #f68b1f !important; /* Ваш фирменный оранжевый */
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    padding: 16px 20px !important; /* Кнопка должна быть жирной */
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(246, 139, 31, 0.25);
    transition: all 0.2s ease;
}

/* Ховер эффект для кнопок */
.hero__form-box button[type="submit"]:hover,
.cta__form-box button[type="submit"]:hover,
.elementor-button:hover {
    background-color: #e07400 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(246, 139, 31, 0.35);
}

/* Исправляем серую кнопку в блоке ремонта */
#form-repair .elementor-button {
    background-color: #f68b1f !important;
}

/* --- 3. ИСПРАВЛЕНИЕ КАРТИНКИ В БЛОКЕ РЕМОНТА --- */

/* Делаем так, чтобы картинка прилипала к краям, как на первом экране */
.cta__form-box {
    padding: 20px !important; /* Возвращаем отступы контейнеру */
    overflow: hidden; /* Чтобы картинка не вылезала за скругления */
}

.cta__form-box .hero__visual {
    width: calc(100% + 40px) !important; /* Компенсируем padding родителя */
    margin: -20px -20px 20px -20px !important; /* Тянем вверх и в бока */
    border-radius: 0 0 0 0 !important; /* Убираем скругления снизу */
    border-bottom: 1px solid #eee;
}

.cta__form-box .hero__visual img {
    width: 100%;
    height: 200px; /* Фиксируем высоту */
    object-fit: cover;
}

/* --- 4. МЕССЕНДЖЕРЫ (УБИРАЕМ КОЛХОЗ) --- */

/* Скрываем текст "Перезвоним..." и мессенджеры на ПЕРВОМ экране на ПК */
@media (min-width: 960px) {
    .hero__inner .hero__note {
        display: none !important;
    }
}

/* Стилизация блока мессенджеров (делаем аккуратные кнопки в ряд) */
.hero__note {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Контейнер для иконок */
.hero__note a.messenger-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50px; /* Овальные кнопки */
    text-decoration: none !important;
    color: #374151 !important;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Убираем старую стилизацию "дурацкой кнопки WhatsApp" */
#cta-bottom a[href*="wa.me"] {
    display: inline-flex !important;
    margin-top: 8px !important;
    padding: 8px 12px !important;
    border-radius: 50px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 12px !important;
    background: #fff !important;
    color: #374151 !important;
}

/* Цвета при наведении */
.messenger-link:hover,
#cta-bottom a[href*="wa.me"]:hover {
    background-color: #f9fafb !important;
    border-color: #d1d5db !important;
}

/* Иконки внутри кнопок */
.messenger-link img {
    width: 18px;
    height: 18px;
    display: block;
}

/* --- 5. ЧЕКБОКС СОГЛАСИЯ --- */
.flxCntr {
    align-items: flex-start !important;
    margin-top: 12px !important;
}
.chekForm {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    accent-color: #f68b1f;
}
.flxDiv2 {
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: #888 !important;
}

/* === ФИНАЛЬНАЯ ПРАВКА КНОПОК === */

/* 1. Принудительно растягиваем КОНТЕЙНЕР кнопки на 100% */
/* Перебиваем настройки Elementor (было 50%) */
.elementor-field-group.elementor-field-type-submit {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    margin-bottom: 10px !important; /* Небольшой отступ до чекбокса */
}

/* 2. Растягиваем САМУ КНОПКУ внутри контейнера */
button.elementor-button,
.elementor-button {
    width: 100% !important;
    display: block !important;
    min-width: 100% !important;
}

/* 3. Центрируем текст внутри (на всякий случай) */
.elementor-button-content-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* === ИСПРАВЛЕНИЕ МЕССЕНДЖЕРОВ (ВСЕ В ОДИН РЯД) === */

/* Контейнер для кнопок */
.messengers-container {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос, если экран ну ОЧЕНЬ узкий */
    gap: 6px; /* Небольшой отступ между кнопками */
    align-items: center;
}

/* Сброс и настройка самих кнопок */
.hero__note a.messenger-link,
#cta-bottom a[href*="wa.me"] {
    margin-right: 0 !important; /* Убираем старый отступ, теперь работает gap */
    margin-top: 0 !important;   /* Убираем лишний отступ сверху */
    padding: 6px 10px !important; /* Чуть компактнее, чтобы влезли в ряд */
    font-size: 12px !important;
    white-space: nowrap; /* Запрещаем перенос текста внутри кнопки */
    flex: 0 1 auto; /* Кнопки могут сжиматься при необходимости */
}

/* Уменьшаем иконки, чтобы выглядело аккуратно */
.messenger-link img {
    width: 16px !important;
    height: 16px !important;
}

/* Если хотите ЖЕСТКО в один ряд без переноса на новую строку даже на малых экранах: */
@media (max-width: 380px) {
    .messengers-container {
        flex-wrap: nowrap; /* Запрет переноса строк */
        overflow-x: auto;  /* Если не влезет - появится скролл (редкий случай) */
    }
    .messenger-link span {
        display: inline-block; /* Текст остаётся */
    }
}

/* === УЛУЧШЕНИЕ ТЕНЕЙ (МЯГКОСТЬ И ОБЪЕМ) === */
.card, 
.tariff, 
.portfolio__item, 
.features__item, 
.review, 
.hero__form-box, 
.step {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important; /* Очень легкая тень */
    border: 1px solid rgba(0, 0, 0, 0.03) !important; /* Тонкая обводка для четкости */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* При наведении карточка чуть всплывает */
.card:hover, 
.tariff:hover, 
.portfolio__item:hover,
.features__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* === АКТИВНЫЕ ПОЛЯ ВВОДА === */
input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
.elementor-field-textual:focus {
    border-color: #f68b1f !important; /* Оранжевая рамка */
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(246, 139, 31, 0.15) !important; /* Оранжевое свечение вокруг */
    outline: none !important;
}

/* Сделаем текст внутри полей чуть темнее для читаемости */
input[type="text"],
input[type="tel"],
select {
    color: #111 !important;
    font-weight: 500 !important;
}

/* === УДОБНЫЙ ЧЕКБОКС === */
.flxCntr {
    margin-top: 14px !important;
    cursor: pointer; /* Курсор-рука на всем тексте */
}

/* Сам квадратик */
.chekForm {
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px !important; /* Отступ от текста */
    margin-top: 2px !important;
    flex-shrink: 0; /* Чтобы не сплющивался */
    accent-color: #f68b1f; /* Оранжевая галочка (для Chrome/Safari) */
}

/* Текст согласия */
.flxDiv2 {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #666 !important;
}

.flxDiv2 a {
    color: #333 !important;
    text-decoration: underline;
}

/* === АКЦЕНТ НА ЦЕНЕ В ТЕКСТЕ === */
.hero__price {
    font-size: 18px !important; /* Чуть крупнее */
    background: rgba(246, 139, 31, 0.1); /* Оранжевая подложка */
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
    color: #d35400; /* Темно-оранжевый текст */
    border: 1px solid rgba(246, 139, 31, 0.2);
    margin-bottom: 24px !important;
}
.hero__price b {
    font-weight: 800;
}

/* === ТЕЛЕФОНЫ В ШАПКЕ === */
.topbar__phone-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

/* Если есть иконка трубки, сделаем её оранжевой */
.topbar__icon {
    color: #f68b1f !important;
}
.quiz-top {
  display: block;
}

.quiz-top__head {
  margin-bottom: 14px;
}

.quiz-top__title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.quiz-top__subtitle {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.quiz-top__trust {
  font-size: 12px;
  color: #4b5563;
}

.quiz-top__progress {
  margin-bottom: 16px;
}

.quiz-top__progress-bar {
  width: 100%;
  height: 6px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-top__progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--accent);
  transition: width .25s ease;
}

.quiz-top__progress-text {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.quiz-step__label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.quiz-step__group + .quiz-step__group {
  margin-top: 16px;
}

.quiz-step__note {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.quiz-step__micro {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.quiz-options--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-option {
  display: block;
  cursor: pointer;
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option__box {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.quiz-option__title {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.quiz-option__text {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.quiz-option input:checked + .quiz-option__box {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246, 139, 31, 0.12);
  background: #fffaf5;
}

.quiz-option--small .quiz-option__box {
  padding: 10px 12px;
  font-size: 14px;
}

.quiz-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-field {
  display: block;
}

.quiz-field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.quiz-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}

.quiz-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(246, 139, 31, 0.12);
}

.quiz-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.4;
}

.quiz-consent a {
  color: inherit;
  text-decoration: underline;
}

.quiz-submit {
  width: 100%;
  margin-top: 14px;
}

.quiz-step__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.quiz-step__actions--last {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .quiz-options--2,
  .quiz-form-row {
    grid-template-columns: 1fr;
  }

  .quiz-top__title {
    font-size: 18px;
  }

  .quiz-step__title {
    font-size: 17px;
  }

  .quiz-step__actions {
    flex-direction: column;
  }

  .quiz-step__actions .btn,
  .quiz-submit {
    width: 100%;
  }
}
/* --- КВИЗ: приоритет кнопок и состояние выбора --- */

/* общий ряд кнопок */
.quiz-step__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quiz-step__actions .quiz-next.btn {
  flex: 1 1 auto;
}

/* Назад = второстепенная кнопка на шагах 2–3 */
.quiz-step__actions .quiz-prev.btn {
  flex: 0 0 auto;
  min-width: 132px;
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
  box-shadow: none;
}

.quiz-step__actions .quiz-prev.btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  transform: none;
}

/* disabled у основной кнопки */
.quiz-next.btn:disabled {
  background: #fdba74;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz-next.btn:disabled:hover {
  background: #fdba74;
  transform: none;
}

/* более заметный выбранный вариант */
.quiz-option__box {
  position: relative;
}

.quiz-option input:checked + .quiz-option__box {
  border-color: var(--accent);
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(246, 139, 31, 0.14);
}

.quiz-option input:checked + .quiz-option__box::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
}

/* финальный Назад = почти ссылка */
.quiz-step__actions--last {
  margin-top: 12px;
  justify-content: center;
}

.quiz-step__actions--last .quiz-prev.btn {
  min-width: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
}

.quiz-step__actions--last .quiz-prev.btn:hover {
  background: transparent;
  color: #111827;
  text-decoration: underline;
}

/* мобильная версия */
@media (max-width: 640px) {
  .quiz-step__actions .quiz-prev.btn {
    min-width: auto;
  }
}
/* === КВИЗ: финальная раскладка кнопок === */

/* Шаги 2–3: две кнопки в ряд, но без вылезания из формы */
.quiz-step__actions {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

/* Назад — второстепенная */
.quiz-step__actions .quiz-prev.btn {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
  box-shadow: none;
  transform: none;
  white-space: nowrap;
}

.quiz-step__actions .quiz-prev.btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  transform: none;
}

/* Главная кнопка — занимает всё оставшееся место */
.quiz-step__actions .quiz-next.btn {
  width: 100%;
  min-width: 0;
  white-space: normal;   /* ключевое: можно переносить */
  line-height: 1.2;
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}

/* disabled у основной кнопки */
.quiz-next.btn:disabled {
  background: #fdba74;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz-next.btn:disabled:hover {
  background: #fdba74;
  transform: none;
}

/* Более заметный выбранный вариант */
.quiz-option__box {
  position: relative;
}

.quiz-option input:checked + .quiz-option__box {
  border-color: var(--accent);
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(246, 139, 31, 0.14);
}

.quiz-option input:checked + .quiz-option__box::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
}

/* Последний шаг: Назад как почти ссылка */
.quiz-step__actions--last {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.quiz-step__actions--last .quiz-prev.btn {
  width: auto;
  min-width: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  box-shadow: none;
  white-space: nowrap;
}

.quiz-step__actions--last .quiz-prev.btn:hover {
  background: transparent;
  color: #111827;
  text-decoration: underline;
}

/* На средних и узких экранах — кнопки в столбец */
@media (max-width: 760px) {
  .quiz-step__actions {
    grid-template-columns: 1fr;
  }

  .quiz-step__actions .quiz-prev.btn,
  .quiz-step__actions .quiz-next.btn {
    width: 100%;
  }
}
/* --- Визуал шапки квиза --- */

.quiz-top__head {
  padding: 4px 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ece7df;
}

.quiz-top__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
}

.quiz-top__subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #5b6472;
  max-width: 34ch;
}

.quiz-top__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quiz-top__trust-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 12px;
  line-height: 1.2;
  color: #7c5a2b;
  white-space: nowrap;
}

/* чтобы картинка сверху воспринималась как часть карточки */
.hero__visual {
  margin-bottom: 14px;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
}

/* мобильная версия */
@media (max-width: 640px) {
  .quiz-top__title {
    font-size: 17px;
  }

  .quiz-top__subtitle {
    font-size: 13px;
    max-width: none;
  }

  .quiz-top__trust-item {
    font-size: 11px;
    padding: 5px 8px;
  }
}
/* Шапка квиза — спокойнее и чище */
.quiz-top__head {
  padding: 2px 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ece7df;
}

.quiz-top__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
}

.quiz-top__subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
  max-width: none; /* не зажимать */
}

.quiz-top__trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-top__trust-item {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7280;
}

.quiz-top__trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f68b1f;
}

@media (max-width: 640px) {
  .quiz-top__subtitle {
    font-size: 14px;
  }

  .quiz-top__trust-item {
    font-size: 12px;
  }
}
.quiz-top__trust {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

@media (max-width: 640px) {
  .quiz-top__trust {
    font-size: 12px;
    line-height: 1.4;
  }
}
.quiz-result-note {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.quiz-result-note__title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.quiz-result-note ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.35;
  color: #4b5563;
}

.quiz-result-note li + li {
  margin-top: 2px;
}
.quiz-submit {
  text-transform: none;
}
/* === КВИЗ: мобильная адаптация и защита от горизонтального вылезания === */

.hero__inner,
.hero__form-box,
.quiz-top,
.quiz-top *,
.quiz-step,
.quiz-step * {
  box-sizing: border-box;
}

.hero__form-box {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.quiz-top {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.quiz-step,
.quiz-top__head,
.quiz-top__progress {
  max-width: 100%;
  min-width: 0;
}

.quiz-field,
.quiz-field input,
.quiz-submit,
.quiz-option__box,
.quiz-step__micro,
.quiz-consent {
  max-width: 100%;
  min-width: 0;
}

.quiz-field input {
  width: 100%;
}

.quiz-submit {
  width: 100%;
  white-space: normal;
  line-height: 1.25;
  padding-left: 14px;
  padding-right: 14px;
}

.quiz-step__micro,
.quiz-consent span,
.quiz-top__subtitle,
.quiz-result-note {
  overflow-wrap: anywhere;
}

/* Мобильный вид */
@media (max-width: 640px) {
  .section__inner,
  .hero__inner {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__form-box {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 14px;
  }

  .hero__visual {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 14px 14px 0 0;
  }

  .hero__visual img {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

  .quiz-form-row {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .quiz-options,
  .quiz-options--2 {
    grid-template-columns: 1fr !important;
  }

  .quiz-step__actions {
    grid-template-columns: 1fr !important;
  }

  .quiz-step__actions .btn,
  .quiz-submit {
    width: 100%;
  }

  .quiz-step__title {
    font-size: 18px;
    line-height: 1.25;
  }

  .quiz-result-note {
    padding: 10px 12px;
  }

  .quiz-result-note ul {
    padding-left: 16px;
  }

  .quiz-consent {
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.35;
  }
}

/* Кнопки hero на мобильном, чтобы не обрезались */
@media (max-width: 480px) {
  .hero__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__buttons .btn {
    width: 100%;
    white-space: normal;
  }

  .header__inner > .btn {
    max-width: 190px;
    white-space: normal;
    text-align: center;
  }
}