/* =========================================================
   КОЛЬОРИ ТА ШРИФТИ — міняйте тут
   ========================================================= */
:root {
  --cream: #faf6f2;       /* основний фон */
  --soft: #f3ebe4;        /* фон секцій, що чергуються */
  --blush: #e9cfc4;       /* ніжно-рожевий */
  --rose: #b97a6b;        /* акцент (кнопки) */
  --rose-dark: #9d6253;
  --ink: #3a2a28;         /* текст і темні секції */
  --muted: #8b7670;
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-text: 'Manrope', Arial, sans-serif;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-text); background: var(--cream); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); margin-top: 22px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rose); color: #fff; border: 1.5px solid var(--rose);
  padding: 14px 30px; border-radius: 999px; font-weight: 600; letter-spacing: .2px;
  cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s, opacity .25s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(185,122,107,.3); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(58,42,40,.25); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn--small { padding: 9px 20px; font-size: .9rem; }
.full { grid-column: 1 / -1; width: 100%; }

.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .75rem; font-weight: 700; color: var(--rose); margin-bottom: 12px; }
.title { font-family: var(--font-title); font-weight: 500; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; margin-bottom: 44px; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.header.scrolled { background: rgba(250,246,242,.96); padding: 10px 0; box-shadow: 0 6px 30px rgba(58,42,40,.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: var(--font-title); font-size: 2rem; font-weight: 600; line-height: .9; }
.logo span { display: block; font-family: var(--font-text); font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--rose); }
.nav { display: flex; gap: 28px; font-weight: 500; font-size: .95rem; }
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: var(--rose); transition: width .3s; }
.nav a:hover::after { width: 100%; }
.header__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.lang__btn { border: none; background: none; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: .2s; }
.lang__btn.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(58,42,40,.12); }
.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; position: relative; z-index: 101; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 140px 0 90px; background: radial-gradient(ellipse at 85% 20%, rgba(233,207,196,.7), transparent 55%), var(--cream); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__title { font-family: var(--font-title); font-weight: 500; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--rose); }
.hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__facts { list-style: none; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__facts b { display: block; font-family: var(--font-title); font-size: 1.7rem; font-weight: 600; }
.hero__facts span { font-size: .85rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 240px 240px var(--radius) var(--radius); box-shadow: 0 30px 70px rgba(58,42,40,.18); }
.hero__badge {
  position: absolute; left: -30px; bottom: 40px; background: #fff; border-radius: 18px; padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 40px rgba(58,42,40,.15); animation: float 5s ease-in-out infinite;
}
.hero__badge b { display: block; font-size: .92rem; }
.hero__badge small { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #4caf7a; box-shadow: 0 0 0 0 rgba(76,175,122,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(76,175,122,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,122,0); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Секції ---------- */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: var(--blush); }

/* ---------- Послуги ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: #fff; border-radius: var(--radius); padding: 14px 14px 24px; transition: transform .35s, box-shadow .35s; }
.service:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(58,42,40,.12); }
.service__img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; margin-bottom: 18px; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service__img img { transform: scale(1.07); }
.service h3 { font-family: var(--font-title); font-size: 1.7rem; font-weight: 600; padding: 0 8px; }
.service p { color: var(--muted); font-size: .92rem; padding: 0 8px; margin: 6px 0 14px; }
.service__price { display: inline-block; margin-left: 8px; background: var(--soft); color: var(--rose-dark); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- До / після ---------- */
.ba { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.ba__text .title { margin-bottom: 18px; }
.ba__text p { color: var(--muted); }
.ba__note { margin-top: 14px; font-size: .85rem; font-style: italic; }
.ba__box { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(58,42,40,.18); user-select: none; }
.ba__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba__before { filter: saturate(.25) brightness(.92) contrast(.9); }
.ba__label { position: absolute; top: 16px; background: rgba(255,255,255,.88); padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.ba__label--l { left: 16px; } .ba__label--r { right: 16px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--rose); font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

/* ---------- Галерея ---------- */
.filters { display: flex; justify-content: center; gap: 10px; margin: -20px 0 36px; flex-wrap: wrap; }
.chip { border: 1.5px solid rgba(58,42,40,.15); background: transparent; padding: 8px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; transition: .25s; }
.chip:hover { border-color: var(--rose); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 4 240px; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; border-radius: 18px; overflow: hidden; cursor: zoom-in; position: relative; transition: opacity .35s, transform .35s; }
.g-item img { width: 100%; transition: transform .6s; }
.g-item:hover img { transform: scale(1.06); }
.g-item.hide { display: none; }

/* ---------- Ціни ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.tab { border: none; background: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: .25s; }
.tab.active { background: var(--rose); color: #fff; }
.price-list { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 10px 30px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--soft); animation: fadeUp .4s ease both; }
.price-row:last-child { border-bottom: none; }
.price-row small { display: block; color: var(--muted); }
.price-row strong { font-family: var(--font-title); font-size: 1.5rem; white-space: nowrap; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Онлайн-запис ---------- */
.booking { display: grid; grid-template-columns: 1fr 300px; gap: 28px; background: #fff; border-radius: 28px; padding: 30px; box-shadow: 0 24px 60px rgba(58,42,40,.08); }
.booking > * { min-width: 0; } /* щоб довгий рядок днів не розтягував картку */
.steps { grid-column: 1 / -1; list-style: none; display: flex; gap: 8px; counter-reset: s; }
.steps li { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; counter-increment: s; padding: 12px 14px; border-radius: 14px; background: var(--soft); color: var(--muted); font-weight: 600; font-size: .9rem; display: flex; gap: 10px; align-items: center; transition: .3s; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: .8rem; flex: none; }
.steps li.active { background: var(--ink); color: #fff; }
.steps li.active::before { background: var(--rose); color: #fff; }
.steps li.done { color: var(--ink); }
.steps li.done::before { content: '✓'; background: var(--blush); }
.step-panel { display: none; animation: fadeUp .35s ease; }
.step-panel.active { display: block; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt { border: 1.5px solid var(--soft); background: #fff; border-radius: 16px; padding: 16px 18px; text-align: left; cursor: pointer; transition: .2s; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.opt:hover { border-color: var(--blush); }
.opt.selected { border-color: var(--rose); background: #fdf6f3; box-shadow: 0 0 0 3px rgba(185,122,107,.12); }
.opt b { display: block; }
.opt small { color: var(--muted); }
.opt__price { font-weight: 700; color: var(--rose-dark); white-space: nowrap; }
.options--masters .opt { justify-content: flex-start; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; background: var(--blush); color: var(--ink); flex: none; }
.days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 18px; scrollbar-width: thin; }
.day { flex: none; width: 70px; border: 1.5px solid var(--soft); background: #fff; border-radius: 16px; padding: 10px 0; text-align: center; cursor: pointer; transition: .2s; }
.day small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.day b { font-size: 1.3rem; font-family: var(--font-title); }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.day.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.day.selected small { color: var(--blush); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.slot { border: 1.5px solid var(--soft); background: #fff; border-radius: 12px; padding: 10px 0; cursor: pointer; font-weight: 600; transition: .2s; }
.slot:hover:not(:disabled) { border-color: var(--rose); }
.slot:disabled { color: #c9bbb6; text-decoration: line-through; cursor: not-allowed; background: #fbf8f6; }
.slot.selected { background: var(--rose); border-color: var(--rose); color: #fff; }
.slots-hint { grid-column: 1 / -1; color: var(--muted); }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.bk-form input { padding: 13px 15px; border: 1.5px solid var(--soft); border-radius: 12px; font: inherit; color: var(--ink); background: var(--cream); transition: border-color .2s; }
.bk-form input:focus { outline: none; border-color: var(--rose); }
.bk-form input.invalid { border-color: #d9534f; }
.bk-error { grid-column: 1 / -1; color: #c0392b; font-size: .88rem; display: none; }
.bk-error.show { display: block; }
.summary { background: var(--soft); border-radius: 20px; padding: 22px; display: grid; gap: 14px; align-content: start; }
.summary small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
.summary b { font-size: 1.02rem; }
.summary__nav { display: flex; gap: 10px; margin-top: 6px; }
.summary__nav .btn { flex: 1; }
.success { text-align: center; padding: 30px 10px; }
.success__icon { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; background: #4caf7a; color: #fff; font-size: 2.2rem; display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(0); } }
.success h3 { font-family: var(--font-title); font-size: 2.2rem; font-weight: 600; }
.success p { color: var(--muted); margin: 8px 0 22px; }

/* ---------- Відгуки ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews blockquote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; }
.reviews p { font-family: var(--font-title); font-size: 1.35rem; font-style: italic; line-height: 1.4; margin-bottom: 16px; }
.reviews cite { font-style: normal; color: var(--blush); font-weight: 600; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid rgba(58,42,40,.12); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--rose); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; animation: fadeUp .35s; }

/* ---------- Контакти ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.contacts .title { margin-bottom: 26px; }
.contacts__list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.contacts__list b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--rose); }
.map { height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgba(58,42,40,.1); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.8); }
.footer { background: var(--ink); color: rgba(255,255,255,.6); text-align: center; padding: 26px 0; font-size: .88rem; }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(25,17,16,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__close, .lb__nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; transition: background .2s; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.25); }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; } .lb__next { right: 20px; }

.sticky-cta { display: none; }

/* ---------- Поява при скролі ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: 75%; max-width: 320px; background: var(--cream);
    flex-direction: column; justify-content: center; padding: 0 40px; gap: 26px; font-size: 1.2rem;
    transform: translateX(100%); transition: transform .35s ease;
  }
  .nav.open { transform: none; box-shadow: -10px 0 40px rgba(0,0,0,.08); }
  .hero { padding-top: 110px; }
  .hero__grid, .ba, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__badge { left: 10px; }
  .reviews { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .sticky-cta {
    display: block; position: fixed; left: 4%; right: 4%; bottom: 14px; z-index: 90; text-align: center;
    background: var(--rose); color: #fff; padding: 15px; border-radius: 999px; font-weight: 700;
    box-shadow: 0 10px 30px rgba(185,122,107,.45); transform: translateY(160%); transition: transform .35s;
  }
  .sticky-cta.show { transform: none; }
  .footer { padding-bottom: 90px; }
}
@media (max-width: 560px) {
  .services, .options { grid-template-columns: 1fr; }
  .steps li { font-size: 0; padding: 10px; justify-content: center; }
  .steps li::before { font-size: .8rem; }
  .booking { padding: 18px; border-radius: 22px; }
  .bk-form { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .price-list { padding: 4px 18px; }
  .lb__nav { width: 42px; height: 42px; }
  .lb__prev { left: 8px; } .lb__next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
