/* ==========================================================================
   Babies Alliance – design system 2026
   Автор стилів: редизайн. Один файл, без збірки. Правити напряму.
   ========================================================================== */

/* ---------- 1. Токени ---------- */
:root {
  /* Бренд */
  --teal: #148f9d;
  --teal-600: #0f7683;
  --teal-700: #0b5b66;
  --teal-050: #e8f6f8;

  --lime: #82c31d;
  --lime-600: #6ba517;
  --lime-050: #f1f8e2;

  --coral: #ff6b57;
  --coral-600: #ec5340;
  --coral-050: #fff0ed;

  --sun: #ffc531;
  --sun-050: #fff7e2;

  --violet: #8b6cd9;
  --violet-050: #f2eefc;

  /* Нейтральні */
  --ink: #14343a;
  --ink-70: #47646a;
  --ink-45: #7d9297;
  --line: #e4ecee;
  --cream: #fffaf4;
  --white: #ffffff;

  /* Типографіка */
  --font-head: "Comfortaa", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Ритм */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  /* Форма */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(20, 52, 58, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(20, 52, 58, 0.18);
  --shadow-lg: 0 28px 60px -24px rgba(20, 52, 58, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset / база ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* щоб якорі не ховалися під липкою шапкою */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  /* overflow-x тут НЕ ставимо: разом з таким же на body сторінка отримує
     два скрол-контейнери й ламається position:sticky у шапки.
     Горизонтальний скрол ріжеться на body + шаром .hero__bg. */
  /* кастомний скрол, Firefox */
  scrollbar-color: var(--teal) var(--teal-050);
  scrollbar-width: thin;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

/* Глобальний запобіжник від горизонтального скролу.
   Саме clip, а не hidden: hidden на body передається вьюпорту, при цьому
   сам body перестає обрізати – тому трансформовані елементи все одно
   потрапляли в зону прокрутки. clip обрізає на місці й не створює
   скрол-контейнера, тож sticky (шапка, врізка «А якщо тривога?») цілі. */
main {
  overflow-x: clip;
}

/* кастомний скрол, WebKit / Blink */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--teal-050);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--teal);
  border: 3px solid var(--teal-050);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--teal-600);
}

::selection {
  background: var(--sun);
  color: var(--teal-700);
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Утиліти ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
  /* clip, а не hidden: ріже лише горизонталь і не робить секцію
     скрол-контейнером, тож тіні й звиси по вертикалі лишаються цілими */
  overflow-x: clip;
  overflow-y: visible;
}

.section--tint {
  background: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Іконки зі спрайта */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--solid {
  fill: currentColor;
  stroke: none;
}

/* Заголовок секції */
.section-head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--teal-050);
  color: var(--teal-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow .icon {
  width: 1rem;
  height: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.85rem);
}

.section-title em {
  font-style: normal;
  color: var(--teal);
}

.section-sub {
  margin-top: 0.9rem;
  color: var(--ink-70);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

/* Хвиляста підкреслювальна риска (SVG) */
.squiggle {
  display: block;
  width: min(220px, 45vw);
  height: auto;
  margin: 0.85rem auto 0;
  color: var(--sun);
}

/* ---------- 4. Кнопки ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn--coral {
  --btn-bg: var(--coral);
}

.btn--coral:hover {
  --btn-bg: var(--coral-600);
}

.btn--lime {
  --btn-bg: var(--lime);
}

.btn--lime:hover {
  --btn-bg: var(--lime-600);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--teal-700);
  box-shadow: inset 0 0 0 2px var(--teal);
}

.btn--ghost:hover {
  --btn-bg: var(--teal-050);
  box-shadow: inset 0 0 0 2px var(--teal), var(--shadow-md);
}

.btn--white {
  --btn-bg: var(--white);
  --btn-fg: var(--teal-700);
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1.0625rem;
}

/* ---------- 5. Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 250, 244, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-700);
}

.header__logo img {
  width: 52px;
}

.header__logo span {
  display: none;
  font-size: 1rem;
  line-height: 1.1;
  white-space: nowrap;
}

.nav {
  display: none;
  margin-inline: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 1.4rem);
}

.nav__link {
  position: relative;
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  color: var(--ink-70);
  padding-block: 0.35rem;
  transition: color 0.2s var(--ease);
}

/* «єЯсла» – головний пункт, підсвічуємо */
.nav__link--accent {
  color: var(--teal-700);
  font-weight: 700;
}

.nav__link--accent::before {
  content: "";
  position: absolute;
  inset: -0.35rem -0.6rem;
  z-index: -1;
  border-radius: 999px;
  background: var(--sun-050);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
  transition: right 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--teal-700);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  right: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--teal-700);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn:hover {
  transform: translateY(-2px) scale(1.04);
  color: var(--coral);
}

.header__phone {
  display: none;
}

/* Бургер */
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.burger__box {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}

.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger__box span:nth-child(1) {
  top: 0;
}
.burger__box span:nth-child(2) {
  top: 6px;
}
.burger__box span:nth-child(3) {
  top: 12px;
}

