/* =========================================================
   PRIME EXPERT — ремонт бытовой техники
   Палитра извлечена из логотипа (LOGO.JPG):
     тёмный фон логотипа  #1C232B (графит)
     светлый (надпись)     #E8E8E8 (серебро)
     акцент (труба/крыша)  #DC7A2E → #E87A2C (оранжевый)
   Контраст (WCAG AA):
     --text  #EEF0F3 на --bg #12171D  ≈ 16:1
     --muted #9AA3AF на --surface #1C232B ≈ 6.2:1
     --accent #E87A2C на --bg ≈ 6.2:1 (текст-акцент)
     --on-accent #12171D на --accent ≈ 6.2:1 (кнопки)
   ========================================================= */

:root {
  /* базовые цвета из логотипа */
  --c-primary: #1C232B;   /* основной: графит фона логотипа */
  --c-accent: #E87A2C;    /* акцент: оранжевый */
  --c-dark: #12171D;      /* тёмный */
  --c-light: #E8E8E8;     /* светлый: серебро */

  --bg: var(--c-dark);
  --bg-alt: #161C23;
  --surface: var(--c-primary);
  --surface-2: #232B35;
  --border: rgba(232, 232, 232, 0.09);
  --border-strong: rgba(232, 232, 232, 0.18);
  --text: #EEF0F3;
  --muted: #9AA3AF;
  --silver: var(--c-light);
  --accent: var(--c-accent);
  --accent-hi: #F59A52;
  --accent-soft: rgba(232, 122, 44, 0.14);
  --on-accent: #12171D;
  --wa: #1A9E4B;          /* белая иконка ≈ 3.4:1 (графика) */

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, 0.7);
  --glow: 0 12px 34px -10px rgba(232, 122, 44, 0.55);
  --header-h: 68px;
  --gutter: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.accent { color: var(--accent); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: linear-gradient(135deg, var(--accent-hi), var(--accent) 55%); color: var(--on-accent); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(232, 122, 44, .7); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--silver); background: rgba(255,255,255,.08); }
.btn--outline { border-color: rgba(232, 122, 44, .55); color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }
.btn--outline .ico { transition: transform .25s var(--ease); }
.btn--outline:hover .ico { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn--xl { min-height: 60px; padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Типографика секций ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.section { padding: 72px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 760px; margin-bottom: 36px; }
.section__title { font-size: clamp(28px, 6.4vw, 48px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 640px; }
.section__lead strong { color: var(--text); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
/* фон и blur — на псевдоэлементе, чтобы backdrop-filter не ломал fixed-меню внутри шапки */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(18, 23, 29, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header.is-scrolled, body.menu-open .header { border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgba(0,0,0,.8); }
.header.is-scrolled::before, body.menu-open .header::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: none; }
.brand__mark { width: 52px; height: 39px; object-fit: contain; border-radius: 6px; }
.brand__name { font-weight: 800; font-size: 17px; letter-spacing: .04em; color: var(--text); white-space: nowrap; }
.brand__name span { color: var(--silver); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; min-height: 44px; color: var(--text); }
.header__phone .ico { color: var(--accent); }
.header__cta span { display: none; }
.header__cta { width: 44px; padding: 0; }

.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(18, 23, 29, .98); backdrop-filter: blur(16px);
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.nav__list a { display: flex; align-items: center; min-height: 52px; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--border); }
.nav__mobile-cta { display: grid; gap: 14px; margin-top: auto; }
.nav__phone { text-align: center; font-weight: 700; font-size: 18px; min-height: 44px; display: grid; place-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 28px) 0 40px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.glow--1 { width: 520px; height: 520px; right: -180px; top: 8%; background: radial-gradient(circle, rgba(232,122,44,.38), transparent 65%); }
.glow--2 { width: 460px; height: 460px; left: -200px; bottom: -120px; background: radial-gradient(circle, rgba(120,140,170,.22), transparent 65%); }
.hero__grid {
  position: absolute; inset: -10% 0 0; opacity: .5;
  background-image: linear-gradient(rgba(232,232,232,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(232,232,232,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero__inner { display: grid; gap: 28px; align-items: center; }
.hero__title { font-size: clamp(31px, 8.4vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; }
.hero__lead { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.hero__features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--silver); }
.hero__ficon { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-content: center; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(232,122,44,.25); }

/* ---- логотип на первом экране (анимация) ---- */
.hero__stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 8% 0; }
.emblem { position: relative; width: 84%; margin: 0 auto; aspect-ratio: 1; perspective: 1100px; }
/* мягкое оранжевое свечение за логотипом */
.emblem__glow { position: absolute; inset: -6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232,122,44,.38) 0%, rgba(232,122,44,.12) 45%, transparent 70%);
  filter: blur(18px); animation: emblem-glow 4.5s ease-in-out infinite; }
@keyframes emblem-glow { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
/* вращающиеся кольца вокруг логотипа */
.emblem__orbit { position: absolute; inset: -7%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 200deg, rgba(232,122,44,.15) 260deg, var(--accent) 345deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: emblem-spin 9s linear infinite; }
.emblem__orbit::after { content: ""; position: absolute; top: 50%; right: 0; width: 9px; height: 9px; margin: -4.5px -3px 0 0; border-radius: 50%;
  background: var(--accent-hi, #ffa25a); box-shadow: 0 0 12px 3px rgba(232,122,44,.85); transform: rotate(-4deg); }
.emblem__orbit--2 { inset: -13%; opacity: .55; animation-duration: 16s; animation-direction: reverse;
  background: conic-gradient(from 90deg, transparent 0deg, transparent 250deg, rgba(232,232,232,.08) 290deg, rgba(232,232,232,.6) 355deg, transparent 360deg); }
.emblem__orbit--2::after { display: none; }
@keyframes emblem-spin { to { transform: rotate(360deg); } }
/* сам логотип: плавно парит, наклоняется за курсором, по нему пробегает блик */
.emblem__float { position: absolute; inset: 0; animation: emblem-float 6s ease-in-out infinite; }
@keyframes emblem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.emblem__logo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #12171D; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(232,232,232,.12), 0 0 70px -12px rgba(232,122,44,.45); }
.emblem__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.emblem__shine { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.emblem__shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16) 45%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.16) 55%, transparent);
  transform: skewX(-12deg); animation: emblem-shine 6s ease-in-out infinite; }
@keyframes emblem-shine { 0%, 60% { transform: translateX(0) skewX(-12deg); } 100% { transform: translateX(450%) skewX(-12deg); } }

/* ---------- Цифры ---------- */
.stats { padding: 8px 0 24px; position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 20px 16px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); text-align: center; }
.stat__num { font-size: clamp(28px, 7.5vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  position: relative; border-radius: var(--radius); padding: 24px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: rgba(232,122,44,.35); box-shadow: var(--shadow-lg); }
.card__title { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }

.service { display: flex; flex-direction: column; gap: 14px; }
.service__icon, .why__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-content: center;
  background: linear-gradient(145deg, rgba(232,122,44,.2), rgba(232,122,44,.05)); color: var(--accent);
  border: 1px solid rgba(232,122,44,.28); font-size: 22px;
}
.service__list { display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; flex: 1; }
.service__list li { position: relative; padding-left: 18px; }
.service__list li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .8; }
.service .btn { margin-top: 6px; }

/* ---------- Поломки ---------- */
.problems { display: grid; gap: 32px; }
.problems__head .btn { margin-top: 26px; }
.symptoms { display: grid; grid-template-columns: 1fr; gap: 12px; }
.symptom {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s var(--ease);
}
.symptom:hover { border-color: rgba(232,122,44,.4); transform: translateX(4px); }
.symptom strong { display: block; font-size: 16px; color: var(--text); }
.symptom span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.symptom__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-content: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; }

/* ---------- Почему мы ---------- */
.why p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.why__icon { margin-bottom: 18px; }

/* ---------- Процесс ---------- */
.process { position: relative; display: grid; gap: 28px; padding-left: 64px; --p: 0; }
.process__track { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--border-strong); border-radius: 2px; overflow: hidden; }
.process__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px var(--accent); }
.step { position: relative; }
.step__dot {
  position: absolute; left: -64px; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-content: center; font-size: 20px;
  background: var(--surface); border: 2px solid var(--border-strong); color: var(--muted);
  transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.step.is-active .step__dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px rgba(232,122,44,.15); transform: scale(1.05); }
