/* ==========================================================================
   ДМИТРИЙ ИНЧИН — ТАРГЕТ ДЛЯ МЕБЕЛЬЩИКОВ
   Тёмная тема, янтарный акцент
   ========================================================================== */

/* ---------------------------------- TOKENS ------------------------------- */
:root {
  --bg:          #0B0B0C;
  --bg-2:        #111113;
  --bg-3:        #17171A;
  --surface:     #151517;
  --surface-2:   #1B1B1E;

  --line:        rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --ink:         #F7F3EB;
  --ink-2:       #B9B3A7;
  --ink-3:       #8E877A;

  --accent:      #E9A23B;
  --accent-hi:   #F5B658;
  --accent-soft: rgba(233, 162, 59, .10);
  --accent-line: rgba(233, 162, 59, .30);

  --green:       #57B87C;
  --red:         #E07A76;

  --radius-s:    10px;
  --radius:      16px;
  --radius-l:    24px;

  --shadow:      0 30px 70px -30px rgba(0, 0, 0, .85);
  --shadow-sm:   0 10px 30px -16px rgba(0, 0, 0, .7);

  --container:   1180px;
  --gutter:      clamp(18px, 4vw, 40px);

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------- RESET -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #17100A; }

/* --------------------------------- LAYOUT -------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(52px, 6vw, 88px) 0;
  position: relative;
}
.section--alt { background: var(--bg-2); }

.sec-head { max-width: 840px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.sec-head .lead { margin-top: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

.lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.hi { color: var(--accent); }

/* --------------------------------- BUTTONS ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.995); }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #17100A;
  box-shadow: 0 10px 30px -14px rgba(233, 162, 59, .8);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(233, 162, 59, .85);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, .03);
}
.btn--ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.btn--dark { background: #17100A; color: var(--ink); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .8); }

.btn--sm { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 17px 30px; font-size: 16.5px; border-radius: 13px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------------------------------- CHIPS -------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.3;
}
.chip--dark { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); }

.chip--live {
  background: rgba(87, 184, 124, .09);
  border-color: rgba(87, 184, 124, .30);
  color: #7CD79E;
  font-weight: 700;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(87, 184, 124, .55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(87, 184, 124, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(87, 184, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 184, 124, 0); }
}

/* --------------------------------- HEADER -------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 12, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(11, 11, 12, .94); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #17100A;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.16; }
.logo__name { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.logo__sub { font-size: 11.5px; color: var(--ink-3); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.header__phone span { font-size: 11px; color: var(--ink-3); }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s var(--ease); }
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 55;
  background: #0B0B0C;
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mobile-menu > a {
  padding: 14px 0;
  font-size: 19px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 26px; }

/* ---------------------------------- HERO --------------------------------- */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 58px) 0 clamp(52px, 6vw, 88px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -280px;
  left: -180px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 162, 59, .17) 0%, rgba(233, 162, 59, .05) 42%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}
.hero__left, .hero__right { min-width: 0; }

.hero__title {
  margin-top: 18px;
  font-size: clamp(34px, 4.45vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.08em;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(233, 162, 59, 0));
  opacity: .55;
}

.hero__sub {
  margin-top: 16px;
  max-width: 560px;
  font-size: clamp(16px, 1.45vw, 18.5px);
  color: var(--ink-2);
}

.hero__points {
  margin-top: 28px;
  display: grid;
  gap: 0;
  max-width: 580px;
}
.hero__points li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  align-items: start;
}
.hero__points li:last-child { border-bottom: 1px solid var(--line); }
.hero__points b { color: var(--ink); font-weight: 700; }
.hero__point-num {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  padding-top: 2px;
}

.hero__ai {
  position: relative;
  margin-top: 20px;
  padding: 13px 16px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background:
    radial-gradient(360px 130px at 0% 0%, rgba(233, 162, 59, .13), transparent 72%),
    var(--surface);
}
.hero__ai::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-hi), transparent);
}
.hero__ai-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero__ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #17100A;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.hero__ai-top b {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.3;
}
.hero__ai-text {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 520px;
}
.hero__ai-text b { color: var(--ink); font-weight: 700; }
.hero__ai-verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.hero__ai-verbs li {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .01em;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.hero__person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-line);
}
.hero__person p { display: flex; flex-direction: column; line-height: 1.35; }
.hero__person b { font-size: 14px; }
.hero__person span { font-size: 12.5px; color: var(--ink-3); }


