/* =====================================================================
   FilterPro — высококонверсионный лендинг (изолированная тест-страница)
   Палитра: глубокий синий/графит + кристально-голубой/белый + оранжевый CTA
   Шрифты: Montserrat (заголовки) + Inter (текст)
   ===================================================================== */

:root {
  --navy: #0a1a33;
  --graphite: #0f1726;
  --blue: #163a73;
  --blue-2: #1f4f9e;
  --cyan: #14b8f5;
  --cyan-soft: #e8f6ff;
  --bg: #f5faff;
  --white: #ffffff;
  --accent: #ff6a1a;       /* CTA */
  --accent-d: #e85a0c;
  --text: #0c1b30;
  --muted: #5b6b82;
  --line: #e3edf8;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(12, 27, 48, .06);
  --shadow: 0 18px 44px rgba(12, 27, 48, .12);
  --shadow-accent: 0 12px 28px rgba(255, 106, 26, .35);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body.wf {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wf h1, .wf h2, .wf h3, .wf .wf-display {
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--navy);
}

.wf-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wf-section { padding: 92px 0; }
.wf-kicker {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.wf-h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.wf-lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 680px; }
.wf-center { text-align: center; }
.wf-center .wf-lead { margin: 14px auto 0; }

/* ── Кнопки ── */
.wf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 16px;
  border: none; border-radius: 999px; cursor: pointer; text-decoration: none;
  padding: 16px 30px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  white-space: nowrap;
}
.wf-btn svg { width: 20px; height: 20px; }
.wf-btn--cta { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.wf-btn--cta:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 106, 26, .45); }
.wf-btn--cta:active { transform: translateY(0) scale(.98); }
.wf-btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.wf-btn--ghost:hover { border-color: var(--cyan); color: var(--blue-2); }
.wf-btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.wf-btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.wf-btn--block { width: 100%; }
.wf-btn--lg { padding: 18px 36px; font-size: 17px; }

/* ── Header ── */
.wf-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.wf-header__inner { display: flex; align-items: center; gap: 18px; padding: 14px 20px; max-width: var(--maxw); margin: 0 auto; }
.wf-logo { display: flex; align-items: center; gap: 12px; }
.wf-logo img { height: 38px; width: auto; }
.wf-logo__desc { font-size: 12px; color: var(--muted); line-height: 1.2; border-left: 1px solid var(--line); padding-left: 12px; }
.wf-logo__desc b { display: block; color: var(--navy); font-weight: 700; font-size: 13px; }
.wf-header__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.wf-phone { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 17px; white-space: nowrap; transition: color .15s; }
.wf-phone:hover { color: var(--accent); }
.wf-phone small { display: block; font-family: "Inter"; font-weight: 500; font-size: 11px; color: var(--muted); }

/* ── Hero ── */
.wf-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(20, 184, 245, .18), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.wf-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 84px; }
.wf-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--blue);
  margin-bottom: 22px;
}
.wf-hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.wf-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; margin-bottom: 20px; }
.wf-hero h1 .accent { color: var(--cyan); }
.wf-hero__sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 560px; margin-bottom: 32px; }
.wf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wf-hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.wf-hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.wf-hero__trust svg { width: 18px; height: 18px; color: var(--cyan); }

.wf-hero__visual { position: relative; display: flex; justify-content: center; }
.wf-hero__visual::before {
  content: ""; position: absolute; inset: 8% 10%;
  background: radial-gradient(circle, rgba(20, 184, 245, .25), transparent 70%);
  filter: blur(40px); z-index: 0;
}
.wf-hero__visual img { position: relative; z-index: 1; width: 100%; max-width: 460px; height: auto; object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(12, 27, 48, .22)); }
.wf-hero__chip {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
}
.wf-hero__chip .num { font-family: "Montserrat"; font-weight: 800; font-size: 22px; color: var(--blue-2); }
.wf-hero__chip small { font-size: 12px; color: var(--muted); line-height: 1.2; }
.wf-hero__chip--tl { top: 18px; left: -6px; }
.wf-hero__chip--br { bottom: 26px; right: -6px; }

