/* ============================================================
   СКУПКА КОМПЬЮТЕРОВ — style.css
   1. Переменные и темы      7. Выкуп
   2. База / reset           8. О нас
   3. Утилиты                9. Почему мы
   4. Шапка + меню           10. Отзывы + слайдер
   5. Hero                   11. FAQ
   6. Шаги                   12. Footer
                             13. Модалки (заявка + документы)
                             14. to-top, анимации, адаптив
============================================================ */

/* ---------- 1. Переменные ---------- */
:root {
  --c-blue: #1669FF;
  --c-blue-dark: #0B4FD8;
  --c-blue-light: #E8F0FF;
  --c-orange: #FF6B00;
  --grad-orange: linear-gradient(135deg, #FF9100 0%, #FF5C00 100%);
  --grad-blue: linear-gradient(135deg, #2E7BFF 0%, #0B4FD8 100%);

  --title: #0A1F44;
  --text: #41537F;
  --muted: #7285AD;
  --card: #FFFFFF;
  --card-2: #F7FAFF;
  --chip: #EDF2FC;
  --line: rgba(16, 58, 148, .10);
  --bg: #F2F6FF;
  --header-bg: rgba(244, 248, 255, .85);
  --input-bg: #F4F7FE;
  --shadow: 0 18px 45px rgba(12, 60, 155, .12);
  --shadow-sm: 0 8px 24px rgba(12, 60, 155, .10);
  --radius: 22px;
  --header-h: 86px;
}

[data-theme="dark"] {
  --c-blue-light: #16244A;
  --title: #EAF2FF;
  --text: #B9C8EA;
  --muted: #8CA0CC;
  --card: #141E3C;
  --card-2: #101830;
  --chip: #1B2748;
  --line: rgba(140, 170, 255, .14);
  --bg: #0A1128;
  --header-bg: rgba(10, 17, 40, .85);
  --input-bg: #0F1A38;
  --shadow: 0 18px 45px rgba(0, 0, 0, .45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .35);
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -5%, rgba(46, 123, 255, .10), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(46, 123, 255, .08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-wrap: break-word;
  transition: background-color .35s, color .35s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

::selection { background: rgba(255, 107, 0, .85); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(#2E7BFF, #0B4FD8); border-radius: 8px; }

:focus-visible { outline: 3px solid rgba(22, 105, 255, .5); outline-offset: 3px; border-radius: 6px; }

.icon { width: 22px; height: 22px; flex: none; }

/* защита от переполнения в сетках */
.hero-grid > *, .footer-grid > *, .reviews-layout > *,
.about-grid > *, .faq-grid > *, .review-head > *, .hf-item > div { min-width: 0; }

/* ---------- 3. Утилиты ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 92px 0; position: relative; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }

h1, h2, h3, h4 { color: var(--title); line-height: 1.15; font-weight: 800; }

h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); letter-spacing: -.5px; }

.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.accent-blue { color: var(--c-blue); }
.accent-orange { color: var(--c-orange); }

.line-accent {
  display: block; width: 74px; height: 5px; border-radius: 99px;
  background: var(--grad-blue); margin: 22px 0 26px;
}
.section-head .line-accent { margin: 22px auto 0; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-orange); color: #fff;
  font-weight: 800; font-size: .92rem;
  padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 102, 0, .35);
  margin-bottom: 18px;
}
.pill .icon { width: 18px; height: 18px; }
.pill-blue { background: var(--grad-blue); box-shadow: 0 10px 24px rgba(22, 105, 255, .3); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 1rem; letter-spacing: .3px;
  padding: 15px 30px; border-radius: 15px;
  transition: transform .25s, box-shadow .25s, background-color .25s, color .25s;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn-primary {
  background: var(--grad-orange); color: #fff;
  box-shadow: 0 12px 30px rgba(255, 102, 0, .38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(255, 102, 0, .48); }
.btn-primary:active { transform: translateY(-1px); }
.btn-outline {
  background: var(--card); color: var(--c-blue);
  border: 2px solid rgba(22, 105, 255, .55);
}
.btn-outline:hover { background: var(--c-blue); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22, 105, 255, .35); }
.btn-lg { padding: 18px 38px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-blue); font-weight: 800; font-size: .95rem;
  transition: gap .25s, color .25s;
}
.link-btn .icon { width: 17px; height: 17px; }
.link-btn:hover { gap: 10px; color: var(--c-blue-dark); }

.chip {
  display: inline-block; background: var(--chip); color: var(--muted);
  font-size: .8rem; font-weight: 800; padding: 6px 14px; border-radius: 999px;
}

.hand-note {
  font-family: "Caveat", cursive; font-size: 1.5rem; color: var(--c-blue);
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 18px; transform: rotate(-2deg);
}
.hand-note svg { width: 110px; height: 26px; color: var(--c-blue); }

/* Декор */
.crystal {
  position: absolute; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, #CFE0FF 0%, #7FA8FF 100%);
  clip-path: polygon(50% 0, 100% 32%, 78% 100%, 18% 82%, 0 38%);
  opacity: .55;
  animation: float 7s ease-in-out infinite;
}
[data-theme="dark"] .crystal { opacity: .28; }
.c1 { width: 64px; height: 74px; top: 12%; left: 4%; }
.c2 { width: 44px; height: 52px; top: 8%; right: 6%; animation-delay: -2.5s; }
.c3 { width: 30px; height: 36px; top: 46%; left: 12%; animation-delay: -4s; }

.dots-ring {
  position: absolute; z-index: 0; pointer-events: none;
  width: 260px; height: 260px; border-radius: 50%;
  background-image: radial-gradient(rgba(46, 123, 255, .35) 1.6px, transparent 1.7px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(circle, transparent 30%, #000 72%);
  mask-image: radial-gradient(circle, transparent 30%, #000 72%);
}
.d1 { top: 40px; right: 8%; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2, .7, .3, 1) var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 4. Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.logo-icon {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--grad-orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 102, 0, .4);
}
.logo-icon .icon { width: 26px; height: 26px; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--title); letter-spacing: -.3px; white-space: nowrap; }
.logo-text b { color: var(--c-blue); }

.nav { display: flex; gap: 34px; }
.nav a { font-weight: 700; color: var(--title); font-size: .98rem; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  border-radius: 99px; background: var(--grad-orange); transition: width .3s;
}
.nav a:hover { color: var(--c-blue); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-btn {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--card); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--title); transition: transform .3s, box-shadow .3s;
}
.theme-btn:hover { transform: rotate(18deg) scale(1.06); }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }

.phone-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); border-radius: 999px; padding: 8px 20px 8px 8px;
  font-weight: 800; color: var(--title); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s; white-space: nowrap;
}
.phone-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.phone-btn-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--grad-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.phone-btn-icon .icon { width: 17px; height: 17px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow-sm); flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; }
.burger span { width: 22px; height: 2.6px; border-radius: 99px; background: var(--title); transition: transform .3s, opacity .3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(6, 14, 38, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(360px, 88vw);
  background: var(--card); box-shadow: -20px 0 60px rgba(6, 20, 60, .25);
  padding: 22px 26px 34px; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .45s cubic-bezier(.2, .7, .3, 1);
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: none; }

.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.menu-close { width: 42px; height: 42px; border-radius: 12px; background: var(--chip); color: var(--title); display: inline-flex; align-items: center; justify-content: center; flex: none; }

.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 14px 4px; font-size: 1.12rem; font-weight: 800; color: var(--title);
  border-bottom: 1px solid var(--line); transition: color .25s, padding-left .25s;
}
.mobile-nav a:hover { color: var(--c-blue); padding-left: 10px; }

.mobile-menu-foot { margin-top: auto; padding-top: 28px; text-align: center; }
.phone-big { font-size: 1.5rem; font-weight: 800; color: var(--title); }
.mobile-menu-foot p { color: var(--muted); font-size: .9rem; margin: 6px 0 16px; }
.mobile-menu-foot .btn { width: 100%; }

/* ---------- 5. Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 40px; overflow: hidden; }

.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; position: relative; z-index: 1; }

.hero-content h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); color: var(--c-blue); letter-spacing: -1px; }
.hero-content .h1-sub { display: block; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--title); font-weight: 800; margin-top: 8px; }

.hero-note { display: flex; align-items: center; gap: 16px; max-width: 480px; margin-top: 6px; }
.hero-note-icon {
  width: 58px; height: 58px; flex: none; border-radius: 50%;
  background: var(--c-blue-light); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-note-icon .icon { width: 28px; height: 28px; }
.hero-note p { font-size: 1.06rem; }
.hero-note b { color: var(--c-blue); }

/* кнопки опущены ниже по первому экрану */
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 46px; }

.anim { opacity: 0; animation: fadeUp .9s cubic-bezier(.2, .7, .3, 1) forwards; animation-delay: var(--d, 0s); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img {
  width: min(100%, 620px); position: relative; z-index: 2;
  animation: float 6.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 45px rgba(12, 60, 155, .25));
}
.hero-glow {
  position: absolute; z-index: 0; left: 50%; top: 55%; transform: translate(-50%, -50%);
  width: 82%; height: 62%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 123, 255, .35), transparent 72%);
  filter: blur(10px);
}
.hero-ring {
  position: absolute; z-index: 1; left: 50%; top: 62%;
  border: 2px solid rgba(46, 123, 255, .35); border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(72deg);
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-ring.r1 { width: 78%; height: 78%; }
.hero-ring.r2 { width: 96%; height: 96%; animation-delay: -2s; border-color: rgba(46, 123, 255, .18); }
.hc1 { position: absolute; width: 40px; height: 46px; right: 4%; top: 16%; z-index: 3; }
.hc2 { position: absolute; width: 26px; height: 32px; left: 8%; bottom: 18%; z-index: 3; animation-delay: -3s; }

.hero-features {
  margin-top: 64px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 10px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 1;
}
.hf-item { display: flex; gap: 15px; align-items: flex-start; padding: 4px 26px; }
.hf-item + .hf-item { border-left: 1px solid var(--line); }
.hf-icon { color: var(--c-blue); width: 42px; height: 42px; flex: none; }
.hf-icon .icon { width: 42px; height: 42px; stroke-width: 1.7; }
.hf-item b { display: block; color: var(--title); font-size: 1.02rem; line-height: 1.3; }
.hf-item span { font-size: .88rem; color: var(--muted); }

/* ---------- 6. Шаги ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.step-card {
  position: relative; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 46px 26px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .35s, box-shadow .35s;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.step-num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-orange); color: #fff;
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(255, 102, 0, .45);
}

.step-icon {
  width: 108px; height: 108px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c-blue-light), rgba(46, 123, 255, .14));
  color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
}
.step-icon .icon { width: 56px; height: 56px; }

.step-card h3 { font-size: 1.1rem; }
.step-card p { font-size: .92rem; color: var(--muted); flex: 1; }
.step-card .chip { align-self: flex-end; }

.step-card:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -26px; width: 26px;
  border-top: 3px dotted rgba(46, 123, 255, .55);
}

/* ---------- 7. Выкуп ---------- */
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.buy-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s;
}
.buy-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.buy-card:hover .buy-media img { transform: scale(1.07); }