/* ---------------------------------- FORMS -------------------------------- */
.form-card {
  position: relative;
  background: linear-gradient(180deg, #18171B 0%, #121214 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .85;
}

.form-card__head { margin-bottom: 22px; }
.form-card__head .chip { margin-bottom: 12px; }
.form-card__head h2 { font-size: clamp(21px, 2vw, 25px); line-height: 1.2; }
.form-card__head p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

.lead-form { display: block; }
.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.input, .select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .28);
  color: var(--ink);
  font-size: 15px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.input::placeholder { color: #6B665D; }
.input:hover, .select:hover { border-color: rgba(255, 255, 255, .24); }
.input:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, .4);
  box-shadow: 0 0 0 3px rgba(233, 162, 59, .14);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23B9B3A7' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.select option { background: #17171A; color: var(--ink); }

.field__error {
  display: none;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}
.field.has-error .input,
.field.has-error .select { border-color: var(--red); }
.field.has-error .field__error { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-3);
  cursor: pointer;
}
.consent input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent-hi); }
.consent.has-error { color: var(--red); }
.consent.has-error span { color: var(--red); }
.consent.has-error span::after { content: " — нужно ваше согласие"; font-weight: 700; }

.form-card__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-3);
}
.form-card__note svg { flex-shrink: 0; margin-top: 1px; color: var(--ink-3); }
.form-card__note b { color: var(--ink-2); }

.form__status {
  display: none;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 600;
  background: rgba(224, 122, 118, .10);
  border: 1px solid rgba(224, 122, 118, .32);
  color: #F0A09C;
}
.form__status.is-visible { display: block; }

.form__fallback {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-s);
  background: var(--accent-soft);
}
.form__fallback[hidden] { display: none; }
.form__fallback__title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.form__fallback__note { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.form__fallback__text {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .32);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.5;
  resize: vertical;
}
.form__fallback__text:focus { outline: none; border-color: var(--accent); }
.form__fallback__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form__fallback__status { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent-hi); }
.form__fallback__status:empty { display: none; }

.form__success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 4px 10px;
}
.form-card.is-sent .lead-form,
.form-card.is-sent .form-card__head { display: none; }
.form-card.is-sent .form__success { display: flex; }
.form__success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(87, 184, 124, .14);
  border: 1px solid rgba(87, 184, 124, .35);
  color: var(--green);
}
.form__success h3 { font-size: 21px; }
.form__success p { font-size: 14px; color: var(--ink-2); }


/* --------------------------------- PROBLEM ------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pain {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.pain:hover { border-color: rgba(233, 162, 59, .28); transform: translateY(-3px); }
.pain__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  opacity: .8;
}
.pain h3 { font-size: clamp(17.5px, 1.6vw, 20px); line-height: 1.25; }
.pain p { font-size: 14.5px; color: var(--ink-2); }
.pain__tag {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cost {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 22px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(233, 162, 59, .10), transparent 70%),
    var(--surface);
}
.cost__value { display: flex; flex-direction: column; gap: 2px; }
.cost__value b {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  white-space: nowrap;
}
.cost__value span { font-size: 12px; color: var(--ink-3); max-width: 170px; }
.cost__text h3 { font-size: clamp(17px, 1.6vw, 19px); margin-bottom: 6px; }
.cost__text p { font-size: 14px; color: var(--ink-2); max-width: 520px; }
.cost__formula {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
}
.cost__formula i { color: var(--ink-3); font-style: normal; }
.cost__formula b { color: var(--ink); font-size: 13.5px; }

.transition {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(233, 162, 59, .07), transparent 70%);
  font-size: clamp(15.5px, 1.4vw, 17px);
  color: var(--ink-2);
}
.transition b { color: var(--ink); }


/* --------------------------------- SYSTEM -------------------------------- */
.system {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.steps { display: grid; gap: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding-bottom: 30px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-line), var(--line));
}
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
}
.step__body { padding-top: 4px; }
.step__body h3 { font-size: clamp(18px, 1.7vw, 21px); margin-bottom: 7px; }
.step__body p { font-size: 14.5px; color: var(--ink-2); max-width: 560px; }

