/* =========================================================
   АНІКО СТАНДАРТ — основні стилі
   Mobile-first: базові стилі для телефонів, далі @media (min-width)
   ========================================================= */

:root {
  --green: #23cb77;
  --green-dark: #1aa862;
  --green-light: #cbf4e0;
  --red: #e53935;
  --red-light: #fdecea;
  --red-dark: #c62828;
  --grey-bg: #f5f6f8;
  --text: #252525;
  --heading: #1a1a1a;
  --muted: #666;
  --card-title: #4a4a4a;
  --shadow: 8px 8px 20px 0 rgb(143 168 187 / 25%);
  --shadow-strong: 8px 8px 32px 0 rgb(143 168 187 / 29%);
  --radius: 20px;
  --container: 100%;
  --gutter: 16px;
  --section-y: clamp(56px, 7vw, 90px);
  --header-h: 70px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: .3s ease-in-out;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.56;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* Декор (плями, точки) може виходити за край — обрізаємо, щоб не було горизонтальної прокрутки */
main, .bottom { overflow-x: clip; }
a { color: var(--green); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--heading); line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: min(var(--container), 1000px); }

.section { padding-block: var(--section-y); position: relative; }
.section--grey { background: var(--grey-bg); }

.rich ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.rich ol { padding-left: 1.4em; margin-bottom: 1em; }
.rich p:last-child { margin-bottom: 0; }

/* Декоративні елементи */
.glow {
  position: absolute;
  width: clamp(240px, 30vw, 424px);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}
.dots { position: absolute; z-index: -1; pointer-events: none; user-select: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 5px;
  text-align: center;
  transition: transform var(--ease), background-color var(--ease);
}
.btn::first-letter { text-transform: uppercase; }
.btn:hover, .btn:focus-visible { color: #fff; background: var(--green-dark); transform: translateY(-8px); }
.btn--light {
  padding: 8px 14px;
  font-size: 14px;
  color: #252525;
  background: #eff1f4;
  border-radius: 4px;
}
.btn--light:hover, .btn--light:focus-visible { color: #fff; background: var(--green); transform: none; }

/* ---------- Заголовки секцій ---------- */
.heading { position: relative; margin-bottom: 30px; }
.heading .glow { top: -150px; left: -180px; }
.heading__sub {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.heading__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
}

/* Сірі плашки з текстом */
.note {
  margin: 24px 0;
  padding: 28px;
  background: var(--grey-bg);
  border-radius: 15px;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading);
}
.note--center { text-align: center; font-size: 18px; }

/* =========================================================
   Шапка
   ========================================================= */
.topbar { background: var(--grey-bg); color: var(--muted); font-size: 14px; padding: 10px 0; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--green); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 24px; }
.topbar__social, .topbar__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.topbar__contacts i { margin-right: 4px; }
.topbar__social { display: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow var(--ease);
}
.header.is-scrolled, body:not(.page-home) .header { box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo img { width: auto; height: 38px; }

.nav { display: flex; align-items: center; gap: 12px; }
.nav__list { display: none; }
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: block;
  padding: 0 10px;
  line-height: 50px;
  color: var(--text);
  white-space: nowrap;
  text-transform: capitalize;
}
.nav__list > li > a:hover, .nav__list > li.active > a { color: var(--green); }
.nav__list > li.active > a { font-weight: 600; }
.nav__list .has-child > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 5px;
  font-size: 13px;
}
.nav__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 0 3px 5px 0 rgb(0 0 0 / 20%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--ease);
}
.nav__dropdown a { display: block; padding: 10px 0; color: var(--text); }
.nav__dropdown a:hover { color: var(--green); }
.has-child:hover .nav__dropdown, .has-child:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: none; }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
}
.burger span { display: block; height: 2px; background: #000; transition: var(--ease); }
.burger span:nth-child(2) { width: 75%; margin-left: auto; }
.burger:hover span:nth-child(2) { width: 100%; }

/* Бокове меню */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(0 0 0 / 50%);
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;
  width: min(320px, 85vw);
  height: 100%;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--ease);
}
.offcanvas-open { overflow: hidden; }
.offcanvas-open .offcanvas-overlay { opacity: 1; visibility: visible; }
.offcanvas-open .offcanvas { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 20px 16px; }
.offcanvas__close { width: 40px; height: 40px; font-size: 22px; background: none; border: 0; color: #000; }
.offcanvas__menu { padding: 0 20px 30px; }
.offcanvas__menu a { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--text); }
.offcanvas__menu a:hover, .offcanvas__menu .active > a { color: var(--green); }
.offcanvas__menu .nav__dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  padding: 0 0 0 16px;
  min-width: 0;
}
.offcanvas__menu .nav__dropdown a { padding: 12px 10px; border-bottom: 1px solid rgb(197 153 153 / 21%); }

