/* =====================================================
   Packzon — Маркировка Честный знак под ключ
   Дизайн-система: Golos Text, #0A1628 / #FF6B35 / #F5F6FA
   ===================================================== */

/* --- Custom properties --- */
:root {
  /* Палитра */
  --c-dark:        #0A1628;
  --c-dark-2:      #111f3a;
  --c-text:        #1A2235;
  --c-muted:       #6B7A99;
  --c-white:       #FFFFFF;
  --c-off-white:   #F5F6FA;
  --c-border:      #E2E8F0;
  --c-accent:      #FF6B35;
  --c-accent-dk:   #E85A27;
  --c-accent-glow: rgba(255,107,53,.28);

  /* Радиусы */
  --r-sm:   8px;
  --r-card: 14px;
  --r-lg:   20px;
  --r-pill: 100px;

  /* Тени */
  --shadow-xs: 0 1px 4px rgba(10,22,40,.07);
  --shadow-sm: 0 2px 12px rgba(10,22,40,.08);
  --shadow-md: 0 4px 24px rgba(10,22,40,.11);
  --shadow-lg: 0 8px 40px rgba(10,22,40,.13);

  /* Типографика */
  --font: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Сетка */
  --max-w:    1200px;
  --px:       clamp(1.25rem, 4vw, 2rem);
  --section-py: clamp(4rem, 7vw, 6rem);
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* --- Секции --- */
.section {
  padding: var(--section-py) 0;
}

.section--white {
  background: var(--c-white);
}

.section--light {
  background: var(--c-off-white);
}

.section--dark {
  background: var(--c-dark);
  color: var(--c-white);
}

/* --- Типографика секций --- */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .875rem;
}

.section-eyebrow--light {
  color: rgba(255,255,255,.5);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--c-text);
}

.section-title--light {
  color: var(--c-white);
}

/* =====================================================
   КНОПКИ
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  transition: background .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--cta {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--c-accent-glow);
}

.btn--cta:hover {
  background: var(--c-accent-dk);
  box-shadow: 0 6px 28px rgba(255,107,53,.38);
  transform: translateY(-1px);
}

.btn--cta:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--full {
  width: 100%;
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav__phone {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  transition: color .15s;
}

.nav__phone:hover {
  color: var(--c-accent);
}

.nav__cta {
  flex-shrink: 0;
  padding: .625rem 1.25rem;
  font-size: .9375rem;
}

@media (max-width: 560px) {
  .nav__phone { display: none; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: var(--c-dark);
  color: var(--c-white);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Декоративная сетка на фоне */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Оранжевое свечение снизу-справа */
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,107,53,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  flex-shrink: 0;
}

.hero__h1 {
  font-size: clamp(2rem, 4.2vw, 3.125rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.375rem;
  color: var(--c-white);
}

.hero__h1 em {
  font-style: normal;
  color: var(--c-accent);
}

.hero__sub {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__cta {
  margin-bottom: .875rem;
}

.hero__cta-note {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

/* Правая колонка */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.hero__img-wrap:hover img {
  transform: scale(1.02);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .875rem .75rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-card);
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero__stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-white);
  line-height: 1;
}

.hero__stat-lbl {
  font-size: .725rem;
  color: rgba(255,255,255,.55);
  line-height: 1.35;
}

/* =====================================================
   ТРИГГЕР ШТРАФОВ
   ===================================================== */
.penalty-banner {
  background: #FFF7ED;
  border-top: 1px solid #FED7AA;
  border-bottom: 1px solid #FED7AA;
  padding: 1.125rem 0;
}

.penalty-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.penalty-banner__icon {
  flex-shrink: 0;
  color: #EA580C;
  margin-top: .125rem;
}

.penalty-banner__title {
  font-size: .9375rem;
  font-weight: 700;
  color: #9A3412;
  display: block;
  margin-bottom: .25rem;
}

.penalty-banner__text {
  font-size: .875rem;
  color: #7C2D12;
  line-height: 1.6;
  opacity: .85;
}

/* =====================================================
   БОЛИ (УЗНАЁТЕ СЕБЯ?)
   ===================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pain-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,107,53,.09);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  flex-shrink: 0;
}

.pain-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .5rem;
  color: var(--c-text);
}

.pain-card__text {
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* =====================================================
   ЧТО ВХОДИТ
   ===================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  background: var(--c-off-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  transition: border-color .2s, box-shadow .2s;
}

.service-item:hover {
  border-color: #c7d3e8;
  box-shadow: var(--shadow-sm);
}

.service-item__num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--c-accent);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .125rem;
}

.service-item__body {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.service-item__icon {
  color: var(--c-muted);
  flex-shrink: 0;
  margin-top: .125rem;
}

.service-item__body span {
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-text);
}

/* =====================================================
   КАК РАБОТАЕМ
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 2.75rem;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 .75rem;
  position: relative;
}

.step__head {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1.125rem;
  position: relative;
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--c-off-white), 0 0 0 5px var(--c-border);
}

/* Линия-коннектор */
.step__connector {
  flex: 1;
  height: 1px;
  background: var(--c-border);
  margin-left: .5rem;
}

.step:last-child .step__connector {
  display: none;
}

.step__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .875rem;
  box-shadow: var(--shadow-xs);
}

