/* ============ TOKENS ============ */
:root {
  --primary: #0066FF;
  --primary-dark: #0052CC;
  --primary-light: #E6F0FF;
  --accent: #FF6B00;
  --accent-dark: #E55A00;
  --accent-light: #FFF1E6;
  --success: #00C853;
  --danger: #EF4444;

  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0F172A;
  --bg-grad: linear-gradient(135deg, #EBF2FF 0%, #F5F9FF 100%);

  --text: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 8px 24px rgba(255, 107, 0, 0.35);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --container: 1200px;
  --header-h: 80px;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-dark); }
input, select, textarea { font: inherit; }

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; }
h3 { font-size: clamp(20px, 1.5vw, 24px); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 18px; }

.link { color: var(--primary); font-weight: 500; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
.btn:focus-visible { outline: 3px solid rgba(0, 102, 255, 0.3); outline-offset: 2px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 107, 0, 0.45); }

.btn--secondary { background: #fff; color: var(--text); border: 2px solid var(--border); }
.btn--secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all .25s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo__icon { flex-shrink: 0; }
.logo__text { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo__nn { color: var(--accent); margin-left: 2px; }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--primary); }

.header__right { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
}
.header__phone svg { color: var(--primary); }
.header__phone:hover { color: var(--primary); }
.header__cta { padding: 10px 18px; font-size: 14px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 64px 0 88px;
  background: var(--bg-grad);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 102, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px; align-items: center;
}
.hero__content { max-width: 640px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0, 200, 83, 0); }
}

