/* ============================================
   СТОМАТОЛОГИЯ «УЛЫБКА» — ОСНОВНЫЕ СТИЛИ
   Светлый премиум · мятно-синяя палитра
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-mint: #f0fbf8;
  --bg-sky: #f0f7fe;
  --bg-dark: #0f2540;

  --text: #0f2540;
  --text-muted: #5b6675;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #9fb3cc;

  --brand: #00c9a7;
  /* Тёмный оттенок бренда используется только текстом, поэтому затемнён
     до контраста 5.27:1 на белом — прежний #00a88f давал 3.0:1 при норме 4.5. */
  --brand-dark: #007a68;
  --accent-grad: linear-gradient(135deg, #00c9a7, #29b6f6);
  --accent-grad-soft: linear-gradient(135deg, rgba(0,201,167,0.13), rgba(41,182,246,0.13));

  --border: #e8edf2;
  --border-strong: #d6dee8;
  --card: #ffffff;
  --card-soft: #f6f8fa;

  --shadow-sm: 0 4px 12px rgba(15, 37, 64, 0.06);
  --shadow: 0 12px 30px rgba(15, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 37, 64, 0.12);
  --shadow-brand: 0 16px 40px rgba(0, 201, 167, 0.28);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --container: 1200px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.35s var(--ease);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

/* Страховка от горизонтального выезда: overflow-x на html режет прокрутку,
   но не мешает layout-вьюпорту растянуться — а вместе с ним уезжает
   фиксированная шапка. clip на body удерживает ширину страницы. */
body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* Компенсация фиксированной шапки при переходе по якорям.
   Используем ТОЛЬКО scroll-margin-top на целевых секциях — он работает
   с любым скролл-контейнером (html или body) и не складывается сам с собой.
   НЕ добавлять scroll-padding-top на скролл-контейнер — иначе отступ удвоится. */
:where(section, footer)[id] { scroll-margin-top: 94px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid rgba(41, 182, 246, 0.45); outline-offset: 2px; border-radius: 6px; }

/* Inline-SVG иконки (спрайт <symbol> через <use>) */
.ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; flex-shrink: 0; vertical-align: -0.125em; }
picture { display: contents; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-alt); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 28px; border-radius: var(--radius-sm);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  will-change: transform; white-space: nowrap;
}
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(0, 201, 167, 0.38); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border: 1.5px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-dark); box-shadow: var(--shadow); }

