/* Bonex landing — bonex.one
   Без внешних зависимостей: шрифты системные, скриптов со сторонних CDN нет.
   Причина не в идеологии: сайт открывают с мобильного интернета в Душанбе,
   и каждый сторонний запрос — это секунды до первого экрана. */

:root {
  --primary: #1a56db;
  --primary-dark: #1446b8;
  --primary-light: #e8efff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --bg-dark: #0b1330;
  --success: #059669;
  --danger: #dc2626;
  --amber: #f59e0b;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
}

h3 {
  font-size: 19px;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container-narrow {
  max-width: 800px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.08s;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: #c7d7fb;
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 15px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

/* ─────────────────────────── Шапка ──────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ──────────────────────────── Hero ──────────────────────────── */

.hero {
  position: relative;
  padding: 72px 0 56px;
  background: linear-gradient(165deg, #0b1a3d 0%, #12306e 46%, #1a56db 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero .eyebrow {
  color: #9dbcff;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-trust li {
  position: relative;
  padding-left: 24px;
}

.hero-trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7ee3b1;
  font-weight: 700;
}

/* Телефон с картой клиента */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(122, 162, 255, 0.5), transparent 62%);
  filter: blur(10px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  padding: 12px;
  border-radius: 34px;
  background: #0a1330;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: #fff;
  border-radius: 24px;
  padding: 18px 16px;
  color: var(--ink);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.card-chip {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.card-balance {
  margin: 14px 0 16px;
}

.card-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.card-balance strong {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card-cur {
  font-size: 14px;
  color: var(--muted);
  margin-left: 6px;
}

.card-qr {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 92px;
  margin: 0 auto 8px;
}

.qr-grid i {
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 2px;
}

.qr-grid i:nth-child(3n) {
  background: #cbd5e1;
}

.qr-grid i:nth-child(7n) {
  background: transparent;
}

.card-feed {
  margin-top: 14px;
  font-size: 13px;
}

.card-feed li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.card-feed b.plus {
  color: var(--success);
}

.card-feed b.minus {
  color: var(--primary);
}

/* Полоса показателей */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-strip li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

.stat-strip strong {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-strip span {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* ─────────────────────────── Секции ─────────────────────────── */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 74ch;
  margin-bottom: 36px;
}

.note {
  font-size: 15px;
  color: var(--muted);
}

.note.center {
  text-align: center;
  margin-top: 28px;
}

/* Было / стало */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.compare-col {
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.compare-col h3 {
  margin-bottom: 16px;
}

.compare-col li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 16px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.compare-col li:first-child {
  border-top: 0;
}

.compare-before {
  background: #fff9f6;
  border-color: #f6ddcd;
}

.compare-before h3 {
  color: #b45309;
}

.compare-before li::before {
  content: '−';
  position: absolute;
  left: 6px;
  top: 8px;
  color: #d97706;
  font-weight: 800;
}

.compare-after {
  background: #f3f8ff;
  border-color: #cfe0ff;
}

.compare-after h3 {
  color: var(--primary);
}

.compare-after li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--success);
  font-weight: 800;
}

/* Карточки */

.cards {
  display: grid;
  gap: 20px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.card-flat {
  box-shadow: none;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  font-size: 20px;
  margin-bottom: 14px;
}

/* Шаги */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.steps li {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.steps p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* Табы ролей */

.roles {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.tabs button {
  flex: 1;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-soft);
  cursor: pointer;
}

.tabs button[aria-selected='true'] {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  padding: 30px;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 16px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 7px;
  color: var(--success);
  font-weight: 800;
}

.check-list b {
  color: var(--ink);
}

.check-light li {
  color: rgba(255, 255, 255, 0.86);
}

.check-light li::before {
  color: #7ee3b1;
}

.tab-panel .note {
  margin: 16px 0 0;
}

/* Механики */

.mech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mech {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: #fff;
}

.mech h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.mech p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Аналитика */

.analytics-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-head span {
  font-size: 14px;
  color: var(--muted);
}

.chart-head b {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 190px;
}

.chart-bars i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--primary), #6d97f5);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  min-height: 24px;
}

.chart-bars i span {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

.chart-note {
  margin: 34px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Тарифы */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan-for {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.plan-price {
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-price span {
  color: var(--muted);
  font-size: 15px;
}

.plan .check-list {
  margin-bottom: 24px;
  flex: 1;
}

.plan .check-list li {
  font-size: 15.5px;
}

.plan .btn {
  width: 100%;
}

.pricing-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.price-table td {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.price-table tr:first-child td {
  border-top: 0;
}

.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
  padding-left: 16px;
}

.price-table .note {
  margin: 16px 0 0;
}

/* Таймлайн запуска */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.timeline li {
  padding-top: 22px;
  border-top: 3px solid var(--primary-light);
  position: relative;
}

.timeline li::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
}

.timeline b {
  display: block;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline span {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* FAQ */

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq summary {
  padding: 18px 48px 18px 20px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ────────────────────────── Заявка ──────────────────────────── */

.section-cta {
  background: linear-gradient(160deg, #0b1a3d 0%, #16337a 60%, #1a56db 100%);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 48px;
  align-items: start;
}

.cta-copy h2 {
  color: #fff;
}

.cta-copy > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 54ch;
}

.cta-contacts {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.cta-contacts a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Разделитель рисуется между ссылками, а не лежит в разметке: незаполненный
   контакт скрипт удаляет целиком, и «точка в пустоте» не остаётся. */
.cta-contacts a + a {
  margin-left: 14px;
}

.cta-contacts a + a::before {
  content: '·';
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.45);
  border: 0;
}

.cta-contacts > span + a {
  margin-left: 8px;
}

.cta-contacts a:hover {
  text-decoration: none;
  border-bottom-color: #fff;
}

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.lead-form h3 {
  margin-bottom: 18px;
  font-size: 21px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field > span b {
  color: var(--danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.field input[aria-invalid='true'],
.field select[aria-invalid='true'] {
  border-color: var(--danger);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--primary);
}

.form-status {
  margin: 14px 0 0;
  font-size: 15px;
  min-height: 1px;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-ok {
  color: var(--success);
}

.form-done {
  text-align: center;
  padding: 20px 0;
}

.form-done .done-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
  font-size: 28px;
}

/* ─────────────────────────── Подвал ─────────────────────────── */

.site-footer {
  background: #0b1330;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 26px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ───────────────────────── Адаптив ──────────────────────────── */

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .header-phone {
    display: none;
  }

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

@media (max-width: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 20px 16px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .analytics-grid,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .phone {
    width: 260px;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .cards-3,
  .steps,
  .plans,
  .timeline,
  .pricing-extra,
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .lead,
  .section-lead {
    font-size: 17px;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .cards-3,
  .steps,
  .plans,
  .timeline,
  .pricing-extra,
  .compare,
  .mech-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-direction: column;
  }

  .tab-panel,
  .lead-form,
  .card,
  .price-table,
  .compare-col {
    padding: 20px;
  }

  .stat-strip {
    padding: 18px;
  }

  .plan-price strong {
    font-size: 32px;
  }

  .timeline li {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