.testdrive {
  position: sticky;
  top: 96px;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, var(--accent-hi) 0%, var(--accent) 62%, #D18A26 100%);
  color: #1A1206;
  box-shadow: 0 28px 60px -30px rgba(233, 162, 59, .55);
}
.testdrive__badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(23, 16, 10, .12);
  border: 1px solid rgba(23, 16, 10, .16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.testdrive h3 {
  margin-top: 14px;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.testdrive h3 span { display: inline-block; }
.testdrive__lead { margin-top: 10px; font-size: 14.5px; color: rgba(23, 16, 10, .78); }

.testdrive__list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 16, 10, .18);
  display: grid;
  gap: 9px;
}
.testdrive__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.45;
}
.testdrive__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #1A1206;
  border-bottom: 2px solid #1A1206;
  transform: rotate(-45deg);
}
.testdrive__list b { font-weight: 800; }
.testdrive .btn { margin-top: 22px; }
.testdrive__note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(23, 16, 10, .66);
}

.included {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.included__label {
  margin-right: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}


/* ---------------------------------- ABOUT -------------------------------- */
.about {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}
.about__media { min-width: 0; }
.about__photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 11, 12, .45) 100%);
  pointer-events: none;
}
.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 26%;
  filter: saturate(.92) contrast(1.03);
}
.about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about__facts li { display: flex; flex-direction: column; gap: 2px; }
.about__facts b {
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--accent);
}
.about__facts span { font-size: 12.5px; color: var(--ink-2); }

.about__note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  font-size: 12.5px;
  color: var(--ink-2);
}
.about__note b { color: var(--ink); font-size: 13.5px; }

.about__text h2 { font-size: clamp(26px, 3vw, 39px); }
.about__text .lead { margin-top: 18px; }
.about__p { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.about__p--ai {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--accent-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.about__p--ai b { color: var(--ink); font-weight: 800; }

.principles { margin-top: 24px; display: grid; gap: 14px; }
.principles li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.principles__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .08em;
  padding-top: 3px;
}
.principles h4 { font-size: 16px; margin-bottom: 3px; }
.principles p { font-size: 13.5px; color: var(--ink-2); }

.about__signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about__signature > div { display: flex; flex-direction: column; line-height: 1.3; }
.about__signature b { font-size: 15px; }
.about__signature span { font-size: 12px; color: var(--ink-3); }

/* ------------------------------- FIT / QUAl ------------------------------- */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 48px);
}
.fit__col {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fit__col--yes {
  background: linear-gradient(180deg, rgba(87, 184, 124, .075), rgba(87, 184, 124, .02));
  border-color: rgba(87, 184, 124, .22);
}
.fit__col--no {
  background: linear-gradient(180deg, rgba(224, 122, 118, .06), rgba(224, 122, 118, .015));
  border-color: rgba(224, 122, 118, .18);
}
.fit__col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 14px;
}
.fit__col h3 span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}
.fit__col--yes h3 span { background: rgba(87, 184, 124, .16); color: var(--green); }
.fit__col--no h3 span { background: rgba(224, 122, 118, .14); color: var(--red); }
.fit__col ul { display: grid; gap: 9px; }
.fit__col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.fit__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
}


/* --------------------------------- CASES --------------------------------- */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.case {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, .008));
}
.case--featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(233, 162, 59, .10), rgba(233, 162, 59, .025) 58%, rgba(255, 255, 255, .01));
  box-shadow: var(--shadow-sm);
}
.case__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.case__tag {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.case--featured .case__tag {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-hi);
}
.case__mark {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.case__big {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.case__big b {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}
.case--featured .case__big b { color: var(--accent-hi); }
.case__big span { font-size: 13px; color: var(--ink-2); }
.case__sub { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

.case__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}
.case__stat { padding: 12px 14px; background: var(--bg); }
.case__stat b {
  display: block;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.case__stat span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-3);
}
.case__foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cases__note {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--accent-soft);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.cases__note b { color: var(--ink); }


/* ---------------------------------- FINAL -------------------------------- */
.final {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.final__glow {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 162, 59, .14), transparent 68%);
  pointer-events: none;
}
.final__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 4.5vw, 60px);
  align-items: start;
}
.final__left h2 { font-size: clamp(28px, 3.3vw, 42px); }
.final__left .lead { margin-top: 16px; }

