:root {
    /* Палитра «судебное дело» */
    --ink:        #12211B;  /* тёмно-зелёные чернила */
    --paper:      #F3F5F0;  /* бумага */
    --green:      #1F6F50;  /* основной зелёный */
    --green-deep: #14503A;  /* тёмный зелёный */
    --amber:      #F2A33C;  /* акцент — печать/кнопки */
    --alert:      #D64545;  /* красный для «болей» */
    --line:       #D8DED6;  /* линии */

    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Golos Text', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
}

/* Кнопка-CTA */
.btn-cta {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    background: var(--amber);
    padding: 18px 34px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 0 #C97F1E;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #C97F1E;
}

/* Штамп «СПИСАНО» */
.stamp {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--green);
    border: 4px solid var(--green);
    border-radius: 8px;
    padding: 8px 20px;
    transform: rotate(-6deg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
} 



/* Кнопка в шапке — компактная */
.btn-header {
    padding: 12px 22px;
    font-size: 13px;
    box-shadow: 0 3px 0 #C97F1E;
    white-space: nowrap;
}

/* На мобильных — скрыть текст, оставить иконку или укоротить */
@media (max-width: 768px) {
    .btn-header {
        padding: 10px 16px;
        font-size: 12px;
    }
} 



/* Убираем дефолтный заголовок и отступы темы на главной */
body.home .entry-header,
body.home header.entry-header,
body.home .page-title { display: none !important; }

/* Чтобы full-bleed секции не давали горизонтальный скролл */
html, body { overflow-x: hidden; }






/* ===== Общие контейнеры для всех секций ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Секции на всю ширину (работают вместе с классом alignfull на блоке) ===== */
.hero, .band, .pain, .steps, .quiz, .table-sec, .faq, .final-cta {
  width: 100%;
}

/* Страховка: если тема всё же пытается зажать alignfull-обёртку */
body.home .entry-content > .alignfull {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Вторичная кнопка-призрак */
.btn-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--green-deep);
  text-decoration: none;
  padding: 18px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.btn-ghost:hover { border-bottom-color: var(--green); }

/* Мелкая плашка-категория */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: #E3EFE8;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ===== HERO ===== */
.hero {
  /* фон-«бланк»: тонкая линовка */
  background:
    linear-gradient(var(--paper), var(--paper)),
    repeating-linear-gradient(transparent 0 31px, rgba(31,111,80,.06) 31px 32px);
  background-blend-mode: multiply;
  padding: 70px 0 90px;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 900;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero__title .hl {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
/* подчёркивание-маркер под словом «законно» */
.hero__title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 12px;
  background: rgba(242,163,60,.45);
  z-index: -1;
  transform: skewX(-8deg);
}
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: #3A4A42;
  max-width: 520px;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0; margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
}

/* ===== Карточка «судебное дело» ===== */
.hero__visual { display: flex; justify-content: center; }
.case-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 30px 26px;
  box-shadow: 0 24px 50px -22px rgba(18,33,27,.35);
  transform: rotate(1.4deg);
}
/* «перфорация» папки сверху */
.case-card::before {
  content: "";
  position: absolute;
  top: -8px; left: 28px; right: 28px;
  height: 8px;
  background: radial-gradient(circle at 8px 8px, transparent 5px, #fff 6px) repeat-x;
  background-size: 18px 16px;
}
.case-card__head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--line);
  margin-bottom: 18px;
}
.case-card__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
}
.case-card__row {
  display: flex; justify-content: space-between;
  font-size: 15px; padding: 9px 0;
  border-bottom: 1px solid #EEF1EC;
}
.case-card__row span { color: #6B7A72; }
.case-card__row strong { color: var(--ink); }
.strike { text-decoration: line-through; color: var(--alert) !important; }

.case-card__stamp {
  position: absolute;
  top: 42%; right: -14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  color: var(--green);
  border: 4px solid var(--green);
  border-radius: 8px;
  padding: 6px 18px;
  transform: rotate(-12deg);
  letter-spacing: .08em;
  background: rgba(255,255,255,.7);
}
.case-card__result {
  margin-top: 18px;
  display: flex; justify-content: space-between; align-items: baseline;
  background: #E3EFE8;
  border-radius: 10px;
  padding: 14px 16px;
}
.case-card__result span { font-size: 13px; color: var(--green-deep); }
.case-card__result strong {
  font-family: var(--font-display);
  font-size: 26px; color: var(--green);
}
.case-card__foot {
  margin-top: 12px;
  font-size: 12px; color: #8A978F; text-align: center;
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 48px 0 64px; }
  .case-card { transform: rotate(0); max-width: 380px; }
  .case-card__stamp { right: 8px; font-size: 24px; }
}





