/* ================ RESET & BASE ================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a1d24;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

:root {
  --brand: #5cb917;
  --brand-dark: #4a9512;
  --brand-light: #e8f7d8;
  --accent: #ff8a1a;
  --ink: #1a1d24;
  --ink-2: #4a5060;
  --ink-3: #8189a0;
  --line: #e7eaf0;
  --bg-soft: #f7f9fb;
  --shadow-sm: 0 2px 8px rgba(20, 30, 50, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 30, 50, 0.10);
  --shadow-lg: 0 20px 60px rgba(20, 30, 50, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(92, 185, 23, .35);
}
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(92, 185, 23, .45); }
.btn--primary:disabled { background: #cfd6e0; box-shadow: none; cursor: not-allowed; transform: none; color: #fff; }
.btn--outline {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--ink-2); padding: 14px 18px; }
.btn--ghost:hover { color: var(--ink); background: #f1f3f7; }
.btn--lg { padding: 18px 32px; font-size: 17px; border-radius: 14px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ================ HEADER ================ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
}
.logo__icon { width: 38px; height: 38px; flex-shrink: 0; color: var(--brand); }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.5px; }
.logo__sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.logo--light .logo__name { color: #fff; }
.logo--light { color: var(--brand); }
.header__contacts {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header__phone-block { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone { font-weight: 700; font-size: 17px; color: var(--ink); }
.header__phone:hover { color: var(--brand-dark); }
.header__hours { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ================ HERO ================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f7faf3 0%, #ffffff 90%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(92, 185, 23, .12), transparent 70%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 20px 90px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(92, 185, 23, .25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(92, 185, 23, .25); }
  50% { box-shadow: 0 0 0 8px rgba(92, 185, 23, .08); }
}
.hero__title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero__title-accent { color: var(--brand); }
.hero__subtitle {
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__subtitle b { color: var(--ink); font-weight: 700; }
.hero__stats {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__num {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -1px;
}
.stat__plus { color: var(--brand); }
.stat__rub { font-size: 20px; color: var(--ink-3); font-weight: 700; }
.stat__label { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

.hero__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero__bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.hero__visual { position: relative; }
.hero__image {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(92, 185, 23, .15), rgba(255, 138, 26, .12)),
    repeating-linear-gradient(45deg, #e5ebd8 0 12px, #d9e2c9 12px 24px);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__image--photo {
  background-color: #d9e2c9;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.18));
}
.hero__image-label {
  position: relative;
  z-index: 1;
  color: rgba(0,0,0,.45);
  font-weight: 600;
  text-align: center;
  background: rgba(255,255,255,.7);
  padding: 14px 22px;
  border-radius: 12px;
}
.hero__image-label small { color: rgba(0,0,0,.4); font-weight: 500; font-size: 12px; display: block; margin-top: 4px; }
.hero__floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
}
.floating-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.floating-card__avatar svg { width: 22px; height: 22px; }
.floating-card__name { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.floating-card__text { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* ================ INLINE QUIZ ================ */
.quiz-inline-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, #f4f8ec 100%);
  position: relative;
  overflow: hidden;
}
.quiz-inline-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(92, 185, 23, .08), transparent 70%);
  z-index: 0;
}
.quiz-inline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.quiz-inline__left { padding-right: 12px; }
.quiz-inline__title {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 12px 0 18px;
  line-height: 1.15;
}
.quiz-inline__text {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 480px;
}
.quiz-inline__text b { color: var(--ink); font-weight: 700; }
.quiz-inline__perks {
  list-style: none;
  margin-bottom: 24px;
}
.quiz-inline__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
}
.quiz-inline__perks svg { color: var(--brand); flex-shrink: 0; }
.quiz-inline__guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--brand-light);
  border-radius: 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
}

