/* ============================================================
   Скажи РРРР — центр развития речи, Саратов
   Mobile-first, премиальный тёплый стиль
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;
  --bg-card: #FFFFFF;
  --primary: #F7B718;
  --primary-dark: #E8A400;
  --accent: #F07818;
  --text: #2B1E17;
  --text-soft: #6B625D;
  --line: #F3E5D3;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 8px 30px rgba(168, 110, 30, .10);
  --shadow-lg: 0 18px 50px rgba(168, 110, 30, .16);
  --font-head: 'Nunito', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Типографика ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 6vw, 54px); }
h2 { font-size: clamp(26px, 4.5vw, 42px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }

.accent { color: var(--accent); }

.section { padding: 64px 0; position: relative; }

.section-head { max-width: 640px; margin-bottom: 40px; }

.section-head .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  background: var(--bg-soft);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-soft);
  margin-top: 14px;
  font-size: 17px;
}

.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: 100px;
  padding: 17px 32px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-align: center;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(240, 135, 30, .45); outline-offset: 2px; }

.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(247, 183, 24, .4);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(247, 183, 24, .5); }

.btn-white {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

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

.btn-max { color: #4C6EF5; }
.btn-lg { padding: 20px 40px; font-size: 17px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 249, 243, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(168, 110, 30, .1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo img { width: 44px; height: 44px; }
.logo-text { line-height: 1.1; }
.logo-text b {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .02em;
  display: block;
}
.logo-text span {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav { display: none; }

.header-phones { display: none; flex-direction: column; gap: 4px; }
.header-phone-row { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.header-phone svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.header-phone span { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone small { font-size: 10px; font-weight: 500; color: var(--text-soft); letter-spacing: .03em; }
.header-max {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 800; font-size: 12px;
  color: #4C6EF5; background: #EEF2FF;
  border-radius: 100px; padding: 4px 10px;
  white-space: nowrap; transition: background .2s;
}
.header-max:hover { background: #E0E7FF; }
.header-max svg { width: 13px; height: 13px; stroke: #4C6EF5; }

.burger {
  width: 48px; height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--bg-soft);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}
.mobile-menu a:active { background: var(--bg-soft); }
.mobile-menu .menu-contacts {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu .menu-contacts a { font-size: 18px; color: var(--accent); padding: 8px 16px; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 0;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,183,24,.18), transparent 70%);
  pointer-events: none;
}
.hero-deco.d1 { width: 420px; height: 420px; top: -100px; right: -120px; }
.hero-deco.d2 { width: 320px; height: 320px; bottom: 60px; left: -140px; }

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-grid > *, .cta-grid > *, .founder-grid > * { min-width: 0; }

.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { display: block; }

.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 12px;
  max-width: 480px;
}
.hero-sub b { color: var(--text); }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.hero-actions .btn { width: 100%; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}
.hero-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.hero-photo {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}
.hero-photo > picture:first-child,
.hero-photo > img:first-of-type {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo > picture:first-child img,
.hero-photo > img:first-of-type {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to right,  #fff 0%, transparent 40%),
    linear-gradient(to left,   #fff 0%, transparent 30%),
    linear-gradient(to bottom, #fff 0%, transparent 20%),
    linear-gradient(to top,    #fff 0%, transparent 20%);
  overflow: hidden;
}
.hero-mascot {
  position: absolute;
  right: 10px; top: 10px;
  width: 96px; height: 96px;
  transform: rotate(8deg);
  filter: drop-shadow(0 10px 20px rgba(168, 110, 30, .3));
  animation: float 4.5s ease-in-out infinite;
  z-index: 2;
}
.hero-bubble {
  position: absolute;
  right: 74px; top: 14px;
  background: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 9px 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite reverse;
  z-index: 2;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
}
.hero-badge img { width: 38px; height: 38px; }

.hero-stats {
  margin-top: 48px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-stat {
  padding: 22px 14px;
  text-align: center;
  border: 0 solid var(--line);
}
.hero-stat:nth-child(odd) { border-right-width: 1px; }
.hero-stat:nth-child(-n+2) { border-bottom-width: 1px; }
.hero-stat b {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: var(--accent);
  display: block;
}
.hero-stat span { font-size: 13.5px; color: var(--text-soft); }

/* ---------- Волна-разделитель ---------- */
.wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.wave path { fill: var(--bg-soft); }
.wave.flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }
.on-soft { background: var(--bg-soft); }