.step__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .375rem;
  line-height: 1.3;
}

.step__text {
  font-size: .8125rem;
  color: var(--c-muted);
  line-height: 1.55;
}

/* =====================================================
   ПОЧЕМУ PACKZON
   ===================================================== */
.why__layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-top: 2.75rem;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  transition: background .2s, border-color .2s;
}

.why-item:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14);
}

.why-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,107,53,.15);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .25rem;
  line-height: 1.3;
}

.why-item__text {
  font-size: .8375rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

.why__visual {
  align-self: stretch;
}

.why__img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}

.why__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   ЦИФРЫ
   ===================================================== */
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.number-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 2rem 1.5rem;
  border-radius: var(--r-card);
  border: 1px solid var(--c-border);
  background: var(--c-off-white);
  transition: box-shadow .2s, border-color .2s;
}

.number-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c7d3e8;
}

.number-card__val {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--c-dark);
  line-height: 1;
}

.number-card__label {
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.5;
}

/* Фото + адрес */
.trust-block {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  border: 1px solid var(--c-border);
  background: var(--c-off-white);
}

.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.trust-photo:hover img {
  transform: scale(1.04);
}

.trust-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10,22,40,.65));
  padding: 1.5rem .875rem .75rem;
  color: rgba(255,255,255,.9);
  font-size: .8125rem;
  font-weight: 500;
}

.trust-address {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.125rem 1.375rem;
  background: var(--c-off-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  max-width: 480px;
}

.trust-address__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,107,53,.09);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-address__name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .125rem;
}

.trust-address__detail {
  font-size: .875rem;
  color: var(--c-muted);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq__list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-white);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item:hover {
  border-color: #c7d3e8;
}

.faq-item.open {
  border-color: #c7d3e8;
  box-shadow: var(--shadow-sm);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.375rem;
  font-size: .9375rem;
  font-weight: 600;
  text-align: left;
  color: var(--c-text);
  transition: background .15s;
}

.faq-item__q:hover {
  background: var(--c-off-white);
}

.faq-item.open .faq-item__q {
  background: var(--c-off-white);
}

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--c-muted);
  transition: transform .25s, color .15s;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--c-accent);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.faq-item.open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a-inner {
  overflow: hidden;
  padding: 0 1.375rem;
  font-size: .9rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.faq-item.open .faq-item__a-inner {
  padding: 0 1.375rem 1.25rem;
}

/* =====================================================
   КВИЗ
   ===================================================== */
.quiz-section {
  background: var(--c-dark);
  color: var(--c-white);
}

.quiz-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.quiz-subtitle {
  margin-top: .625rem;
  font-size: 1rem;
  color: rgba(255,255,255,.55);
}

.quiz-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  backdrop-filter: blur(12px);
}

/* Прогресс */
.quiz-progress {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.quiz-progress__bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--c-accent);
  border-radius: var(--r-pill);
  transition: width .4s ease;
}

.quiz-progress__text {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}

/* Шаги */
.quiz-step {
  display: none;
}

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

.quiz-step__title {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 1.375rem;
  line-height: 1.3;
  color: var(--c-white);
}

.quiz-step__micro {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  margin-top: -.75rem;
  margin-bottom: 1.375rem;
  line-height: 1.55;
}

/* Опции — категория */
.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .625rem;
  margin-bottom: 1.5rem;
}

.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .625rem .875rem;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  text-align: center;
  line-height: 1.3;
  user-select: none;
}

.quiz-option:hover {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.09);
}

.quiz-option.selected {
  border-color: var(--c-accent);
  background: rgba(255,107,53,.14);
  color: #fff;
  transform: scale(1.01);
}

.quiz-option__icon {
  color: rgba(255,255,255,.5);
  transition: color .15s;
}

.quiz-option.selected .quiz-option__icon {
  color: var(--c-accent);
}

/* Опции — объём (2 колонки, крупнее) */
.quiz-options--vol {
  grid-template-columns: repeat(2, 1fr);
}

.quiz-option__vol-val {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
}

.quiz-option__vol-lbl {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}

/* Опции — регистрация (3 в ряд, с иконкой) */
.quiz-options--reg {
  grid-template-columns: repeat(3, 1fr);
}