.quiz-inline__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  box-shadow: 0 20px 60px rgba(20, 30, 50, 0.10);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  transition: box-shadow .4s ease, transform .4s ease;
}
.quiz-inline__card.is-pulse {
  animation: cardPulse 1s ease;
}
@keyframes cardPulse {
  0% { box-shadow: 0 20px 60px rgba(20, 30, 50, 0.10); }
  50% { box-shadow: 0 20px 60px rgba(92, 185, 23, 0.45); transform: translateY(-4px); }
  100% { box-shadow: 0 20px 60px rgba(20, 30, 50, 0.10); }
}
.quiz-inline__progress {
  margin-bottom: 24px;
  position: relative;
}
.quiz-inline__progress::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--line);
  border-radius: 100px;
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
}
.quiz-inline__progress-bar {
  position: relative;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border-radius: 100px;
  transition: width .35s ease;
  margin-bottom: 12px;
  z-index: 1;
}
.quiz-inline__progress-label { font-size: 13px; color: var(--ink-3); font-weight: 600; }

.quiz-inline__body { flex: 1; }
.quiz-inline__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quiz-inline__footer .btn--primary { min-width: 180px; }

/* ================ SECTION HEADERS ================ */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-subtitle { font-size: 17px; color: var(--ink-2); }

/* ================ PORTFOLIO ================ */
.portfolio { padding: 80px 0; background: var(--bg-soft); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.project {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project__image {
  position: relative;
  height: 220px;
  background:
    linear-gradient(135deg, rgba(92,185,23,.12), rgba(255,138,26,.08)),
    repeating-linear-gradient(135deg, #eef2e4 0 14px, #e2e8d6 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project__image--photo {
  background-color: #e2e8d6;
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
}
.project__placeholder { color: rgba(0,0,0,.35); font-weight: 600; font-size: 14px; }
.project__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.95);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.project__body { padding: 22px 24px 24px; }
.project__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.project__meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.project__price { font-size: 14px; color: var(--ink-2); }
.project__price b { color: var(--ink); font-size: 18px; font-weight: 800; }
.portfolio__cta { text-align: center; }

/* ================ HOW WE WORK ================ */
.how { padding: 80px 0; background: #fff; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.step__title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step__text { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ================ CTA BAND ================ */
.cta-band {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band__title { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -.5px; }
.cta-band__text { color: rgba(255,255,255,.9); max-width: 580px; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
}
.cta-band .btn--primary:hover { background: #f7faf3; }

/* ================ FOOTER ================ */
.footer { background: #14181f; color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer__col { display: flex; flex-direction: column; }
.footer__text { font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 320px; }
.footer__link {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  transition: color .15s ease;
}
.footer__link:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  font-size: 13px;
}
.footer__bottom .container { display: flex; justify-content: space-between; }
.footer__bottom a { color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

/* ================ QUIZ MODAL ================ */
.quiz {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .25s ease;
}
.quiz[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.quiz__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 35, .55);
  backdrop-filter: blur(4px);
}
.quiz__window {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.quiz__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  z-index: 2;
  transition: background .15s ease;
}
.quiz__close:hover { background: #f1f3f7; color: var(--ink); }

.quiz__progress {
  padding: 30px 36px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.quiz__progress-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border-radius: 100px;
  transition: width .35s ease;
  margin-bottom: 12px;
  position: relative;
}
.quiz__progress-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.3);
  border-radius: 100px;
  height: 100%;
}
.quiz__progress::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--line);
  border-radius: 100px;
  margin-bottom: -6px;
  position: relative;
  z-index: 0;
}
.quiz__progress-label { font-size: 13px; color: var(--ink-3); font-weight: 600; }

.quiz__content { padding: 30px 36px 24px; overflow-y: auto; flex: 1; }
.quiz__step-title { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -.4px; }
.quiz__step-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__options--1col { grid-template-columns: 1fr; }
.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
  background: #fff;
}
.quiz__option:hover { border-color: #c2d8a0; background: #fafdf5; }
.quiz__option.is-selected {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 700;
}
.quiz__option-icon {
  width: 36px; height: 36px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.quiz__option.is-selected .quiz__option-icon { background: #fff; }

.quiz__form { display: flex; flex-direction: column; gap: 14px; }
.quiz__input {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease;
}
.quiz__input:focus { outline: none; border-color: var(--brand); }
.quiz__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
  line-height: 1.5;
}
.quiz__consent input { margin-top: 2px; }
.quiz__final-bonus {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #fff7e6, #fde4c2);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.quiz__final-bonus-icon { font-size: 28px; }
.quiz__final-bonus-text { font-size: 14px; color: #7c4a0a; line-height: 1.5; }
.quiz__final-bonus-text b { color: #5a2e02; }

.quiz__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 36px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.quiz__footer .btn--primary { min-width: 160px; }

.quiz__success {
  text-align: center;
  padding: 40px 20px;
}
.quiz__success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz__success-title { font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 10px; letter-spacing: -.4px; }
.quiz__success-text { font-size: 16px; color: var(--ink-2); max-width: 420px; margin: 0 auto; }

/* ================ MOBILE ================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 50px 20px 70px; }
  .hero__image { height: 320px; }
  .quiz-inline { grid-template-columns: 1fr; gap: 40px; }
  .quiz-inline__left { padding-right: 0; text-align: center; }
  .quiz-inline__title { max-width: 100%; }
  .quiz-inline__text { max-width: 100%; margin-left: auto; margin-right: auto; }
  .quiz-inline__perks { display: inline-block; text-align: left; }
  .portfolio__grid, .how__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header__inner { gap: 12px; }
  .logo__sub { display: none; }
  .header__phone-block { display: none; }
  .hero { padding-top: 10px; }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 16px; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
  .stat__num { font-size: 24px; }
  .quiz-inline-section { padding: 60px 0; }
  .quiz-inline__card { padding: 22px 20px 18px; min-height: auto; }
  .portfolio__grid, .how__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .quiz { padding: 10px; }
  .quiz__window { max-height: 95vh; }
  .quiz__progress { padding: 22px 22px 14px; }
  .quiz__content { padding: 22px; }
  .quiz__footer { padding: 16px 22px 22px; }
  .quiz__options { grid-template-columns: 1fr; }
  .cta-band__inner { text-align: center; justify-content: center; }
  .cta-band__title { font-size: 24px; }
}

/* === CRO Этап 1 (июль 2026): ошибка формы, канал связи, sticky-панель === */
.quiz__error {
  margin-top: 10px; padding: 10px 14px; border-radius: 10px;
  background: #fdecec; color: #b3261e; font-size: 14px; line-height: 1.4;
}
.quiz__error a { color: inherit; font-weight: 700; text-decoration: underline; }

.quiz__channel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: 4px 2px;
}
.quiz__channel-label {
  flex-basis: 100%; font-size: 13px; color: var(--ink-3); font-weight: 600;
}
.quiz__channel label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink); cursor: pointer;
  padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px;
}
.quiz__channel label:has(input:checked),
.quiz__channel label.is-checked {
  border-color: var(--brand); background: var(--brand-light); font-weight: 600;
}
.quiz__channel input { accent-color: var(--brand); }

.quiz__consent-note {
  font-size: 12px; color: var(--ink-3); line-height: 1.5; margin-top: 2px;
}
.quiz__consent-note a { color: var(--ink-3); text-decoration: underline; }

.header__phone-mobile {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 2px solid var(--brand); border-radius: 10px; color: var(--brand);
  flex-shrink: 0;
}

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
}
@media (max-width: 640px) {
  .header__phone-mobile { display: flex; }
  .sticky-bar:not([hidden]) { display: flex; }
  .sticky-bar__call {
    display: flex; align-items: center; gap: 6px; padding: 12px 16px;
    border: 2px solid var(--brand); border-radius: 10px;
    color: var(--brand); font-weight: 700; font-size: 15px; white-space: nowrap;
  }
  .sticky-bar__quiz { flex: 1; }
}
