/* ===========================================================
   AsProDent — чорно-біла тема + скрол-анімації
   Уся анімація вимикається для prefers-reduced-motion (у кінці файлу).
   =========================================================== */

:root {
  --ink: #0b0b0b;
  --ink-2: #1c1c1c;
  --ink-soft: #3d3d3d;
  --muted: #6e6e6e;
  --line: #e3e3e3;
  --line-dark: rgba(255, 255, 255, .18);
  --paper: #ffffff;
  --paper-alt: #f5f5f5;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .10);
  --max: 1180px;

  /* Єдиний "дорогий" easing для всієї сторінки */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .6s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.center { text-align: center; margin-top: 40px; }

/* ===========================================================
   1. Скрол-анімації
   =========================================================== */

/* Секції: виїзд знизу + поява. Спрацьовує один раз. */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Заголовки: з розмиття у фокус */
[data-blur-in] {
  opacity: 0;
  filter: blur(10px);
  transition: opacity .7s ease-out, filter .8s ease-out;
  transition-delay: var(--delay, 0s);
  will-change: opacity, filter;
}
[data-blur-in].is-in { opacity: 1; filter: blur(0); }

/* Складання тексту по літерах */
.split { letter-spacing: .16em; transition: letter-spacing 1.1s var(--ease); }
.split.is-in { letter-spacing: normal; }
.split .word { display: inline-block; white-space: nowrap; }
.split .letter {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(var(--dy, 12px)) translateX(var(--dx, 0));
  transition: opacity .5s ease-out, filter .5s ease-out, transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.split.is-in .letter { opacity: 1; filter: blur(0); transform: none; }

/* ===========================================================
   2. Кнопки
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 32px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper); font: inherit; font-weight: 600;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s var(--ease), border-color .25s ease;
}
.btn:hover { background: var(--paper); color: var(--ink); transform: scale(1.03); }
.btn:active { transform: scale(.99); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 10px 22px; font-size: 12px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* ===========================================================
   3. Шапка
   =========================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.nav__logo img { height: 42px; width: auto; filter: grayscale(1) contrast(1.1); }
.nav__logo { font-weight: 700; letter-spacing: .1em; color: var(--ink); text-decoration: none; }
.nav__menu { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav__menu a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; }

/* Підкреслення, що "виростає" з лівого краю */
.nav__menu a:not(.btn) { position: relative; padding-bottom: 3px; }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--ink); }
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav__phone { font-weight: 700 !important; color: var(--ink) !important; white-space: nowrap; letter-spacing: .02em; }
.nav__cta { color: var(--paper) !important; }
.nav__cta::after { display: none; }

.nav__burger {
  margin-left: auto; display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer;
}
.nav__burger span { height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===========================================================
   4. Головний екран
   =========================================================== */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: center; overflow: hidden; }
.hero__bg, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Фото — нижній шар, воно видно завжди. Відео плавно проявляється
   поверх нього, коли завантажиться. Тому екран ніколи не буває порожнім. */
.hero__bg { z-index: -3; }
.hero__video { z-index: -2; }

/* Повільний «живий» рух статичного фото: плавний наїзд і зсув туди-назад.
   Якщо завантажене відео — фото ховається і служить лише запасним варіантом. */
.hero__bg {
  transform-origin: 62% 45%;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.6%, -1.2%, 0); }
}
.hero__bg--fallback { display: block; }
.hero__video { opacity: 0; transition: opacity 1s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Темніше ліворуч — під текст, майже прозоро праворуч,
     щоб кольорове фото було видно. */
  background: linear-gradient(100deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.10) 100%);
}
.hero__inner { padding: 96px 0; color: var(--paper); }
.hero__title {
  font-size: clamp(32px, 5.4vw, 60px); line-height: 1.12; margin: 0 0 30px;
  max-width: 16ch; font-weight: 600;
}
.hero__bullets { list-style: none; margin: 0 0 38px; padding: 0; display: grid; gap: 14px; max-width: 460px; }
.hero__bullets li { position: relative; padding-left: 34px; font-size: 16px; color: rgba(255,255,255,.88); }
.hero__bullets li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 1px; background: var(--paper);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; display: grid; justify-items: center; gap: 8px;
}
.hero__scroll span { display: block; width: 1px; height: 34px; background: rgba(255,255,255,.5); animation: scrollHint 2s ease-in-out infinite; }
@keyframes scrollHint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ===========================================================
   5. Секції
   =========================================================== */