.burger[aria-expanded="true"] .burger__box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Мобільне меню */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 6rem var(--gutter) 3rem;
  background: var(--cream);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
}

.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-700);
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  justify-self: start;
  border-bottom: 0;
  color: var(--white);
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  /* Без overflow:hidden. Він обрізав тіні фото та плашки «5,0 на Google»
     рівно по нижній межі секції – над ілюстрацією з'являлась сіра смуга.
     Плями за горизонталь ріже body { overflow-x: hidden }. */
}

/* шар-обрізач для декоративних плям */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  animation: blob-float 18s ease-in-out infinite;
}

.hero__blob--2 {
  animation-duration: 24s;
  animation-direction: reverse;
}

@keyframes blob-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

/* Плями тримаємо в межах героя по вертикалі: якщо їх ріже нижній край
   секції, на стику з ілюстрацією видно пряму лінію. */
.hero__blob--1 {
  top: 2%;
  right: -14%;
  width: min(620px, 80vw);
  color: var(--teal-050);
}

.hero__blob--2 {
  bottom: 8%;
  left: -16%;
  width: min(520px, 70vw);
  color: var(--sun-050);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem);
  letter-spacing: -0.02em;
}

.hero__title .accent {
  position: relative;
  color: var(--teal);
  white-space: nowrap;
}

.hero__title .accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.3em;
  z-index: -1;
  border-radius: 999px;
  background: var(--sun);
  opacity: 0.45;
}

.hero__text {
  margin-top: 1.15rem;
  max-width: 34rem;
  color: var(--ink-70);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Плашки довіри */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-70);
}

.trust__item .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--lime-600);
}

/* Медіа героя */
.hero__media {
  position: relative;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  position: absolute;
  right: clamp(-0.5rem, -1vw, 0rem);
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.hero__badge .stars {
  display: flex;
  gap: 2px;
  color: var(--sun);
}

.hero__badge .stars .icon {
  width: 1rem;
  height: 1rem;
}

.hero__badge b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--teal-700);
}

.hero__badge small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-45);
}

/* ---------- 6b. Ілюстрація «сонце / пагорб» ---------- */
.scene {
  position: relative;
  /* підтягуємо під перший екран, щоб читалось як одне полотно */
  margin-top: clamp(-2.5rem, -3vw, -1rem);
  line-height: 0;
  pointer-events: none;
}

.scene__svg {
  display: block;
  width: 100%;
  height: auto; /* при auto нічого не обрізається */
}

/* На вузьких екранах пропорція 1440:460 дала б смужку 100px заввишки,
   тому фіксуємо висоту й обрізаємо ліворуч (slice), лишаючи сонце й будинок. */
@media (max-width: 700px) {
  .scene__svg {
    height: clamp(165px, 44vw, 240px);
  }
}

.scene__sun-disc {
  fill: #ffc61e;
}

.scene__rays path {
  fill: #f5c11a;
}

.scene__cloud rect,
.scene__cloud circle {
  fill: #29b6e8;
}

.scene__hill {
  fill: #72bf20;
}

.scene__roof,
.scene__walls {
  fill: #5b4bc4;
}

.scene__window {
  fill: #29b6e8;
}

.scene__stem {
  fill: none;
  stroke: #6ba517;
  stroke-width: 5;
  stroke-linecap: round;
}

.scene__stamens path {
  fill: none;
  stroke: #29b6e8;
  stroke-width: 5;
  stroke-linecap: round;
}

.scene__leaf {
  fill: #6ba517;
}

.scene__petal {
  fill: #f79ac8;
}

.scene__daisy-petals ellipse {
  fill: #ffc61e;
}

.scene__daisy-core {
  fill: #f5a623;
}

/* легке «дихання» сцени */
.scene__rays {
  transform-origin: 980px 168px;
  transform-box: view-box;
  animation: sun-spin 90s linear infinite;
}

.scene__cloud--1 {
  animation: drift 26s ease-in-out infinite;
}

.scene__cloud--2 {
  animation: drift 34s ease-in-out infinite reverse;
}

@keyframes sun-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(28px);
  }
}

/* ---------- 7. Стрічка-бігунок ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: var(--white);
  padding-block: 0.9rem;
}

/* Раніше тут була mask-image – вона робила прозорим саму плашку, тож по
   краях світився фон сторінки. Тепер плашка суцільна, а текст розчиняється
   в її ж колір. */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(28px, 7vw, 90px);
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--teal), rgba(20, 143, 157, 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--teal), rgba(20, 143, 157, 0));
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.marquee__item .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--sun);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ---------- 8. Блок «єЯсла» ---------- */
.yasla {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--teal-700), var(--teal) 55%, #17a6b4);
  color: var(--white);
}

/* Крапки малюємо через CSS, а не SVG-патерном. SVG розтягувався
   (preserveAspectRatio="none"), і на вузьких екранах кружечки
   перетворювались на вертикальні смуги. */
.yasla__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.18) 2.5px,
    transparent 2.6px
  );
  background-size: 34px 34px;
  background-position: 0 0;
  pointer-events: none;
}

