/* «Своя форма» — лендинг. Палитра и типографика из утверждённых макетов. */
:root {
  --bg: #F6F7FC;
  --surface: #FFFFFF;
  --ink: #1D2340;
  --muted: #5C6284;
  --faint: #8A90AE;
  --border: #E4E7F2;
  --border-soft: #EEF0F7;
  --indigo: #2F3BA6;
  --indigo-deep: #232B6B;
  --indigo-tint: #EEF0FB;
  --indigo-line: #D9DDF5;
  --green: #0E9F6E;
  --green-dark: #0B8A5F;
  --green-tint: #E7F6F0;
  --red: #B4232A;
  --footer: #1B2258;
  --font-display: 'Unbounded', 'Segoe UI', sans-serif;
  --font-body: 'Golos Text', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #FFFFFF; }
.btn-primary:hover { background: var(--green-dark); color: #FFFFFF; }
.btn-secondary { background: var(--surface); border-color: var(--indigo-line); color: var(--indigo); }
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-sm { padding: 11px 22px; font-size: 14.5px; border-radius: 10px; }

/* ---------- Шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E9EBF4;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--indigo);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.badge {
  background: var(--indigo-tint); color: var(--indigo);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.2vw, 42px); line-height: 1.18; letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-sub { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero-trust { font-size: 13px; color: var(--faint); }

/* Композиция-превью */
.hero-visual { position: relative; height: 430px; }
.hero-dots {
  position: absolute; right: 0; top: 10px; width: 100%; max-width: 440px; height: 404px;
  border-radius: 28px; background-color: var(--indigo-tint);
  background-image: radial-gradient(#D5DAF3 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.mock-browser {
  position: absolute; left: 0; top: 52px; width: 336px; max-width: 88%;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(29, 35, 64, 0.12);
}
.mock-browser-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border-soft); }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mock-url { flex: 1; background: #F1F3FA; border-radius: 999px; padding: 4px 12px; font-size: 11.5px; color: var(--faint); }
.mock-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.mock-title { font-size: 14.5px; font-weight: 600; }
.mock-input {
  height: 38px; border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--faint);
}
.mock-btn {
  height: 40px; background: var(--green); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF; font-size: 13.5px; font-weight: 600;
}
.float-card {
  position: absolute; background: var(--surface); border: 1px solid #E9EBF4; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(29, 35, 64, 0.14); padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.float-tg { right: 4px; top: 0; width: 268px; }
.float-shield { right: 44px; bottom: 4px; width: 256px; align-items: center; }
.float-ic { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-ic-tg { background: #2AABEE; }
.float-ic-shield { background: var(--green-tint); }
.float-body { display: flex; flex-direction: column; gap: 3px; }
.float-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.float-time { font-size: 11px; color: var(--faint); font-weight: 400; }
.float-text { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.float-title { font-size: 13px; font-weight: 600; }
.float-sub { font-size: 11.5px; color: var(--faint); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(10px); animation: rise .5s ease forwards; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .float-tg { opacity: 0; transform: translateY(-8px); animation: rise .5s ease .45s forwards; }
  .float-shield { opacity: 0; transform: translateY(8px); animation: rise .5s ease .65s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Сравнение ---------- */
.compare { padding-bottom: 8px; }
.compare-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  display: grid; grid-template-columns: 1fr 1fr;
}
.compare-col { padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.compare-col + .compare-col { border-left: 1px solid var(--border-soft); }
.compare-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.compare-col.ours .compare-name { color: var(--ink); }
.compare-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--muted); }
.compare-col.ours .compare-item { color: var(--ink); }
.compare-item svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Секции ---------- */
.section { padding: 88px 0 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.overline {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green);
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(23px, 3vw, 29px); letter-spacing: -0.01em; text-wrap: balance;
}
.band { margin-top: 88px; background: var(--surface); border-top: 1px solid #E9EBF4; border-bottom: 1px solid #E9EBF4; }
.band .section { padding: 80px 0; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--indigo-tint);
  color: var(--indigo); font-family: var(--font-display); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Возможности ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature {
  border: 1px solid #E9EBF4; border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; background: #FBFCFE;
}
.feature-ic {
  width: 44px; height: 44px; border-radius: 11px; background: var(--indigo-tint);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 16px; font-weight: 600; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Тариф ---------- */
.pricing .section-head { align-items: center; text-align: center; }
.price-card {
  width: 560px; max-width: 100%; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--indigo-line); border-radius: 18px;
  box-shadow: 0 24px 56px rgba(47, 59, 166, 0.10);
  padding: 36px 40px; display: flex; flex-direction: column; gap: 22px;
}
.price-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.price-name { font-size: 16px; font-weight: 600; }
.price-note { font-size: 13px; color: var(--faint); margin-top: 6px; }
.price-value { font-family: var(--font-display); font-weight: 600; font-size: 38px; white-space: nowrap; }
.price-divider { height: 1px; background: var(--border-soft); }
.price-list { display: flex; flex-direction: column; gap: 13px; list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.price-list svg { flex-shrink: 0; margin-top: 2px; }
.price-foot { font-size: 12.5px; color: var(--faint); text-align: center; line-height: 1.55; }
.price-pack { font-size: 14px; color: var(--muted); margin-top: 22px; text-align: center; }
.price-pack a { font-weight: 600; }

/* ---------- Заказ ---------- */
.order-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.order-info { display: flex; flex-direction: column; gap: 14px; }
.order-info p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.order-points { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.order-point { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.order-point svg { flex-shrink: 0; margin-top: 2px; }
.order-form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px 32px;
}
.order-form-note {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 16px; font-size: 12px; color: var(--faint); text-align: center;
}
.order-fallback { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; }
.faq-intro { display: flex; flex-direction: column; gap: 14px; }
.faq-intro p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0;
  font-size: 16px; font-weight: 600; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 4px; top: 26px; width: 12px; height: 12px;
  background:
    linear-gradient(var(--faint), var(--faint)) center/12px 2px no-repeat,
    linear-gradient(var(--faint), var(--faint)) center/2px 12px no-repeat;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 64ch; }

/* ---------- Футер ---------- */
.footer { background: var(--footer); margin-top: 88px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.footer .brand-name { color: #FFFFFF; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-mark { width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; }
.footer-tag { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }
.footer-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.footer-links a:hover { color: #FFFFFF; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- Документы (оферта, политика) ---------- */
.doc { padding: 56px 0 24px; }
.doc-inner { max-width: 760px; margin: 0 auto; }
.doc-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.doc h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance;
}
.doc-meta { font-size: 13.5px; color: var(--faint); margin-top: 12px; }
.doc-note {
  background: var(--indigo-tint); border-radius: 12px; padding: 16px 20px;
  font-size: 14px; line-height: 1.6; color: var(--indigo-deep); margin-top: 24px;
}
.doc-body { margin-top: 32px; }
.doc-body h2 {
  font-size: 18px; font-weight: 600; margin: 34px 0 12px; text-wrap: balance;
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; max-width: 68ch; }
.doc-body ul, .doc-body ol { font-size: 15px; line-height: 1.7; color: var(--muted); padding-left: 22px; margin: 0 0 12px; max-width: 68ch; }
.doc-body li { margin-bottom: 8px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-fill {
  background: #FFF6E5; border-bottom: 1px solid #E8CE96; color: #7A5A12;
  padding: 1px 6px; border-radius: 4px; font-size: 0.94em; white-space: nowrap;
}
.doc-req {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 26px; margin-top: 28px;
}
.doc-req dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 20px; margin: 12px 0 0; font-size: 14.5px; }
.doc-req dt { color: var(--faint); }
.doc-req dd { margin: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .steps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .order-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0 0; }
  .band { margin-top: 64px; }
  .band .section { padding: 64px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .compare-card { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--border-soft); }
  .price-card { padding: 28px 24px; }
  .price-value { font-size: 30px; }
  .order-form-card { padding: 22px 18px; }
  .hero-visual { height: 400px; }
  .float-tg { right: 0; width: 240px; }
  .float-shield { right: 8px; width: 236px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer { margin-top: 64px; }
  .doc { padding: 36px 0 16px; }
  .doc-req { padding: 18px; }
  .doc-req dl { grid-template-columns: 1fr; gap: 4px 0; }
  .doc-req dd { margin-bottom: 10px; }
}

/* ---------- Анкеты и опросы ---------- */
.survey-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.survey-copy { display: flex; flex-direction: column; gap: 14px; }
.survey-copy p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.survey-uses { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.survey-uses li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; }
.survey-uses svg { flex-shrink: 0; margin-top: 3px; }
.survey-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 30px; box-shadow: 0 14px 36px rgba(29, 35, 64, 0.07);
}
.survey-head { border-bottom: 1px solid var(--border-soft); padding-bottom: 16px; margin-bottom: 20px; }
.survey-head b { display: block; font-size: 18px; font-weight: 600; }
.survey-head span { font-size: 13.5px; color: var(--faint); }
.survey-q { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #F4F5FA; }
.survey-q:last-child { border-bottom: 0; padding-bottom: 0; }
.survey-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--indigo-tint); color: var(--indigo);
  font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.survey-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.survey-label { font-size: 14.5px; font-weight: 600; }
.survey-label i { font-style: normal; color: var(--faint); font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.survey-input {
  height: 38px; border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; padding: 0 13px; font-size: 13.5px; color: var(--faint);
}
.survey-input.tall { height: 62px; align-items: flex-start; padding-top: 10px; }
.survey-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.survey-pill {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--muted);
}
.survey-pill.on { border-color: var(--green); background: var(--green-tint); color: var(--green-dark); font-weight: 600; }
.survey-note { font-size: 13px; color: var(--faint); line-height: 1.6; margin-top: 14px; text-align: center; }
@media (max-width: 1000px) { .survey-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) { .survey-card { padding: 20px 18px; } }

/* ---------- Скриншоты кабинета ---------- */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shot { display: flex; flex-direction: column; gap: 10px; }
.shot-frame {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: 0 12px 30px rgba(29, 35, 64, 0.08);
  aspect-ratio: 16 / 10;
}
.shot-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shot-cap b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.shot-cap span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; gap: 22px; } }
