/* =========================================================
   LUNÉ — преміальна б'юті-студія
   Дизайн-токени → базові стилі → компоненти → секції → адаптив
   ========================================================= */

:root {
  /* ---- Палітра (теплі нейтралі + сливовий акцент) ---- */
  --cream: #FAF5EF;     /* фон сторінки */
  --sand:  #F0E7DA;     /* альтернативні поверхні / секції */
  --sand-deep: #E9DDCC; /* глибша поверхня */
  --line:  #E4D8C8;     /* тонкі лінії */
  --ink:   #2C2421;     /* основний текст і заголовки */
  --muted: #6E635A;     /* другорядний текст */
  --plum:  #6C3A52;     /* акцент */
  --plum-deep: #4E2A3C; /* акцент: натискання / hover */
  --rose-wash: #F3E7EC; /* делікатний акцентний фон */

  /* ---- Типографіка ---- */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- Шкала розмірів (плавна) ---- */
  --fs-display: clamp(2.7rem, 1.6rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-label: 0.78rem;

  /* ---- Сітка / ритм ---- */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 8.5rem);
  --radius: 16px;
  --radius-lg: 24px;

  /* ---- Тіні (м'які, теплі) ---- */
  --shadow-sm: 0 1px 2px rgba(44, 36, 33, 0.05);
  --shadow-md: 0 18px 40px -24px rgba(44, 36, 33, 0.30);
  --shadow-lg: 0 40px 80px -40px rgba(78, 42, 60, 0.40);

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

/* =========================================================
   БАЗА
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* делікатне тепле сяйво згори (не fixed — заради продуктивності й плавності на мобільних) */
  background-image:
    radial-gradient(120% 80% at 80% -10%, rgba(108, 58, 82, 0.06), transparent 60%),
    radial-gradient(90% 60% at 0% 0%, rgba(233, 221, 204, 0.55), transparent 55%);
  background-repeat: no-repeat;
}

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

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

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.1; margin: 0; }

p { margin: 0 0 1rem; }

::selection { background: var(--plum); color: var(--cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* Заголовкові блоки секцій */
.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--plum);
  vertical-align: middle;
  margin-right: 0.7em;
  opacity: 0.6;
}
.section-title { font-size: var(--fs-h2); max-width: 18ch; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { color: var(--muted); font-size: var(--fs-lead); margin-top: 1rem; }

/* =========================================================
   ДОСТУПНІСТЬ
   ========================================================= */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--plum); color: var(--cream);
  padding: 0.7rem 1.2rem; border-radius: 999px;
  z-index: 100; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 500;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--plum); color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--plum-deep); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); background: var(--rose-wash); }

.btn-block { width: 100%; }

/* =========================================================
   ШАПКА
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink);
}
.brand-sub {
  font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

.nav-list { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: 0.93rem; color: var(--ink); position: relative; padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--plum); transition: width 0.28s var(--ease);
}
.nav-list a:hover { color: var(--plum); }
.nav-list a:hover::after { width: 100%; }

.nav-cta { padding: 0.7rem 1.5rem; }

/* Бургер */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--cream); }
.mobile-nav ul { list-style: none; margin: 0; padding: 1rem var(--gutter) 1.6rem; display: grid; gap: 0.4rem; }
.mobile-nav a { display: block; padding: 0.7rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 0; margin-top: 0.6rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero-title {
  font-size: var(--fs-display); font-weight: 500; margin: 0.4rem 0 1.4rem;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--plum); font-weight: 400; }