/* ===== Scroll-reveal (универсально для всего лендинга) ===== */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .7s ease,
    translate .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ===== ЛЕНТА ДОВЕРИЯ ===== */
.trust {
  background: var(--green-deep);
  color: #EAF3EE;
  padding: 64px 0 70px;
  /* тонкая перфорированная кромка сверху и снизу — как у бланка */
  background-image:
    radial-gradient(circle at 12px 0, var(--paper) 4px, transparent 5px),
    radial-gradient(circle at 12px 100%, var(--paper) 4px, transparent 5px);
  background-size: 26px 12px;
  background-repeat: repeat-x;
  background-position: top, bottom;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.trust__item {
  text-align: center;
  padding: 8px 28px;
  position: relative;
}
/* вертикальные перфорированные разделители */
.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 2px;
  background-image: linear-gradient(var(--green) 60%, transparent 0);
  background-size: 2px 12px;
  background-repeat: repeat-y;
  opacity: .5;
}
.trust__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1;
  color: var(--amber);
  letter-spacing: -.01em;
}
.trust__label {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #B9D2C5;
  line-height: 1.5;
}
.trust__quote {
  position: relative;
  margin: 50px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: #DCEAE2;
  /* сброс дефолтов темы Blocksy для blockquote */
  border: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 50px 0 0;
  margin-left: auto;
  margin-right: auto;
  background: none;
  font-style: normal;
}
/* убираем чужие кавычки/линии темы, если она их рисует псевдоэлементами */
.trust__quote::before,
.trust__quote::after { content: none !important; border: 0 !important; }

.trust__quote-mark {
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--green);
  background: var(--green-deep);   /* «вырез» в линии сверху */
  padding: 0 16px;
}

/* ===== СТЕНА БОЛЕЙ ===== */
.pain {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(214,69,69,.06), transparent 60%),
    var(--paper);
  padding: 92px 0 100px;
  border-bottom: 1px solid var(--line);
}
.pain__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.pain__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--ink);
}
.pain__lead {
  font-size: 17px;
  line-height: 1.65;
  color: #3A4A42;
  margin: 0 0 30px;
  max-width: 440px;
}

/* контейнер «разбросанных бумажек» */
.pain__wall {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.note {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--alert);
  border-radius: 10px;
  padding: 18px 20px 18px;
  width: calc(50% - 9px);
  min-width: 220px;
  box-shadow: 0 14px 30px -18px rgba(18,33,27,.4);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.note p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.note small { color: #8A978F; }
.note strong { color: var(--alert); }
.note__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--alert);
}
/* каждая бумажка повёрнута по-своему — эффект хаоса */
.note--sms    { transform: rotate(-3.2deg); }
.note--call   { transform: rotate(2.4deg);  border-left-color: #C97F1E; }
.note--call .note__tag { color: #C97F1E; }
.note--fssp   { transform: rotate(-1.8deg); }
.note--bank   { transform: rotate(3.4deg);  border-left-color: #6B7A72; }
.note--bank .note__tag { color: #6B7A72; }
.note--border { transform: rotate(-2.6deg); width: 100%; max-width: 360px; }
/* при наведении бумажка «выпрямляется» и приподнимается */
.note:hover {
  transform: rotate(0) translateY(-6px) scale(1.02);
  box-shadow: 0 26px 44px -20px rgba(18,33,27,.5);
  z-index: 3;
}
/* мини-штамп «АРЕСТ» на карточке приставов */
.note__seal {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: var(--alert);
  border: 2px solid var(--alert);
  border-radius: 5px;
  padding: 2px 8px;
  transform: rotate(8deg);
  letter-spacing: .08em;
  opacity: .85;
}

/* ===== Адаптив Экрана 2 ===== */
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr; gap: 30px; }
  .trust__item + .trust__item::before { display: none; }
  .trust__item { border-top: 1px dashed rgba(255,255,255,.18); padding-top: 26px; }
  .trust__item:first-child { border-top: none; padding-top: 8px; }
  .pain__grid { grid-template-columns: 1fr; gap: 40px; }
  .pain__wall { justify-content: stretch; }
  .note { width: 100%; transform: rotate(0) !important; }
}

/* Уважение к настройкам «без анимации» в системе */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .note { transition: none !important; }
} 




/* ===== ШАГИ: дорожка судебного дела ===== */
.steps {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(31,111,80,.025) 0 2px, transparent 2px 12px),
    var(--paper);
  padding: 96px 0 110px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* бледный водяной знак-штамп на фоне — как на документе */
.steps::after {
  content: "ФЗ‑127";
  position: absolute;
  top: 60px; right: -30px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(90px, 14vw, 200px);
  color: var(--green);
  opacity: .04;
  transform: rotate(-12deg);
  letter-spacing: .04em;
  pointer-events: none;
  user-select: none;
}

.steps__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* липкий навигатор */
.steps__aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
.steps__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--ink);
  line-height: 1.1;
}
.steps__lead {
  font-size: 17px;
  line-height: 1.65;
  color: #3A4A42;
  margin: 0 0 28px;
  max-width: 380px;
}
/* плашка-«таймер» */
.steps__meter {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
  box-shadow: 0 12px 26px -18px rgba(18,33,27,.4);
}
.steps__meter-dot {
  flex: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242,163,60,.22);
  animation: meter-pulse 2.4s ease-in-out infinite;
}
@keyframes meter-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(242,163,60,.22); }
  50%     { box-shadow: 0 0 0 8px rgba(242,163,60,.05); }
}
.steps__meter strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.steps__meter span { font-size: 13px; color: #6B7A72; }

/* ===== ТАЙМЛАЙН ===== */
.timeline {
  list-style: none;
  margin: 0;
  padding: 6px 0 0 76px;
  position: relative;
}
/* перфорированная вертикальная линия */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px; top: 0; bottom: 30px;
  width: 4px;
  background-image: linear-gradient(var(--green) 55%, transparent 0);
  background-size: 4px 14px;
  background-repeat: repeat-y;
  opacity: .55;
}