/* ===== Заголовки секций ===== */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand-dark);
  background: var(--accent-grad-soft); padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow-light { color: #5eead4; background: rgba(94, 234, 212, 0.12); }
.section-title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.15;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-lead { color: var(--text-muted); font-size: 18px; }

/* ============================================
   НАВБАР
   ============================================ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 14px 0; transition: background var(--t), box-shadow var(--t), padding var(--t);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(15, 37, 64, 0.06);
  padding: 8px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 72px; width: auto; }
.logo-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: #4e99b7;
}
.nav-menu { display: flex; gap: 4px; }
.nav-menu a {
  font-size: 15px; font-weight: 600; color: var(--text); padding: 9px 14px;
  border-radius: var(--radius-sm); position: relative; white-space: nowrap; flex-shrink: 0;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-menu a:hover { color: var(--brand-dark); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.nav-phone .ic { color: var(--brand); }
.nav-phone:hover { color: var(--brand-dark); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2.5px; background: var(--text); border-radius: 2px;
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.burger span:nth-child(1) { top: 12px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; padding: 75px 0 70px; overflow: hidden;
  background: linear-gradient(180deg, #eafaf6 0%, #e6f4fe 60%, #ffffff 100%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.6; z-index: 0;
  pointer-events: none;
}
.blob-1 { width: 480px; height: 480px; background: radial-gradient(circle, #6df0db, transparent 70%); top: -120px; right: -100px; }
.blob-2 { width: 520px; height: 520px; background: radial-gradient(circle, #8dd6ff, transparent 70%); bottom: -160px; left: -160px; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 24px; color: var(--brand-dark);
}
.hero-badge .ic { color: var(--brand); }
.hero-title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.08;
  font-size: clamp(38px, 5.5vw, 64px); letter-spacing: -1px; margin-bottom: 22px;
}
.hero-title .word { display: inline-block; margin-right: 12px; }
.hero-title .accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { font-size: 19px; color: var(--text-muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.hero-tags .ic { color: var(--brand); font-size: 16px; }

.hero-visual { position: relative; }
.hero-img { width: 100%; height: auto; max-width: 520px; margin: 0 auto; border-radius: var(--radius-xl); filter: drop-shadow(0 30px 60px rgba(15, 37, 64, 0.12)); }
.hero-card {
  position: absolute; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px;
}
.hero-card-top { top: 90px; right: 0; }
.hero-card-bottom { bottom: 50px; left: 0; }
.hc-num { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text); }
.hc-stars { color: #fbbf24; font-size: 12px; display: inline-flex; gap: 1px; }
.hc-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ============================================
   СТАТИСТИКА
   ============================================ */
.stats { padding: 56px 0 40px; background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 28px 16px; border-radius: var(--radius-lg);
  background: var(--card-soft); border: 1px solid var(--border);
}
.stat-num {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-ico { font-size: 22px; color: #fbbf24; }
.stat-label { display: block; margin-top: 10px; color: var(--text-muted); font-size: 15px; font-weight: 500; }

/* ============================================
   ПРЕИМУЩЕСТВА
   ============================================ */
.advantages { background: var(--bg-mint); position: relative; overflow: hidden; }
.advantages::before, .advantages::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  filter: blur(80px); opacity: 0.5; z-index: 0; pointer-events: none;
}
.advantages::before { background: radial-gradient(circle, #6df0db, transparent 70%); top: -140px; right: -120px; }
.advantages::after { background: radial-gradient(circle, #8dd6ff, transparent 70%); bottom: -160px; left: -120px; }
.advantages .container { position: relative; z-index: 1; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  position: relative; overflow: hidden;
  text-align: center; padding: 36px 24px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: transform var(--t), box-shadow var(--t);
}
.adv-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity var(--t);
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 201, 167, 0.12), transparent 65%);
}
.adv-card:hover::after { opacity: 1; }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.adv-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; font-size: 28px; box-shadow: var(--shadow-brand);
}
.adv-card:nth-child(2) .adv-icon { background: linear-gradient(135deg, #29b6f6, #0288d0); box-shadow: 0 16px 40px rgba(41, 182, 246, 0.30); }
.adv-card:nth-child(3) .adv-icon { background: linear-gradient(135deg, #29b6f6, #00c9a7); box-shadow: 0 16px 40px rgba(0, 201, 167, 0.28); }
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { color: var(--text-muted); font-size: 15px; }

/* ============================================
   О КЛИНИКЕ
   ============================================ */
.about { background: var(--bg-alt); }
.about-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
/* max-width на самом контейнере, а не на img: иначе .about-badge
   позиционируется по ширине колонки сетки и отрывается от фото. */
.about-visual { position: relative; max-width: 500px; margin: 0 auto; }
.about-visual img { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; right: -16px; bottom: 32px; background: var(--bg-dark); color: #fff;
  border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 4px; text-align: center;
}
.about-badge .ab-num { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; color: #5eead4; }
.about-badge .ab-label { font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.4; }
.about-content .eyebrow { margin-bottom: 16px; }
.about-content .section-title { text-align: left; }
.about-text { color: var(--text-muted); margin-bottom: 16px; font-size: 17px; }
.about-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.about-list .ic { color: var(--brand); margin-top: 4px; font-size: 15px; }

/* ============================================
   ВРАЧИ — слайдер
   ============================================ */
.doctors-slider { position: relative; overflow: hidden; }
.doctors-track { display: flex; gap: 24px; transition: transform 0.6s var(--ease); will-change: transform; }
.doctor-card {
  position: relative; flex: 0 0 calc(33.333% - 16px); background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t);
}
.doctor-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 2; transition: opacity var(--t);
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(14, 165, 233, 0.12), transparent 65%);
}
.doctor-card:hover::after { opacity: 1; }
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card-soft); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.doctor-card:hover .doctor-photo img { transform: scale(1.05); }
.doctor-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, 0.94);
  color: var(--brand-dark); font-size: 12px; font-weight: 700; padding: 6px 12px; white-space: nowrap;
  border-radius: var(--radius-pill); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.doctor-info { padding: 22px 24px 26px; }
/* Двухстрочная высота под имя: длинные ФИО переносились и сдвигали
   должность вниз, из-за чего карточки в ряду не совпадали по строкам. */
.doctor-info h3 {
  font-size: 19px; font-weight: 700; margin-bottom: 6px;
  line-height: 1.3; min-height: 2.6em; /* ровно две строки при своём интерлиньяже */
}
.doctor-role { color: var(--text-muted); font-size: 15px; line-height: 1.5; }

.doctors-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.dc-btn {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  color: var(--text); display: grid; place-items: center; transition: var(--t); box-shadow: var(--shadow-sm);
}
.dc-btn:hover { background: var(--accent-grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.doctors-dots { display: flex; gap: 8px; }
.doctors-dots button {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); transition: var(--t); padding: 0; cursor: pointer;
}
.doctors-dots button.active { background: var(--accent-grad); width: 28px; border-radius: 5px; }

/* ============================================
   ЦЕНЫ
   ============================================ */
.prices { background: var(--bg-alt); }

/* Поиск по всему прайсу. Для тех, кто ищет конкретную услугу, он короче
   любой навигации: на время запроса разделы не фильтруют выдачу. */
.price-search {
  position: relative; max-width: 520px; margin: 0 auto 18px;
  display: flex; align-items: center;
}
.price-search .ic {
  position: absolute; left: 18px; color: var(--text-muted); font-size: 17px; pointer-events: none;
}
.price-search input {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--text);
  padding: 14px 18px 14px 48px; min-height: 48px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); transition: border-color var(--t), box-shadow var(--t);
}
.price-search input::placeholder { color: var(--text-muted); }
.price-search input:focus { outline: none; border-color: var(--brand); box-shadow: var(--shadow); }
.price-found {
  text-align: center; color: var(--text-muted); font-size: 15px; margin: -6px 0 18px;
}

/* Подкатегория внутри списка — заголовок, а не кнопка: перепутать
   её с выбором раздела невозможно. */
.price-sub {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.price-sub + .price-sub { margin-top: 12px; }
.price-sub-title {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text);
  padding: 18px 26px; min-height: 56px; list-style: none;
  transition: background var(--t);
}
.price-sub-title::-webkit-details-marker { display: none; }
.price-sub-title:hover { background: var(--card-soft); }
/* Шеврон рисуем сами: у нативного маркера нет управления цветом и поворотом */
.price-sub-title::after {
  content: ""; width: 9px; height: 9px; margin-left: auto; flex-shrink: 0;
  border-right: 2.5px solid var(--text-muted); border-bottom: 2.5px solid var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--t);
}
.price-sub[open] > .price-sub-title::after { transform: rotate(-135deg) translate(-2px, -2px); }
.price-sub[open] > .price-sub-title { border-bottom: 1px solid var(--border); }
.price-sub-count {
  font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--brand-dark);
  background: var(--accent-grad-soft); padding: 3px 10px; border-radius: var(--radius-pill);
}
/* Список внутри аккордеона уже в рамке — своя ему не нужна */
.price-sub .price-list { border: none; border-radius: 0; box-shadow: none; }