.hero-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 2.6rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem);
  list-style: none; margin: 0; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-meta li { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.hero-meta span { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }

.hero-figure { margin: 0; }
.ph-arch { aspect-ratio: 3 / 4; }
.hero-figure .ph { width: 100%; }

/* =========================================================
   ФОТО-ПЛЕЙСХОЛДЕРИ
   ========================================================= */
.ph {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--sand) 0%, var(--rose-wash) 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
/* делікатна зернистість поверх кольору (без mix-blend-mode — дешевше для рендера) */
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 2; opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph-arch { border-radius: 280px 280px var(--radius-lg) var(--radius-lg); }
.ph-portrait { aspect-ratio: 4 / 5; }

.ph-monogram {
  font-family: var(--font-serif); font-size: clamp(4rem, 10vw, 7rem);
  color: var(--plum); opacity: 0.16; font-weight: 600; z-index: 1;
  user-select: none;
}

/* варіації кольору плейсхолдерів — щоб галерея не виглядала монотонно */
.ph-1 { background: linear-gradient(155deg, #EFE3D4 0%, #E7CDD7 100%); }
.ph-2 { background: linear-gradient(150deg, #F2E8DC 0%, #E3C9D2 100%); }
.ph-3 { background: linear-gradient(160deg, #ECE0D2 0%, #D9BFC9 100%); }
.ph-4 { background: linear-gradient(145deg, #F1E6D9 0%, #CDB2C0 100%); }
.ph-5 { background: linear-gradient(155deg, #EFE4D6 0%, #DCC4CC 100%); }
.ph-6 { background: linear-gradient(150deg, #F3EADF 0%, #E0C7CF 100%); }

.ph-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.ph-cap, .ph-card figcaption {
  font-size: 0.82rem; color: var(--muted); margin-top: 0.85rem;
  letter-spacing: 0.04em; text-align: center;
}

/* =========================================================
   ПОСЛУГИ
   ========================================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-group {
  font-size: var(--fs-h3); margin-bottom: 1.4rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.service-group::first-letter { color: var(--plum); }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.7rem 0; font-size: 0.97rem;
}
.price-list li + li { border-top: 1px dashed var(--line); }
.pl-name { color: var(--ink); flex-shrink: 1; }
.pl-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.pl-price { color: var(--plum); font-weight: 600; white-space: nowrap; }

/* =========================================================
   ГАЛЕРЕЯ
   ========================================================= */
.gallery { background: var(--sand); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.ph-card { margin: 0; }
.ph-card .ph { aspect-ratio: 1 / 1; transition: transform 0.45s var(--ease); }
.ph-card:hover .ph { transform: scale(1.015); }

/* =========================================================
   ПРО СТУДІЮ
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.about-text p { color: var(--muted); max-width: 52ch; }
.about-text .section-title { margin-bottom: 1.6rem; }

.trust-list { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.trust-list li { display: flex; gap: 1.1rem; }
.trust-num {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--plum);
  border: 1px solid var(--line); border-radius: 50%;
  width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0;
}
.trust-list strong { display: block; margin-bottom: 0.2rem; }
.trust-list p { margin: 0; font-size: 0.92rem; }

.masters { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.master-card { margin: 0; }
.master-card figcaption { margin-top: 1rem; }
.master-card strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; }
.master-card span { display: block; font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0; }
.master-card em { font-size: 0.8rem; color: var(--plum); font-style: normal; letter-spacing: 0.04em; }

/* =========================================================
   ВІДГУКИ
   ========================================================= */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.review-card {
  margin: 0; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--plum); letter-spacing: 0.15em; font-size: 0.95rem; margin-bottom: 1rem; }
.review-card blockquote {
  margin: 0 0 1.4rem; font-family: var(--font-serif); font-style: italic;
  font-size: 1.08rem; line-height: 1.55; color: var(--ink);
}
.review-card figcaption { margin-top: auto; }
.review-card figcaption strong { display: block; }
.review-card figcaption span { font-size: 0.84rem; color: var(--muted); }

/* =========================================================
   КОНТАКТИ
   ========================================================= */
.contacts { background: var(--sand); }
.contacts-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: stretch;
}
.contact-list { margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.contact-list div { border-top: 1px solid var(--line); padding-top: 1rem; }
.contact-list dt {
  font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.35rem;
}
.contact-list dd { margin: 0; font-size: 1.1rem; }
.contact-list a { color: var(--ink); border-bottom: 1px solid var(--plum); transition: color 0.2s var(--ease); }
.contact-list a:hover { color: var(--plum); }

.contacts-map {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
/* Резервний шар: видно лише якщо Google не дозволив вбудувати мапу
   (iframe прозорий) — інакше мапа його повністю перекриває. */
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand-deep); color: var(--plum);
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.02em; text-decoration: none; text-align: center; padding: 1rem;
}
.map-fallback:hover { text-decoration: underline; }
.contacts-map iframe { position: relative; z-index: 1; display: block; height: 100%; min-height: 360px; filter: grayscale(0.2) sepia(0.08); }

/* =========================================================
   ФОРМА ЗАПИСУ
   ========================================================= */
.booking {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(108, 58, 82, 0.10), transparent 55%),
    var(--plum-deep);
  color: var(--cream);
}
.booking .eyebrow { color: #E7BFD0; }
.booking .eyebrow::before { background: #E7BFD0; }
.booking .section-title, .booking .section-intro { color: var(--cream); }
.booking .section-intro { opacity: 0.85; }
.booking-inner { max-width: 860px; margin-inline: auto; }
.booking-head { text-align: center; margin-inline: auto; }
.booking-head .section-title { max-width: none; }

.booking-form {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; letter-spacing: 0.04em; color: #EAD9E1; }
.field .opt { color: #C9A9B8; }

.booking-form input,
.booking-form select,
.booking-form textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--cream);
  background: rgba(250, 245, 239, 0.06);
  border: 1px solid rgba(250, 245, 239, 0.22);
  border-radius: 12px; padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.booking-form input::placeholder,
.booking-form textarea::placeholder { color: rgba(250, 245, 239, 0.5); }
.booking-form select { color: var(--cream); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FAF5EF' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.booking-form select option { color: var(--ink); }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none; border-color: #E7BFD0; background: rgba(250, 245, 239, 0.12);
}
.booking-form textarea { resize: vertical; min-height: 90px; }

.booking-submit { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 0.4rem; }
.booking-submit .btn-primary { background: var(--cream); color: var(--plum-deep); max-width: 320px; }
.booking-submit .btn-primary:hover { background: #fff; }
.form-note { font-size: 0.82rem; color: rgba(250, 245, 239, 0.7); text-align: center; max-width: 46ch; margin: 0; }
.form-note.is-success { color: #C7E8C7; font-weight: 500; }
.form-note.is-error { color: #F2C0C0; font-weight: 500; }

/* honeypot — приховане поле */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   ПІДВАЛ
   ========================================================= */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 5vw, 4.5rem); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.footer-brand .brand-mark { color: var(--cream); font-size: 1.8rem; }
.footer-brand p { color: rgba(250, 245, 239, 0.6); max-width: 38ch; margin-top: 0.8rem; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: flex-end; }
.footer-nav a { color: rgba(250, 245, 239, 0.8); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: #E7BFD0; }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(250, 245, 239, 0.12);
  padding-top: 1.6rem; margin: 1.2rem 0 0; font-size: 0.82rem; color: rgba(250, 245, 239, 0.45); }

/* =========================================================
   REVEAL-АНІМАЦІЇ ПРИ СКРОЛІ
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal[data-reveal-delay="80"]  { transition-delay: 0.08s; }
.reveal[data-reveal-delay="100"] { transition-delay: 0.10s; }
.reveal[data-reveal-delay="120"] { transition-delay: 0.12s; }
.reveal[data-reveal-delay="160"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="200"] { transition-delay: 0.20s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 940px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 460px; }
  .about-grid, .contacts-grid { grid-template-columns: 1fr; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }

  /* липка панель + підняти месенджери над нею */
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
  .fab-contacts { bottom: 88px; right: 16px; }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
}

@media (max-width: 560px) {
  .booking-form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .masters { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.4rem; }
  .ph-arch { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
}

/* =========================================================
   ПОДАРУНКОВІ СЕРТИФІКАТИ (нотатка в послугах)
   ========================================================= */
.services-note {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--rose-wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  color: var(--ink); font-size: 0.97rem; line-height: 1.5;
}
.services-note strong { color: var(--plum); }
.gift-ic { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

/* =========================================================
   ПОШИРЕНІ ПИТАННЯ (FAQ)
   ========================================================= */
.faq { background: var(--sand); }
.faq-inner { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-sans); font-size: 1.5rem; color: var(--plum);
  line-height: 1; transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.faq-item[open] summary { color: var(--plum); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--plum); }
.faq-body { padding: 0 0 1.3rem; color: var(--muted); max-width: 64ch; }
.faq-body p { margin: 0; }

/* =========================================================
   ОНЛАЙН-КАЛЕНДАР У ФОРМІ ЗАПИСУ
   ========================================================= */
#booking-online { margin-top: clamp(2rem, 4vw, 3rem); }
#booking-calendar {
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(250, 245, 239, 0.06);
}
.booking-or {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.8rem 0 0; color: rgba(250, 245, 239, 0.65);
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: lowercase;
}
.booking-or::before, .booking-or::after {
  content: ""; flex: 1; height: 1px; background: rgba(250, 245, 239, 0.18);
}

/* =========================================================
   ПЛАВАЮЧІ МЕСЕНДЖЕРИ
   ========================================================= */
.fab-contacts {
  position: fixed; right: 20px; bottom: 22px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 24px -8px rgba(44, 36, 33, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-lg); }
.fab-tg { background: #229ED9; }
.fab-wa { background: #25D366; }
.fab-vb { background: #7360F2; }

/* =========================================================
   ЛИПКА ПАНЕЛЬ ДІЙ (МОБ.)
   ========================================================= */
.mobile-cta-bar {
  display: flex; /* приховується на десктопі через min-width нижче */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  gap: 0.6rem; padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta-bar .mcb-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  flex: 0 0 auto; padding: 0.85rem 1.2rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: 0.95rem; font-weight: 500; background: var(--cream);
}
.mobile-cta-bar .mcb-call svg { width: 18px; height: 18px; }
.mobile-cta-bar .mcb-book { flex: 1; }
/* десктоп: ховаємо липку панель (на моб. лишається flex з базового правила) */
@media (min-width: 941px) { .mobile-cta-bar { display: none; } }

/* =========================================================
   АНІМАЦІЯ ЛОГОТИПА (split-text порт)
   ========================================================= */
.site-header .brand-mark .split-char {
  display: inline-block; will-change: transform, opacity;
  opacity: 0; transform: translateY(0.5em);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header .brand-mark.is-split-in .split-char { opacity: 1; transform: none; }

/* Заголовки секцій — поява по літерах при скролі (порт SplitText) */
.section-title .split-word { display: inline-block; white-space: nowrap; }
.section-title .split-char {
  display: inline-block; will-change: transform, opacity;
  opacity: 0; transform: translateY(0.45em);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.section-title.is-split-in .split-char { opacity: 1; transform: none; }

/* =========================================================
   ДО / ПІСЛЯ — інтерактивний слайдер порівняння
   ========================================================= */
.before-after { background: var(--cream); }
.ba { max-width: 600px; margin-inline: auto; }
.ba-frame {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  isolation: isolate; user-select: none; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; margin: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* верхній шар «до» обрізаємо праворуч відповідно до позиції повзунка */
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba-after { z-index: 1; }

.ba-tag {
  position: absolute; top: 12px; z-index: 3;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(44, 36, 33, 0.55); color: var(--cream);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }

/* вертикальна лінія + кругла ручка (декоративні; тягне range нижче) */
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; background: var(--cream); transform: translateX(-1px);
  pointer-events: none; box-shadow: 0 0 0 1px rgba(44, 36, 33, 0.18);
}
.ba-handle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--plum); }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; z-index: -1;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
  background: var(--cream); border-radius: 50%; box-shadow: var(--shadow-md);
}

/* нативний range — прозорий, на весь кадр, дає клавіатурну доступність */
.ba-range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%;
  margin: 0; padding: 0; background: transparent; border: 0;
  -webkit-appearance: none; appearance: none; cursor: ew-resize;
}
.ba-range:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 46px; height: 240px; background: transparent; border: 0; cursor: ew-resize;
}
.ba-range::-moz-range-thumb { width: 46px; height: 240px; background: transparent; border: 0; cursor: ew-resize; }
.ba-range::-moz-range-track { background: transparent; border: 0; }

/* =========================================================
   ЛАЙТБОКС ГАЛЕРЕЇ
   ========================================================= */
.js-lightbox .ph-card .ph { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(22, 17, 15, 0.92);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  margin: 0; max-width: min(1000px, 92vw);
  display: flex; flex-direction: column; gap: 0.9rem; align-items: center;
  transform: scale(0.97); transition: transform 0.3s var(--ease);
}
.lightbox.is-open .lightbox-figure { transform: scale(1); }
.lightbox-figure img {
  width: auto; max-width: 100%; max-height: 78vh; height: auto;
  object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lightbox-figure figcaption {
  color: rgba(250, 245, 239, 0.92); font-size: 0.9rem; letter-spacing: 0.04em; text-align: center;
}
.lb-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(250, 245, 239, 0.1); color: var(--cream);
  border: 1px solid rgba(250, 245, 239, 0.25); cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lb-btn:hover { background: rgba(250, 245, 239, 0.22); }
.lb-btn:active { transform: scale(0.94); }
.lb-close { top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); }
.lb-prev { left: clamp(0.5rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.5rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(0.94); }
.lb-count {
  position: absolute; bottom: clamp(1rem, 3vw, 1.6rem); left: 50%; transform: translateX(-50%);
  color: rgba(250, 245, 239, 0.7); font-size: 0.8rem; letter-spacing: 0.1em;
}
@media (max-width: 560px) {
  .lb-prev { left: 0.4rem; } .lb-next { right: 0.4rem; }
  .lb-btn { width: 42px; height: 42px; }
}

/* =========================================================
   ПОВАГА ДО prefers-reduced-motion
   ========================================================= */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .lightbox, .lightbox-figure { transition: none; }
}