/* ---------- Карточки проблем ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.problem-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-icon {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 18px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-icon svg { width: 28px; height: 28px; color: var(--accent); }
.problem-card p { font-weight: 700; font-size: 16px; line-height: 1.4; }

/* ---------- Последствия ---------- */
.consequences-grid {
  display: grid;
  gap: 16px;
}
.cons-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.cons-card .ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cons-card .ico svg { width: 26px; height: 26px; color: var(--accent); }
.cons-card h3 { margin-bottom: 8px; }
.cons-card p { color: var(--text-soft); font-size: 15px; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-col {
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.compare-bad {
  background: #fdecea;
  border-left: 4px solid #e74c3c;
}
.compare-good {
  background: #e8f8f1;
  border-left: 4px solid #27ae60;
}
.compare-col-title {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.compare-bad .compare-col-title { color: #c0392b; }
.compare-good .compare-col-title { color: #1e8449; }
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-list li { font-size: 15px; line-height: 1.5; }
@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.moms-thoughts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mom-thought {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mom-fear {
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-soft);
}
.mom-answer {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
@media (max-width: 600px) {
  .moms-thoughts { grid-template-columns: 1fr; }
}

.note-banner {
  margin-top: 28px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
}
.note-banner img { width: 56px; height: 56px; flex: none; object-fit: contain; }
.note-banner p { font-weight: 700; }

/* ---------- Преимущества ---------- */
.benefit-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-card .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  color: var(--accent);
  background: var(--bg-soft);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit-card h3 { margin-bottom: 10px; }
.benefit-card p { color: var(--text-soft); font-size: 15px; }

/* ---------- Шаги диагностики ---------- */
.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(247, 183, 24, .45);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* ---------- О центре / основатель ---------- */
.founder-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.founder-photo img {
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/4.6;
  object-fit: cover;
}
.founder-body h2 { margin-bottom: 14px; }
.founder-body .role {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.urgency-cta {
  background: linear-gradient(135deg, #f07000 0%, #f5a623 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.urgency-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.urgency-cta::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.urgency-cta-inner {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.urgency-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.35);
}
.urgency-cta-inner h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  margin: 0;
  line-height: 1.2;
}
.urgency-cta-inner p {
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.urgency-btn {
  background: #fff;
  color: #e07000;
  font-size: 18px;
  font-weight: 800;
  padding: 20px 48px;
  border-radius: 100px;
  margin-top: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  display: inline-block;
}
.urgency-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
}

.founder-story {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.7;
}
.founder-story strong {
  font-size: 18px;
  color: var(--text);
}
.founder-quote {
  border-left: 4px solid var(--accent);
  background: transparent;
  border-radius: 0;
  padding: 14px 20px;
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 0;
  position: relative;
}
.founder-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fb {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  min-width: 0;
}
@media (max-width: 480px) {
  .founder-badges { grid-template-columns: 1fr; }
}
.fb svg { width: 24px; height: 24px; color: var(--accent); flex: none; }

.team-strip {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-ava {
  width: 72px; height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F8A33A, #F7B718);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  color: #fff;
}
.team-card b { font-family: var(--font-head); font-size: 15px; display: block; line-height: 1.3; }
.team-card span { font-size: 13px; color: var(--accent); font-weight: 700; }

/* ---------- Галерея ---------- */
.gallery {
  columns: 2;
  column-gap: 14px;
}
.gallery a {
  display: block;
  margin-bottom: 14px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  transition: transform .4s ease;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a:nth-child(3n) img { aspect-ratio: 4/5; object-fit: cover; }
.gallery a:nth-child(3n+1) img { aspect-ratio: 1/1; object-fit: cover; }
.gallery a:nth-child(3n+2) img { aspect-ratio: 4/3.2; object-fit: cover; }

/* ---------- Отзывы ---------- */
.reviews-grid {
  display: grid;
  gap: 18px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.review-top { display: flex; align-items: center; gap: 14px; }
.review-ava {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, #F0871E, #F7B718);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-top b { display: block; font-family: var(--font-head); }
.stars { color: var(--primary); font-size: 14px; letter-spacing: 2px; }
.review-card p { color: var(--text-soft); font-size: 15px; }
.review-src { font-size: 13px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; margin-top: auto; }
.review-src svg { width: 16px; height: 16px; color: #FC3F1D; }

/* ---------- Услуги ---------- */
.services-grid {
  display: grid;
  gap: 18px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service-body h3 { font-size: 20px; }
.service-body p { color: var(--text-soft); font-size: 15px; flex: 1; }
.service-body .age {
  display: inline-flex;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: var(--bg-soft);
  border-radius: 100px;
  padding: 5px 14px;
}
.service-body .btn { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--text);
  text-align: left;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q .plus {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-soft);
  position: relative;
  transition: transform .3s ease, background .3s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
  border-radius: 2px;
}
.faq-q .plus::before { width: 14px; height: 2.5px; }
.faq-q .plus::after { width: 2.5px; height: 14px; transition: transform .3s ease; }
.faq-item.open .plus { transform: rotate(180deg); background: var(--primary); }
.faq-item.open .plus::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 15.5px;
}

/* ---------- Филиалы и карта ---------- */
.branches-grid { display: grid; gap: 20px; }
.branch-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.branch-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.branch-body { padding: 26px 24px; }
.branch-body h3 { margin-bottom: 6px; font-size: 21px; }
.branch-body address {
  font-style: normal;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.branch-contacts { display: flex; flex-direction: column; gap: 10px; }
.branch-contacts .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.branch-contacts .row svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.branch-actions .btn { padding: 13px 22px; font-size: 14.5px; flex: 1; min-width: 150px; }

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Рейтинг ---------- */
.trust-grid { display: grid; gap: 16px; }
.trust-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.trust-card .platform {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.trust-card .score {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
}
.trust-card .stars { font-size: 18px; margin: 8px 0; }
.trust-card p { font-size: 14px; color: var(--text-soft); }
.trust-widgets { margin-top: 20px; }

/* ---------- Финальный CTA / форма ---------- */
.cta {
  background: linear-gradient(135deg, #F7B718, #F39C1F);
  border-radius: 32px;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  top: -120px; right: -100px;
}
.cta-grid { display: grid; gap: 36px; position: relative; }
.cta h2 { margin-bottom: 14px; }
.cta .cta-sub { font-size: 17px; margin-bottom: 24px; max-width: 440px; }
.cta-contacts { display: flex; flex-direction: column; gap: 12px; }
.cta-contacts .btn { justify-content: flex-start; text-align: left; font-size: 15px; }

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-lg);
}
.lead-form h3 { font-size: 22px; margin-bottom: 6px; }
.lead-form .form-sub { color: var(--text-soft); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color .25s ease;
  outline: none;
}
.field input:focus { border-color: var(--primary); }
.field input.error { border-color: #E2574C; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.form-policy {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 14px;
  text-align: center;
}
.form-policy a { text-decoration: underline; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 700; text-align: center; display: none; }
.form-status.err { display: block; color: #E2574C; }

/* ---------- Footer ---------- */
.footer {
  background: #2B1E17;
  color: #D9CEC5;
  padding: 56px 0 32px;
  margin-top: 80px;
  border-radius: 40px 40px 0 0;
}
@media (max-width: 1023px) {
  .footer { padding-bottom: 104px; } /* место под плавающую панель */
}
.footer a:hover { color: var(--primary); }
.footer-grid { display: grid; gap: 36px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: #9C8F85; }
.footer h4 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.footer .f-phone { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; display: block; }
.footer-services {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-services h4 { margin-bottom: 10px; }
.footer-services-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 20px;
  font-size: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .footer-services-links { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .footer-services-links { grid-template-columns: repeat(4, 1fr); }
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: #9C8F85;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Плавающая панель (мобайл) ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 -6px 24px rgba(168,110,30,.15);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  transform: translateY(110%);
  transition: transform .35s ease;
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar .btn { flex: 1; padding: 14px 10px; font-size: 14.5px; }
.sticky-bar .btn-icon {
  flex: none;
  width: 50px;
  padding: 14px 0;
  border-radius: 16px;
}

/* ---------- Анимации появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Планшет ≥ 640px
   ============================================================ */
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .consequences-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr 1fr; }
  .gallery { columns: 3; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { border-bottom-width: 0 !important; border-right-width: 1px; }
  .hero-stat:last-child { border-right-width: 0; }
  .team-strip { grid-template-columns: repeat(3, 1fr); }
  .cta { padding: 56px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Десктоп ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .section { padding: 96px 0; }
  .nav {
    display: flex;
    gap: 28px;
    font-weight: 700;
    font-size: 15px;
  }
  .nav a { position: relative; padding: 4px 0; }
  .nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2.5px;
    border-radius: 2px;
    background: var(--primary);
    transition: width .25s ease;
  }
  .nav a:hover::after { width: 100%; }
  .header-phones {
    display: flex;
  }
  .header-phone {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 15px;
  }
  .header-phone svg { width: 16px; height: 16px; }
  .burger { display: none; }
  .header-inner { height: 84px; }

  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .hero-photo > picture img,
  .hero-photo > img:first-of-type { object-position: top center; }
  .hero-mascot { width: 96px; height: 96px; right: 16px; top: 16px; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .consequences-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .step { flex-direction: column; }
  .step::after {
    content: '';
    position: absolute;
    top: 38px; right: -20px;
    width: 24px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
  }
  .step:last-child::after { display: none; }
  .founder-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .team-strip { grid-template-columns: repeat(5, 1fr); }
  .gallery { columns: 4; column-gap: 18px; }
  .gallery a { margin-bottom: 18px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cta-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
  .cta { padding: 72px 64px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .sticky-bar { display: none; }
  .map-wrap { height: 480px; }
}

.benefits-grid { display: grid; gap: 16px; }
@media (min-width: 640px) and (max-width: 1023px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ДЕКОРАТИВНЫЙ СЛОЙ — «дорогой» игровой вид
   ============================================================ */

.section { overflow: hidden; }
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: .85;
}
.deco-soft { opacity: .4; }
.spin-slow { animation: spin 30s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.float-1 { animation: float 5s ease-in-out infinite; }
.float-2 { animation: float 6.5s ease-in-out infinite reverse; }
.section > .container { position: relative; z-index: 1; }

/* Волнистое подчёркивание акцентных слов в заголовках */
h2 .accent {
  position: relative;
  display: inline-block;
}
h2 .accent::after {
  content: '';
  position: absolute;
  left: 2%; right: 2%; bottom: -.28em;
  height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 Q 28 3 53 9 T 103 9 T 152 9 T 197 7' fill='none' stroke='%23F7B718' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Бегущая строка */
.marquee {
  background: var(--primary);
  transform: rotate(-1.3deg) scale(1.02);
  padding: 16px 0;
  margin: 48px 0 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(247, 183, 24, .3);
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  padding-right: 18px;
}
.marquee-track span::after { content: '🐾'; padding-left: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hero: парящие элементы */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -22px -22px auto auto;
  width: 120px; height: 120px;
  background: url('../img/deco-ring.svg') no-repeat center / contain;
  opacity: .5;
  z-index: -1;
}

/* Шаги: пунктирные дуги-стрелки между карточками */
@media (min-width: 1024px) {
  .step::after {
    width: 52px; height: 30px;
    background: url('../img/deco-arc.svg') no-repeat center / contain;
    top: 26px; right: -36px;
    border-radius: 0;
  }
  .step:nth-child(even)::after { transform: scaleY(-1); top: 40px; }
}

/* Галерея-полароид */
.gallery a {
  background: #fff;
  padding: 10px 10px 14px;
  border-radius: 16px;
  transform: rotate(-1.6deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery a:nth-child(2n) { transform: rotate(1.4deg); }
.gallery a:nth-child(3n) { transform: rotate(-.8deg); }
.gallery a:hover { transform: rotate(0) scale(1.04); box-shadow: var(--shadow-lg); z-index: 2; position: relative; }
.gallery img { border-radius: 10px; }

/* Карточки проблем: галочка-стикер — скрыта для цитат */
#problems .problem-card::after { display: none; }

/* Сетка цитат — 2 колонки, 5-я карточка по центру */
#problems .cards-grid {
  grid-template-columns: 1fr 1fr;
}
#problems .problem-card:last-child {
  grid-column: 1 / -1;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

/* Цитата — курсив и увеличенный кегль */
#problems .problem-card p {
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

/* Номера преимуществ — «леденцы» */
.benefit-card { position: relative; }
.benefit-card .num {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 18px rgba(240, 135, 30, .35);
}

/* Note-banner с большим тигром */
.note-banner { position: relative; padding-left: 24px; }
.note-banner img { width: 64px; height: 64px; object-fit: contain; }

/* CTA: декор на градиенте */
.cta { position: relative; }
.cta::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  bottom: -60px; left: 8%;
}
.cta-tiger {
  position: absolute;
  right: 40px; top: -54px;
  width: 104px; height: 104px;
  filter: drop-shadow(0 12px 22px rgba(120, 70, 10, .35));
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}

/* Мобильная подгонка декора */
@media (max-width: 1023px) {
  .deco-desktop { display: none; }
  .marquee { transform: rotate(-1.6deg) scale(1.04); margin-top: 36px; }
  .marquee-track span { font-size: 14.5px; }
  .cta-tiger { width: 76px; height: 76px; right: 20px; top: -40px; }
  .hero-photo::before { width: 84px; height: 84px; inset: -14px -10px auto auto; }
  .note-banner picture { display: none; }
}

.marquee-wrap { overflow: hidden; margin: 48px 0 8px; }
.marquee-wrap .marquee { margin: 0; }

/* ---------- Попап: проверь речь ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(43, 30, 23, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.popup-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 36px 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: translateY(32px) scale(.96);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: var(--shadow-lg);
}
.popup-overlay.open .popup-box {
  transform: translateY(0) scale(1);
}
.popup-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.popup-close:hover { background: var(--line); }
.popup-emoji { font-size: 52px; margin-bottom: 12px; line-height: 1; }
.popup-title { font-size: clamp(20px, 3.5vw, 24px); margin-bottom: 10px; line-height: 1.25; }
.popup-sub { color: var(--text-soft); font-size: 15px; margin-bottom: 20px; line-height: 1.55; }
.popup-form .field { margin-bottom: 12px; }
.popup-submit { width: 100%; }
.popup-skip {
  margin-top: 14px;
  background: none; border: none;
  color: var(--text-soft); font-size: 13px;
  cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
}
.popup-skip:hover { color: var(--text); }
@media (max-width: 480px) {
  .popup-box { padding: 36px 20px 28px; }
}

/* ---------- Модальное окно выбора филиала ---------- */
.branch-choice { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; text-align: left; }
.branch-choice-item {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 12px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.branch-choice-info { display: flex; flex-direction: column; gap: 2px; }
.branch-choice-info b { font-family: var(--font-head); font-size: 17px; }
.branch-choice-info span { color: var(--text-soft); font-size: 14px; }
.branch-choice-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.branch-choice-actions .btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Модальное окно записи ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(43, 30, 23, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 44px 40px 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  transform: translateY(28px) scale(.97);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--line); }
.modal-tiger {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
}
.modal-title { margin-bottom: 6px; font-size: clamp(22px, 4vw, 28px); }
.modal-sub {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.55;
}
.modal-submit { width: 100%; }
@media (max-width: 480px) {
  .modal-box { padding: 36px 20px 28px; }
}

/* ---- Липкий виджет тигрёнок ---- */
.tiger-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateX(calc(100% + 40px)) translateY(-50%);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
  opacity: 0;
  z-index: 998;
}
.tiger-widget.visible {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
}
.tiger-widget-link {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  background: #fff;
  border-radius: 100px 0 0 100px;
  box-shadow: -4px 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(240,135,30,.2);
  border: 2px solid rgba(240,135,30,.15);
  border-right: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.tiger-widget-link:hover {
  transform: translateX(-4px);
  box-shadow: -8px 14px 40px rgba(0,0,0,.22), 0 4px 12px rgba(240,135,30,.3);
}
.tiger-widget-link img {
  width: 60px;
  height: 60px;
  flex: none;
  display: block;
  padding: 4px;
}
.tiger-widget-text {
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  white-space: nowrap;
  padding: 0 22px 0 12px;
}
@media (max-width: 768px) {
  .tiger-widget {
    right: 12px;
    bottom: 90px;
    top: auto;
    transform: translateY(calc(100% + 40px));
  }
  .tiger-widget.visible {
    transform: translateY(0);
  }
  .tiger-widget-link {
    border-radius: 100px;
    border-right: 2px solid rgba(240,135,30,.15);
  }
  .tiger-widget-link img {
    width: 48px;
    height: 48px;
  }
  .tiger-widget-text {
    font-size: 13px;
    padding: 0 16px 0 8px;
  }
}

/* ---- Видео основателя (вертикальное, 9:16) ---- */
.founder-video-wrap {
  position: relative;
  padding-top: 177.78%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Видеоотзывы ---- */
.video-shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.video-short-wrap {
  position: relative;
  padding-top: 177.78%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-short-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-wide-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wide-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 900px) {
  .video-shorts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .video-shorts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Страницы услуг (service detail pages)
   ============================================================ */
.breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
  margin: 96px 0 24px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); font-weight: 700; }

.service-hero { padding: 8px 0 16px; }
.service-hero-grid { display: grid; gap: 32px; align-items: center; }
.service-hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-hero-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.service-age-badge {
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: var(--bg-soft);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 14px;
}
.service-points { display: grid; gap: 14px; margin: 24px 0 28px; list-style: none; }
.service-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-soft); }
.service-points li b { color: var(--text); }
.service-points li span.mark { flex: none; font-size: 18px; line-height: 1.4; }

.related-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.related-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card .age { display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--accent); background: var(--bg-soft); border-radius: 100px; padding: 4px 12px; }
.related-card h4 { font-family: var(--font-head); font-size: 17px; font-weight: 800; }
.related-card p { color: var(--text-soft); font-size: 14.5px; flex: 1; }
.related-card a.btn { align-self: flex-start; margin-top: 4px; }

@media (min-width: 640px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .service-hero-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

.checklist-grid {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
}
.checklist-grid li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
.checklist-grid li span.mark { flex: none; font-size: 16px; line-height: 1.5; }
@media (min-width: 640px) {
  .checklist-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

.info-box {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 15px;
  color: var(--text-soft);
  margin: 20px 0;
}
.info-box b { color: var(--text); }
.info-box p + p { margin-top: 8px; }

/* ---------- Согласие на обработку ПДн в формах ---------- */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-soft);
  text-align: left;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent a { text-decoration: underline; }
.form-consent.error { color: #E2574C; }
.form-consent.error input[type="checkbox"] { outline: 2px solid #E2574C; outline-offset: 2px; }

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-soft);
}
.cookie-banner-text a { text-decoration: underline; color: var(--accent); }
.cookie-banner-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}
.cookie-banner-actions .btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }

@media (max-width: 720px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Click-to-play: видео и карта грузятся только по клику ----------
   Плееры Rutube и виджет Яндекс Карт — сторонние сервисы. Пока посетитель
   не нажал, к ним не уходит ни одного запроса (152-ФЗ: никаких данных
   третьим лицам без действия пользователя). */
.video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: #000;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .3s ease;
}
.video-wide-wrap .video-embed img { object-fit: contain; }
.video-embed:hover img { transform: scale(1.04); opacity: .85; }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
  transition: transform .25s ease, background .25s ease;
}
/* треугольник «play» */
.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--text);
}
.video-embed:hover .video-play { transform: translate(-50%, -50%) scale(1.1); background: var(--primary-dark); }
.video-embed:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* Заглушка карты */
.map-embed {
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  transition: background .25s ease;
}
.map-embed:hover { background: var(--line); }
.map-embed:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.map-embed-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
}
.map-embed-title::before { content: "📍 "; }
.map-embed-note {
  font-size: 13.5px;
  color: var(--text-soft);
  max-width: 420px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .video-play { width: 54px; height: 54px; }
  .video-play::before { border-width: 9px 0 9px 15px; }
}