.hero__title { margin-bottom: 18px; }
.hero__subtitle {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.hero__usp {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.hero__usp li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  font-size: 15px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero__trust { display: flex; align-items: center; gap: 16px; color: var(--text-muted); font-size: 14px; }
.stars { color: #F59E0B; letter-spacing: 2px; font-size: 18px; }
.hero__stars { display: flex; align-items: center; gap: 10px; }

/* Hero form */
.hero__form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border);
}
.hero__form-badge {
  position: absolute; top: -16px; left: 24px;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}
.hero__form-title { margin-bottom: 8px; font-size: 22px; }
.hero__form-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.hero__form { display: flex; flex-direction: column; gap: 12px; }

/* Forms */
.field { display: block; position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.field textarea { resize: vertical; min-height: 80px; }
.field.is-error input, .field.is-error select { border-color: var(--danger); }

.form__legal { font-size: 12px; color: var(--text-light); text-align: center; line-height: 1.4; }
.form__legal a { color: var(--text-muted); text-decoration: underline; }

/* ============ TRUST BAR ============ */
.trust { padding: 32px 0; background: #fff; border-bottom: 1px solid var(--border); }
.trust__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; text-align: center;
}
.trust__item { padding: 8px; }
.trust__num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.trust__label { font-size: 14px; color: var(--text-muted); }

/* ============ PAIN ============ */
.pain {
  padding: 96px 0;
  background: linear-gradient(180deg, #E6ECF6 0%, #F0F4FA 100%);
  position: relative;
  overflow: hidden;
}
.pain::before {
  content: '';
  position: absolute; top: -100px; left: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,23,42,0.10) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.pain .container { position: relative; z-index: 1; }
.pain__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.pain__card {
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all .2s var(--ease);
}
.pain__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.pain__icon { font-size: 40px; margin-bottom: 12px; }
.pain__card h3 { font-size: 17px; margin-bottom: 4px; }
.pain__card p { font-size: 14px; color: var(--text-muted); }
.pain__cta { text-align: center; }

/* ============ SERVICES ============ */
.services { padding: 96px 0; position: relative; overflow: hidden; }
.services::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.services::after {
  content: '';
  position: absolute; bottom: -100px; left: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  position: relative;
}
.service:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service--hot { border-color: var(--accent); background: linear-gradient(180deg, #FFF8F2 0%, #FFFFFF 60%); }
.service__badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--accent); color: #fff;
  padding: 4px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-accent);
}
.service__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.service__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: var(--radius-sm);
  font-size: 26px;
  flex-shrink: 0;
}
.service--hot .service__icon { background: var(--accent-light); }
.service__title { font-size: 20px; }
.service__list { list-style: none; margin-bottom: 18px; flex-grow: 1; }
.service__list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.service__list li:last-child { border-bottom: 0; }
.service__list li b { color: var(--primary); white-space: nowrap; font-weight: 700; }
.service__list li small { display: block; font-size: 12px; color: var(--text-muted); }
.service__note { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.45; }
.services__footnote { text-align: center; color: var(--text-muted); margin-top: 32px; font-size: 14px; }

/* ============ WHY ============ */
.why {
  padding: 96px 0;
  background: linear-gradient(180deg, #CFE2FF 0%, #E6F0FF 60%, #F0F6FF 100%);
  position: relative; overflow: hidden;
}
.why::before {
  content: '';
  position: absolute; bottom: -150px; right: -100px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.28) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.why::after {
  content: '';
  position: absolute; top: -120px; right: 20%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,234,255,0.30) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.why .container { position: relative; z-index: 1; }
.why__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why__card {
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.why__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why__num {
  font-size: 60px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.why__card h3 { margin-bottom: 10px; font-size: 20px; }
.why__card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* ============ PROCESS ============ */
.process { padding: 96px 0; position: relative; overflow: hidden; }
.process::before {
  content: '';
  position: absolute; top: 20%; left: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.process .container { position: relative; z-index: 1; }
.process__steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process__steps::before {
  content: ''; position: absolute;
  top: 30px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-light) 100%);
  background-image: repeating-linear-gradient(90deg, var(--primary) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process__step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.process__num {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  border: 4px solid var(--bg);
}
.process__step h3 { margin-bottom: 8px; font-size: 18px; }
.process__step p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.process__time {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

/* ============ CALCULATOR ============ */
.calc {
  padding: 96px 0;
  background: linear-gradient(180deg, #FFE5BD 0%, #FFF1D6 60%, #FFF8E7 100%);
  position: relative; overflow: hidden;
}
.calc::before {
  content: '';
  position: absolute; top: -120px; left: -100px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.28) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.calc::after {
  content: '';
  position: absolute; bottom: -100px; right: 15%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,170,80,0.30) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.calc .container { position: relative; z-index: 1; }
.calc__wrap {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.calc__form { display: flex; flex-direction: column; gap: 24px; }
.calc__row { display: flex; flex-direction: column; gap: 10px; }
.calc__label { font-weight: 600; font-size: 15px; }
.calc__options { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__opt {
  padding: 10px 16px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  color: var(--text);
  transition: all .2s var(--ease);
}
.calc__opt:hover { border-color: var(--primary); color: var(--primary); }
.calc__opt.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.calc__result {
  background: linear-gradient(135deg, var(--primary) 0%, #1A75FF 100%);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: #fff;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.calc__result::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.calc__result-label { font-size: 14px; opacity: 0.9; margin-bottom: 6px; position: relative; }
.calc__result-price {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  position: relative;
}
.calc__result-included {
  list-style: none;
  margin-bottom: 24px;
  position: relative;
}
.calc__result-included li {
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.95;
}
.calc__result-note { font-size: 12px; opacity: 0.8; text-align: center; margin-top: 12px; position: relative; }

/* ============ REVIEWS ============ */
.reviews { padding: 96px 0; position: relative; overflow: hidden; }
.reviews::before {
  content: '';
  position: absolute; top: 40px; left: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.reviews .container { position: relative; z-index: 1; }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  transition: all .25s var(--ease);
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #1A75FF 100%);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.review__name { font-weight: 700; font-size: 15px; }
.review__meta { font-size: 12px; color: var(--text-muted); }
.review__stars { margin-left: auto; color: #F59E0B; letter-spacing: 1px; font-size: 14px; }
.review__text { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.review__service {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

/* ============ LEAD CTA ============ */
.lead {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lead::before {
  content: ''; position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, transparent 70%);
}
.lead::after {
  content: ''; position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
}
.lead__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 56px; align-items: center;
}
.lead__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.lead__title { color: #fff; margin-bottom: 18px; font-size: clamp(28px, 3vw, 40px); }
.lead__text { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.lead__text b { color: var(--accent); }
.lead__perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lead__perks li { font-size: 15px; color: rgba(255,255,255,0.95); }

.lead__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.lead__form h3 { margin-bottom: 6px; font-size: 22px; }

/* ============ FAQ ============ */
.faq { padding: 96px 0; background: var(--bg-alt); }
.faq__list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s var(--ease);
}
.faq__item:hover { border-color: var(--primary); }
.faq__item[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq__item summary {
  padding: 22px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 28px; font-weight: 300;
  color: var(--primary);
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

/* ============ CONTACTS ============ */
.contacts { padding: 96px 0; }
.contacts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contacts__card {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .2s var(--ease);
}
.contacts__card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.contacts__icon { font-size: 32px; margin-bottom: 12px; }
.contacts__card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-muted); font-weight: 500; }
.contacts__main { display: block; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.contacts__main:hover { color: var(--primary); }
.contacts__card p { font-size: 13px; color: var(--text-muted); }
.contacts__msgr { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.msgr {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.msgr--tg { background: linear-gradient(135deg, #29B6F6, #0288D1); }
.msgr--tg:hover { background: linear-gradient(135deg, #0288D1, #01579B); color: #fff; }
.msgr--max { background: linear-gradient(135deg, #6366F1, #2563EB); }
.msgr--max:hover { background: linear-gradient(135deg, #4F46E5, #1E40AF); color: #fff; }

.contacts__map iframe { border-radius: var(--radius); }

/* ============ FOOTER ============ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__col h4 { color: #fff; margin-bottom: 18px; font-size: 16px; }
.footer__col p, .footer__col a {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.footer__col a:hover { color: #fff; }
.logo--footer { color: #fff; margin-bottom: 16px; }
.logo--footer .logo__text { color: #fff; }
.footer__phone { font-size: 18px !important; font-weight: 700; color: #fff !important; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer__bottom p + p { margin-top: 6px; }
.footer__disclaimer { font-size: 12px !important; }

/* ============ STICKY MOBILE BAR ============ */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  gap: 8px;
}
.sticky-bar__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: #fff !important;
}
.sticky-bar__btn--call { background: var(--accent); }
.sticky-bar__btn--tg { background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%); }
.sticky-bar__btn--max { background: linear-gradient(135deg, #6366F1 0%, #2563EB 100%); }

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg);
  animation: slideUp .3s var(--ease);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.modal__close:hover { background: var(--bg-alt); color: var(--text); }
.modal__icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}
.modal__icon--success { background: #DCFCE7; color: var(--success); }
.modal__title { text-align: center; margin-bottom: 6px; font-size: 22px; }
.modal__sub { text-align: center; color: var(--text-muted); margin-bottom: 22px; font-size: 14px; }
.modal__form { display: flex; flex-direction: column; gap: 12px; }

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .services__grid, .why__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .pain__grid { grid-template-columns: repeat(3, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process__steps::before { display: none; }
  .calc__wrap { grid-template-columns: 1fr; padding: 28px; }
  .lead__inner { grid-template-columns: 1fr; gap: 32px; }
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trust__item:nth-child(4), .trust__item:nth-child(5) { display: none; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .header__phone span { display: none; }
  .header__cta { display: none; }
  .header__inner { gap: 12px; }
  .hero { padding: 32px 0 48px; }
  .hero__form-card { padding: 28px 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .pain { padding: 64px 0; }
  .pain__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pain__card { padding: 20px 12px; }
  .pain__icon { font-size: 32px; }
  .services, .why, .process, .calc, .reviews, .faq, .contacts { padding: 64px 0; }
  .services__grid, .why__grid, .reviews__grid, .contacts__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(5) { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer { padding-top: 48px; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 80px; }
  .header { padding-bottom: 0; }
  .calc__opt { font-size: 13px; padding: 8px 12px; }
  .section-head { margin-bottom: 36px; }
  .lead__form { padding: 24px 20px; }
}

/* ============ HERO OPERATOR ============ */
.hero__operator {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px;
  padding: 6px 16px 6px 6px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.hero__operator img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--success);
  flex-shrink: 0;
}
.hero__operator-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--success);
  line-height: 1;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__operator-status .dot { background: var(--success); }
.hero__operator-name {
  font-size: 14px; font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ============ REVIEW AVATAR (PHOTO) ============ */
.review__avatar {
  background: linear-gradient(135deg, var(--primary) 0%, #1A75FF 100%);
  overflow: hidden;
  padding: 0;
}
.review__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ GALLERY ============ */
.gallery { padding: 80px 0; background: #fff; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.45) 0%, rgba(0,102,255,0.15) 50%, rgba(255,107,0,0.25) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity .25s;
}
.gallery__item:hover::after { opacity: 0.35; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
  transform: translateY(110%);
  transition: transform .3s var(--ease);
  z-index: 1;
}
.gallery__item figcaption b { font-size: 12px; display: block; margin-bottom: 2px; }
.gallery__item:hover figcaption { transform: translateY(0); }
.gallery__note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery { padding: 56px 0; }
  .gallery__grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery__item { aspect-ratio: 16 / 11; }
  .gallery__item figcaption {
    font-size: 12px; padding: 10px 14px;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  }
  .gallery__item figcaption b { font-size: 13px; }
  .hero__operator { margin-top: 12px; }
}

/* ============ HERO — CINEMATIC DARK ============ */
.hero {
  background: #060B1A !important;
  color: #F1F5F9;
  min-height: 92vh;
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 30%;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  filter: brightness(0.92) saturate(1.05) contrast(1.02);
}
.hero__bg {
  background-image:
    radial-gradient(circle 600px at var(--mx) var(--my), rgba(126,234,255,0.10), transparent 65%),
    radial-gradient(ellipse 900px 700px at 15% 25%, rgba(0,102,255,0.18), transparent 55%),
    radial-gradient(ellipse 700px 500px at 50% 105%, rgba(0,0,0,0.30), transparent 55%),
    linear-gradient(180deg, rgba(4,8,19,0.10) 0%, rgba(4,8,19,0.25) 60%, rgba(4,8,19,0.55) 100%);
  transition: --mx .25s ease, --my .25s ease;
  z-index: 1;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(126,234,255,0.025) 0 1px,
      transparent 1px 90px),
    repeating-linear-gradient(45deg,
      rgba(126,234,255,0.025) 0 1px,
      transparent 1px 90px);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* SNOWFLAKES */
.hero__snow {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.snowflake {
  position: absolute;
  top: -5vh;
  color: rgba(255,255,255,0.65);
  animation: snowfall linear infinite;
  user-select: none;
  text-shadow: 0 0 8px rgba(126,234,255,0.7);
  will-change: transform;
}
@keyframes snowfall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { transform: translate3d(100px, 110vh, 0) rotate(360deg); opacity: 0; }
}

/* HERO CONTENT ON DARK */
.hero__grid { position: relative; z-index: 2; }
.hero__badge {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero__title {
  font-size: clamp(56px, 9.5vw, 144px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero__title-accent {
  color: #5EEAD4;
  background: linear-gradient(110deg, #7DD3FC 5%, #5EEAD4 35%, #FFFFFF 55%, #5EEAD4 75%, #7DD3FC 95%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero__subtitle {
  color: rgba(241, 245, 249, 0.78);
  font-size: clamp(17px, 1.55vw, 21px);
  max-width: 560px;
}
.hero__usp li { color: rgba(241, 245, 249, 0.92); }
.hero__trust { color: rgba(241, 245, 249, 0.65); }

.hero__operator {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.hero__operator-name { color: #F1F5F9; }
.hero__operator-status {
  color: #5EEAD4;
}
.hero__operator-status .dot { background: #5EEAD4; }

.hero__actions .btn--accent {
  box-shadow: 0 14px 36px rgba(255,107,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.hero__actions .btn--secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__actions .btn--secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  transform: translateY(-1px);
}

.hero__form-card {
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.08);
}

/* Responsive hero */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 80px 0 64px; }
  .hero__title { font-size: clamp(48px, 11vw, 88px); }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .hero__title { font-size: clamp(44px, 13vw, 72px); }
  .snowflake { display: none; }
  .snowflake:nth-child(odd) { display: block; }
}

/* ============ HERO OPERATOR — ICON VARIANT ============ */
.hero__operator-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #FF9A4D 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.35), 0 6px 14px rgba(255, 107, 0, 0.4);
}

/* ============ REVIEWS — AVITO-STYLE ============ */
.reviews__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  margin-bottom: 28px;
}
.reviews__head-text { flex: 1; min-width: 0; }
.reviews__head .section-title { text-align: left; margin-bottom: 8px; }
.reviews__head .section-sub { text-align: left; }

.reviews__rating {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
  border: 1px solid #FCD34D;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(252, 211, 77, 0.15);
}
.reviews__rating-num {
  font-size: 56px; font-weight: 900;
  color: #92400E; line-height: 1;
  letter-spacing: -0.03em;
}
.reviews__rating-stars {
  color: #F59E0B;
  letter-spacing: 3px;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 5px;
}
.reviews__rating-meta { font-size: 13px; color: #78350F; font-weight: 500; }

.reviews__sources {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.rev-source {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  transition: all .22s var(--ease);
  text-decoration: none;
}
.rev-source:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  color: var(--text);
}
.rev-source__logo {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.rev-source--yandex .rev-source__logo { background: #FC3F1D; }
.rev-source--2gis .rev-source__logo { background: #00C75A; }
.rev-source--avito .rev-source__logo { background: #97CF26; }
.rev-source__info { flex: 1; min-width: 0; }
.rev-source__name { font-weight: 700; font-size: 14px; }
.rev-source__rating { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.rev-source__rating b { color: var(--text); font-weight: 800; }
.rev-source__arrow { color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
.rev-source:hover .rev-source__arrow { transform: translateX(3px); color: var(--primary); }

/* Review card improvements */
.review__who { flex: 1; min-width: 0; }
.review__avatar {
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  overflow: hidden;
}
.review__avatar img { display: none !important; }
.review__avatar--ak { background: linear-gradient(135deg, #FB7185 0%, #BE123C 100%); }
.review__avatar--dm { background: linear-gradient(135deg, #60A5FA 0%, #1E40AF 100%); }
.review__avatar--ob { background: linear-gradient(135deg, #C084FC 0%, #6D28D9 100%); }
.review__avatar--is { background: linear-gradient(135deg, #FBBF24 0%, #B45309 100%); }
.review__avatar--ep { background: linear-gradient(135deg, #34D399 0%, #047857 100%); }
.review__avatar--mr { background: linear-gradient(135deg, #38BDF8 0%, #0369A1 100%); }

.review__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
.review__helpful {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.review__response {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(0, 102, 255, 0.045);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
}
.review__response-head { margin-bottom: 6px; }
.review__response-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.review__response-badge::before {
  content: '↳';
  font-size: 13px;
}
.review__response p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}

.reviews__more {
  text-align: center;
  margin: 36px 0 12px;
}

/* Leave review form */
.leave-review {
  margin-top: 16px;
  padding: 44px 40px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 70%);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.leave-review::before {
  content: '✍️';
  position: absolute; top: 28px; right: 32px;
  font-size: 80px;
  opacity: 0.1;
  transform: rotate(15deg);
}
.leave-review__head { text-align: center; margin-bottom: 28px; position: relative; }
.leave-review__head h3 { margin-bottom: 8px; font-size: 26px; }
.leave-review__head p { color: var(--text-muted); font-size: 15px; }

.leave-review__form {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 640px; margin: 0 auto;
  position: relative;
}
.leave-review__rating-row {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid var(--border);
}
.leave-review__label { font-weight: 600; font-size: 15px; color: var(--text); }

.leave-review__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.leave-review__row input,
.leave-review__row select,
.leave-review__form textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.leave-review__form textarea { resize: vertical; min-height: 100px; }
.leave-review__row input:focus,
.leave-review__row select:focus,
.leave-review__form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Star rating CSS-only */
.star-rate {
  display: inline-flex; flex-direction: row-reverse; gap: 4px;
}
.star-rate input { position: absolute; opacity: 0; pointer-events: none; }
.star-rate label {
  cursor: pointer;
  font-size: 34px;
  color: #E2E8F0;
  transition: color .12s, transform .12s;
  line-height: 1;
  user-select: none;
}
.star-rate label:hover { transform: scale(1.1); }
.star-rate input:checked ~ label,
.star-rate label:hover,
.star-rate label:hover ~ label {
  color: #F59E0B;
}

@media (max-width: 1024px) {
  .reviews__head { flex-direction: column; align-items: stretch; }
  .reviews__sources { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reviews__rating { padding: 14px 18px; gap: 12px; }
  .reviews__rating-num { font-size: 44px; }
  .leave-review { padding: 28px 20px; }
  .leave-review::before { font-size: 60px; top: 20px; right: 16px; }
  .leave-review__head h3 { font-size: 22px; }
  .leave-review__row { grid-template-columns: 1fr; }
  .leave-review__rating-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .star-rate label { font-size: 30px; }
  .review__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ PROMO RIBBON ============ */
.promo-ribbon {
  background: linear-gradient(90deg, #FF3D00 0%, #FF6B00 50%, #FF9500 100%);
  color: #fff;
  font-size: 14px;
  position: relative;
  z-index: 102;
}
.promo-ribbon.is-hidden { display: none; }
.promo-ribbon__inner {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 24px;
  font-weight: 500;
}
.promo-ribbon__icon { font-size: 18px; animation: flame 1.4s ease-in-out infinite; }
@keyframes flame { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.15) rotate(3deg); } }
.promo-ribbon__text b { font-weight: 800; }
.promo-ribbon__timer {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 15px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.22);
  border-radius: 8px;
  letter-spacing: 0.06em;
}
.promo-ribbon__cta {
  padding: 8px 18px;
  background: #fff;
  color: #FF3D00;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform .15s, box-shadow .15s;
}
.promo-ribbon__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.promo-ribbon__close {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity .15s, background .15s;
}
.promo-ribbon__close:hover { opacity: 1; background: rgba(0,0,0,0.2); }

@media (max-width: 640px) {
  .promo-ribbon__inner { gap: 8px; padding: 8px 14px; font-size: 12px; }
  .promo-ribbon__text { display: none; }
  .promo-ribbon__icon { display: none; }
  .promo-ribbon__cta { padding: 6px 12px; font-size: 11px; }
}

/* ============ BRANDS STRIP ============ */
.brands {
  padding: 36px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brands__title {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.brands__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 36px 48px;
  align-items: center;
}
.brand-logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: -0.02em;
  transition: color .25s, transform .25s;
  cursor: default;
  user-select: none;
}
.brand-logo:hover { color: var(--primary); transform: translateY(-2px) scale(1.05); }

@media (max-width: 640px) {
  .brands__grid { gap: 18px 28px; }
  .brand-logo { font-size: 17px; }
}

/* ============ QUIZ FUNNEL ============ */
.quiz {
  padding: 80px 0;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 60%, #FFF8F2 100%);
  position: relative;
  overflow: hidden;
}
.quiz::before, .quiz::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}
.quiz::before { background: rgba(0,102,255,0.3); top: -100px; left: -50px; }
.quiz::after { background: rgba(255,107,0,0.25); bottom: -100px; right: -50px; }

.quiz__card {
  position: relative; z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 36px 40px 28px;
  box-shadow: 0 30px 80px rgba(15,23,42,0.12), 0 0 0 1px rgba(255,255,255,0.5);
  border: 1px solid var(--border);
}
.quiz__progress {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.quiz__progress-bar {
  flex: 1; height: 8px;
  background: var(--bg-alt);
  border-radius: 99px;
  overflow: hidden;
}
.quiz__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 99px;
  transition: width .35s var(--ease);
  width: 25%;
  box-shadow: 0 0 12px rgba(0,102,255,0.4);
}
.quiz__progress-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.quiz__step { display: none; animation: quizFade .3s var(--ease); }
.quiz__step.is-active { display: block; }
@keyframes quizFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz__q {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.quiz__final-note {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.quiz__final-note b { color: var(--accent); font-weight: 700; }

.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__options--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.quiz__options--cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.quiz__opt {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-size: 15px; font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: all .18s var(--ease);
  cursor: pointer;
}
.quiz__options--grid .quiz__opt { flex-direction: column; text-align: center; gap: 8px; padding: 18px 8px; font-size: 13px; }
.quiz__opt-emoji { font-size: 26px; line-height: 1; }
.quiz__opt:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,102,255,0.12); }
.quiz__opt.is-selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.quiz__opt.is-selected::after {
  content: '✓';
  margin-left: auto;
  font-weight: 700;
}
.quiz__options--grid .quiz__opt.is-selected::after { display: none; }

.quiz__form { display: flex; flex-direction: column; gap: 12px; }

.quiz__nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.quiz__back {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  visibility: hidden;
  transition: color .15s;
}
.quiz__back:hover { color: var(--primary); }
.quiz__back.is-visible { visibility: visible; }
.quiz__bonus {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #FFF7E6, #FFE0B2);
  border: 1px solid #FCD34D;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #92400E;
  margin-left: auto;
}
.quiz__bonus b { color: var(--accent); font-weight: 800; }

@media (max-width: 1024px) {
  .quiz__options--grid { grid-template-columns: repeat(3, 1fr); }
  .quiz__options--cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .quiz { padding: 56px 0; }
  .quiz__card { padding: 24px 20px 20px; border-radius: 20px; }
  .quiz__options--grid { grid-template-columns: repeat(2, 1fr); }
  .quiz__options--cols { grid-template-columns: 1fr; }
  .quiz__bonus { font-size: 11px; padding: 6px 10px; }
}

/* ============ COMPARE TABLE ============ */
.compare { padding: 96px 0; position: relative; overflow: hidden; }
.compare::before {
  content: '';
  position: absolute; bottom: -100px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.compare .container { position: relative; z-index: 1; }
.compare__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px 8px;
}
.compare__table {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(180px, 1fr));
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-width: 760px;
}
.compare__row {
  display: contents;
}
.compare__row > div {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  font-size: 14.5px;
  background: #fff;
}
.compare__row:last-child > div { border-bottom: none; }
.compare__row--head > div {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 20px;
  padding-bottom: 20px;
}
.compare__row--head .compare__cell--us {
  background: linear-gradient(135deg, #E6F0FF, #F0F7FF);
  color: var(--primary);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.compare__label {
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt) !important;
}
.compare__cell--us {
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%) !important;
  font-weight: 700;
  position: relative;
}
.compare__cell--us::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
}
.compare__logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800;
  color: var(--text);
}
.compare__cell .ok { color: var(--success); font-weight: 800; margin-right: 6px; }
.compare__cell .bad { color: var(--danger); font-weight: 800; margin-right: 6px; }
.compare__cell .mid { color: #F59E0B; font-weight: 800; margin-right: 6px; }

.compare__cta { text-align: center; margin-top: 36px; }

@media (max-width: 640px) {
  .compare { padding: 64px 0; }
}

/* ============ MESSENGER FLOATING WIDGET ============ */
.msg-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 80;
}
.msg-widget__fab {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(2, 136, 209, 0.45), 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.msg-widget__fab:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(2, 136, 209, 0.55); }
.msg-widget__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #0288D1;
  opacity: 0.5;
  animation: msgPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes msgPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}
.msg-widget__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255,107,0,0.5);
}

.msg-widget__bubble {
  position: absolute;
  bottom: 78px; right: 0;
  width: 340px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 0 0 1px var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition: all .25s var(--ease);
}
.msg-widget__bubble.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.msg-widget__bubble::after {
  content: '';
  position: absolute; bottom: -8px; right: 22px;
  width: 16px; height: 16px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.msg-widget__close {
  position: absolute; top: 10px; right: 12px;
  width: 24px; height: 24px;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
}
.msg-widget__close:hover { background: var(--bg-alt); color: var(--text); }
.msg-widget__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.msg-widget__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1A75FF);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.msg-widget__name { font-weight: 700; font-size: 14px; }
.msg-widget__status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #00C853; font-weight: 500;
}
.msg-widget__status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00C853;
  display: inline-block;
}
.msg-widget__msgs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.msg-widget__msg {
  background: var(--bg-alt);
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  align-self: flex-start;
  max-width: 90%;
  animation: msgIn .4s var(--ease) backwards;
}
.msg-widget__msg:nth-child(1) { animation-delay: .1s; }
.msg-widget__msg:nth-child(2) { animation-delay: .5s; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.msg-widget__choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* MESSENGER BUTTONS (Telegram / MAX) */
.msg-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.msg-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.msg-btn--lg { padding: 14px 18px; font-size: 15px; }
.msg-btn--tg {
  background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
  box-shadow: 0 6px 16px rgba(2, 136, 209, 0.35);
}
.msg-btn--tg:hover { box-shadow: 0 10px 22px rgba(2, 136, 209, 0.5); }
.msg-btn--max {
  background: linear-gradient(135deg, #6366F1 0%, #2563EB 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.msg-btn--max:hover { box-shadow: 0 10px 22px rgba(37, 99, 235, 0.5); }
.msg-btn__max-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.22);
  border-radius: 6px;
  font-size: 14px; font-weight: 900;
  letter-spacing: -0.04em;
}

.modal__msgr-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .msg-widget { bottom: 86px; right: 14px; }
  .msg-widget__fab { width: 52px; height: 52px; }
  .msg-widget__bubble { width: calc(100vw - 28px); right: -4px; }
}

/* ============ LIVE ORDER TOAST ============ */
.live-toast {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 79;
  display: flex; align-items: center; gap: 12px;
  width: 320px;
  padding: 14px 38px 14px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.18), 0 0 0 1px var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px) scale(0.95);
  transition: all .35s var(--ease);
}
.live-toast.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}
.live-toast__pulse {
  position: absolute; top: 12px; left: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(0,200,83,0.6);
  animation: ltPulse 1.8s ease-out infinite;
}
@keyframes ltPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,200,83,0.6); }
  100% { box-shadow: 0 0 0 14px rgba(0,200,83,0); }
}
.live-toast__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1A75FF 100%);
  margin-left: 6px;
}
.live-toast__body { flex: 1; min-width: 0; }
.live-toast__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
}
.live-toast__name { font-weight: 700; font-size: 14px; color: var(--text); }
.live-toast__time { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.live-toast__msg { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.live-toast__close {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 16px;
  border-radius: 50%;
}
.live-toast__close:hover { background: var(--bg-alt); color: var(--text); }

@media (max-width: 640px) { .live-toast { display: none; } }

/* ============ BLOG ============ */
.blog { padding: 96px 0; background: var(--bg-alt); position: relative; overflow: hidden; }
.blog::before {
  content: '';
  position: absolute; top: 100px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.blog .container { position: relative; z-index: 1; }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog__card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all .28s var(--ease);
}
.blog__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.blog__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.blog__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
}
.blog__tag {
  position: absolute; top: 14px; left: 14px;
  z-index: 1;
  padding: 5px 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: var(--primary);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog__time {
  position: absolute; top: 14px; right: 14px;
  z-index: 1;
  padding: 5px 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}
.blog__body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex; flex-direction: column;
}
.blog__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.blog__excerpt {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}
.blog__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.blog__read { color: var(--primary); font-weight: 700; transition: transform .2s; }
.blog__card:hover .blog__read { transform: translateX(4px); }

@media (max-width: 1024px) {
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog { padding: 64px 0; }
  .blog__grid { grid-template-columns: 1fr; }
  .blog__img { height: 180px; }
}

/* ============ BLOG MODAL — FULL ARTICLE ============ */
.modal__dialog--blog {
  max-width: 720px;
  padding: 48px 48px 24px;
}
.blog-article h2 {
  font-size: 28px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.blog-article h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  color: var(--primary);
}
.blog-article p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.blog-article p b { font-weight: 700; }
.blog-article ul, .blog-article ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.blog-article li {
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 8px;
}
.blog-article__cta {
  margin-top: 28px;
  padding: 22px;
  background: linear-gradient(135deg, var(--primary-light), #FFF7E6);
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(0,102,255,0.15);
}
.blog-article__cta p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}

@media (max-width: 640px) {
  .modal__dialog--blog { padding: 36px 24px 20px; }
  .blog-article h2 { font-size: 22px; }
  .blog-article p, .blog-article li { font-size: 14.5px; }
}

/* ============ EXIT INTENT MODAL ============ */
.modal__dialog--exit {
  max-width: 460px;
  padding: 36px 32px 28px;
  text-align: center;
  background: linear-gradient(180deg, #FFF 0%, #FFF8F2 100%);
}
.exit-modal__badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(90deg, #FF3D00, #FF9500);
  color: #fff;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: exitPulse 1.4s ease-in-out infinite;
}
@keyframes exitPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,107,0,0.4); }
  50%      { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(255,107,0,0); }
}
.exit-modal__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.exit-modal__title span {
  background: linear-gradient(90deg, #FF3D00, #FF9500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.exit-modal__sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.exit-modal__perks {
  list-style: none;
  text-align: left;
  margin: 0 0 22px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.exit-modal__perks li {
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.exit-modal__perks li .ok { color: var(--success); font-weight: 800; }
.exit-modal__perks li b { color: var(--accent); font-weight: 800; }

.exit-modal__form { display: flex; flex-direction: column; gap: 12px; }
.exit-modal__note {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .modal__dialog--exit { padding: 28px 22px 20px; }
  .exit-modal__title { font-size: 22px; }
}

/* ============ GEOMETRIC DECORATIONS ============ */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Snowflake — slow rotation */
.deco--snowflake { animation: snowSpin 90s linear infinite; }
@keyframes snowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Concentric rings — gentle breathing */
.deco--rings { animation: ringsBreathe 14s ease-in-out infinite; }
@keyframes ringsBreathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.06); opacity: 0.75; }
}

/* Why us — большая снежинка справа */
.deco--why {
  right: -220px; top: -60px;
  width: 640px; height: 640px;
  color: rgba(0, 82, 204, 0.18);
}

/* Services — снежинка слева, крутится в обратную сторону */
.deco--services {
  left: -180px; top: 40%;
  width: 520px; height: 520px;
  color: rgba(0, 102, 255, 0.10);
  animation-duration: 120s;
  animation-direction: reverse;
}

/* Calculator — кольца солнца справа */
.deco--calc {
  right: -200px; top: -120px;
  width: 640px; height: 640px;
  color: rgba(255, 107, 0, 0.30);
}

@media (max-width: 1200px) {
  .deco { opacity: 0.55; }
}
@media (max-width: 768px) {
  .deco { display: none; }
}

/* ============ PROCESS WATERMARK ============ */
.deco-watermark {
  position: absolute;
  bottom: -30px; right: -10px;
  font-size: clamp(120px, 14vw, 220px);
  font-weight: 900;
  color: rgba(0, 102, 255, 0.045);
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 768px) { .deco-watermark { display: none; } }

/* ============ COMPARE — TECH GRID PATTERN ============ */
.compare {
  background-image:
    linear-gradient(to right, rgba(0,102,255,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,102,255,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center center;
}

/* ============ PAIN — DOT PATTERN ============ */
.pain {
  background-image:
    radial-gradient(circle, rgba(15,23,42,0.08) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #E6ECF6 0%, #F0F4FA 100%);
  background-size: 32px 32px, 100% 100%;
  background-position: 0 0, 0 0;
}

/* ============ REVIEWS — DOT PATTERN ============ */
.reviews {
  background-image:
    radial-gradient(circle, rgba(0,102,255,0.07) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
}

/* ============ BLOG — HEXAGONAL PATTERN ============ */
.blog {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpolygon points='30,2 56,15 56,40 30,53 4,40 4,15' fill='none' stroke='rgba(0,102,255,0.08)' stroke-width='1'/%3E%3C/svg%3E"), linear-gradient(180deg, #F4F7FB 0%, #F8FAFC 100%);
  background-size: 60px 52px, 100% 100%;
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary) 0%, #5EEAD4 45%, var(--accent) 100%);
  z-index: 200;
  transition: width .08s linear;
  box-shadow: 0 0 12px rgba(0,102,255,0.55), 0 0 4px rgba(94,234,212,0.4);
  pointer-events: none;
}

/* ============ HERO SCHEMATIC OVERLAY ============ */
.hero__schematic {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero__grid, .hero__snow { z-index: 3; position: relative; }

/* ============ LEAD WAVE CAP ============ */
.lead { padding-bottom: 130px; }
.lead__wave-cap {
  position: absolute;
  bottom: -1px; left: 0;
  width: 200%; height: 90px;
  z-index: 2;
  display: block;
}
.lead__wave-anim {
  animation: waveSlide 14s linear infinite;
}
@keyframes waveSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ============ PROCESS LINE FLOW ============ */
.process__steps::before {
  background-image: repeating-linear-gradient(90deg, var(--primary) 0 6px, transparent 6px 14px);
  background-size: 28px 100%;
  animation: dashFlow 2s linear infinite;
}
@keyframes dashFlow {
  from { background-position-x: 0; }
  to   { background-position-x: -28px; }
}

/* ============ 3D CARD TILT (готовность под JS) ============ */
.service, .why__card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, border-color .25s;
}
.service .service__icon,
.service .service__title,
.why__card .why__num,
.why__card h3 {
  transition: transform .25s var(--ease);
  transform: translateZ(0);
}
.service:hover .service__icon,
.why__card:hover .why__num {
  transform: translateZ(30px);
}
.service:hover .service__title,
.why__card:hover h3 {
  transform: translateZ(20px);
}

/* ============ CTA GLOW PULSE ============ */
.hero__actions .btn--accent,
.lead__form .btn--accent,
.exit-modal__form .btn--accent {
  position: relative;
  animation: ctaGlow 2.4s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 12px 28px rgba(255, 107, 0, 0.40); }
  50%      { box-shadow: 0 14px 36px rgba(255, 107, 0, 0.65), 0 0 0 8px rgba(255, 107, 0, 0.08); }
}

/* ============ SERVICE CARD GRID SHADOW ON HOVER ============ */
.service {
  position: relative;
}
.service::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0,102,255,0.10) 0%, transparent 50%),
    linear-gradient(45deg, transparent 50%, rgba(255,107,0,0.08) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.service:hover::before { opacity: 1; }
.service > * { position: relative; z-index: 1; }


/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1500;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0 } to { opacity: 1 } }
.lightbox__overlay {
  position: absolute; inset: 0;
  background: rgba(6, 11, 26, 0.94);
  backdrop-filter: blur(12px);
}
.lightbox__fig {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 88vh;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center;
  animation: lbZoom .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes lbZoom {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox__img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__cap {
  color: #fff;
  font-size: 15px; font-weight: 500;
  text-align: center;
  background: rgba(255,255,255,0.08);
  padding: 10px 18px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
.lightbox__cap b { font-weight: 800; color: #5EEAD4; }
.lightbox__close,
.lightbox__nav {
  position: absolute; z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); transform: scale(1.08); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox__close,
  .lightbox__nav { width: 42px; height: 42px; font-size: 22px; }
}

/* ============================================
   MOBILE OPTIMIZATION — финальный проход
   ============================================ */

/* iOS: убираем zoom при фокусе на поле */
@media (max-width: 768px) {
  input[type="text"], input[type="tel"], input[type="email"],
  select, textarea { font-size: 16px !important; }
}

/* Планшеты и крупные мобильные */
@media (max-width: 1024px) {
  .deco-watermark { display: none; }
  .promo-ribbon__inner { padding: 9px 16px; }
  .lead { padding-bottom: 100px; }
  .lead__wave-cap { height: 60px; }
}

/* Мобильные — основной проход */
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  .container { padding: 0 16px; }

  /* HEADER компактнее */
  .header__inner { height: 64px; gap: 8px; }
  .logo__text { font-size: 17px; }
  .logo__icon { width: 28px; height: 28px; }
  .header__phone { font-size: 15px; }

  /* PROMO RIBBON минимум */
  .promo-ribbon__inner { padding: 7px 12px; gap: 8px; }
  .promo-ribbon__cta { padding: 6px 10px; font-size: 11px; }
  .promo-ribbon__timer { font-size: 12px; padding: 3px 8px; }
  .promo-ribbon__close { width: 24px; height: 24px; font-size: 16px; }

  /* HERO — компактный, читаемый */
  .hero { min-height: auto; padding: 36px 0 28px; }
  .hero__title {
    font-size: clamp(38px, 11.5vw, 58px);
    line-height: 0.95;
    margin-bottom: 14px;
  }
  .hero__subtitle { font-size: 15px; margin-bottom: 20px; line-height: 1.45; }
  .hero__badge { font-size: 11px; padding: 6px 12px; margin-bottom: 18px; }
  .hero__usp { gap: 8px; margin-bottom: 20px; }
  .hero__usp li { font-size: 13.5px; gap: 8px; }
  .hero__usp li svg { width: 18px; height: 18px; flex-shrink: 0; }
  .hero__actions { gap: 10px; margin-bottom: 18px; }
  .hero__actions .btn { padding: 14px 20px; font-size: 15px; min-height: 48px; }
  .hero__trust { font-size: 13px; }
  .hero__form-card { padding: 22px 18px; border-radius: 18px; }
  .hero__form-badge { font-size: 11px; padding: 5px 11px; top: -12px; }
  .hero__form-title { font-size: 19px; line-height: 1.2; }
  .hero__form-sub { font-size: 13px; margin-bottom: 16px; }
  .hero__operator { margin-top: 12px; padding: 5px 14px 5px 5px; }
  .hero__operator img, .hero__operator-icon { width: 36px; height: 36px; }
  .hero__operator-status { font-size: 10px; margin-bottom: 2px; }
  .hero__operator-name { font-size: 12.5px; }

  /* SECTION PADDING унифицированный */
  .brands { padding: 24px 0; }
  .pain, .services, .why, .process, .calc, .reviews, .faq, .contacts, .blog, .quiz, .compare {
    padding: 52px 0;
  }
  .gallery { padding: 52px 0; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 26px; line-height: 1.2; }
  .section-sub { font-size: 14.5px; }

  /* BRANDS */
  .brands__grid { gap: 14px 22px; }
  .brand-logo { font-size: 16px; }
  .brands__title { font-size: 11px; margin-bottom: 14px; }

  /* TRUST BAR */
  .trust { padding: 24px 0; }
  .trust__grid { gap: 10px; }
  .trust__item { padding: 4px; }
  .trust__num { font-size: 26px; }
  .trust__label { font-size: 11.5px; line-height: 1.3; }

  /* PAIN */
  .pain__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pain__card { padding: 16px 10px; }
  .pain__icon { font-size: 28px; margin-bottom: 8px; }
  .pain__card h3 { font-size: 14.5px; }
  .pain__card p { font-size: 12.5px; }

  /* SERVICES */
  .service { padding: 24px 22px; }
  .service__title { font-size: 18px; }
  .service__icon { width: 44px; height: 44px; font-size: 22px; }
  .service__list li { font-size: 14px; padding: 9px 0; }
  .service__note { font-size: 12.5px; }

  /* QUIZ */
  .quiz__card { padding: 22px 16px; border-radius: 18px; }
  .quiz__q { font-size: 19px; margin-bottom: 18px; }
  .quiz__progress { margin-bottom: 22px; }
  .quiz__progress-text { font-size: 12px; }
  .quiz__opt { padding: 13px 14px; font-size: 14px; min-height: 48px; }
  .quiz__options--grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quiz__options--grid .quiz__opt { font-size: 12.5px; padding: 14px 6px; gap: 6px; min-height: auto; }
  .quiz__options--grid .quiz__opt-emoji { font-size: 22px; }
  .quiz__options--cols { grid-template-columns: 1fr; }
  .quiz__bonus { font-size: 11px; padding: 6px 10px; }
  .quiz__back { font-size: 13px; }

  /* WHY US */
  .why__card { padding: 26px 22px; }
  .why__num { font-size: 44px; margin-bottom: 6px; }
  .why__card h3 { font-size: 17px; }
  .why__card p { font-size: 13.5px; }

  /* PROCESS */
  .process__step { padding: 0; }
  .process__num { width: 48px; height: 48px; font-size: 20px; margin-bottom: 14px; }
  .process__step h3 { font-size: 17px; }
  .process__step p { font-size: 13.5px; }

  /* CALC */
  .calc__wrap { padding: 22px 18px; gap: 22px; border-radius: 18px; }
  .calc__opt { padding: 9px 13px; font-size: 13px; min-height: 40px; }
  .calc__row { gap: 8px; }
  .calc__label { font-size: 14px; }
  .calc__result { padding: 24px 22px; border-radius: 16px; }
  .calc__result-price { font-size: 30px; margin-bottom: 14px; }
  .calc__result-included li { font-size: 13px; }

  /* COMPARE TABLE → горизонтальный скролл с подсказкой */
  .compare__wrap {
    margin: 0 -16px;
    padding: 0 16px 16px;
    scroll-snap-type: x mandatory;
  }
  .compare__table { min-width: 680px; box-shadow: 0 4px 16px rgba(15,23,42,0.08); }
  .compare__row > div { padding: 12px 12px; font-size: 13px; line-height: 1.35; }
  .compare__cta { margin-top: 24px; }
  .compare__cta .btn { width: 100%; }
  /* Намёк "крутите →" */
  .compare__wrap::after {
    content: '← Свайпните, чтобы увидеть все колонки →';
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
  }

  /* GALLERY */
  .gallery__grid { gap: 6px; }
  .gallery__item figcaption { font-size: 10px; padding: 6px 8px; }
  .gallery__item figcaption b { font-size: 11px; }

  /* REVIEWS */
  .reviews__head { margin-bottom: 22px; flex-direction: column; align-items: stretch; gap: 18px; }
  .reviews__rating { padding: 12px 18px; gap: 14px; }
  .reviews__rating-num { font-size: 40px; }
  .reviews__rating-stars { font-size: 15px; letter-spacing: 2px; margin-bottom: 3px; }
  .reviews__rating-meta { font-size: 11px; }
  .reviews__sources { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .rev-source { padding: 12px 14px; }
  .rev-source__logo { width: 36px; height: 36px; font-size: 16px; border-radius: 9px; }
  .rev-source__name { font-size: 13px; }
  .rev-source__rating { font-size: 12px; }
  .review { padding: 20px 18px; }
  .review__head { gap: 10px; }
  .review__avatar { width: 40px; height: 40px; font-size: 13px; }
  .review__name { font-size: 14px; }
  .review__meta { font-size: 11px; }
  .review__text { font-size: 14px; line-height: 1.55; }
  .review__stars { font-size: 12px; letter-spacing: 1px; }
  .review__service { font-size: 11px; padding: 3px 10px; }
  .review__helpful { font-size: 11px; }
  .review__response { padding: 12px 14px; }
  .review__response p { font-size: 12.5px; }
  .leave-review { padding: 24px 18px; border-radius: 18px; }
  .leave-review__head h3 { font-size: 20px; }
  .leave-review__head p { font-size: 13px; }

  /* LEAD CTA */
  .lead { padding: 56px 0 90px; }
  .lead__wave-cap { height: 50px; }
  .lead__title { font-size: 24px; line-height: 1.2; }
  .lead__text { font-size: 14.5px; }
  .lead__perks li { font-size: 14px; }
  .lead__form { padding: 22px 18px; border-radius: 18px; }
  .lead__form h3 { font-size: 19px; }

  /* FAQ */
  .faq__list { gap: 8px; }
  .faq__item summary { padding: 16px 18px; font-size: 14.5px; gap: 12px; }
  .faq__item summary::after { font-size: 24px; }
  .faq__item p { font-size: 13.5px; padding: 0 18px 18px; line-height: 1.55; }

  /* BLOG */
  .blog__card { border-radius: 14px; }
  .blog__img { height: 160px; }
  .blog__tag { font-size: 10px; padding: 4px 10px; top: 12px; left: 12px; }
  .blog__time { font-size: 10px; padding: 4px 10px; top: 12px; right: 12px; }
  .blog__body { padding: 18px 18px 20px; }
  .blog__title { font-size: 17px; line-height: 1.25; }
  .blog__excerpt { font-size: 13.5px; }
  .blog__meta { font-size: 12px; padding-top: 12px; }

  /* CONTACTS */
  .contacts__card { padding: 22px 18px; }
  .contacts__icon { font-size: 28px; margin-bottom: 10px; }
  .contacts__card h3 { font-size: 14px; }
  .contacts__main { font-size: 15px; }
  .contacts__card p { font-size: 12px; }
  .contacts__map iframe { height: 280px; }

  /* FOOTER компактнее */
  .footer { padding-top: 36px; }
  .footer__inner { padding-bottom: 28px; gap: 24px; }
  .footer__col h4 { font-size: 14px; margin-bottom: 10px; }
  .footer__col p, .footer__col a { font-size: 13px; line-height: 1.65; }
  .footer__phone { font-size: 17px !important; }
  .footer__bottom { padding: 18px 0; }
  .footer__bottom p { font-size: 11px; }
  .footer__disclaimer { font-size: 10.5px !important; }

  /* STICKY BAR — safe area + tap targets */
  .sticky-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .sticky-bar__btn { padding: 13px; font-size: 14px; min-height: 50px; }

  /* FIELDS — единый размер touch */
  .field input, .field select, .field textarea {
    min-height: 50px;
    padding: 14px 14px;
  }

  /* STAR RATE компактно */
  .star-rate label { font-size: 28px; }

  /* MSG WIDGET выше sticky-бара с учётом safe-area */
  .msg-widget { bottom: calc(86px + env(safe-area-inset-bottom)); right: 14px; }
  .msg-widget__fab { width: 52px; height: 52px; }
  .msg-widget__bubble { width: calc(100vw - 28px); right: -4px; padding: 18px; }
  .msg-widget__choice { grid-template-columns: 1fr 1fr; gap: 8px; }
  .msg-btn { padding: 12px 12px; font-size: 14px; }

  /* MODALS — adjust */
  .modal { padding: 16px; }
  .modal__dialog { padding: 32px 22px 24px; border-radius: 18px; }
  .modal__title { font-size: 20px; }
  .modal__sub { font-size: 13px; }
  .modal__msgr-row { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* DECORATIONS off */
  .deco, .deco-watermark { display: none; }
  .snowflake:nth-child(even) { display: none; }
}

/* Очень маленькие экраны < 380px */
@media (max-width: 380px) {
  .hero__title { font-size: 34px; }
  .pain__grid { grid-template-columns: 1fr; }
  .pain__card { padding: 14px 14px; flex-direction: row; text-align: left; align-items: center; gap: 12px; }
  .pain__icon { font-size: 24px; margin-bottom: 0; }
  .pain__card h3 { font-size: 14px; }
  .pain__card p { font-size: 12px; }
  .reviews__rating-num { font-size: 34px; }
  .quiz__options--grid { grid-template-columns: 1fr; }
  .quiz__options--grid .quiz__opt { flex-direction: row; text-align: left; padding: 12px 14px; font-size: 14px; }
  .quiz__options--grid .quiz__opt-emoji { font-size: 20px; }
}

/* TAP targets — гарантируем минимум 44px высоту на всех ховер-кнопках */
@media (hover: none) {
  .btn { min-height: 48px; }
  a.btn { min-height: 48px; display: inline-flex; align-items: center; }
  .faq__item summary { min-height: 56px; }
}