/* Nav квиза */
.quiz-nav {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.quiz-nav__back {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .875rem 1.125rem;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: .9375rem;
  font-weight: 600;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

.quiz-nav__back:hover {
  background: rgba(255,255,255,.14);
  color: var(--c-white);
}

.quiz-nav .btn--cta {
  flex: 1;
}

/* Поля контактов */
.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 1.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.field-group label {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .01em;
}

.field-group__opt {
  font-weight: 400;
  color: rgba(255,255,255,.35);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: .8125rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: var(--c-white);
  font-family: var(--font);
  font-size: .9375rem;
  outline: none;
  transition: border-color .15s, background .15s;
  -webkit-appearance: none;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255,255,255,.3);
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--c-accent);
  background: rgba(255,255,255,.1);
}

.field-group textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  font-size: .75rem;
  color: #FCA5A5;
  display: none;
}

.field-group.has-error input,
.field-group.has-error textarea {
  border-color: #F87171;
}

.field-group.has-error .field-error {
  display: block;
}

/* Дисклеймер */
.quiz-disclaimer {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  margin-top: 1.125rem;
  line-height: 1.55;
}

.quiz-disclaimer a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Согласия (галки 152-ФЗ) */
.quiz-consent {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin: 1.125rem 0 .25rem;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  cursor: pointer;
  font-size: .8125rem;
  line-height: 1.45;
  color: rgba(255,255,255,.6);
}

.consent-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-check__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  transition: background .15s, border-color .15s;
  position: relative;
}

.consent-check input:checked + .consent-check__box {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.consent-check input:checked + .consent-check__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-check input:focus-visible + .consent-check__box {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.consent-check a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-error {
  display: none;
  font-size: .75rem;
  color: #ffb4a2;
  padding-left: 1.625rem;
}

.quiz-consent.has-error .consent-error { display: block; }
.quiz-consent.has-error .consent-check__box { border-color: #ff6b54; }

/* Успех */
#quizSuccess {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.quiz-success__checkmark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(74,222,128,.12);
  border: 1.5px solid rgba(74,222,128,.35);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.375rem;
}

.quiz-success__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .625rem;
}

.quiz-success__text {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto;
}

/* =====================================================
   ФИНАЛЬНЫЙ CTA
   ===================================================== */
.final-cta {
  border-top: 1px solid var(--c-border);
}

.final-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}

.final-cta__title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--c-text);
}

.final-cta__sub {
  font-size: .9375rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.45);
  padding: 2rem 0;
  font-size: .875rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -.02em;
}

.footer__tagline {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.footer__contacts a {
  transition: color .15s;
}

.footer__contacts a:hover {
  color: rgba(255,255,255,.75);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-align: right;
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}

/* =====================================================
   STICKY CTA
   ===================================================== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .875rem 1rem;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 24px rgba(10,22,40,.1);
  z-index: 90;
  transition: opacity .25s, transform .25s;
}

/* =====================================================
   REVEAL-АНИМАЦИЯ
   ===================================================== */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   АДАПТИВ — ПЛАНШЕТ
   ===================================================== */
@media (max-width: 1024px) {
  .why__layout {
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
  }

  .step:nth-child(3) .step__connector,
  .step:nth-child(5) .step__connector {
    display: none;
  }

  .why__layout {
    grid-template-columns: 1fr;
  }

  .why__visual {
    display: none;
  }

  .numbers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .step {
    align-items: flex-start;
    text-align: left;
  }

  .step__head {
    align-items: center;
    margin-bottom: .875rem;
  }

  .step__connector {
    display: none;
  }

  .step__icon {
    margin-left: 3.5rem;
    margin-bottom: .75rem;
  }

  .step__title,
  .step__text {
    padding-left: 3.5rem;
  }

  /* Смещение иконки и текста под номер */
  .step__icon {
    margin-left: 0;
  }

  .step__title,
  .step__text {
    padding-left: 0;
  }

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

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

  .quiz-options--reg {
    grid-template-columns: 1fr;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-photos {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__meta {
    text-align: left;
  }

  .sticky-cta {
    display: block;
  }

  /* Отступ чтобы sticky не перекрывал квиз */
  .quiz-section {
    padding-bottom: calc(var(--section-py) + 72px);
  }
}

@media (max-width: 480px) {
  .quiz-options {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__h1 {
    font-size: 1.75rem;
  }

  .penalty-banner__inner {
    gap: .75rem;
  }
}

/* =====================================================
   HERO АНИМАЦИЯ
   ===================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero__badge {
    animation: hero-fade-up .55s ease both;
  }
  .hero__h1 {
    animation: hero-fade-up .55s .1s ease both;
  }
  .hero__sub {
    animation: hero-fade-up .55s .2s ease both;
  }
  .hero__cta {
    animation: hero-fade-up .55s .3s ease both;
  }
  .hero__cta-note {
    animation: hero-fade-up .55s .35s ease both;
  }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