/* Выдача поиска — единый список вместо раскрытых подразделов */
.price-where {
  display: block; margin-top: 4px;
  font-size: 13px; font-weight: 600; color: var(--brand-dark);
}

.price-groups {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px;
}
.price-group {
  padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 16px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted);
  cursor: pointer; min-height: 44px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.price-group:hover { border-color: var(--brand); color: var(--brand-dark); }
.price-group.active {
  background: var(--bg-dark); border-color: var(--bg-dark); color: #fff;
}

.price-panel { display: none; }
.price-panel.active { display: block; animation: fadeInUp 0.4s var(--ease); }
/* Во время поиска выдача идёт по всем разделам сразу — разделы ничего
   не фильтруют, поэтому убираем и их, и аккордеон. Возвращаются при сбросе.
   Атрибута hidden на панели мало: .price-panel.active { display: block }
   перебивает его по специфичности, поэтому гасим явным правилом. */
body.price-searching .price-groups,
body.price-searching .price-panel { display: none; }

.price-results { margin-bottom: 40px; }
.price-list {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 26px; border-bottom: 1px solid var(--border); transition: background var(--t);
}
/* display: flex выше перебивает атрибут hidden — возвращаем ему силу,
   иначе отфильтрованные поиском строки остаются на экране. */
.price-list li[hidden], .price-sub[hidden] { display: none; }
.price-list li:last-child { border-bottom: none; }
.price-list li:hover { background: var(--card-soft); }
.price-list li span { font-size: 16px; color: var(--text); }
.price-list strong { font-size: 17px; font-weight: 800; color: var(--text); white-space: nowrap; font-family: var(--font-display); }
.price-list strong.free {
  color: var(--brand-dark);
  background: var(--accent-grad-soft);
  padding: 3px 12px; border-radius: var(--radius-pill);
}

.price-download {
  margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--bg-dark); color: #fff; border-radius: var(--radius-lg); padding: 32px 40px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.price-download::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: var(--accent-grad); opacity: 0.25; border-radius: 50%; filter: blur(50px);
}
.price-download > * { position: relative; z-index: 1; }
.price-download-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.price-download-info p { color: var(--text-on-dark-muted); }