.buy-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-blue-light); }
.buy-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }

.buy-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; flex: 1; }
.buy-body h3 { font-size: 1.15rem; }
.buy-body p { font-size: .93rem; color: var(--muted); flex: 1; }

/* ---------- 8. О нас ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.about-left p { margin: 18px 0 24px; font-size: 1.05rem; }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--title); }
.check-list .icon { width: 22px; height: 22px; color: #fff; background: var(--grad-blue); border-radius: 50%; padding: 5px; flex: none; margin-top: 2px; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat-card {
  background: var(--card); border-radius: 20px; padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-num { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--c-blue); line-height: 1; }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- 9. Почему мы ---------- */
.with-laurels { display: inline-flex; align-items: center; gap: 20px; }
.laurel { width: 46px; height: 46px; color: var(--c-blue); opacity: .8; }
.laurel.flip { transform: scaleX(-1); }

.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }

.why-card {
  background: var(--card); border-radius: 20px; padding: 30px 20px 26px;
  text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .35s, box-shadow .35s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.why-icon {
  width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c-blue-light), rgba(46, 123, 255, .16));
  color: var(--c-blue); display: flex; align-items: center; justify-content: center;
}
.why-icon .icon { width: 48px; height: 48px; }

.why-card h3 { font-size: 1.02rem; }
.why-card p { font-size: .88rem; color: var(--muted); }

