/* Mater — общие стили лендингов (клиент + партнёры). Фирменный «водный» стиль. */
:root {
  --water: #1ca7ec;
  --water-deep: #1565c0;
  --ink: #0d2a40;
  --ink-soft: #4a657a;
  --bg: #f6fafd;
  --border: #e0eaf2;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(21, 101, 192, 0.08);
  --shadow-lg: 0 20px 50px rgba(21, 101, 192, 0.16);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand__drop {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  transform: rotate(45deg); box-shadow: var(--shadow);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--ink-soft); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav__links a:hover { color: var(--water-deep); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--water), var(--water-deep)); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { box-shadow: var(--shadow-lg); }
.btn--ghost { background: var(--white); color: var(--water-deep); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--water); }
.btn--light { background: rgba(255,255,255,0.16); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--light:hover { background: rgba(255,255,255,0.26); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); }
.hero--client { background: linear-gradient(135deg, #1ca7ec 0%, #1565c0 100%); }
.hero--partners { background: linear-gradient(135deg, #0d2a40 0%, #1565c0 100%); }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); border-radius: 50%;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 80px 0 96px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero p.lead { font-size: 20px; opacity: 0.94; margin-bottom: 32px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 14px; opacity: 0.8; }

/* Мокап телефона / карточки в hero */
.hero__art { position: relative; z-index: 2; display: flex; justify-content: center; }
.phone {
  width: 280px; background: var(--white); border-radius: 36px; padding: 14px;
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.phone__screen { background: var(--bg); border-radius: 26px; overflow: hidden; }
.phone__bar { height: 26px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.phone__bar span { width: 60px; height: 6px; background: var(--border); border-radius: 999px; }
.phone__body { padding: 16px; }
.mini-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.mini-card__row { display: flex; align-items: center; gap: 12px; }
.mini-card__ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(28,167,236,0.12); display: grid; place-items: center; font-size: 20px; }
.mini-card__t { font-weight: 700; font-size: 15px; }
.mini-card__s { color: var(--ink-soft); font-size: 13px; }
.mini-card__price { margin-left: auto; font-weight: 800; color: var(--water-deep); }
.mini-btn { width: 100%; text-align: center; padding: 11px; border-radius: 10px; background: linear-gradient(135deg, var(--water), var(--water-deep)); color: #fff; font-weight: 700; font-size: 14px; }

/* ---------- Секции ---------- */
section { padding: 84px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { color: var(--water); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.section__head h2 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 14px; }
.section__head p { font-size: 18px; color: var(--ink-soft); }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: rgba(28,167,236,0.12); margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* Шаги «как это работает» */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; text-align: center; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--water), var(--water-deep)); color: #fff; font-weight: 800; font-size: 22px;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Полоса с метриками */
.stats { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats .grid { text-align: center; }
.stat__n { font-size: 42px; font-weight: 800; color: var(--water-deep); letter-spacing: -0.02em; }
.stat__l { color: var(--ink-soft); font-weight: 600; margin-top: 4px; }

/* Список с галочками */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks li::before {
  content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(28,167,236,0.14); color: var(--water-deep); font-weight: 800; font-size: 14px;
  display: grid; place-items: center; margin-top: 2px;
}

/* Тарифы / split-блок */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media {
  background: linear-gradient(135deg, rgba(28,167,236,0.08), rgba(21,101,192,0.06));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}

/* CTA-полоса */
.cta-band { color: var(--white); text-align: center; }
.cta-band--client { background: linear-gradient(135deg, var(--water), var(--water-deep)); }
.cta-band--partners { background: linear-gradient(135deg, #0d2a40, var(--water-deep)); }
.cta-band h2 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { font-size: 18px; opacity: 0.92; margin-bottom: 28px; }
.cta-band .hero__cta { justify-content: center; }

/* Сторы */
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 700;
}
.store small { display: block; font-size: 11px; opacity: 0.7; font-weight: 600; }
.store b { font-size: 16px; }

/* Форма заявки (партнёры) */
.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 15px; font-family: inherit; background: var(--white); color: var(--ink); transition: border-color .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--water); }
.form__note { color: var(--ink-soft); font-size: 13px; margin-top: 8px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
details summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--water); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-soft); margin-top: 12px; }

/* Подвал */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 56px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,0.78); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer__switch { color: var(--water); font-weight: 700; }

/* ---------- Адаптив ---------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .hero h1 { font-size: 40px; }
  .hero__art { order: -1; }
  .grid--3, .grid--4, .split, .form .row, .footer__top { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .section__head h2, .cta-band h2 { font-size: 30px; }
  section { padding: 60px 0; }
}