.after { margin-top: 26px; display: grid; gap: 0; }
.after li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.after li:last-child { border-bottom: 1px solid var(--line); }
.after__time {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--accent);
  padding-top: 3px;
}
.after h4 { font-size: 15.5px; margin-bottom: 3px; }
.after p { font-size: 13.5px; color: var(--ink-2); }

.final__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.final__form { width: 100%; }

/* ----------------------------------- FAQ --------------------------------- */
.faq {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: clamp(26px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.faq__head h2 { font-size: clamp(25px, 2.6vw, 33px); }
.faq__list { display: grid; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-hi); }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 500;
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.faq__item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
  border-color: var(--accent-line);
  color: var(--accent);
}
.faq__answer { padding: 0 44px 18px 0; }
.faq__answer p { font-size: 14.5px; color: var(--ink-2); }

/* --------------------------------- FOOTER -------------------------------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(36px, 4vw, 52px) 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1.1fr;
  gap: clamp(26px, 4vw, 56px);
}
.footer__brand p { margin-top: 14px; max-width: 320px; font-size: 13.5px; color: var(--ink-3); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.footer__contacts a { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.footer__contacts a:hover { color: var(--accent-hi); }

.footer__nav, .footer__legal { display: flex; flex-direction: column; gap: 8px; }
.footer__nav > span, .footer__legal > span {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__nav a, .footer__legal a { font-size: 13.5px; color: var(--ink-2); }
.footer__nav a:hover, .footer__legal a:hover { color: var(--accent-hi); }
.footer__requisites { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

/* -------------------------------- STICKY CTA ----------------------------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 10px 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 17, 19, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .85);
  visibility: hidden;
  transform: translateY(130%);
  transition: transform .28s var(--ease), visibility .28s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta__text b { font-size: 13.5px; }
.sticky-cta__text span { font-size: 11.5px; color: var(--ink-3); }

/* --------------------------------- REVEAL -------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}


/* -------------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 1180px) {
  .header__inner { gap: 16px; }
  .logo__sub { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; white-space: nowrap; }
  .header__actions { gap: 12px; }
  .header__phone b { font-size: 14px; white-space: nowrap; }
  .header__phone span { font-size: 10.5px; white-space: nowrap; }
  .header__actions .btn { padding: 12px 16px; font-size: 13.5px; white-space: nowrap; }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__left { max-width: 720px; }
  .hero__form { max-width: 620px; width: 100%; }
  .system { grid-template-columns: 1fr; }
  .testdrive { position: static; max-width: 520px; }
  .cases { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .final__grid { grid-template-columns: 1fr; }
  .final__form { max-width: 620px; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { max-width: 520px; }
}

@media (max-width: 900px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .pain-grid { grid-template-columns: 1fr; }
  .cost { grid-template-columns: 1fr; gap: 16px; }
  .cost__formula {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cost__formula span:first-child { color: var(--ink-2); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { padding-bottom: 78px; }
  .section { padding: 48px 0; }
  .header__actions .btn { display: none; }
  .sticky-cta { display: flex; }
  .fit { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(31px, 8.4vw, 40px); }
  .hero__title em { white-space: normal; }
  .hero__points li { grid-template-columns: 92px 1fr; gap: 12px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .header__inner { height: 64px; }
  .mobile-menu { inset: 64px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; }
  .faq__answer { padding-right: 0; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 20px 18px; }
  .hero__points li { grid-template-columns: 1fr; gap: 2px; }
  .hero__point-num { font-size: 12px; }
  .hero__person { align-items: flex-start; }
  .about__photo img { aspect-ratio: 4 / 5; }
  .about__signature { align-items: flex-start; }
  .about__signature .btn { width: 100%; }
  .testdrive { padding: 22px 20px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step__num { width: 44px; height: 44px; font-size: 15px; }
  .step:not(:last-child)::before { left: 21px; top: 44px; }
  .sticky-cta__text span { display: none; }
  .sticky-cta .btn { flex-shrink: 0; }
}