.step {
  position: relative;
  padding-bottom: 44px;
}
.step--last { padding-bottom: 0; }
/* обрываем линию под последним узлом */
.step--last::after {
  content: "";
  position: absolute;
  left: -56px; top: 44px; bottom: -40px;
  width: 4px;
  background: var(--paper);
}

/* гербовая печать-узел */
.seal {
  position: absolute;
  left: -76px; top: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  /* двойное кольцо как у настоящей печати */
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--green),
    0 0 0 8px #fff,
    0 0 0 9px rgba(31,111,80,.4),
    0 10px 20px -10px rgba(18,33,27,.5);
  z-index: 2;
}
/* «вбивание» штампа: стартуем увеличенными и повёрнутыми */
.seal.reveal {
  transform: scale(1.55) rotate(-16deg);
  transition:
    opacity .5s ease,
    translate .5s ease,
    transform .55s cubic-bezier(.2,1.5,.35,1);
  transition-delay: var(--d, 0ms);
}
.seal.reveal.is-in { transform: scale(1) rotate(-6deg); }
/* лёгкий доворот при наведении на весь шаг */
.step:hover .seal.reveal.is-in { transform: scale(1.07) rotate(3deg); }

/* карточка шага */
.step__card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 16px 34px -22px rgba(18,33,27,.45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step:hover .step__card {
  transform: translateX(8px);
  box-shadow: 0 24px 44px -22px rgba(18,33,27,.5);
  border-left-color: var(--amber);
}
.step__dur {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: #E3EFE8;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.step__dur--final { background: #FBE7CB; color: #9A5E12; }
.step__h {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.step__p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #3A4A42;
}
/* мини-чек «вы / мы» */
.step__who {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.step__who li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}
.step__who li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}
.step__who b { color: var(--green-deep); }

/* финальный штамп внутри последней карточки */
.step__closed {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--green);
  border: 4px solid var(--green);
  border-radius: 8px;
  padding: 8px 20px;
  transform: rotate(-5deg);
  background: rgba(227,239,232,.5);
}

/* ===== Адаптив Экрана 3 ===== */
@media (max-width: 900px) {
  .steps { padding: 64px 0 76px; }
  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps__aside { position: static; }
  .steps__lead { max-width: none; }
  .timeline { padding-left: 60px; }
  .seal { left: -60px; width: 42px; height: 42px; font-size: 14px; }
  .step--last::after { left: -40px; }
  .step:hover .step__card { transform: none; }
} 



/* ===== КВИЗ-АНКЕТА ===== */
.quiz {
  background:
    radial-gradient(700px 360px at 50% -8%, rgba(31,111,80,.07), transparent 60%),
    #E9EDE6;
  padding: 96px 0 110px;
  border-bottom: 1px solid var(--line);
}
.quiz__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.quiz__title {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.08;
}
.quiz__sub { font-size: 17px; line-height: 1.6; color: #3A4A42; margin: 0; }

/* карточка-«папка с анкетой» */
.quiz__shell {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 44px 36px;
  box-shadow: 0 30px 60px -30px rgba(18,33,27,.45);
  /* линовка бланка */
  background-image: repeating-linear-gradient(transparent 0 39px, rgba(31,111,80,.05) 39px 40px);
  background-position: 0 28px;
}
/* куски «скотча» по углам */
.quiz__tape {
  position: absolute;
  top: -12px;
  width: 96px; height: 26px;
  background: rgba(242,163,60,.55);
  border: 1px solid rgba(201,127,30,.4);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.25);
}
.quiz__tape--l { left: 36px;  transform: rotate(-5deg); }
.quiz__tape--r { right: 36px; transform: rotate(4deg); }