.section { padding: 110px 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink); color: var(--paper); }
.section__title {
  margin: 0 0 18px; text-align: center; font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.section__title--left { text-align: left; }
.section__lead { margin: 0 auto 52px; text-align: center; max-width: 62ch; color: var(--muted); }
.section--dark .section__lead { color: rgba(255,255,255,.7); }
.section__title + .services,
.section__title + .prices,
.section__title + .thumbs,
.section__title + .about,
.section__title + .contacts,
.section__title + .carousel { margin-top: 52px; }

/* ===========================================================
   6. Послуги — картки з розгортанням при наведенні
   =========================================================== */
.services { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); background: var(--paper); }
/* Рамка кожної картки — так порожній осередок у кінці сітки
   лишається білим, а не сірим прямокутником. */
.service {
  background: var(--paper); padding: 36px 30px; position: relative;
  box-shadow: 0 0 0 1px var(--line);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.service:hover, .service:focus-within { z-index: 1; }
.service:hover, .service:focus-within { background: var(--ink); color: var(--paper); }
.service__icon {
  width: 52px; height: 52px; object-fit: contain; margin-bottom: 20px;
  filter: grayscale(1); transition: filter .45s var(--ease);
}
.service:hover .service__icon, .service:focus-within .service__icon { filter: grayscale(1) invert(1); }
.service__title { margin: 0; font-size: 19px; font-weight: 600; }

/* Прихований блок, що розкривається */
.service__extra {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .3s ease, margin-top .45s var(--ease);
}
.service:hover .service__extra, .service:focus-within .service__extra {
  max-height: 460px; opacity: 1; margin-top: 18px;
}
.service__photo {
  width: 100%; height: 150px; object-fit: cover; margin-bottom: 16px;
}
.service__list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.service:hover .service__list, .service:focus-within .service__list { color: rgba(255,255,255,.78); }
.service__list li { margin-bottom: 7px; }
.service__more {
  margin-top: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: opacity .3s ease;
}
.service:hover .service__more, .service:focus-within .service__more { opacity: 0; }

/* Пристрої без наведення (телефони) — показуємо все одразу */
@media (hover: none) {
  .service__extra { max-height: none; opacity: 1; margin-top: 18px; overflow: visible; }
  .service__more { display: none; }
}

/* ===========================================================
   7. Карусель (команда)
   =========================================================== */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex; gap: 24px;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.carousel__slide { flex: 0 0 var(--slide, 280px); }
.carousel__nav {
  display: flex; gap: 10px; justify-content: center; margin-top: 32px; align-items: center;
}
.carousel__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1;
  display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, transform .2s var(--ease), opacity .25s ease;
}
.carousel__btn:hover:not([disabled]) { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.carousel__btn[disabled] { opacity: .3; cursor: default; }
.carousel__dots { display: flex; gap: 8px; margin-inline: 12px; }
.carousel__dot {
  width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: background .3s ease, transform .3s var(--ease);
}
.carousel__dot.is-active { background: var(--ink); transform: scale(1.4); }

/* Картка співробітника */
.member { background: var(--paper); display: flex; flex-direction: column; height: 100%; }
.member__photo {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center;
  transition: transform .8s var(--ease);
}
.member:hover .member__photo { transform: scale(1.03); }
.member__media { overflow: hidden; }
.member__body { padding: 22px 4px 26px; }
.member__name { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.member__role { margin: 0; color: var(--muted); font-size: 14px; }
.member__exp { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.member__quote {
  margin: 14px 0 0; padding-left: 14px; border-left: 1px solid var(--line);
  color: var(--muted); font-size: 13.5px; font-style: italic;
}

/* ===========================================================
   8. Ціни
   =========================================================== */
.prices { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.price-group { border-bottom: 1px solid var(--line); }
.price-group summary {
  cursor: pointer; padding: 24px 4px; font-weight: 600; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: padding-left .35s var(--ease), color .25s ease;
}
.price-group summary::-webkit-details-marker { display: none; }
.price-group summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--ease);
}
.price-group[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.price-group summary:hover { padding-left: 12px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table th { text-align: left; font-weight: 400; color: var(--ink-soft); }
.price-table td { text-align: right; white-space: nowrap; font-weight: 600; }

/* ===========================================================
   9. Про нас
   =========================================================== */
.about { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.about__image { width: 100%; object-fit: cover; }
.about__lead { font-size: 21px; font-weight: 600; margin-top: 0; line-height: 1.45; }
.about__text p { color: var(--ink-soft); }
.advantages { margin-top: 72px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.advantage { text-align: center; }
.advantage img {
  width: 56px; height: 56px; object-fit: contain; margin: 0 auto 14px;
  filter: grayscale(1); transition: transform .5s var(--ease);
}
.advantage:hover img { transform: translateY(-5px); }
.advantage p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===========================================================
   10. Галерея та сертифікати
   =========================================================== */
.thumbs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.thumbs--certs { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.thumb { display: block; overflow: hidden; background: var(--paper); position: relative; }
.thumb img {
  width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .7s var(--ease);
}
.thumbs--certs .thumb img { object-fit: contain; background: var(--paper); padding: 8px; }
.thumb:hover img { transform: scale(1.06); }
.thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.thumb:hover::after { opacity: 1; }

/* ===========================================================
   11. Форма запису
   =========================================================== */
.section--form { background: var(--ink); color: var(--paper); }
.form-block { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); align-items: center; }
.form-block__facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: rgba(255,255,255,.78); }
.form-block__facts li { padding-left: 26px; position: relative; }
.form-block__facts li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 1px; background: rgba(255,255,255,.6); }
.form-block__facts a { color: var(--paper); font-weight: 600; text-decoration: none; }
.form-block__facts a:hover { text-decoration: underline; }

.lead-form { background: var(--paper); color: var(--ink); padding: 34px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.field input {
  font: inherit; font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none;
  padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; transition: border-color .3s var(--ease);
}
.field input:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--ink); background: #f6f6f6; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__status { margin: 0; font-size: 14px; min-height: 20px; letter-spacing: normal; text-transform: none; }
.lead-form__status--ok { color: var(--ink); font-weight: 600; }
.lead-form__status--err { color: #8a1f1f; font-weight: 600; }
.lead-form__note { margin: 0; font-size: 11.5px; color: var(--muted); }

/* ===========================================================
   12. Контакти
   =========================================================== */
.contacts { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.contacts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.contacts__list li { display: grid; gap: 4px; }
.contacts__list span { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.contacts__list a { text-decoration: none; font-weight: 600; }
.contacts__list a:hover { text-decoration: underline; }
.contacts__social { display: flex !important; gap: 20px; }
.contacts__map { position: relative; display: block; overflow: hidden; }
.contacts__map img { transition: transform .8s var(--ease); width: 100%; }
.contacts__map:hover img { transform: scale(1.04); }
.contacts__map-label {
  position: absolute; left: 20px; bottom: 20px; background: var(--paper); color: var(--ink);
  padding: 10px 20px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ===========================================================
   13. Підвал
   =========================================================== */
.footer { background: var(--ink); color: var(--paper); padding: 64px 0; }
.footer__inner { display: grid; gap: 24px; justify-items: center; text-align: center; }
.footer__menu { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer__menu a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; transition: color .25s ease; }
.footer__menu a:hover { color: var(--paper); }
.footer__copy { margin: 0; font-size: 12px; color: rgba(255,255,255,.45); }
.footer .nav__logo img { filter: grayscale(1) brightness(0) invert(1); }

/* ===========================================================
   14. Модальне вікно та лайтбокс
   =========================================================== */
.modal {
  border: 0; padding: 40px; max-width: 460px; width: calc(100% - 32px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: modalIn .45s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } }
.modal::backdrop { background: rgba(0,0,0,.72); animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal__title { margin: 0 0 10px; font-size: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.modal__subtitle { margin: 0 0 24px; color: var(--muted); font-size: 14.5px; }
.modal .lead-form { padding: 0; }
.modal__close {
  position: absolute; top: 14px; right: 18px; border: 0; background: none;
  font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer;
  transition: color .25s ease, transform .3s var(--ease);
}
.modal__close:hover { color: var(--ink); transform: rotate(90deg); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.95); display: grid; place-items: center; padding: 40px; animation: fadeIn .3s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; animation: modalIn .45s var(--ease); }
.lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: var(--paper); font-size: 38px; line-height: 1; cursor: pointer; }

/* Кнопка дзвінка на мобільних */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none;
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper);
  text-decoration: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.30);
  transition: transform .25s var(--ease), background .25s ease;
}
.fab svg { display: block; }
.fab:active { transform: scale(.94); }

/* ===========================================================
   15. Адаптив
   =========================================================== */
@media (max-width: 1000px) {
  .about, .contacts, .form-block { grid-template-columns: 1fr; gap: 40px; }
  .about__image { max-height: 400px; }
  .section { padding: 84px 0; }
}

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
  }
  .nav__menu[data-open] { max-height: 70vh; overflow-y: auto; }
  .nav__menu a { padding: 16px; border-top: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta { margin: 16px; text-align: center; }
  .hero { min-height: auto; }
  .hero__inner { padding: 72px 0; }
  .hero__scroll { display: none; }
  .fab { display: flex; }
  .price-table td { white-space: normal; }
  .lead-form { padding: 26px 22px; }
  .modal { padding: 32px 24px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .section__title { font-size: 22px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 22px; }
  .thumbs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .thumbs--certs { grid-template-columns: repeat(2, 1fr); }
  .btn { padding: 14px 26px; width: auto; }
  .hero__actions .btn { flex: 1 1 100%; }

  /* Замість суцільної заливки — матове скло, щоб обличчя на фоні
     лишалось видно, але текст кнопки добре читався. */
  .hero__actions .btn {
    background: rgba(0, 0, 0, .34);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    backdrop-filter: blur(10px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, .85);
    color: var(--paper);
  }
  .hero__actions .btn--ghost {
    /* Світліша заливка не давала достатнього контрасту на тлі зубів,
       тому теж підтемнюємо — фото крізь неї видно так само. */
    background: rgba(0, 0, 0, .30);
    border-color: rgba(255, 255, 255, .55);
  }
  .hero__actions .btn:active {
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
  }
  .carousel__btn { width: 46px; height: 46px; }
  .advantages { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===========================================================
   16. Доступність: вимкнена анімація в системі
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  /* Контент видно одразу, без очікування скролу */
  [data-reveal], [data-blur-in], .split .letter {
    opacity: 1 !important; filter: none !important; transform: none !important;
  }
  .split { letter-spacing: normal !important; }
  /* Відео — це теж рух, тому показуємо нерухоме фото */
  .hero__video { display: none !important; }
  .hero__bg, .hero__bg--fallback { display: block; transform: none; animation: none; }
  .service__extra { max-height: none; opacity: 1; margin-top: 18px; overflow: visible; }
  .service__more { display: none; }
}