/* =========================================================
   Головна: перший екран
   ========================================================= */
.hero { position: relative; padding: clamp(40px, 8vw, 120px) 0 var(--section-y); }
.hero__grid { display: grid; gap: 48px; align-items: start; }
.hero__text { position: relative; color: var(--heading); }
.hero__text .glow { top: -80px; right: -200px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 16px;
  padding: 4px 18px 4px 4px;
  background: var(--green-light);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
}
.hero__badge span {
  padding: 10px 14px;
  background: var(--green);
  color: #fff;
  border-radius: 40px;
}
.hero__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.25; margin-bottom: 16px; }
.hero__body { font-size: 15px; }
.hero__text .btn { margin-top: 30px; }

.hero__media { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.hero__image { width: 100%; max-width: 455px; margin-inline: auto; border-radius: 0 100px 0 0; object-fit: cover; }
.hero__dots { right: -30px; bottom: 30%; }
.hero__card {
  position: relative;
  width: 100%;
  margin-top: -40px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  transition: transform var(--ease);
}
.hero:hover .hero__card { transform: translateY(-20px); }
.advantage { display: flex; gap: 20px; align-items: flex-start; padding: 12px 0; }
.advantage img { width: 52px; flex-shrink: 0; }
.advantage h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.advantage p { margin: 0; font-size: 15px; }

/* =========================================================
   Запис на прийом
   ========================================================= */
.booking__box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 6vw, 100px);
  background: var(--grey-bg);
  border-radius: 15px;
}
.booking__title { margin: 0; font-size: clamp(28px, 3.4vw, 45px); font-weight: 800; }
.booking__dots { width: 130px; left: 10px; top: -30px; z-index: 0; }
.booking__title, .booking__box .btn { position: relative; z-index: 1; }

/* =========================================================
   Про нас
   ========================================================= */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__image { width: 100%; }
.stat {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 270px;
  max-width: 80%;
  padding: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--ease);
  position: absolute;
}
.stat h3 { margin: 0 0 4px; font-size: 20px; color: var(--green); line-height: 1.1; }
.stat p { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--card-title); }
.stat__icon { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; font-size: 18px; }
.stat--1 { top: 18%; left: -10px; }
.stat--1 .stat__icon { background: var(--green); color: #fff; }
.stat--2 { bottom: -30px; left: 0; right: 0; margin-inline: auto; }
.stat--2 .stat__icon { color: var(--green); font-size: 32px; }
.about__media:hover .stat--1 { transform: translate(-20px, 60px); }
.about__media:hover .stat--2 { transform: translate(40px, -60px); }

.about__text { position: relative; }
.about__dots { width: 130px; top: -50px; left: -60px; }
.about__text .heading { margin-bottom: 20px; }
.about__text .note { margin-inline: 0; }

/* =========================================================
   Послуги
   ========================================================= */
.highlights { display: grid; gap: 40px; margin-bottom: 64px; }
.highlight h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 500; }
.highlight .rich { font-size: 14px; line-height: 1.7; }
.highlight .btn { margin-top: 12px; }

.directions { display: grid; gap: 48px 30px; grid-template-columns: 1fr; }
.direction { position: relative; display: block; padding-bottom: 46px; color: var(--card-title); }
.direction__image { width: 100%; aspect-ratio: 600 / 472; object-fit: cover; border-radius: var(--radius); }
.direction__card {
  position: absolute;
  left: clamp(-40px, -2.6vw, 0px);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(280px, 85%);
  padding: 20px;
  background: #fff;
  border-radius: 0 20px 0 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  transition: opacity var(--ease);
}
.direction__card img { width: 25%; max-width: 56px; flex-shrink: 0; }
.direction:hover .direction__card { opacity: .8; }
.direction:hover { color: var(--card-title); }