.why-bar {
  margin-top: 40px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.why-bar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.why-bar-left b { font-size: 1.08rem; color: var(--title); }
.why-bar-icon {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--c-blue-light); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
}
.why-bar-icon .icon { width: 28px; height: 28px; }
.why-bar-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 10. Отзывы ---------- */
.reviews-layout { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }

.rating-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 28px 26px; position: sticky; top: calc(var(--header-h) + 20px);
}
.rating-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rating-big { font-size: 4rem; font-weight: 800; color: var(--c-blue); line-height: 1; }
.stars { display: inline-flex; gap: 3px; color: #FF8A00; }
.stars .icon { width: 19px; height: 19px; }
.stars.sm .icon { width: 15px; height: 15px; }
.rating-label { color: var(--muted); font-size: .88rem; }

.rating-platforms { display: flex; flex-direction: column; }
.rating-platforms li {
  display: flex; align-items: center; gap: 10px; padding: 13px 2px;
  border-top: 1px solid var(--line); font-weight: 700; color: var(--title); font-size: .95rem;
}
.rating-platforms .p-icon { width: 26px; height: 26px; }
.rating-platforms span { flex: 1; }
.rating-platforms b { color: var(--c-blue); }
.rating-platforms .p-star { width: 17px; height: 17px; color: #FF8A00; }

.slider { overflow: hidden; position: relative; }
.slider-track { display: flex; gap: 20px; transition: transform .55s cubic-bezier(.2, .7, .3, 1); position: relative; }
.slider-track .review-card {
  flex: 0 0 calc((100% - (var(--pv, 2) - 1) * 20px) / var(--pv, 2));
  margin: 0;
}

.review-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line);
}
.review-card.featured { border-left: 5px solid var(--c-orange); }