.yasla .container {
  position: relative;
  z-index: 1;
}

.yasla__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.yasla .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.yasla__title {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.85rem);
}

.yasla__title .amount {
  color: var(--sun);
}

.yasla__lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
}

.yasla__note {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.yasla__note .icon {
  color: var(--sun);
}

/* Картки сум */
.yasla__amounts {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.amount-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.amount-card b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  color: var(--sun);
  line-height: 1.1;
}

.amount-card span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Кроки оформлення */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.steps h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.35rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sun);
  color: var(--teal-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
}

.steps .btn {
  margin-top: 0.75rem;
  justify-self: start;
}

/* ---------- 9. Переваги ---------- */
.features {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.feature {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.1rem;
  border-radius: 20px;
  background: var(--teal-050);
  color: var(--teal);
}

.feature__icon .icon {
  width: 30px;
  height: 30px;
}

.feature:nth-child(2n) .feature__icon {
  background: var(--lime-050);
  color: var(--lime-600);
}
.feature:nth-child(3n) .feature__icon {
  background: var(--coral-050);
  color: var(--coral-600);
}
.feature:nth-child(4n) .feature__icon {
  background: var(--violet-050);
  color: var(--violet);
}

.feature h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--ink-70);
  font-size: 0.9375rem;
}

/* ---------- 10. Розпорядок дня ---------- */
.day {
  position: relative;
}

.day__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.35rem;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: var(--r-md);
  transition: background-color 0.3s var(--ease);
}

/* Пунктир малюємо для КОЖНОГО пункту окремо – від його кружечка до
   наступного. Раніше це була одна лінія на весь список, тому вона
   тягнулась нижче останнього кружечка до кінця блока. */
.timeline__item::after {
  content: "";
  position: absolute;
  left: calc(0.85rem + 27px);
  top: calc(0.85rem + 64px);
  bottom: -0.35rem; /* перекриваємо gap між пунктами */
  width: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--teal-050) 0 8px,
    transparent 8px 16px
  );
}

.timeline__item:last-child::after {
  content: none;
}

.timeline__item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline__dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* сам кружечок – світлий відтінок кольору іконки, щоб його було видно
     на білому фоні секції; біле кільце навколо відрізає пунктир */
  background: color-mix(in srgb, currentColor 12%, white);
  box-shadow: 0 0 0 5px var(--white);
  color: var(--teal);
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .timeline__dot {
    background: var(--teal-050);
  }
}

.timeline__item:nth-child(3n + 2) .timeline__dot {
  color: var(--coral);
}
.timeline__item:nth-child(3n + 3) .timeline__dot {
  color: var(--lime-600);
}

.timeline__time {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--teal-700);
  background: var(--teal-050);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.timeline__body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.2rem;
}

.timeline__body p {
  color: var(--ink-70);
  font-size: 0.9125rem;
}

.day__aside {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--lime-050);
  overflow: hidden;
}

.day__aside h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.day__aside p {
  color: var(--ink-70);
  font-size: 0.9375rem;
}

.day__aside .hand {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--lime-600);
  display: block;
  margin-top: 1rem;
}

/* ---------- 10b. Розклад занять ---------- */
.schedule {
  background: var(--teal-050);
}

.schedule__tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  /* proximity, а не mandatory: магніт не бореться з програмним
     доведенням вкладки в центр при кліку */
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scroll-behavior: smooth;
  padding-block: 0.35rem 1.5rem;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}

.schedule__tabs::-webkit-scrollbar {
  display: none;
}

/* Центрування, яке не ламає прокрутку.
   justify-content: center у скрол-контейнері обрізає перший елемент,
   коли вміст ширший за екран. Порожні псевдоелементи з margin:auto
   з'їдають вільний простір лише тоді, коли він є: на десктопі вкладки
   стають по центру, на мобільному відступи зникають і смуга гортається
   з початку. */
.schedule__tabs::before,
.schedule__tabs::after {
  content: "";
  flex: none;
  margin: auto;
}

.schedule__tab {
  flex: none;
  scroll-snap-align: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink-70);
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.schedule__tab:hover {
  transform: translateY(-2px);
  color: var(--teal-700);
}

.schedule__tab.is-active {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.schedule__panel[hidden] {
  display: none;
}

.schedule__week {
  display: grid;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.sday {
  --day-color: var(--teal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sday:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sday:nth-child(2) {
  --day-color: var(--lime-600);
}
.sday:nth-child(3) {
  --day-color: #e0a300;
}
.sday:nth-child(4) {
  --day-color: var(--violet);
}
.sday:nth-child(5) {
  --day-color: var(--coral-600);
}

/* кольорова шапка дня */
.sday__name {
  position: relative;
  padding: 0.85rem 1.15rem;
  background: var(--day-color);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.sday__name::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.sday__list {
  display: grid;
  gap: 0;
  padding: 0.35rem 1.15rem 1.15rem;
  font-size: 0.9125rem;
  color: var(--ink-70);
}

.sday__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  line-height: 1.45;
  padding-block: 0.8rem;
  border-bottom: 1px dashed var(--line);
}

.sday__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sday__time {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--day-color);
  background: color-mix(in srgb, var(--day-color) 12%, white);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}

/* запасний варіант для браузерів без color-mix */
@supports not (background: color-mix(in srgb, red 10%, white)) {
  .sday__time {
    background: var(--teal-050);
  }
}

.schedule__note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: 1rem 1.35rem;
  border-radius: var(--r-md);
  background: var(--sun-050);
  color: var(--ink-70);
  font-size: 0.9125rem;
  text-align: left;
}

.schedule__note .icon {
  color: var(--lime-600);
}

/* ---------- 11. Активності ---------- */
.activities {
  display: grid;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.activity-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.activity-card:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.activity-card .icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--teal);
}

.activity-card:nth-child(4n + 2) .icon {
  color: var(--coral);
}
.activity-card:nth-child(4n + 3) .icon {
  color: var(--lime-600);
}
.activity-card:nth-child(4n + 4) .icon {
  color: var(--violet);
}

/* ---------- 12. Відео-банер ---------- */
.video-band {
  position: relative;
  min-height: clamp(340px, 55vh, 520px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.video-band__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 91, 102, 0.55),
    rgba(11, 91, 102, 0.75)
  );
}

.video-band__content {
  position: relative;
  z-index: 2;
  padding: var(--gutter);
  max-width: 44rem;
}

.video-band__title {
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.75rem);
}

.video-band__text {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.video-band .btn {
  margin-top: 1.75rem;
}

/* ---------- 13. Відгуки ---------- */
.reviews__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(85vw, 340px), 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Без scroll-padding перша картка «примагнічується» впритул до краю
     екрана й з'їдає лівий відступ. */
  scroll-padding-inline: var(--gutter);
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-block: 0.5rem 1.5rem;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}

.reviews__rail::-webkit-scrollbar {
  display: none;
}

.review {
  scroll-snap-align: start;
  /* магніт спрацьовує на кожній картці, а не «пролітає» кілька */
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.review__quote {
  color: var(--sun);
  width: 2rem;
  height: 2rem;
}

.review__stars {
  display: flex;
  gap: 2px;
  color: var(--sun);
  margin-top: -0.35rem;
}

.review__stars .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.reviews__rail[hidden] {
  display: none;
}

.review__text {
  color: var(--ink-70);
  font-size: 0.9375rem;
  flex: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.review__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-050);
  color: var(--teal-700);
  font-family: var(--font-head);
  font-weight: 700;
}

.review__author b {
  display: block;
  font-size: 0.9375rem;
}

.review__author small {
  color: var(--ink-45);
  font-size: 0.8125rem;
}

.reviews__cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ---------- 14. Ціни ---------- */
.prices {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.price-card {
  --card-color: var(--teal);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* м'який кольоровий відсвіт у кутку замість смужки зверху */
.price-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--card-color);
  opacity: 0.09;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.price-card--lime {
  --card-color: var(--lime-600);
}
.price-card--violet {
  --card-color: var(--violet);
}
.price-card--coral {
  --card-color: var(--coral);
}

.price-card__tag {
  position: relative;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--sun-050);
  color: #9a6a00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.price-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-color) 14%, white);
  color: var(--card-color);
}

.price-card__icon .icon {
  width: 28px;
  height: 28px;
}

.price-card h3 {
  position: relative;
  font-size: 1.1875rem;
  margin-bottom: 0.4rem;
}

.price-card__hours {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-45);
  font-size: 0.875rem;
  margin-bottom: 1.2rem;
}

.price-card__hours .icon {
  width: 1rem;
  height: 1rem;
}

.price-card__sum {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: var(--teal-700);
  line-height: 1.1;
}

.price-card__sum span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-45);
}

.price-card__meal {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-70);
}

.price-card__btn {
  position: relative;
  margin-top: auto;
  padding-top: 1.35rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--card-color);
  transition: gap 0.25s var(--ease);
}

.price-card__btn::after {
  content: "→";
}

.price-card__btn:hover {
  gap: 0.75rem;
}

/* виділений тариф */
.price-card--featured {
  background: linear-gradient(160deg, var(--teal-700), var(--teal) 70%, #17a6b4);
  color: var(--white);
}

.price-card--featured::before {
  background: var(--white);
  opacity: 0.12;
}

.price-card--featured h3,
.price-card--featured .price-card__sum {
  color: var(--white);
}

.price-card--featured .price-card__hours,
.price-card--featured .price-card__meal,
.price-card--featured .price-card__sum span {
  color: rgba(255, 255, 255, 0.78);
}

.price-card--featured .price-card__tag {
  background: var(--sun);
  color: var(--teal-700);
}

.price-card--featured .price-card__icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--sun);
}

.price-card--featured .price-card__btn {
  color: var(--sun);
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .price-card__icon {
    background: var(--teal-050);
  }
}

.price-includes {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--teal-050);
}

.price-includes h3 {
  font-size: 1.1875rem;
  margin-bottom: 1rem;
}

.price-includes ul {
  display: grid;
  gap: 0.6rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.price-includes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--ink-70);
}

/* Блок-заклик «Безкоштовний пробний день» – усе по центру */
.price-includes--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.price-includes--cta h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem);
}

.price-includes--cta p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--ink-70);
}

.price-includes__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--coral-050);
  color: var(--coral-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-includes__badge .icon {
  width: 1rem;
  height: 1rem;
  color: var(--coral);
}

.price-includes--cta .btn {
  margin-top: 0.35rem;
}

/* На мобільних кнопку «Записатись…» розтягуємо на всю ширину */
@media (max-width: 600px) {
  .price-includes--cta .btn {
    display: flex;
    width: 100%;
    text-align: center;
  }
}

/* тільки галочки у списку – інакше правило фарбувало й іконку в кнопці */
.price-includes li .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--lime-600);
}

/* ---------- 15. Контакти / мапа ---------- */
.contacts__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.contacts__card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.contact-row__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--teal-050);
  color: var(--teal);
}

.contact-row small {
  display: block;
  color: var(--ink-45);
  font-size: 0.8125rem;
}

.contact-row b {
  font-size: 1.0625rem;
  font-family: var(--font-head);
}

.contacts__map {
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- 16. Instagram ---------- */
.insta__feed {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.insta-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.insta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Єдиний формат для всіх карток: 4:5 (вертикальний формат Instagram).
   Медіа позиціонуємо абсолютно – так власні пропорції фото чи відео
   вже не впливають на висоту картки. */
.insta-media-container {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--teal-050);
}

.video-wrapper,
.image-wrapper {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}

.insta-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-700);
  box-shadow: var(--shadow-md);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.custom-play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.custom-play-btn:hover {
  transform: scale(1.08);
}

.insta-caption {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem 1.35rem;
  flex: 1;
}

/* підпис завжди у два рядки – інакше картки різної висоти */
.insta-caption p {
  font-size: 0.9125rem;
  color: var(--ink-70);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

/* ---------- Модалка поста ---------- */
.insta-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.insta-modal.is-open {
  opacity: 1;
}

.insta-modal[hidden] {
  display: none;
}

.insta-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 91, 102, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.insta-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  max-height: 92vh;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.insta-modal.is-open .insta-modal__dialog {
  transform: none;
}

.insta-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-700);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.insta-modal__close:hover {
  transform: scale(1.06);
  background: var(--white);
}

.insta-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.insta-modal__media {
  flex: none;
  background: var(--ink);
}

/* ---- програвач у модалці ---- */
.insta-player {
  position: relative;
  line-height: 0;
}

.insta-player__video {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none; /* кліки ловить кнопка-накладка */
}

.insta-player__toggle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  background: none;
}

/* Велика кнопка «Play» видима лише на паузі */
.insta-player__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-700);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.insta-player.is-paused .insta-player__icon {
  opacity: 1;
  transform: none;
}

.insta-player__icon svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: currentColor;
  stroke: none;
}

.insta-player__sound {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 52, 58, 0.55);
  color: var(--white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.insta-player__sound:hover {
  background: rgba(20, 52, 58, 0.75);
  transform: scale(1.06);
}

.insta-player__sound svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.insta-player__sound svg path:first-child {
  stroke: none;
}

.insta-player__sound svg path:not(:first-child) {
  fill: none;
}

/* 48vh медіа + 22vh опис + кнопка й відступи вкладаються у 92vh діалогу */
.insta-modal__media img,
.insta-modal__media video {
  display: block;
  width: 100%;
  max-height: 48vh;
  object-fit: contain;
  background: var(--ink);
}

.insta-modal__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

/* Гортається лише опис, кнопка завжди лишається на видноті */
.insta-modal__scrollwrap {
  position: relative;
}

/* Межа задана в vh, а не у відсотках: відсоток рахувався б від батька
   без визначеної висоти, перетворювався на none – і текст вилазив
   під кнопку, а сама модалка виходила за екран. */
.insta-modal__scroll {
  max-height: 22vh;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--teal-050);
  overscroll-behavior: contain;
}

.insta-modal__scroll::-webkit-scrollbar {
  width: 6px;
}

.insta-modal__scroll::-webkit-scrollbar-track {
  background: var(--teal-050);
  border-radius: 999px;
}

.insta-modal__scroll::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 999px;
}

.insta-modal__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
  white-space: pre-line;
}

/* Розчинення + стрілка: сигнал, що текст продовжується нижче.
   З'являється лише коли опис реально не влазить, і зникає в кінці. */
.insta-modal__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  display: grid;
  align-items: end;
  justify-items: center;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--white) 78%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.insta-modal__scrollwrap.can-scroll .insta-modal__fade {
  opacity: 1;
}

.insta-modal__scrollwrap.at-end .insta-modal__fade {
  opacity: 0;
}

.insta-modal__fade svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: hint-bob 1.6s ease-in-out infinite;
}

@keyframes hint-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

.insta-modal__body .btn {
  align-self: center;
}

@media (max-width: 400px) {
  .insta-modal__body {
    padding: 1rem;
  }

  .insta-modal__media img,
  .insta-modal__media video {
    max-height: 44vh;
  }

  .insta-modal__scroll {
    max-height: 20vh;
  }
}

.insta-link {
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--coral);
}

.insta-link:hover {
  text-decoration: underline;
}

/* ---------- 17. Фінальний CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--sun-050);
}

.cta-band__deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

/* Бульбашки на фоні. Живуть у власному шарі з overflow:hidden,
   щоб не створювати горизонтальний скрол. */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles i {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.1;
  animation: bubble-rise linear infinite;
}

.bubbles i:nth-child(1) {
  left: 6%;
  width: 46px;
  height: 46px;
  animation-duration: 19s;
}
.bubbles i:nth-child(2) {
  left: 22%;
  width: 26px;
  height: 26px;
  background: var(--coral);
  animation-duration: 15s;
  animation-delay: -4s;
}
.bubbles i:nth-child(3) {
  left: 41%;
  width: 62px;
  height: 62px;
  background: var(--lime);
  animation-duration: 24s;
  animation-delay: -9s;
}
.bubbles i:nth-child(4) {
  left: 63%;
  width: 32px;
  height: 32px;
  animation-duration: 17s;
  animation-delay: -2s;
}
.bubbles i:nth-child(5) {
  left: 79%;
  width: 52px;
  height: 52px;
  background: var(--violet);
  animation-duration: 21s;
  animation-delay: -12s;
}
.bubbles i:nth-child(6) {
  left: 92%;
  width: 22px;
  height: 22px;
  background: var(--coral);
  animation-duration: 14s;
  animation-delay: -6s;
}

@keyframes bubble-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 0.12;
  }
  88% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-125%) translateX(18px);
    opacity: 0;
  }
}

.cta-band__title {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  max-width: 24ch;
  margin-inline: auto;
}

.cta-band__text {
  margin-top: 1rem;
  color: var(--ink-70);
  max-width: 40rem;
  margin-inline: auto;
}

.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* ---------- 18. Підвал ---------- */
/* Фон РІВНО такий самий, як заливка хвилі (--teal-700), і обов'язково
   плаский. Був градієнт під кутом 160deg – праворуч він устигав
   посвітлішати, і на стику з плоскою хвилею з'являлась горизонтальна
   лінія. Об'єм тепер дають світло (::after) і кола, а не градієнт. */
.footer {
  position: relative;
  background: var(--teal-700);
  color: rgba(255, 255, 255, 0.82);
  padding-block: 0 1.5rem;
  overflow: hidden;
}

/* Хвиля переходу. Живе ПОЗА <footer> і від'ємним margin-top
   витягується вгору, накладаючись на секцію над підвалом. */
.footer-wave {
  --wave-h: clamp(44px, 5.5vw, 92px);
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: var(--wave-h);
  margin-top: calc(-1 * var(--wave-h));
  margin-bottom: -1px; /* прибирає волосяну щілину при дробовому масштабі */
  color: var(--teal-700); /* збігається з верхом градієнта підвалу */
  pointer-events: none;
}

/* щоб хвиля не наїжджала на текст останньої секції */
.cta-band {
  padding-bottom: calc(var(--section-y) + clamp(44px, 5.5vw, 92px));
}

/* М'яке світло. Центр свідомо тримаємо ВСЕРЕДИНІ підвала: коли він був
   вище верхнього краю (top: -30%), overflow:hidden різав найяскравішу
   частину і згори з'являлась пряма світла смуга. */
.footer::after {
  content: "";
  position: absolute;
  top: 12%;
  right: -14%;
  width: min(700px, 76vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0) 62%
  );
  pointer-events: none;
}

/* Кола-декор. Тримаємо їх ледь помітними й зміщеними праворуч, щоб
   читались як текстура, а не як лінії, що перекреслюють картки. */
.footer__rings {
  position: absolute;
  top: 50%;
  right: -18%;
  width: min(680px, 72vw);
  height: auto;
  transform: translateY(-50%);
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1.5;
  stroke-dasharray: 10 14;
  pointer-events: none;
  animation: rings-spin 120s linear infinite;
}

.footer__rings circle:nth-child(even) {
  stroke-dasharray: 6 18;
}

@keyframes rings-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Кнопки соцмереж у підвалі */
.footer__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.footer__socials a:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--teal-700);
  transform: translateY(-3px);
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

/* На мобільних підвал не ділимо на дві колонки: контакти надто широкі,
   номер і адреса починають переноситись посеред рядка.
   Замість цього компактнішим робимо саме список розділів – він з коротких
   пунктів і спокійно стає у два стовпці. Контакти лишаються на всю
   ширину, тож кожен рядок вміщується цілком. */
@media (max-width: 859px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.85rem;
  }

  .footer h4 {
    margin-bottom: 0.75rem;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
  }

  /* стрілочний зсув на ховері тут ні до чого – це тач */
  .footer__links a:hover {
    transform: none;
  }

  .footer__contacts {
    gap: 0.85rem;
  }

  /* номер і графік не розриваємо ніколи */
  .footer__contacts li:first-child a,
  .footer__contacts li:nth-child(3) span {
    white-space: nowrap;
  }
}

/* найвужчі екрани – розділи назад в один стовпець */
@media (max-width: 359px) {
  .footer__links {
    grid-template-columns: 1fr;
  }
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--white);
}

.footer__logo img {
  width: 72px;
}

.footer__brand p {
  font-size: 0.9125rem;
  max-width: 32rem;
}

/* плашка «єЯсла» */
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.footer__badge .icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--sun);
}

/* Caveat – рукописний шрифт з низькою висотою рядкових літер,
   тому в тому ж кеглі виглядає помітно дрібнішим за основний. */
/* Окремий центрований рядок між сіткою підвала й нижньою смугою.
   Раніше стояв усередині колонки бренду: щільний рядок притискав
   високі виносні елементи Caveat до блоку над ним. */
.footer__hand {
  font-family: var(--font-hand);
  /* Caveat має дуже низькі рядкові літери: у тому ж кеглі виглядає
     приблизно в півтора раза дрібнішим за Montserrat, тому й розмір
     свідомо завищений відносно сусіднього тексту. */
  font-size: clamp(1.95rem, 1.6rem + 1.5vw, 2.5rem);
  font-weight: 700;
  /* просторий інтерліньяж – саме він дає місце верхівкам літер */
  line-height: 1.5;
  text-align: center;
  color: var(--sun);
  margin: 0;
  padding-block: 1.35rem 0.35rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 1.1rem;
}

.footer__links {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9125rem;
  justify-items: start;
}

.footer__links a {
  position: relative;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__links a::before {
  content: "";
  position: absolute;
  left: -0.9rem;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(0.9rem);
}

.footer__links a:hover::before {
  opacity: 1;
}

.footer__contacts {
  display: grid;
  gap: 0.9rem;
  font-size: 0.9125rem;
}

.footer__contacts li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.footer__contacts .icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--sun);
  margin-top: 1px;
}

.footer__contacts a {
  transition: color 0.25s var(--ease);
}

.footer__contacts a:hover {
  color: var(--sun);
  text-decoration: underline;
}

/* картка-заклик */
.footer__cta {
  display: grid;
  gap: 0.75rem;
  /* без цього картку розтягує на висоту найвищої колонки сітки,
     і під кнопками лишається велика порожнеча */
  align-self: start;
  align-content: start;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer__cta h4 {
  margin-bottom: 0;
}

.footer__cta p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.35rem;
}

.footer__cta .btn {
  width: 100%;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* На мобільних складаємо в стовпчик і центруємо плашку автора */
@media (max-width: 700px) {
  .footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }

  .footer__bottom > .footer__author {
    align-self: center;
  }
}

.footer__author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer__author:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.footer__author img {
  width: 82px;
  /* логотип кольоровий – перефарбовуємо в білий */
  filter: brightness(0) invert(1);
}

/* ---------- 19. Плаваюча кнопка дзвінка (моб.) ---------- */
.fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(255, 107, 87, 0.5);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 0 14px rgba(255, 107, 87, 0);
  }
}

/* ---------- 20. Поява при скролі ----------
   Прихований стан ЗАВЖДИ зміщений вниз, показ піднімає елемент угору.
   Дзеркальний варіант (.from-above) прибрано свідомо: біля нижньої межі
   він штовхав елемент угору, той перетинав межу назад, клас знімався –
   і секція блимала без зупину.
   Варіанти задаються значенням атрибута: data-reveal="left" тощо.
------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

/* Горизонтальні варіанти за замовчуванням поводяться як вертикальні:
   зсув убік виштовхує елемент за контейнер і дає горизонтальний скрол.
   Вмикаємо їх нижче – лише коли по боках гарантовано є запас. */
[data-reveal="left"],
[data-reveal="right"] {
  transform: translateY(28px);
}

[data-reveal="zoom"] {
  transform: scale(0.92);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="tilt"] {
  transform: translateY(30px) rotate(-2.5deg);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Контейнер – 1180px. Зсув на 36px убік влазить лише коли з боків
   лишається щонайменше стільки ж, тобто від ~1280px ширини екрана. */
@media (min-width: 1280px) {
  [data-reveal="left"] {
    transform: translateX(-36px);
  }

  [data-reveal="right"] {
    transform: translateX(36px);
  }
}

/* ---------- 21. Брейкпойнти ---------- */
/* ---- Малі телефони (iPhone SE, Galaxy A0x тощо) ---- */
@media (max-width: 400px) {
  :root {
    --gutter: 0.875rem;
    --section-y: 2.75rem;
    --r-lg: 22px;
    --r-xl: 28px;
  }

  body {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  /* Шапка: лишаємо лого й дві дії, нічого не тиснеться */
  .header__inner {
    min-height: 64px;
    gap: 0.5rem;
  }

  .header__logo img {
    width: 42px;
  }

  .icon-btn,
  .burger {
    width: 40px;
    height: 40px;
  }

  /* Кнопки на всю ширину – пальцем зручніше */
  .hero__cta,
  .cta-band__buttons {
    display: grid;
    gap: 0.6rem;
  }

  .hero__cta .btn,
  .cta-band__buttons .btn {
    width: 100%;
  }

  .btn {
    padding: 0.85rem 1.1rem;
    font-size: 0.9375rem;
  }

  .btn--lg {
    padding: 0.95rem 1.15rem;
    font-size: 0.9375rem;
  }

  /* Довгий номер не влазив у вузьку кнопку */
  .btn,
  .nav__link {
    white-space: normal;
  }

  .hero {
    padding-block: 1.5rem 2rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__title .accent {
    white-space: normal;
  }

  .trust__item {
    font-size: 0.8125rem;
    padding: 0.4rem 0.7rem;
  }

  .hero__badge {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1rem;
    padding: 0.6rem 0.9rem;
  }

  .eyebrow {
    font-size: 0.6875rem;
    padding: 0.35rem 0.7rem;
    letter-spacing: 0.04em;
  }

  .section-title {
    font-size: 1.55rem;
  }

  /* єЯсла */
  .amount-card {
    padding: 1rem 1.1rem;
  }

  .steps {
    padding: 1.15rem;
  }

  .steps li {
    grid-template-columns: 1.6rem 1fr;
    gap: 0.6rem;
    font-size: 0.875rem;
  }

  .steps li::before {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.8125rem;
  }

  /* Переваги / картки */
  .feature,
  .price-card,
  .review,
  .contacts__card,
  .day__aside {
    padding: 1.15rem;
  }

  .feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .feature__icon .icon {
    width: 24px;
    height: 24px;
  }

  /* Таймлайн груп: вужчий кружечок, щоб текст не тиснувся */
  .timeline__item {
    grid-template-columns: 44px 1fr;
    gap: 0.7rem;
    padding: 0.6rem;
  }

  .timeline__dot {
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 4px var(--white);
  }

  .timeline__dot .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .timeline__item::after {
    left: calc(0.6rem + 21px);
    top: calc(0.6rem + 50px);
  }

  /* Розклад */
  .schedule__tab {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
  }

  .sday__name {
    padding: 0.7rem 0.9rem;
    font-size: 0.9375rem;
  }

  .sday__list {
    padding: 0.25rem 0.9rem 0.9rem;
    font-size: 0.875rem;
  }

  .sday__list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding-block: 0.65rem;
  }

  .sday__time {
    justify-self: start;
  }

  /* Ціни */
  .price-card__sum {
    font-size: 1.5rem;
  }

  .price-includes {
    padding: 1.15rem;
  }

  .price-includes li {
    font-size: 0.875rem;
  }

  /* Відгуки */
  .reviews__rail {
    grid-auto-columns: minmax(82vw, 1fr);
    gap: 0.85rem;
  }

  /* Контакти */
  .contact-row {
    grid-template-columns: 40px 1fr;
    gap: 0.7rem;
  }

  .contact-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .contact-row b {
    font-size: 0.9375rem;
  }

  .contacts__map,
  .contacts__map iframe {
    min-height: 240px;
  }

  /* Ілюстрація й стрічка */
  .scene__svg {
    height: 150px;
  }

  .marquee__item {
    font-size: 0.8125rem;
  }

  /* Підвал */
  .footer__cta,
  .price-includes {
    padding: 1.15rem;
  }

  .footer__logo img {
    width: 56px;
  }

  .footer__socials a {
    width: 42px;
    height: 42px;
  }

  .footer__author img {
    width: 68px;
  }

  .footer__hand {
    font-size: 1.95rem;
  }

  /* Мобільне меню */
  .mobile-nav a {
    font-size: 1.25rem;
    padding-block: 0.5rem;
  }
}

@media (min-width: 600px) {
  /* auto-fit: якщо картка сум одна, вона займає всю ширину,
     якщо колись додасться друга – стануть у два стовпці */
  .yasla__amounts {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .reviews__rail {
    grid-auto-columns: minmax(320px, 1fr);
  }
}

@media (min-width: 860px) {
  /* на десктопі ілюстрація сидить вище й глибше заходить під перший екран */
  .scene {
    margin-top: clamp(-7rem, -6vw, -3rem);
  }

  .header__logo span {
    display: block;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .yasla__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .day__grid {
    grid-template-columns: 1.35fr 0.65fr;
    /* без start елемент розтягується на всю висоту рядка,
       і sticky не має куди «їхати» */
    align-items: start;
  }

  .day__aside {
    position: sticky;
    /* 76px – висота липкої шапки */
    top: calc(76px + 1.5rem);
  }

  .contacts__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.7fr 1fr 1.15fr 1.15fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .nav {
    display: block;
  }

  .burger {
    display: none;
  }

  .header__phone {
    display: inline-flex;
  }

  .fab {
    display: none;
  }
}

/* ---------- 22. Доступність / друк ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .fab,
  .marquee,
  .video-band,
  .insta,
  .mobile-nav {
    display: none !important;
  }
}