/* ============================================
   ОТЗЫВЫ
   ============================================ */
.reviews { background: var(--bg-sky); position: relative; overflow: hidden; }
.reviews::before, .reviews::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  filter: blur(80px); opacity: 0.5; z-index: 0; pointer-events: none;
}
.reviews::before { background: radial-gradient(circle, #8dd6ff, transparent 70%); top: -140px; left: -120px; }
.reviews::after { background: radial-gradient(circle, #6df0db, transparent 70%); bottom: -160px; right: -120px; }
.reviews .container { position: relative; z-index: 1; }
.reviews-slider { position: relative; overflow: hidden; }
.reviews-track { display: flex; gap: 24px; transition: transform 0.6s var(--ease); }
.review-card {
  flex: 0 0 calc(50% - 12px); background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 32px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; min-height: 280px;
}
.review-stars { color: #fbbf24; font-size: 15px; margin-bottom: 18px; display: inline-flex; gap: 2px; }
.review-card blockquote {
  font-size: 17px; line-height: 1.6; color: var(--text); margin-bottom: 24px;
  flex: 1; position: relative; padding-left: 18px;
}
.review-card blockquote::before {
  content: "\201C"; position: absolute; left: -4px; top: -10px; font-size: 48px;
  color: var(--brand); opacity: 0.35; font-family: Georgia, serif; line-height: 1;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.ra-ava {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent-grad);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.ra-name { display: block; font-weight: 700; font-size: 16px; }
.ra-meta { display: block; color: var(--text-muted); font-size: 14px; }

.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.rv-btn {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  color: var(--text); display: grid; place-items: center; transition: var(--t); box-shadow: var(--shadow-sm);
}
.rv-btn:hover { background: var(--accent-grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.reviews-dots { display: flex; gap: 8px; }
.reviews-dots button {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); transition: var(--t); padding: 0;
}
.reviews-dots button.active { background: var(--accent-grad); width: 28px; border-radius: 5px; }

/* ============================================
   CTA БЛОК «ПОЗВОНИТЕ НАМ»
   ============================================ */
.cta-form-section { position: relative; background: var(--bg-dark); color: var(--text-on-dark); overflow: hidden; padding: 96px 0; }
.cta-bg { position: absolute; inset: 0; background:
  radial-gradient(circle at 15% 20%, rgba(0, 201, 167, 0.45), transparent 45%),
  radial-gradient(circle at 85% 80%, rgba(41, 182, 246, 0.40), transparent 45%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.15; margin: 16px 0 18px; }
.cta-text { color: var(--text-on-dark-muted); font-size: 18px; margin-bottom: 28px; }
.cta-contacts { display: grid; gap: 14px; }
.cta-contacts li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-on-dark); }
.cta-contacts .ic { color: #5eead4; width: 20px; height: 20px; }
.cta-contacts a:hover { color: #5eead4; }

/* Крупная кнопка телефона */
.btn-lg { padding: 20px 36px; font-size: 19px; }
.btn-call {
  display: inline-flex; align-items: center; gap: 12px;
  animation: pulseGlow 3.2s ease-in-out infinite;
}
.btn-call span { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.3px; }

/* Блок контактов справа */
/* Карточка тянется на высоту левой колонки: при центрировании она была
   заметно короче, и справа сверху и снизу оставались пустые поля. */
.cta-call { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.cta-contacts-list {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl); padding: 32px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
}
.cta-contacts-list li { font-size: 17px; margin-bottom: 14px; }
.cta-contacts-list li:last-child { margin-bottom: 0; }
.cta-contacts-list a { font-weight: 600; }

/* ============================================
   ФУТЕР
   ============================================ */
.footer { background: var(--bg-dark); color: var(--text-on-dark-muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding: 72px 24px 48px; }
.footer-brand p { margin: 18px 0 14px; font-size: 15px; line-height: 1.6; max-width: 320px; }
.footer-lic { font-size: 13px; color: var(--text-on-dark-muted); opacity: 0.7; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 15px; transition: color var(--t); }
.footer-col a:hover { color: #5eead4; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; margin-bottom: 12px; color: var(--text-on-dark); }
.footer-contacts .ic { color: #5eead4; margin-top: 4px; width: 18px; height: 18px; }
.footer-map { line-height: 0; }
.footer-map iframe { display: block; filter: grayscale(0.3); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px;
}
.footer-disclaimer { opacity: 0.7; }

/* ============================================
   КНОПКА НАВЕРХ
   ============================================ */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-size: 18px;
  box-shadow: var(--shadow-brand); z-index: 900; opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--t);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }
