/* Шрифт кладём локально: в нём есть ₽ и ², и страница не зависит от внешних CDN. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

/* Квиз ITALICA Elastic — тёмная одноэкранная презентация с вопросами.
   Ширины: мобильный до 900px — одна колонка, дальше две. */

:root {
  --bg: #14171d;
  --panel: #1b1f27;
  --panel-2: #212630;
  --line: rgba(255, 255, 255, .09);
  --text: #eef1f5;
  --muted: #9aa3b0;
  --accent: #e8792a;
  --accent-soft: rgba(232, 121, 42, .14);
  --sand: #e8c9a0;
  --ok: #3fbf7f;
  --r: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 901px) {
  .wrap {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    padding: 32px 24px 48px;
    gap: 24px;
  }
}

/* ─────────── панели ─────────── */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 901px) {
  .panel { padding: 36px; }
  .panel--main { min-height: 620px; display: flex; flex-direction: column; }
}

/* мягкий ореол, чтобы плита не выглядела плоской */
.panel--main::before {
  content: "";
  position: absolute;
  inset: -40% 40% 55% -20%;
  background: radial-gradient(closest-side, rgba(232, 121, 42, .10), transparent 70%);
  pointer-events: none;
}

.top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}

.top a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.top .dot { color: var(--accent); flex: none; }

h1 {
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.18;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 .sand { color: var(--sand); }
h1 u { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.lead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 46ch;
}

.lead b { color: var(--text); font-weight: 600; }

/* ─────────── кнопки ─────────── */

.cta {
  width: 100%;
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 2.1vw, 18px);
  padding: 20px 26px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 14px 30px -14px rgba(232, 121, 42, .8);
  transition: transform .12s ease, box-shadow .12s ease;
}

.cta:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -14px rgba(232, 121, 42, .9); }
.cta:active { transform: translateY(1px); }
.cta[disabled] { background: #2c313b; color: var(--muted); box-shadow: none; cursor: default; }
.cta .arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid; place-items: center; flex: none;
}

.hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; min-height: 18px; }

/* ─────────── списки выгод ─────────── */

.bullets { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.bullets .mk { color: var(--accent); flex: none; font-weight: 700; }

/* ─────────── правая колонка ─────────── */

.panel--side {
  background: linear-gradient(165deg, #1d2a24 0%, #171b21 62%);
}

.side-title {
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 18px;
  letter-spacing: .01em;
}

.chips { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }

.chips li {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chips .tick { color: var(--ok); flex: none; margin-top: 2px; }

.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.shot img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 901px) { .shot img { height: 380px; } }

.rating {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); border-radius: 12px;
}

.rating .num { font-size: 34px; font-weight: 800; line-height: 1; color: var(--sand); flex: none; }
.rating .stars { color: var(--sand); letter-spacing: 2px; }
.rating .cap { font-size: 13px; color: var(--muted); }

/* ─────────── шаги ─────────── */

.step-no {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.q { font-size: clamp(17px, 2.4vw, 20px); font-weight: 700; margin: 26px 0 14px; }

.opts { display: grid; gap: 10px; margin: 0 0 22px; }

@media (min-width: 640px) {
  .opts { grid-template-columns: 1fr 1fr; }
  .opts--wide { grid-template-columns: 1fr; }
}

.opt {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .12s ease, background .12s ease, transform .12s ease;
}

.opt:hover { border-color: rgba(232, 121, 42, .5); transform: translateY(-1px); }

.opt .box {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #495062; flex: none; position: relative;
}

.opt[aria-pressed="true"] { border-color: var(--accent); background: rgba(232, 121, 42, .10); }
.opt[aria-pressed="true"] .box { border-color: var(--accent); }
.opt[aria-pressed="true"] .box::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}

/* цена */

.price-rows { display: grid; gap: 10px; margin: 22px 0 0; }

.price-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 14px 16px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--line);
}

.price-row .val { font-weight: 700; white-space: nowrap; }

/* На узком экране две колонки в строке цены превращают текст в лестницу —
   разворачиваем в столбик: сперва название, под ним значение. */
@media (max-width: 639px) {
  .price-row { display: block; }
  .price-row .val { display: block; margin-top: 6px; color: var(--sand); }
}
.price-row--accent { background: rgba(232, 121, 42, .10); border-color: rgba(232, 121, 42, .45); }
.price-row--accent .val { color: var(--sand); }
.price-row small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 3px; }

/* поля */

.field { margin: 0 0 14px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 7px; }

.field input {
  width: 100%; padding: 15px 16px; font-size: 16px;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
}

.field input:focus { outline: 0; border-color: var(--accent); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* финал */

.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 0; }
@media (min-width: 640px) { .channels { grid-template-columns: repeat(4, 1fr); } }

.channel {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 12px; text-align: center;
  cursor: pointer; transition: transform .12s ease, border-color .12s ease;
}

.channel:hover { transform: translateY(-2px); border-color: rgba(232, 121, 42, .5); }
.channel .ic { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px; display: grid; place-items: center; }
.channel .nm { font-size: 14px; font-weight: 600; }
.channel--tg .ic { background: #2aabee; }
.channel--wa .ic { background: #25d366; }
.channel--call .ic { background: var(--accent); }
.channel--form .ic { background: #4d5566; }

/* прогресс */

.bar { height: 4px; background: rgba(255, 255, 255, .08); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.bar span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .3s ease; }

.center { text-align: center; }
.done-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(63, 191, 127, .16); display: grid; place-items: center; }

footer { color: var(--muted); font-size: 13px; text-align: center; padding: 8px 16px 28px; }
footer a { color: var(--muted); }

.spacer { flex: 1 1 auto; }