/* =========================================================
   Redcord
   ========================================================= */
.feature .container { position: relative; }
.feature__dots { width: 160px; left: 50%; top: -60px; transform: translateX(-50%); }
.feature__media { position: relative; }
.feature__image { width: 100%; }
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 500px;
  padding: 21px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card h3 { margin: 0 0 8px; font-size: clamp(18px, 1.6vw, 22px); color: #000; line-height: 1.2; }
.feature-card p { margin: 0; font-size: 15px; }
.feature-card img { width: 52px; flex-shrink: 0; border-radius: 50%; }
.feature-card i { font-size: 34px; color: var(--green); padding: 4px; }
.feature-card--float, .feature-card--bottom { position: relative; margin-top: 16px; }
.feature__caption {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  color: var(--heading);
}

@keyframes drift {
  0% { transform: translate(20px, 10px); }
  20% { transform: translate(40px, 20px); }
  40% { transform: translate(20px, 20px); }
  60% { transform: translate(10px, 20px); }
  80% { transform: translate(0, 10px); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   Консультація і графік
   ========================================================= */
.work__grid { display: grid; gap: 48px; align-items: start; }
.work__text { position: relative; }
.work__text .glow { top: -150px; right: -100px; }
.work__text > p { font-size: 15px; }
.work__text .btn { margin-top: 8px; }

.schedule {
  position: relative;
  padding: clamp(32px, 4vw, 50px);
  background: var(--grey-bg);
  border-radius: var(--radius);
  text-align: center;
}
.schedule__title { margin-bottom: 30px; font-size: clamp(30px, 3.4vw, 45px); font-weight: 800; color: #000; }
.schedule__list { display: grid; gap: 14px; justify-items: center; font-size: clamp(16px, 1.5vw, 18px); margin-bottom: 30px; }
.schedule__list i { color: var(--green); font-size: 22px; margin-right: 10px; vertical-align: -2px; }
.schedule__call {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  padding: 28px;
  background: var(--green-light);
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}
.schedule__dots { width: 135px; left: -30px; bottom: -60px; }

/* =========================================================
   Лікарі
   ========================================================= */
.team { padding-top: 0; }
.team__grid { display: grid; gap: 40px 30px; grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
.doctor { text-align: center; }
.doctor__photo { position: relative; transition: transform var(--ease); }
.doctor__photo img { width: 100%; aspect-ratio: 370 / 461; object-fit: cover; border-radius: var(--radius); }
.doctor__more {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  padding: 27px;
  background: rgb(255 255 255 / 62%);
  border-radius: var(--radius);
}
.doctor__more .btn { padding: 13px 25px; transition: transform var(--ease); }
.doctor:hover .doctor__photo { transform: scale(.95); }
.doctor:hover .doctor__more .btn { transform: scale(1.15); }
.doctor__name { margin: 60px 0 12px; font-size: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #000; }
.doctor__specialty { margin: 0; }

/* =========================================================
   Блог (картки)
   ========================================================= */
.cards { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: start; }
.card__image { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--grey-bg); }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out, filter .5s ease-in-out; }
.card:hover .card__image img { transform: scale(1.12); filter: grayscale(100%); }
.card__body {
  padding: 20px;
  border: 1px solid #10317821;
  box-shadow: 9.9px 9.9px 30px 0 rgb(0 0 0 / 10%);
  font-size: 15px;
}
.card__title { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.card__title a::first-letter { text-transform: uppercase; }
.card__more { display: inline-block; margin-top: 6px; }

/* =========================================================
   Внутрішні сторінки
   ========================================================= */
.page__title { font-size: clamp(28px, 3vw, 40px); font-weight: 500; margin-bottom: 16px; }
.page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: var(--muted);
}
.page__meta:has(.share:only-child) { justify-content: flex-end; }
.share { display: flex; gap: 8px; }
.share a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text);
  transition: var(--ease);
}
.share a:hover { background: var(--green); color: #fff; }
.article { font-size: 16px; }
.article img { border-radius: 10px; margin-block: 1em; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; }
.pager .btn { padding: 14px 24px; }
.pager .btn:only-child:last-child { margin-left: auto; }

.prices__search {
  width: 100%;
  max-width: 420px;
  margin-bottom: 20px;
  padding: 12px 16px;
  font: inherit;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  outline: none;
}
.prices__search:focus { border-color: var(--green); }
.prices__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prices__table th { padding: 12px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--green-light); }
.prices__table th:last-child, .prices__table td:last-child { text-align: right; white-space: nowrap; width: 1%; }
.prices__table td { padding: 12px; border-bottom: 1px solid #eee; vertical-align: top; }
.prices__table tbody tr:hover { background: var(--grey-bg); }

/* =========================================================
   Футер
   ========================================================= */
.bottom {
  padding: var(--section-y) 0 50px;
  box-shadow: 0 0 4px 0 rgb(0 0 0 / 5%);
  font-size: 14px;
  line-height: 2;
  scroll-margin-top: var(--header-h);
}
.bottom__grid { display: grid; gap: 40px 30px; grid-template-columns: 1fr; }
.bottom__brand { margin-bottom: 18px; color: #000; font-size: clamp(24px, 2.2vw, 33px); font-weight: 600; }
.bottom__title { margin-bottom: 24px; font-size: 18px; font-weight: 600; color: #000; }
.bottom p { line-height: 28px; }
.bottom a { color: var(--text); }
.bottom a:hover { color: var(--green); }
.bottom__links li + li { margin-top: 10px; }
.bottom__contacts li { display: flex; gap: 10px; }
.bottom__contacts li + li { margin-top: 10px; }
.bottom__contacts i { color: var(--green); line-height: 28px; width: 16px; text-align: center; flex-shrink: 0; }
.round-social { display: flex; gap: 10px; padding-top: 10px; }
.round-social a {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 22px;
  transition: .5s;
}
.round-social a:hover { background: var(--green); color: #fff; }

.footer { padding: 0 0 30px; font-size: 14px; text-align: center; }
.footer__inner { padding-top: 30px; border-top: 1px solid rgb(0 0 0 / 10%); }
.footer a { color: var(--text); }
.footer a:hover { color: var(--green); }

.scroll-up {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(0 0 0 / 30%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}
.scroll-up.is-visible { opacity: 1; visibility: visible; }
.scroll-up:hover { background: var(--green); color: #fff; }

/* =========================================================
   Лендинги
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.page-landing { padding-bottom: 76px; } /* місце під кнопку внизу екрана на телефонах */
.page-landing .header { box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%); }
.landing-header__actions { display: flex; align-items: center; gap: 16px; }
.landing-header__phone { display: flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 600; white-space: nowrap; }
.landing-header__phone i { color: var(--green); }
.landing-header__phone span, .landing-header__btn { display: none; }
.landing-header__btn { padding: 12px 20px; }
.landing-header__btn:hover { transform: none; }

.lp-hero { position: relative; padding: clamp(32px, 6vw, 90px) 0 var(--section-y); }
.lp-hero__grid { display: grid; gap: 40px; align-items: center; }
.lp-hero__text { position: relative; color: var(--heading); }
.lp-hero__text .glow { top: -80px; right: -200px; }
.lp-hero__title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.lp-hero__body { font-size: 16px; }
.lp-hero__body ul { list-style: none; padding: 0; }
.lp-hero__body li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.lp-hero__body li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--green);
}
.lp-hero__form { position: relative; }
.lp-hero__dots { width: 130px; right: -30px; top: -40px; }

.lead-form {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.lead-form__title { margin-bottom: 8px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; }
.lead-form__text { color: var(--muted); font-size: 15px; }
.lead-form__field { display: block; margin-bottom: 14px; }
.lead-form__field input {
  width: 100%;
  padding: 16px 18px;
  font: inherit;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  outline: none;
  transition: border-color var(--ease);
}
.lead-form__field input:focus { border-color: var(--green); }
.lead-form__error { display: block; margin-top: 6px; color: #d33; font-size: 14px; }
.lead-form__submit { width: 100%; margin-top: 4px; }
.lead-form__submit:hover { transform: none; }
.lead-form__hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-heading { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: 40px; }
.lp-center { margin: 40px 0 0; text-align: center; }

.lp-pains { display: grid; gap: 16px; }
.lp-pain {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.lp-pain i { margin-top: 3px; font-size: 22px; color: var(--green); }
.lp-pain h3 { margin: 0; font-size: 17px; font-weight: 600; }
.lp-pain p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

.lp-cards { display: grid; gap: 24px; }
.lp-card { padding: 28px; background: var(--grey-bg); border-radius: var(--radius); }
.lp-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
}
.lp-card h3 { font-size: 19px; font-weight: 600; }
.lp-card p { margin: 0; font-size: 15px; }

.lp-steps { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lp-step { position: relative; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.lp-step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
}
.lp-step h3 { font-size: 18px; font-weight: 600; }
.lp-step p { margin: 0; font-size: 15px; }

.team__grid.lp-team { justify-content: center; }
.lp-prices { padding: clamp(16px, 3vw, 32px); background: #fff; border-radius: var(--radius); }
.lp-prices__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

.lp-faq { display: grid; gap: 12px; }
.lp-faq__item { background: var(--grey-bg); border-radius: 12px; }
.lp-faq__item summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: "\2b";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--green);
}
.lp-faq__item[open] summary::after { content: "\f068"; }
.lp-faq__item p { margin: 0; padding: 0 24px 20px; font-size: 15px; }

/* Акція: червоний, щоб кидалась в очі */
.promo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 6px 18px rgb(229 57 53 / 35%);
}
.promo__badge {
  flex-shrink: 0;
  padding: 10px 12px;
  background: #fff;
  color: var(--red);
  border-radius: 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.promo__title { margin: 0; font-weight: 700; line-height: 1.3; }
.promo__text { margin: 2px 0 0; font-size: 14px; opacity: .9; }
.promo .promo-price { margin: 6px 0 0; }
.promo .promo-price__old { color: rgb(255 255 255 / 75%); text-decoration-color: rgb(255 255 255 / 75%); }
.promo .promo-price__new { color: #fff; }
.promo-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.promo-price__old {
  color: var(--muted);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--red);
}
.promo-price__new { font-size: 1.25em; font-weight: 800; color: var(--red); }
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: var(--red-light);
  border: 2px solid var(--red);
  border-radius: 12px;
}
.countdown__label { font-size: 14px; font-weight: 600; color: var(--red); }
.countdown__value { font-size: 26px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: 1px; }

/* Компактна плашка акції біля кнопок */
.promo-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  padding: 6px 12px 6px 6px;
  background: var(--red-light);
  border: 1px solid var(--red);
  border-radius: 40px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.promo-chip__badge { padding: 5px 9px; background: var(--red); color: #fff; border-radius: 40px; font-weight: 800; }
.promo-chip__timer { color: var(--red); font-weight: 800; font-variant-numeric: tabular-nums; }
.promo-chip .promo-price__new { font-size: 1.1em; }
.lp-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.landing-header__promo { display: none; }

/* Усі кнопки запису на лендингах — червоні */
.page-landing .btn { background: var(--red); box-shadow: 0 6px 16px rgb(229 57 53 / 30%); }
.page-landing .btn:hover, .page-landing .btn:focus-visible { background: var(--red-dark); }
/* Крім закріплених кнопок (шапка і низ екрана) — вони зелені */
.page-landing .lp-sticky__btn, .page-landing .landing-header__btn { background: var(--green); box-shadow: none; }
.page-landing .lp-sticky__btn:hover, .page-landing .lp-sticky__btn:focus-visible,
.page-landing .landing-header__btn:hover, .page-landing .landing-header__btn:focus-visible { background: var(--green-dark); }

.lp-reviews { display: grid; gap: 24px; }
.lp-review { margin: 0; padding: 28px; background: var(--grey-bg); border-radius: var(--radius); }
.lp-review__stars { margin-bottom: 12px; color: #f5b301; }
.lp-review blockquote { margin: 0; font-size: 15px; }
.lp-review__author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 600; color: var(--heading); }
.lp-review__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-light);
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
}

.lp-final__box { position: relative; max-width: 640px; }
.lp-final .lead-form { text-align: center; }

.lp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  gap: 8px;
  padding: 8px var(--gutter) 10px;
  background: #fff;
  box-shadow: 0 -2px 10px rgb(0 0 0 / 10%);
}
.lp-sticky__row { display: flex; gap: 10px; }
.lp-sticky__call {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  border-radius: 5px;
  background: var(--green-light);
  color: var(--green);
  font-size: 20px;
}
.lp-sticky__btn { flex: 1; padding: 16px; }
.lp-sticky__btn:hover { transform: none; }
.page-landing .scroll-up { display: none; }

.lp-thanks { text-align: center; }
.lp-thanks__icon {
  display: inline-grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 34px;
}
.lp-thanks .btn { margin-top: 16px; }

.landing-bottom { padding-block: 50px; }
.landing-bottom__contacts { display: grid; gap: 10px; }
.landing-bottom__contacts li + li { margin-top: 0; }

@media (min-width: 576px) {
  .landing-header__btn { display: inline-block; }
  .lp-pains, .lp-cards, .lp-reviews { grid-template-columns: repeat(2, 1fr); }
  /* Лікарів на лендингу 1–3: картки по центру, а не в сітці на 3 колонки */
  .team__grid.lp-team { grid-template-columns: repeat(auto-fit, minmax(0, 340px)); max-width: none; }
}

@media (min-width: 768px) {
  .page-landing { padding-bottom: 0; }
  .lp-sticky { display: none; }
  .page-landing .scroll-up { display: grid; }
  .landing-header__phone span { display: inline; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .lp-hero__grid { grid-template-columns: 1.15fr 1fr; gap: 60px; }
  .lp-cards, .lp-reviews { grid-template-columns: repeat(3, 1fr); }
  .landing-header__promo { display: inline-flex; }
  .lp-steps { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   Адаптив
   ========================================================= */

/* ≥ 576px — великі телефони */
@media (min-width: 576px) {
  :root { --container: 540px; }
  .hero__badge { font-size: clamp(15px, 1.4vw, 18px); gap: 10px 20px; }
  .hero__badge span { padding: 13px 20px; }
  .directions, .cards { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .bottom__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--float, .feature-card--bottom { max-width: 420px; }
}

/* ≥ 768px — планшети */
@media (min-width: 768px) {
  :root { --header-h: 80px; --container: 720px; }
  .logo img { height: 45px; }
  .topbar { font-size: 15px; padding: 12px 0; }
  .topbar__inner { justify-content: space-between; }
  .topbar__social { display: flex; }
  .topbar__social a { font-size: 15px; }

  .highlights { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .highlights .highlight:nth-child(2) { padding-top: 40px; }

  /* Redcord: картки накладаються на фото */
  .feature-card--float {
    position: absolute;
    right: 5%;
    top: 55%;
    margin: 0;
    animation: drift 5s ease-in-out infinite alternate;
  }
  .feature-card--bottom { position: absolute; left: 0; bottom: -60px; margin: 0; max-width: 330px; }
  .feature__caption { margin-top: 100px; }
}

/* ≥ 992px — ноутбуки */
@media (min-width: 992px) {
  :root { --container: 960px; }
  .nav__list { display: flex; align-items: center; }

  .hero__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero__media { padding-top: 30px; }
  .hero__image { margin: 0 30px 0 auto; }
  .hero__card { width: 80%; margin: -120px 0 0; align-self: flex-start; }

  .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .about__text .note { margin-inline: 40px; }

  .directions { grid-template-columns: repeat(3, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }

  .work__grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .bottom__grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; }
}

/* ≥ 1200px — десктопи */
@media (min-width: 1200px) {
  :root { --container: 1140px; }
  .hero__card { width: 70%; }
  .feature-card--bottom { max-width: 500px; }
}

/* ≥ 1400px */
@media (min-width: 1400px) {
  :root { --container: 1320px; }
}

/* Великі монітори: масштабуємо сторінку цілком, зберігаючи пропорції дизайну */
@media (min-width: 1800px) { body { zoom: 1.15; } }
@media (min-width: 2200px) { body { zoom: 1.35; } }
@media (min-width: 2800px) { body { zoom: 1.6; } }
@media (min-width: 3600px) { body { zoom: 2; } }

/* Користувачі, що вимкнули анімацію в системі */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
