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

:root {
  --bg:        #0d0f12;
  --surface:   #151820;
  --card:      #1c2030;
  --border:    #2a2f3e;
  --accent:    #f59e0b;
  --accent-h:  #fbbf24;
  --danger:    #ef4444;
  --text:      #e8eaf0;
  --muted:     #7a8099;
  --radius:    12px;
  --shadow:    0 4px 28px rgba(0,0,0,.5);
  --tr:        .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

/* ════════════════════════════
   ШАПКА
════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,15,18,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.hdr {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Логотип */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.logo-name em { color: var(--accent); font-style: normal; }

/* Навигация */
nav { display: flex; gap: 2px; }

nav a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--tr), background var(--tr);
}

nav a:hover { color: var(--text); background: var(--card); }

nav a.active { color: var(--accent); background: var(--card); }

/* Контакты в шапке */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.hdr-phone {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: color var(--tr);
}

.hdr-phone:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #0d0f12; }
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(245,158,11,.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 580px;
  padding: 96px 24px 80px;
}

.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 65% at 85% 35%, rgba(245,158,11,.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 5% 85%,  rgba(239,68,68,.07)  0%, transparent 60%);
}

.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(42,47,62,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,47,62,.35) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

/* Лейбл над заголовком */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.28);
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.hero-title {
  font-size: clamp(30px, 4.8vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}

.hero-title .hi { color: var(--accent); }

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-cta .btn { padding: 13px 26px; font-size: 15px; }

/* Статистика */
.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-val {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Карточка справа */
.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hc-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 20px;
}

.svc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.svc:last-of-type { border: none; }

.svc-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
}

.svc-ico {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(245,158,11,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.svc-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
}

.svc-time {
  font-size: 11px;
  color: var(--muted);
}

/* ════════════════════════════
   ШАПКА ВНУТРЕННЕЙ СТРАНИЦЫ
════════════════════════════ */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 52px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-head-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.crumbs a { transition: color var(--tr); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 8px; opacity: .5; }
.crumbs .cur { color: var(--accent); }

.page-head h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.page-head h1 .hi { color: var(--accent); }

.page-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ════════════════════════════
   СЕКЦИИ — ОБЩЕЕ
════════════════════════════ */
section { padding: 84px 24px; }
.inner-sec { background: var(--bg); }
.wrap { max-width: 1200px; margin: 0 auto; }

.sec-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 14px;
  line-height: 1.15;
}

.sec-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.75;
}

/* ════════════════════════════
   ПРЕИМУЩЕСТВА
════════════════════════════ */
#advantages { background: var(--surface); }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.adv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,.45);
  box-shadow: 0 8px 32px rgba(245,158,11,.09);
}

.adv-img {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--accent, #f59e0b);
  border: 1px solid var(--accent, #f59e0b);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 11px;
  margin-bottom: 18px;
}

.adv-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.adv-title { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.adv-text  { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ════════════════════════════
   ДО / ПОСЛЕ
════════════════════════════ */
#beforeafter {
  background: var(--bg);
}

.res-ba-title {
  text-align: center;
  font-size: 22px;
  margin: 48px 0 24px;
}

.ba-slider {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.ba-track {
  display: flex;
  transition: transform .5s ease;
}

.ba-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.ba-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--tr);
}

.ba-card:hover { border-color: rgba(245,158,11,.4); }

.ba-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--card);
  overflow: hidden;
  position: relative;
}

.ba-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ba-card:hover .ba-photo img { transform: scale(1.04); }

.ba-label {
  padding: 12px 18px;
  background: var(--card);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ba-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ba-dot.red   { background: var(--danger); }
.ba-dot.green { background: #22c55e; }

.ba-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(15,18,24,.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
  z-index: 2;
}

.ba-arrow:hover { background: rgba(245,158,11,.9); }
.ba-prev { left: 12px; }
.ba-next { right: 12px; }

.ba-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.ba-nav-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}

.ba-nav-dot.is-active {
  background: var(--accent, #f59e0b);
  transform: scale(1.25);
}

.res-stand {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

.res-stand-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.res-stand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.res-stand-wide {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.res-stand-wide img {
  width: 100%;
  height: auto;
  display: block;
}

.res-stand-text h3 {
  font-size: 22px;
  margin: 0 0 14px;
}

.res-stand-text p {
  color: var(--muted, #94a3b8);
  line-height: 1.65;
  margin: 0 0 12px;
}

.res-stand-text strong { color: var(--text, #e2e8f0); }

.res-stand-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.res-stand-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--muted, #94a3b8);
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}

.res-stand-list li:last-child { border-bottom: none; }

.res-stand-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #22c55e;
  font-weight: 700;
}

/* ════════════════════════════
   ПРИЧИНЫ ПОЛОМОК
════════════════════════════ */
#symptoms { background: var(--surface); }

.sym-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sym-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color var(--tr);
}

.sym-card:hover { border-color: rgba(245,158,11,.38); }

.sym-n {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  opacity: .32;
  line-height: 1;
  flex-shrink: 0;
  min-width: 30px;
}

.sym-title { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.sym-text  { font-size: 13px; color: var(--muted); }

/* ════════════════════════════
   КАК МЫ РАБОТАЕМ
════════════════════════════ */
#process { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.steps::after {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 1px;
  background: linear-gradient(90deg,
    var(--accent) 0%,
    var(--border) 34%,
    var(--accent) 67%,
    var(--border) 100%);
}

.step { padding: 0 20px; text-align: center; }

.step-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 25px;
  position: relative;
  z-index: 1;
  transition: border-color var(--tr), background var(--tr);
}

.step:hover .step-circle {
  border-color: var(--accent);
  background: rgba(245,158,11,.08);
}

.step-n {
  position: absolute;
  top: -5px; right: -5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0f12;
  font-size: 10px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.step-title { font-size: 14.5px; font-weight: 700; margin-bottom: 7px; }
.step-text  { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ════════════════════════════
   ЦЕНЫ
════════════════════════════ */
#pricing { background: var(--surface); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1160px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--tr);
}

.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card:hover::before { background: var(--accent); }

.price-card.hot { border-color: rgba(245,158,11,.4); }
.price-card.hot::before { background: var(--accent); }

.hot-tag {
  position: absolute;
  top: 17px; right: 17px;
  background: var(--accent);
  color: #0d0f12;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.p-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}

.p-val {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}

.p-val sup { font-size: 18px; color: var(--muted); font-weight: 500; }

.p-per { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

.p-divider { height: 1px; background: var(--border); margin-bottom: 22px; }

.p-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}

.p-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.p-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ════════════════════════════
   ОТЗЫВЫ
════════════════════════════ */
#reviews { background: var(--bg); }

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rev-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--tr);
}

.rev-card:hover { border-color: rgba(245,158,11,.32); }

.rev-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }

.rev-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

.rev-text::before { content: '\201C'; }
.rev-text::after  { content: '\201D'; }

.rev-author { display: flex; align-items: center; gap: 11px; margin-top: auto; }

.rev-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.rev-name { font-size: 13.5px; font-weight: 700; }
.rev-car  { font-size: 12px; color: var(--muted); }

.rev-note { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Форма отзыва */
.rev-form-card {
  margin-top: 44px;
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.rev-form-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 22px; }

.rev-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }

.rev-field label { font-size: 13px; font-weight: 600; color: var(--text); }
.rev-field label span { color: var(--accent); }

.rev-field input,
.rev-field textarea,
.rev-field select {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  resize: vertical;
  transition: border-color var(--tr);
}

.rev-field select { cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8099' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.rev-field select option { background: var(--surface); color: var(--text); }

.rev-field input::placeholder,
.rev-field textarea::placeholder { color: var(--muted); }

.rev-field input:focus,
.rev-field textarea:focus,
.rev-field select:focus { outline: none; border-color: var(--accent); }

.rev-stars-input { display: flex; gap: 4px; }

.rev-stars-input button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--border);
  transition: color var(--tr);
}

.rev-stars-input button:hover,
.rev-stars-input button.on { color: var(--accent); }

/* Honeypot — скрытое поле для отсева ботов */
.rev-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#reviewForm .btn { margin-top: 4px; }

.rev-msg { font-size: 13.5px; line-height: 1.6; margin-top: 10px; }
.rev-msg.ok  { color: #22c55e; }
.rev-msg.err { color: var(--danger); }

/* Онлайн-запись */
.bk-card {
  margin-top: 36px;
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.bk-step-lbl {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  margin: 0 0 14px;
}

.bk-days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

.bk-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  transition: border-color var(--tr), background var(--tr);
}
.bk-day:hover { border-color: var(--accent); }
.bk-day.on { border-color: var(--accent); background: rgba(245,158,11,.10); }
.bk-day.full { opacity: .4; cursor: not-allowed; }
.bk-day-wd   { font-size: 12px; color: var(--muted); }
.bk-day-dt   { font-size: 14px; font-weight: 700; }
.bk-day-free { font-size: 11px; color: var(--accent); }
.bk-day.full .bk-day-free { color: var(--muted); }

.bk-empty { color: var(--muted); font-size: 14px; margin-top: 14px; }

.bk-times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.bk-slot {
  min-width: 76px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
}
.bk-slot:hover { border-color: var(--accent); }
.bk-slot.on { border-color: var(--accent); background: var(--accent); color: #0d0f12; }
.bk-slot.taken {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.bk-form { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 24px; }
.bk-chosen {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.bk-step-lbl + .bk-days,
.bk-step-lbl + .bk-times { margin-top: 0; }
#bookForm .btn { margin-top: 4px; }

/* ════════════════════════════
   FAQ
════════════════════════════ */
#faq { background: var(--surface); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr);
}

.faq-item:hover { border-color: rgba(245,158,11,.32); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 19px 22px;
  text-align: left;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color var(--tr);
}

.faq-q:hover { color: var(--accent); }

.faq-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s;
}

.faq-item.open .faq-ico { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 16px 22px 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-a { display: block; }

/* ════════════════════════════
   КОНТАКТЫ
════════════════════════════ */
#contacts { background: var(--bg); }

.cont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.cont-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.cont-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 22px; }

.cont-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}

.cont-row:last-of-type { margin-bottom: 0; }

.cont-ico {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.cont-lbl { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }

.cont-val {
  font-size: 15px;
  font-weight: 600;
}

.cont-val a { transition: color var(--tr); }
.cont-val a:hover { color: var(--accent); }

.messengers {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.msg-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--tr);
}

.msg-btn:hover { border-color: var(--accent); color: var(--accent); }

.map-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
}

.map-box iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(75%) invert(1) hue-rotate(180deg) brightness(.65) contrast(.95);
}

/* ════════════════════════════
   ПРИЗЫВ К ДЕЙСТВИЮ
════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, rgba(245,158,11,.12) 0%, rgba(245,158,11,.04) 100%);
  border-top: 1px solid rgba(245,158,11,.18);
  border-bottom: 1px solid rgba(245,158,11,.18);
  padding: 56px 24px;
  text-align: center;
}

.cta-band h2 { margin-bottom: 12px; }

.cta-band p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn { padding: 14px 30px; font-size: 15px; }

/* ════════════════════════════
   ФУТЕР
════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.ftr {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ftr-copy { font-size: 13px; color: var(--muted); }

.ftr-links { display: flex; gap: 18px; }

.ftr-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--tr);
}

.ftr-links a:hover { color: var(--text); }

/* Навигация по разделам в футере */
.ftr-nav {
  max-width: 1200px;
  margin: 0 auto 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.ftr-nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--tr);
}

.ftr-nav a:hover { color: var(--accent); }

/* ════════════════════════════
   ПЛАВАЮЩИЕ КНОПКИ
════════════════════════════ */
.float-wrap {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.55);
  transition: transform var(--tr);
}

.float-btn:hover { transform: scale(1.1); }
.f-tg { background: #229ed9; }
.f-wa { background: #25d366; }

/* ════════════════════════════
   АДАПТИВ
════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-card    { display: none; }
  .adv-grid     { grid-template-columns: repeat(2, 1fr); }
  .sym-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps        { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::after { display: none; }
  .price-grid   { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .rev-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hdr-right .btn { display: none; }
  nav             { display: none; }
  .cont-grid      { grid-template-columns: 1fr; }
  .sym-grid       { grid-template-columns: 1fr; }
  .adv-grid       { grid-template-columns: 1fr; }
  .steps          { grid-template-columns: 1fr; }
  .rev-grid       { grid-template-columns: 1fr; }
  .price-grid     { grid-template-columns: 1fr; max-width: 380px; }
  .res-stand      { grid-template-columns: 1fr; gap: 22px; }
  .float-wrap     { bottom: 14px; right: 14px; }
  .cta-btns       { flex-direction: column; align-items: center; }
}

/* ════════════════════════════
   СОГЛАСИЕ НА ОБРАБОТКУ ПДн
════════════════════════════ */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
}

.consent input[type="checkbox"]:hover { border-color: var(--accent); }

.consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.consent input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  margin: 2px auto 0;
  border: solid #0d0f12;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent a { color: var(--accent); text-decoration: underline; }
.consent a:hover { color: var(--accent-h); }
.consent label { cursor: pointer; }

/* ════════════════════════════
   COOKIE-БАННЕР
════════════════════════════ */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: rgba(21,24,32,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 28px rgba(0,0,0,.45);
  transform: translateY(110%);
  transition: transform .3s ease;
}

.cookie-bar--show { transform: translateY(0); }
.cookie-bar--hide { transform: translateY(110%); }

.cookie-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-bar-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.cookie-bar-text a { color: var(--accent); text-decoration: underline; }
.cookie-bar-text a:hover { color: var(--accent-h); }

.cookie-bar-btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 600px) {
  .cookie-bar-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .cookie-bar-btn   { width: 100%; }
}

/* ════════════════════════════
   ЮРИДИЧЕСКИЙ ДОКУМЕНТ
════════════════════════════ */
.legal-doc {
  max-width: 820px;
  margin: 36px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 38px;
}

.legal-doc .legal-upd { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

.legal-doc h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 12px;
  color: var(--text);
}

.legal-doc h2:first-of-type { margin-top: 8px; }

.legal-doc p { font-size: 14.5px; line-height: 1.7; color: var(--text); margin-bottom: 12px; }

.legal-doc ul { margin: 0 0 14px 20px; }
.legal-doc li { font-size: 14.5px; line-height: 1.7; color: var(--text); margin-bottom: 6px; }

.legal-doc a { color: var(--accent); text-decoration: underline; }
.legal-doc a:hover { color: var(--accent-h); }

.legal-doc .legal-foot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .legal-doc { padding: 26px 20px; }
}