/* прогресс */
.quiz__progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.quiz__step-no {
  flex: none;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--green-deep);
  white-space: nowrap;
}
.quiz__step-no b { color: var(--ink); }
.quiz__bar {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: #E3E8E0;
  overflow: hidden;
}
.quiz__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 16%;
  background: var(--green);
  border-radius: 999px;
  transition: width .5s cubic-bezier(.2,.7,.2,1);
  /* перфорация внутри заполнения */
  background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.35) 8px 10px);
}

/* шаги */
.quiz__steps { position: relative; min-height: 250px; }
.qstep {
  display: none;
  animation: q-in .45s cubic-bezier(.2,.7,.2,1);
}
.qstep.is-active { display: block; }
@keyframes q-in {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: none; }
}
.qstep__q {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.2;
}
.qstep__hint { margin: 0 0 24px; font-size: 15px; color: #6B7A72; }

/* варианты-«галочки» */
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt {
  position: relative;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: #FBFCFA;
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 16px 18px 16px 46px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .12s ease, box-shadow .2s ease;
}
/* квадратик-чекбокс слева */
.opt::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border: 2px solid #B7C2BA;
  border-radius: 5px;
  transition: border-color .2s ease, background .2s ease;
}
.opt:hover {
  border-color: var(--green);
  border-style: solid;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -14px rgba(18,33,27,.5);
}
.opt:focus-visible { outline: 3px solid rgba(242,163,60,.6); outline-offset: 2px; }
/* выбранное поле: сплошная рамка + «вбитая» печать-галочка + вдавливание */
.opt.is-on {
  border-style: solid;
  border-color: var(--green);
  background: #EAF3EE;
  transform: translateY(0) scale(.99);
  box-shadow: inset 0 2px 6px rgba(31,111,80,.12);
}
.opt.is-on::before {
  content: "✓";
  display: grid;
  place-items: center;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  animation: stamp .35s cubic-bezier(.2,1.6,.35,1);
}
@keyframes stamp {
  0%   { transform: translateY(-50%) scale(1.8) rotate(-18deg); }
  100% { transform: translateY(-50%) scale(1) rotate(0); }
}

/* навигация */
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 16px;
}
.btn-back {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #6B7A72;
  background: none;
  border: 0;
  padding: 14px 6px;
  cursor: pointer;
  transition: color .2s ease;
}
.btn-back:hover:not(:disabled) { color: var(--ink); }
.btn-back:disabled, .btn-next:disabled { opacity: .4; cursor: not-allowed; }
.btn-next { margin-left: auto; }

/* ===== ВЕРДИКТ ===== */
.quiz__verdict {
  text-align: center;
  padding: 8px 4px 4px;
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.quiz__verdict.is-in { opacity: 1; transform: none; }
.verdict__seal {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 8px 18px;
  border-radius: 8px;
  transform: rotate(-4deg);
  margin-bottom: 22px;
  border: 3px solid currentColor;
}
.verdict__seal.is-hot  { color: var(--green);    background: rgba(227,239,232,.6); }
.verdict__seal.is-warm { color: #9A5E12;        background: #FBE7CB; }
.verdict__seal.is-soft { color: var(--green-deep); background: #E3EFE8; }
.verdict__h {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin: 0 auto 14px;
  max-width: 560px;
  color: var(--ink);
  line-height: 1.15;
}
.verdict__p {
  font-size: 16px;
  line-height: 1.65;
  color: #3A4A42;
  max-width: 560px;
  margin: 0 auto 24px;
}
.verdict__list {
  list-style: none;
  margin: 0 auto 30px;
  padding: 0;
  max-width: 480px;
  display: grid;
  gap: 12px;
  text-align: left;
}
.verdict__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}
.verdict__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  font-size: 12px; font-weight: 900;
}
.verdict__cta { font-size: 16px; padding: 20px 38px; }
.verdict__note {
  margin: 18px auto 0;
  max-width: 460px;
  font-size: 13px;
  color: #8A978F;
  line-height: 1.5;
}

/* ===== Адаптив Экрана 4 ===== */
@media (max-width: 640px) {
  .quiz { padding: 64px 0 76px; }
  .quiz__shell { padding: 30px 22px 28px; }
  .quiz__tape { width: 72px; }
  .quiz__tape--l { left: 18px; }
  .quiz__tape--r { right: 18px; }
  .opts { grid-template-columns: 1fr; }
  .quiz__progress { flex-direction: column; align-items: stretch; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .qstep { animation: none; }
  .opt.is-on::before { animation: none; }
  .quiz__verdict { transition: opacity .3s ease; transform: none; }
}


.quiz [hidden] { display: none !important; }