.review-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--a, #2E7BFF), color-mix(in srgb, var(--a, #2E7BFF) 55%, #000));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.review-person { flex: 1; }
.review-person b { display: block; color: var(--title); }
.review-person span { font-size: .82rem; color: var(--muted); }
.review-meta { text-align: right; }
.review-date { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }

.review-card p { font-size: .93rem; }
.review-card .q { width: 18px; height: 18px; color: var(--c-blue); opacity: .55; vertical-align: -3px; margin-right: 4px; }

.review-tag {
  align-self: flex-start; background: var(--chip); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; font-weight: 700; color: var(--muted);
}
.review-tag b { color: var(--c-orange); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 2px solid rgba(22, 105, 255, .5); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .25s, color .25s, transform .25s;
}
.slider-arrow:hover { background: var(--c-blue); color: #fff; transform: scale(1.07); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 99px; background: rgba(46, 123, 255, .3);
  transition: width .3s, background-color .3s;
}
.slider-dots button.active { width: 26px; background: var(--c-orange); }

.reviews-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.reviews-extra[hidden] { display: none; }
.reviews-extra .review-card { animation: fadeUp .6s both; }

.reviews-actions { display: flex; justify-content: center; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

/* ---------- 11. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

.faq-left h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.faq-text { color: var(--muted); max-width: 420px; }

.faq-phone-card {
  margin-top: 34px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.faq-phone-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.faq-phone-icon {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: var(--grad-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 105, 255, .4);
}
.faq-phone-icon .icon { width: 26px; height: 26px; }
.faq-phone-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--title); letter-spacing: -.3px; }
.faq-phone-sub { color: var(--muted); font-size: .9rem; }
.faq-phone-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.faq-chip {
  background: var(--c-blue-light); color: var(--c-blue); font-weight: 800; font-size: .9rem;
  border-radius: 14px; padding: 10px 18px; line-height: 1.3;
}

.acc-item {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm);
  margin-bottom: 14px; overflow: hidden; border-left: 4px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.acc-item.open { border-left-color: var(--c-orange); background: linear-gradient(135deg, var(--card) 40%, var(--c-blue-light)); }

.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 21px 24px; text-align: left;
  font-size: 1.08rem; font-weight: 800; color: var(--title);
}
.acc-icon {
  position: relative; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--c-blue-light); transition: transform .35s, background-color .35s;
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--c-blue);
  border-radius: 99px; transform: translate(-50%, -50%); transition: opacity .3s;
}
.acc-icon::before { width: 16px; height: 2.6px; }
.acc-icon::after { width: 2.6px; height: 16px; }
.acc-item.open .acc-icon { transform: rotate(180deg); }
.acc-item.open .acc-icon::after { opacity: 0; }

.acc-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2, .7, .3, 1); }
.acc-body-inner { padding: 0 24px 24px; color: var(--text); }
.acc-body-inner p { margin-bottom: 6px; }

.faq-guarantee {
  margin-top: 26px; border-radius: 16px; padding: 22px 26px;
  background: linear-gradient(135deg, var(--c-blue-light), rgba(46, 123, 255, .12));
  display: flex; align-items: center; gap: 18px;
}
.faq-guarantee b { color: var(--title); font-size: 1.05rem; }
.faq-guarantee-icon { color: var(--c-blue); width: 40px; height: 40px; flex: none; }
.faq-guarantee-icon .icon { width: 40px; height: 40px; stroke-width: 1.7; }

/* ---------- 12. Footer ---------- */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #040A1E 0%, #0A1433 55%, #0D1B42 100%);
  color: #AABBE0;
}