.step__num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.step__title { font-size: 19px; font-weight: 800; margin: 2px 0 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Цены ---------- */
.price {
  position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon value"; column-gap: 16px; align-items: center;
  transition: transform .3s var(--ease), border-color .3s;
}
.price:hover { transform: translateY(-4px); border-color: rgba(232,122,44,.35); }
.price__icon { grid-area: icon; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.price__name { grid-area: name; font-size: 15.5px; font-weight: 700; color: var(--silver); line-height: 1.3; }
.price__value { grid-area: value; font-size: 15px; color: var(--muted); }
.price__value b { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.price--accent { background: linear-gradient(135deg, rgba(232,122,44,.18), rgba(232,122,44,.04)); border-color: rgba(232,122,44,.4); }
.price--accent .price__value b { color: var(--accent); }
.price--cta { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-style: dashed; border-color: var(--border-strong); }
.price--cta .price__name { font-size: 18px; color: var(--text); }
.price--cta .price__name span { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.price--cta:hover { transform: none; }

/* ---------- Отзывы ---------- */
.placeholder-note { padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(232,122,44,.5); background: var(--accent-soft); color: var(--silver); font-size: 14.5px; }
.review { display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }
.review__badge { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.review__quote { position: absolute; right: 20px; top: 20px; width: 36px; height: 36px; color: rgba(232,122,44,.25); }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: 16px; }
.review blockquote { color: var(--silver); font-size: 15.5px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption small { color: var(--muted); font-size: 13px; }
.hero__cities { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(232,122,44,.45); background: var(--accent-soft); color: var(--silver); font-size: 15px; font-weight: 600; }
.hero__cities b { color: var(--accent); font-weight: 800; }
.hero__cities .ico { width: 18px; height: 18px; color: var(--accent); flex: none; }
.review__shot { align-self: flex-start; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--accent); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s; }
.review__shot:hover, .review__shot:focus-visible { background: var(--accent-soft); }
.shot-modal { max-width: min(680px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--border-strong); border-radius: 16px; background: #181c1f; overflow: visible; }
.shot-modal::backdrop { background: rgba(0,0,0,.75); }
.shot-modal img { display: block; width: 100%; height: auto; border-radius: 16px; }
.shot-modal__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 22px; line-height: 1; cursor: pointer; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; font-weight: 800; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--silver); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 32px; }
.faq__head .btn { margin-top: 22px; }
.accordion { display: grid; gap: 12px; }
.acc { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.acc.is-open { border-color: rgba(232,122,44,.4); }
.acc__h { font-size: inherit; }
.acc__btn { width: 100%; min-height: 60px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-weight: 700; font-size: 16.5px; border-radius: var(--radius-sm); }
.acc__icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.acc.is-open .acc__icon { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 18px 18px; color: var(--muted); font-size: 15.5px; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; }

/* ---------- Финальный CTA ---------- */
.cta-final { padding: 24px 0 80px; }
.cta-final__box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 48px 20px; border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 50% 0%, #2A323D 0%, var(--surface) 55%, var(--c-dark) 100%);
  border: 1px solid rgba(232,122,44,.35); box-shadow: var(--shadow-lg);
}
.cta-final__glow { position: absolute; z-index: -1; left: 50%; top: 60%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(232,122,44,.32), transparent 62%); filter: blur(30px); }
.cta-final__title { font-size: clamp(28px, 6.8vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 860px; margin: 0 auto; }
.cta-final__lead { margin: 16px auto 0; color: var(--muted); font-size: 17px; max-width: 560px; }
.cta-final__actions { display: grid; justify-items: center; gap: 16px; margin-top: 30px; }
.cta-final__actions .btn { width: 100%; max-width: 420px; }
.cta-final__phone { color: var(--muted); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.cta-final__phone b { color: var(--text); margin-left: 6px; }

/* ---------- Футер ---------- */
.footer { background: #0E1217; border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer__inner { display: grid; gap: 32px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--border-strong); }
.footer__name { font-weight: 800; font-size: 20px; letter-spacing: .05em; }
.footer__tag { color: var(--muted); font-size: 14px; margin-top: 4px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.footer__nav a { min-height: 44px; display: flex; align-items: center; color: var(--silver); font-weight: 600; font-size: 15px; transition: color .2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__contacts { display: grid; gap: 6px; align-content: start; }
.footer__phone, .footer__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.footer__phone { font-size: 20px; }
.footer__phone .ico, .footer__wa .ico { color: var(--accent); }
.footer__wa { color: var(--silver); }
.footer__wa:hover { color: var(--accent); }
.footer__hours { color: var(--muted); font-size: 14px; }
.footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }

/* ---------- WhatsApp: плавающая кнопка и мобильная панель ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(26,158,75,.7);
  transition: transform .3s var(--ease);
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s var(--ease) infinite; pointer-events: none; }
.wa-float::after { animation-delay: 1.3s; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14,18,23,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.mobile-bar__btn { min-height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 15.5px; }
.mobile-bar__btn--wa { background: var(--wa); color: #fff; }
.mobile-bar__btn--call { background: linear-gradient(135deg, var(--accent-hi), var(--accent)); color: var(--on-accent); }

/* ---------- Появление при скролле ---------- */
/* класс .reveal снимается скриптом после появления */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* =========================================================
   Адаптив
   ========================================================= */
@media (min-width: 400px) {
  .brand__mark { width: 56px; height: 42px; }
}
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .grid--cards, .grid--why, .grid--prices, .grid--reviews { grid-template-columns: repeat(2, 1fr); }
  .grid--cards > :last-child { grid-column: 1 / -1; }
  .price--cta { flex-direction: row; align-items: center; }
  .price--cta .btn { width: auto; flex: none; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .symptoms { grid-template-columns: 1fr 1fr; }
  .hero__features li { font-size: 14.5px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .header__cta { width: auto; padding: 10px 16px; }
  .header__cta span { display: inline; }
}
@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .grid { gap: 20px; }
  .card { padding: 28px; }
  .cta-final__box { padding: 72px 40px; }
  .review { padding-top: 34px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; --gutter: 32px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wa-float { right: 28px; bottom: 28px; width: 64px; height: 64px; }

  .burger, .nav__mobile-cta { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; backdrop-filter: none; padding: 0; overflow: visible; transition: none; flex-direction: row; }
  .nav__list { display: flex; gap: 2px; }
  .nav__list a { min-height: 44px; font-size: 14.5px; font-weight: 600; border: 0; padding: 0 11px; color: var(--silver); border-radius: 10px; transition: color .2s, background-color .2s; }
  .nav__list a:hover { color: var(--text); background: rgba(255,255,255,.05); }
  .brand__mark { width: 62px; height: 46px; }

  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 20px) 0 40px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .hero__stage { max-width: min(540px, calc(100svh - 140px)); }
  .hero__features { grid-template-columns: 1fr 1fr; max-width: 560px; }

  /* 5 карточек: 3 сверху, 2 широкие снизу */
  .grid--cards { grid-template-columns: repeat(6, 1fr); }
  .grid--cards > * { grid-column: span 2; }
  .grid--cards > :nth-child(n+4) { grid-column: span 3; }
  .grid--why { grid-template-columns: repeat(3, 1fr); }
  .grid--prices { grid-template-columns: repeat(3, 1fr); }
  .grid--reviews { grid-template-columns: repeat(3, 1fr); }

  .problems { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .problems__head { position: sticky; top: calc(var(--header-h) + 32px); }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }

  /* горизонтальная линия процесса */
  .process { grid-template-columns: repeat(5, 1fr); gap: 24px; padding-left: 0; padding-top: 76px; }
  .process__track { left: 10%; right: 10%; top: 23px; bottom: auto; width: auto; height: 2px; }
  .process__fill { transform-origin: left; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--accent-hi), var(--accent)); }
  .step { text-align: center; }
  .step__dot { left: 50%; top: -76px; margin-left: -24px; }

  .footer__inner { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}
@media (min-width: 1200px) {
  .header__phone { display: inline-flex; }
  .nav__list a { padding: 0 13px; }
}
@media (min-width: 1600px) {
  .container { max-width: 1360px; }
  .hero__title { font-size: 70px; }
}
/* узкие телефоны */
@media (max-width: 374px) {
  .brand__name { font-size: 15px; }
  .brand__mark { width: 46px; height: 35px; }
  .hero__features { grid-template-columns: 1fr; }
}

/* ---------- Уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wa-float::before, .wa-float::after { display: none; }
}