/* ── Quiz ── */
.wf-quiz { background: linear-gradient(180deg, var(--navy), var(--graphite)); color: #fff; }
.wf-quiz .wf-kicker { color: var(--cyan); }
.wf-quiz h2 { color: #fff; }
.wf-quiz__lead { color: rgba(255, 255, 255, .7); }
.wf-quiz__card {
  margin-top: 36px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); padding: 32px; max-width: 760px; margin-left: auto; margin-right: auto;
  backdrop-filter: blur(10px);
}
.wf-quiz__progress { display: flex; gap: 8px; margin-bottom: 26px; }
.wf-quiz__progress span { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); transition: background .3s; }
.wf-quiz__progress span.is-done { background: var(--cyan); }
.wf-quiz__step { display: none; animation: wfFade .35s ease; }
.wf-quiz__step.is-active { display: block; }
.wf-quiz__q { font-family: "Montserrat"; font-weight: 700; font-size: clamp(20px, 3vw, 26px); color: #fff; margin-bottom: 6px; }
.wf-quiz__hint { color: rgba(255, 255, 255, .55); font-size: 14px; margin-bottom: 22px; }
.wf-quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wf-opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(255, 255, 255, .14);
  color: #fff; border-radius: 14px; padding: 16px 18px; cursor: pointer; font-size: 15px; font-weight: 600;
  transition: border-color .18s, background .18s, transform .12s;
}
.wf-opt:hover { border-color: var(--cyan); background: rgba(20, 184, 245, .1); transform: translateY(-2px); }
.wf-opt .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(20, 184, 245, .16); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wf-opt .ic svg { width: 20px; height: 20px; }
.wf-quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.wf-quiz__back { background: none; border: none; color: rgba(255, 255, 255, .6); font-weight: 600; cursor: pointer; font-size: 14px; }
.wf-quiz__back:hover { color: #fff; }
.wf-quiz__back[hidden] { visibility: hidden; }
.wf-quiz__form .wf-field { margin-bottom: 14px; }
.wf-quiz__bonus { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.wf-quiz__bonus div { flex: 1; min-width: 150px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.wf-quiz__bonus b { color: var(--cyan); display: block; font-size: 22px; font-family: "Montserrat"; }

/* Поля форм */
.wf-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.wf-quiz .wf-field label { color: rgba(255, 255, 255, .6); }
.wf-input {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--text); font-size: 16px; font-family: "Inter"; outline: none; transition: border-color .15s, box-shadow .15s;
}
.wf-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(20, 184, 245, .15); }
.wf-quiz .wf-input { background: rgba(255, 255, 255, .96); }
.wf-hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.wf-form-status { display: none; margin-top: 12px; font-weight: 600; font-size: 14px; }
.wf-form-status.ok { display: block; color: #22c55e; }

/* ── Каталог-матрица ── */
.wf-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; }
.wf-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.wf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.wf-card__top { padding: 28px 28px 0; display: flex; gap: 18px; align-items: flex-start; }
.wf-card__icon { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.wf-card__icon svg { width: 28px; height: 28px; }
.wf-card--ro .wf-card__icon { background: var(--cyan-soft); color: var(--cyan); }
.wf-card--home .wf-card__icon { background: #eef3fb; color: var(--blue-2); }
.wf-card__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan); }
.wf-card h3 { font-size: 23px; font-weight: 800; margin-top: 4px; }
.wf-card__body { padding: 18px 28px 0; flex: 1; }
.wf-card__desc { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.wf-feat { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.wf-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.wf-feat svg { width: 18px; height: 18px; color: #22c55e; flex-shrink: 0; margin-top: 2px; }
.wf-card__foot { padding: 24px 28px 28px; margin-top: 18px; border-top: 1px solid var(--line); }
.wf-price__label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.wf-price__val { font-family: "Montserrat"; font-weight: 800; font-size: 30px; color: var(--navy); margin: 2px 0 4px; }
.wf-price__val span { font-size: 15px; color: var(--muted); font-weight: 600; }
.wf-price__note { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }

/* ── Как это работает ── */
.wf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.wf-step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.wf-step__num { position: absolute; top: 16px; right: 18px; font-family: "Montserrat"; font-weight: 800; font-size: 30px; color: rgba(20, 184, 245, .18); }
.wf-step__ic { width: 58px; height: 58px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-sm); }
.wf-step__ic svg { width: 28px; height: 28px; }
.wf-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.wf-step p { font-size: 14px; color: var(--muted); }
.wf-steps__flow { display: none; }

/* ── Сервис «под ключ» ── */
.wf-service { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wf-service__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.wf-benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.wf-benefit:hover { transform: translateY(-4px); }
.wf-benefit__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--cyan-soft); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.wf-benefit__ic svg { width: 26px; height: 26px; }
.wf-benefit h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.wf-benefit p { font-size: 15px; color: var(--muted); }

/* ── Footer ── */
.wf-footer { background: var(--graphite); color: #fff; padding: 72px 0 36px; }
.wf-footer__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.wf-footer h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.wf-footer__lead { color: rgba(255, 255, 255, .65); margin-bottom: 28px; max-width: 440px; }
.wf-contacts { display: flex; flex-direction: column; gap: 14px; }
.wf-contact { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; transition: color .15s; }
.wf-contact:hover { color: var(--cyan); }
.wf-contact .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; }
.wf-contact .ic svg { width: 20px; height: 20px; }
.wf-messengers { display: flex; gap: 12px; margin-top: 6px; }
.wf-messengers a { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .18s, transform .18s; }
.wf-messengers a:hover { background: var(--cyan); transform: translateY(-3px); }
.wf-footer__form { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 30px; }
.wf-footer__form h3 { color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.wf-footer__form p { color: rgba(255, 255, 255, .6); font-size: 14px; margin-bottom: 18px; }
.wf-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255, 255, 255, .5); font-size: 13px; }

@keyframes wfFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===================== Адаптив ===================== */
@media (max-width: 980px) {
  .wf-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .wf-hero__visual { order: -1; }
  .wf-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .wf-steps { grid-template-columns: repeat(2, 1fr); }
  .wf-service__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .wf-section { padding: 60px 0; }
  .wf-logo__desc { display: none; }
  .wf-header__actions .wf-phone small { display: none; }
  .wf-matrix { grid-template-columns: 1fr; }
  .wf-quiz__options { grid-template-columns: 1fr; }
  .wf-quiz__card { padding: 22px; }
  .wf-hero__cta .wf-btn { width: 100%; }     /* крупные тап-кнопки */
  .wf-hero__chip { display: none; }
  .wf-btn { padding: 16px 24px; }
  .wf-btn--lg { width: 100%; }
}
@media (max-width: 520px) {
  .wf-steps { grid-template-columns: 1fr; }
  .wf-header__inner { gap: 10px; }
  .wf-header .wf-btn { display: none; }       /* на узких — только телефон в шапке */
}