.footer-decor { position: relative; height: 96px; }
.footer-decor::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(120, 170, 255, .22) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(600px 120px at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(600px 120px at 70% 20%, #000, transparent 75%);
}
.f-crystal {
  position: absolute; pointer-events: none;
  background: linear-gradient(135deg, #9CC4FF 20%, #2E7BFF 70%);
  clip-path: polygon(50% 0, 100% 32%, 78% 100%, 18% 82%, 0 38%);
  filter: drop-shadow(0 0 14px rgba(46, 123, 255, .8));
  opacity: .9;
  animation: float 8s ease-in-out infinite;
}
.f-crystal.k1 { width: 44px; height: 52px; top: 14px; left: 6%; }
.f-crystal.k2 { width: 24px; height: 30px; top: 44px; left: 15%; animation-delay: -2s; }
.f-crystal.k3 { width: 62px; height: 72px; top: 4px; left: 40%; background: linear-gradient(135deg, #9CC4FF 35%, #FF8A2E 120%); filter: drop-shadow(0 0 18px rgba(120, 160, 255, .9)); animation-delay: -4s; }
.f-crystal.k4 { width: 28px; height: 34px; top: 36px; right: 22%; animation-delay: -1s; }
.f-crystal.k5 { width: 40px; height: 48px; top: 10px; right: 5%; animation-delay: -5s; }

.footer-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #1E6FFF 0%, #39C4FF 45%, #FF6B00 78%, #FF9100 100%);
  box-shadow: 0 2px 18px rgba(46, 123, 255, .8), 0 6px 30px rgba(255, 107, 0, .45);
}

.footer-grid {
  display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.25fr;
  gap: 44px; padding: 56px 0 46px;
}

.f-about .logo-text { color: #FFFFFF; }
.f-about .logo-text b { color: #39C4FF; }
.f-about p { font-size: .92rem; margin: 18px 0 20px; color: #8CA0CC; }

.f-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FFFFFF; color: #0A1F44;
  font-weight: 800; font-size: .95rem;
  padding: 11px 22px; border-radius: 999px;
}
.f-badge .icon { width: 20px; height: 20px; color: #FF6B00; }

.f-socials { display: flex; gap: 14px; margin-top: 26px; }
.f-social {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: radial-gradient(circle at 30% 30%, #2E7BFF, #0B4FD8);
  box-shadow: 0 0 0 3px rgba(46, 123, 255, .22), 0 8px 22px rgba(46, 123, 255, .5);
  transition: transform .3s, box-shadow .3s;
}
.f-social:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 0 4px rgba(46, 123, 255, .35), 0 14px 30px rgba(46, 123, 255, .7);
}
.f-social .icon { width: 22px; height: 22px; }

.f-col h4 { color: #FFFFFF; font-size: 1.05rem; margin-bottom: 20px; }

.f-links li + li { margin-top: 14px; }
.f-links a { color: #AABBE0; font-size: .95rem; transition: color .25s, padding-left .25s; }
.f-links a:hover { color: #39C4FF; padding-left: 6px; }
.f-links.with-icons a { display: flex; align-items: flex-start; gap: 12px; }
.f-links.with-icons .icon { width: 20px; height: 20px; color: #39C4FF; flex: none; margin-top: 2px; }

.f-phone {
  display: flex; align-items: center; gap: 12px;
  color: #FFFFFF; font-size: 1.42rem; font-weight: 800; letter-spacing: -.3px;
  transition: color .25s;
}
.f-phone:hover { color: #39C4FF; }
.f-phone-icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--grad-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(46, 123, 255, .55);
}
.f-phone-icon .icon { width: 20px; height: 20px; }

.f-contacts { margin-top: 18px; }
.f-contacts li { display: flex; align-items: center; gap: 12px; margin-top: 13px; font-size: .95rem; }
.f-contacts .icon { width: 20px; height: 20px; color: #39C4FF; flex: none; }
.f-contacts a { transition: color .25s; }
.f-contacts a:hover { color: #39C4FF; }

.f-col .btn { margin-top: 24px; width: 100%; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 24px; flex-wrap: wrap;
  font-size: .85rem; color: #7E90BC;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a {
  color: #8CA0CC; text-decoration: underline; text-underline-offset: 3px;
  transition: color .25s; cursor: pointer;
}
.footer-legal a:hover { color: #39C4FF; }

.footer-seal {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0 36px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: #C7D3F2; font-weight: 600; font-size: .98rem; text-align: center;
}
.footer-seal .icon { width: 26px; height: 26px; color: #FF6B00; flex: none; }

/* ---------- 13. Модалки ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  visibility: hidden; opacity: 0;
  transition: opacity .35s, visibility .35s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-overlay {
  position: absolute; inset: 0; background: rgba(6, 14, 38, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* Заявка: компактная, БЕЗ скролла */
.modal-dialog {
  position: relative; background: var(--card); border-radius: 24px; box-shadow: var(--shadow);
  width: min(440px, 100%); padding: 30px 26px;
  transform: translateY(26px) scale(.97);
  transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}
.modal.open .modal-dialog { transform: none; }

/* Документы: со скроллом контента */
.modal-doc .modal-dialog {
  width: min(680px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 34px 30px;
}

.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px;
  background: var(--chip); color: var(--title);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background-color .3s; z-index: 2;
}
.modal-close:hover { transform: rotate(90deg); background: var(--c-blue-light); }

.modal-content h3 { font-size: 1.45rem; padding-right: 34px; }
.modal-content > p { color: var(--muted); margin: 6px 0 18px; font-size: .92rem; }

.order-form { display: flex; flex-direction: column; gap: 12px; }
.order-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--title); }
.order-form input[type="text"], .order-form input[type="tel"] {
  background: var(--input-bg); border: 2px solid transparent; border-radius: 12px;
  padding: 12px 16px; font-size: 1rem; color: var(--title); outline: none;
  width: 100%; transition: border-color .25s, background-color .25s;
}
.order-form input:focus { border-color: var(--c-blue); }
.order-form input.error { border-color: #FF3B30; animation: shake .4s; }

.checkbox {
  flex-direction: row !important; align-items: center; gap: 10px !important;
  font-size: .8rem !important; font-weight: 600 !important; color: var(--muted) !important;
  cursor: pointer; line-height: 1.45;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--c-blue); cursor: pointer; flex: none; }
.checkbox a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }

.modal-legal {
  display: block; text-align: center; font-size: .74rem; color: var(--muted); line-height: 1.5;
}
.modal-legal a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }

.modal-success { text-align: center; padding: 8px 0; }
.success-icon {
  width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(255, 102, 0, .45);
  animation: popIn .55s cubic-bezier(.2, 1.4, .4, 1);
}
.success-icon .icon { width: 36px; height: 36px; }
.modal-success h4 { font-size: 1.35rem; margin-bottom: 8px; }
.modal-success p { font-size: .92rem; }
.modal-success a { color: var(--c-blue); font-weight: 800; }

/* Тексты документов */
.modal-doc h3 { font-size: 1.4rem; padding-right: 34px; }
.legal-meta { font-size: .8rem; color: var(--muted); margin: 8px 0 16px; }
.legal-text { font-size: .88rem; line-height: 1.65; color: var(--text); }
.legal-text h5 { margin: 14px 0 6px; font-size: .93rem; color: var(--title); font-weight: 800; }
.legal-text p { margin-bottom: 8px; }
.legal-text ul { padding-left: 18px; list-style: disc; margin-bottom: 8px; }
.legal-text li { margin-bottom: 4px; }

/* ---------- 14. to-top, анимации, адаптив ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-blue); color: #fff; box-shadow: 0 12px 30px rgba(22, 105, 255, .45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s, transform .35s, visibility .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

body.locked { overflow: hidden; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
@keyframes ringPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== Адаптив ===== */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 24px; }
  .footer-grid { grid-template-columns: 1.1fr .8fr 1fr; }
  .footer-grid .f-col:last-child { grid-column: 1 / -1; }
}

/* На планшетах и телефонах: сначала текст + кнопки, потом картинка */
@media (max-width: 992px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .phone-btn span:last-child { display: none; }
  .phone-btn { padding: 8px; border-radius: 50%; }

  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { margin-top: 10px; }
  .hero-visual img { width: min(100%, 480px); }

  .hero-features { grid-template-columns: 1fr 1fr; gap: 22px 0; padding: 28px; }
  .hf-item:nth-child(3) { border-left: none; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 22px; }
  .step-card:not(:last-child)::after { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 44px; }

  .reviews-layout { grid-template-columns: 1fr; }
  .rating-card { position: static; max-width: 420px; margin: 0 auto; }
  .reviews-extra { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid .f-col:last-child { grid-column: auto; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .buy-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-buttons { margin-top: 34px; }
  .hero-features { grid-template-columns: 1fr; }
  .hf-item + .hf-item { border-left: none; border-top: 1px solid var(--line); padding-top: 18px; }
  .hf-item { padding: 4px 8px; }
  .why-bar { flex-direction: column; align-items: flex-start; }
  .reviews-extra { grid-template-columns: 1fr; }
  .laurel { width: 32px; height: 32px; }
  .footer-decor { height: 76px; }
  .f-crystal.k3 { left: 55%; }
}

@media (max-width: 576px) {
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 22px 14px; }
  .why-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .hero-buttons .btn { width: 100%; }
  .reviews-actions .btn { width: 100%; }
  .faq-phone-num { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .f-phone { font-size: 1.25rem; }
  .to-top { right: 16px; bottom: 16px; }
}

/* Компактные экраны: 400px */
@media (max-width: 400px) {
  :root { --header-h: 72px; }
  .container { padding: 0 14px; }
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }

  .logo-icon { width: 40px; height: 40px; }
  .logo-icon .icon { width: 22px; height: 22px; }
  .logo-text { font-size: 1.05rem; }
  .theme-btn, .burger { width: 40px; height: 40px; }
  .phone-btn-icon { width: 30px; height: 30px; }
  .header-actions { gap: 8px; }

  .hero-content h1 { font-size: 1.9rem; }
  .hero-content .h1-sub { font-size: 1.15rem; }
  .pill { font-size: .8rem; padding: 8px 16px; }
  .hero-note { gap: 12px; }
  .hero-note-icon { width: 46px; height: 46px; }
  .hero-note-icon .icon { width: 22px; height: 22px; }
  .hero-note p { font-size: .95rem; }
  .hero-buttons { margin-top: 28px; gap: 12px; }
  .btn { padding: 13px 22px; font-size: .95rem; }
  .btn-lg { padding: 15px 26px; font-size: 1rem; }

  .hero-features { padding: 20px 14px; margin-top: 40px; }
  .hf-icon { width: 34px; height: 34px; }
  .hf-icon .icon { width: 34px; height: 34px; }
  .hf-item b { font-size: .95rem; }
  .hf-item span { font-size: .8rem; }

  .step-card { padding: 40px 18px 20px; }
  .step-icon { width: 88px; height: 88px; }
  .step-icon .icon { width: 46px; height: 46px; }
  .hand-note { font-size: 1.25rem; }

  .buy-body { padding: 18px; }
  .why-icon { width: 76px; height: 76px; }
  .why-icon .icon { width: 40px; height: 40px; }
  .why-bar { padding: 18px; }
  .why-bar-left b { font-size: .98rem; }

  .stat-num { font-size: 1.8rem; }
  .stat-card { padding: 18px 10px; }
  .stat-label { font-size: .8rem; }

  .with-laurels { gap: 10px; }
  .laurel { width: 26px; height: 26px; }

  .rating-card { padding: 20px 16px; }
  .rating-big { font-size: 3rem; }
  .review-card { padding: 18px 16px; gap: 10px; }
  .avatar { width: 44px; height: 44px; font-size: 1.1rem; }
  .review-card p { font-size: .88rem; }
  .slider-controls { gap: 12px; margin-top: 22px; }
  .slider-arrow { width: 40px; height: 40px; }

  .acc-head { padding: 16px; font-size: .98rem; gap: 10px; }
  .acc-icon { width: 32px; height: 32px; }
  .acc-body-inner { padding: 0 16px 18px; font-size: .9rem; }
  .faq-phone-card { padding: 20px 16px; }
  .faq-phone-icon { width: 46px; height: 46px; }
  .faq-phone-num { font-size: 1.15rem; }
  .faq-chip { font-size: .8rem; padding: 8px 14px; }

  .footer-grid { gap: 26px; padding-top: 36px; }
  .f-social { width: 42px; height: 42px; }
  .f-phone { font-size: 1.12rem; }
  .f-phone-icon { width: 38px; height: 38px; }
  .footer-bottom { font-size: .78rem; }
  .footer-legal { gap: 12px 16px; }
  .footer-seal { font-size: .85rem; flex-wrap: wrap; padding-bottom: 28px; }

  .modal { padding: 12px; }
  .modal-dialog { padding: 24px 16px; border-radius: 20px; }
  .modal-doc .modal-dialog { padding: 26px 16px; }
  .modal-content h3 { font-size: 1.25rem; }
  .modal-content > p { font-size: .85rem; margin-bottom: 14px; }
  .order-form input[type="text"], .order-form input[type="tel"] { padding: 11px 14px; font-size: .95rem; }
  .modal-close { width: 34px; height: 34px; top: 10px; right: 10px; }
  .legal-text { font-size: .82rem; }
  .modal-doc h3 { font-size: 1.2rem; }
  .success-icon { width: 66px; height: 66px; }
  .to-top { width: 44px; height: 44px; }
  .mobile-menu { padding: 18px 18px 26px; }
  .phone-big { font-size: 1.3rem; }
}

/* Очень компактные экраны: 340px и меньше (в т.ч. 320px) */
@media (max-width: 340px) {
  .logo-text { font-size: .95rem; }
  .hero-content h1 { font-size: 1.7rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom span { font-size: .74rem; }
}