/* =========================================================
   Nail Club — styles
   Palette: warm white · ink black · pink (from price list)
   ========================================================= */
:root {
  --bg: #f8f5f2;
  --bg-soft: #f3ece8;
  --white: #ffffff;
  --ink: #181514;
  --ink-2: #4a4341;
  --muted: #8d8481;
  --line: rgba(24, 21, 20, .12);
  --pink: #e58cb0;
  --pink-deep: #c9527f;
  --blush: #f7e3ea;
  --blush-2: #fbeff3;

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--pink { color: var(--pink); }

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.section__title em { font-style: italic; color: var(--pink-deep); }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--pink); }
.section__sub { max-width: 520px; margin: 18px 0 0; color: var(--ink-2); }
.script { font-family: var(--script); font-size: 44px; color: var(--pink); margin: 0; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .4s var(--ease), border-color .3s;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--pink-deep); box-shadow: 0 14px 30px -12px rgba(201, 82, 127, .6); }
.btn--pink { background: var(--pink-deep); color: #fff; }
.btn--pink:hover { background: var(--ink); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn--ghost { background: rgba(255,255,255,.6); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--outline { --h: 42px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 4px; font-family: var(--serif); font-weight: 500; letter-spacing: .04em; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn--outline-light:hover { border-color: var(--pink); color: var(--pink); }
.btn--block { width: 100%; }

.link-arrow { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--pink-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Logo ---------- */
.logo__img {
  display: block; width: 128px; height: auto;
  filter: brightness(0);
  transition: opacity .3s, transform .4s var(--ease);
}
.logo:hover .logo__img { opacity: .7; }
.logo__img--light { filter: none; width: 150px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-scrolled {
  --header-h: 64px;
  background: rgba(248, 245, 242, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  position: relative;
  font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .04em;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--pink-deep);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 40px) 0 80px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; overflow: clip; /* glow bleeds right — never widen the page on mobile */ }
.hero::before { /* soft pink glow */
  content: ""; position: absolute; z-index: -1; right: -10vw; top: 10vh; width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 140, 176, .22), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 0; position: relative; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 72svh;
  width: 88%;
  margin-left: 8%;
  justify-self: start;
  /* entrance */
  clip-path: inset(100% 0 0 0);
  animation: heroReveal 1.4s var(--ease) .15s forwards;
}
.hero__slides { position: absolute; inset: 0; overflow: hidden; background: var(--bg-soft); }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s ease, transform 6.5s linear;
}
.hero__slides img.is-active { opacity: 1; transform: scale(1); }
.hero__media::after { /* inner image intro zoom */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -120px 120px -60px rgba(0,0,0,.25);
}
.hero__tag {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.85); font-size: 14px; white-space: nowrap; z-index: 2;
}
.hero__dots { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 34px; height: 18px; display: grid; place-items: center; }
.hero__dots i { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; border-radius: 2px; }
.hero__dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots .is-active i::after { animation: dotFill var(--slide-ms, 4500ms) linear forwards; }
.hero__dots .is-done i::after { transform: scaleX(1); }

@keyframes heroReveal {
  0% { clip-path: inset(100% 0 0 0 round 0); }
  100% { clip-path: inset(0 0 0 0 round 0); }
}
@keyframes dotFill { to { transform: scaleX(1); } }

.hero__content { position: relative; padding: clamp(60px, 12vh, 130px) 0 0 6%; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(84px, 11.5vw, 176px);
  line-height: .82; letter-spacing: -.045em;
  color: #fff;
  margin-left: -46%;
  mix-blend-mode: difference;
  position: relative; z-index: 2;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.2s var(--ease) var(--d, 1s) forwards; }
.hero__title .line--shift { padding-left: .55em; }
.hero__title .line--shift > span { font-style: italic; }
@keyframes lineUp { to { transform: none; } }

.hero__script { font-family: var(--script); font-size: clamp(30px, 3vw, 42px); color: var(--pink-deep); margin: 4px 0 0 1.4em; line-height: 1; }
.hero__lead { max-width: 380px; margin: 24px 0 0; color: var(--ink-2); }
.hero__lead b { display: block; margin-top: 6px; font-weight: 600; color: var(--ink); letter-spacing: .02em; font-size: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { list-style: none; display: flex; gap: 34px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); max-width: 440px; }
.hero__facts b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.hero__facts span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.reveal-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) var(--d, 0s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--white); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); font-style: italic; line-height: 1; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); font-style: normal; }
.marquee i { font-style: normal; color: var(--pink); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { margin-bottom: 48px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.tabs {
  display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--ink-2); transition: color .3s, background-color .3s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }

.price-panel { display: none; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.price-panel.is-active { display: grid; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.price-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); }
.price-card h3 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.price-card--accent { background: linear-gradient(160deg, var(--blush) 0%, var(--blush-2) 100%); border-color: transparent; position: relative; overflow: hidden; }
.price-card--accent::after { content: "Nail Club"; position: absolute; right: -10px; bottom: -14px; font-family: var(--script); font-size: 86px; color: rgba(201, 82, 127, .1); pointer-events: none; }
.price-card--center { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.price-card__note { margin: -10px 0 14px; color: var(--muted); font-size: 14px; }
.big-gift { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); margin: 0; line-height: 1.1; }
.big-gift em { color: var(--pink-deep); }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
  transition: padding .4s var(--ease), color .3s;
}
.price-list li:last-child { border-bottom: 0; }
.price-list li span { flex: 1; }
.price-list li small { display: block; color: var(--muted); font-size: 12.5px; }
.price-list li b { font-family: var(--serif); font-weight: 500; font-size: 19px; white-space: nowrap; }
.price-list li::after {
  content: "Записатися →";
  font-size: 12px; font-weight: 600; color: #fff; background: var(--pink-deep);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translateX(-8px); max-width: 0; overflow: hidden; padding-inline: 0;
  transition: opacity .3s, transform .4s var(--ease), max-width .4s var(--ease), padding .4s var(--ease);
}
.price-list li:hover { padding-left: 8px; color: var(--pink-deep); }
.price-list li:hover::after { opacity: 1; transform: none; max-width: 140px; padding-inline: 12px; }

/* ---------- Promo ---------- */
.promo { background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.promo::before {
  content: ""; position: absolute; left: -10%; top: -40%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(229, 140, 176, .25), transparent);
}
.promo__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; position: relative; flex-wrap: wrap; }
.promo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.promo__card {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px 30px;
  background: rgba(255,255,255,.03);
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
}
.promo__card:hover { transform: translateY(-6px); border-color: var(--pink); background: rgba(229, 140, 176, .08); }
.promo__card b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: var(--pink); }
.promo__card p { margin: 16px 0 0; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.promo__card--hot { background: var(--pink-deep); border-color: var(--pink-deep); }
.promo__card--hot b { color: #fff; }
.promo__card--hot p { color: #fff; }
.promo__card--hot:hover { background: var(--pink-deep); border-color: #fff; }

/* ---------- Works / Portfolio (collapsible) ---------- */
.works-teaser {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px;
  background: linear-gradient(135deg, var(--white) 0%, var(--blush-2) 100%);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.works-teaser::after { content: "portfolio"; position: absolute; left: 40%; bottom: -30px; font-family: var(--script); font-size: 150px; color: rgba(201, 82, 127, .07); pointer-events: none; }
.works-toggle { margin-top: 30px; }
.works-toggle__icon { position: relative; width: 14px; height: 14px; }
.works-toggle__icon::before, .works-toggle__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease); }
.works-toggle__icon::after { transform: rotate(90deg); }
.works.is-open .works-toggle__icon::after { transform: rotate(0deg); }

/* fanned photo stack */
.works-fan { position: relative; height: clamp(260px, 30vw, 380px); display: block; width: 100%; padding: 0; z-index: 1; }
.works-fan img {
  position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px;
  border: 5px solid #fff; box-shadow: 0 24px 50px -24px rgba(24, 21, 20, .45);
  transform: translate(-50%, -50%) translateX(var(--x)) rotate(var(--r));
  transition: transform .8s var(--ease);
}
.works-fan img:nth-child(1) { --r: -14deg; --x: -46%; z-index: 1; }
.works-fan img:nth-child(2) { --r: -5deg;  --x: -15%; z-index: 2; }
.works-fan img:nth-child(3) { --r: 5deg;   --x: 15%;  z-index: 3; }
.works-fan img:nth-child(4) { --r: 14deg;  --x: 46%;  z-index: 4; }
.works-fan:hover img:nth-child(1) { --r: -18deg; --x: -60%; }
.works-fan:hover img:nth-child(2) { --r: -7deg;  --x: -20%; }
.works-fan:hover img:nth-child(3) { --r: 7deg;   --x: 20%; }
.works-fan:hover img:nth-child(4) { --r: 18deg;  --x: 60%; }
.works.is-open .works-fan img { --r: 0deg; --x: 0%; }
.works-fan__badge {
  position: absolute; z-index: 5; right: 6%; top: 4%; width: 84px; height: 84px; border-radius: 50%;
  background: var(--pink-deep); color: #fff; display: grid; place-content: center; text-align: center;
  font-family: var(--serif); font-size: 30px; line-height: 1; box-shadow: 0 14px 30px -12px rgba(201, 82, 127, .7);
  transition: transform .6s var(--ease);
}
.works-fan__badge small { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; margin-top: 3px; }
.works-fan:hover .works-fan__badge { transform: rotate(-12deg) scale(1.06); }

/* collapsible panel: grid-rows 0fr -> 1fr */
.works-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.works-panel__inner { overflow: hidden; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .9s; }
.works.is-open .works-panel { grid-template-rows: 1fr; }
.works.is-open .works-panel__inner { opacity: 1; visibility: visible; transition: opacity .6s ease .2s, visibility 0s; }
.works-panel .filters { padding-top: 40px; }
.works-panel__foot { display: flex; justify-content: center; padding: 36px 0 4px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .3s; background: var(--white); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.work { display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; outline-offset: 4px; }
.work.is-hidden { display: none; }
.work.is-entering { animation: workIn .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes workIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.work__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--bg-soft); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__media img { transform: scale(1.06); }
.work__media::after { content: ""; position: absolute; inset: 0; background: rgba(24, 21, 20, .25); opacity: 0; transition: opacity .5s; }
.work:hover .work__media::after { opacity: 1; }
.work__pick {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translate(-50%, 12px);
  padding: 10px 18px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .4s, transform .5s var(--ease);
}
.work:hover .work__pick { opacity: 1; transform: translate(-50%, 0); }
.work__caption { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.work__num { font-family: var(--serif); font-style: italic; color: var(--pink-deep); font-size: 15px; flex: none; }
.work__caption h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; }
.work__caption small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.work-cta {
  grid-column: span 2; border-radius: 18px; padding: clamp(24px, 3vw, 40px);
  background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  position: relative; overflow: hidden; min-height: 220px; align-self: start;
}
.work-cta::after { content: "Nail Club"; position: absolute; right: -6px; bottom: -18px; font-family: var(--script); font-size: 110px; color: rgba(229, 140, 176, .14); pointer-events: none; }
.work-cta h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.work-cta h3 em { color: var(--pink); }
.work-cta p { margin: 8px 0 0; color: rgba(255,255,255,.65); font-size: 15px; max-width: 380px; }
.work-cta .btn { align-self: flex-start; position: relative; z-index: 1; }

/* ---------- Why ---------- */
.why { padding: 0 0 clamp(70px, 9vw, 120px); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why__item { padding: 34px 26px 0 0; }
.why__item + .why__item { padding-left: 26px; border-left: 1px solid var(--line); }
.why__num { font-family: var(--serif); font-style: italic; color: var(--pink-deep); font-size: 18px; }
.why__item h3 { margin: 10px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.why__item p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Reviews ---------- */
.slider-nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); transition: all .3s; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding-bottom: 6px;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(24, 21, 20, .35); }
.stars { color: var(--pink-deep); letter-spacing: 3px; font-size: 15px; }
.review p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review footer b { display: block; font-size: 15px; }
.review footer small { color: var(--muted); font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--pink-deep); font-family: var(--serif); font-size: 20px; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.booking__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.booking__quick { display: grid; gap: 10px; margin-top: 34px; }
.quick { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: all .35s var(--ease); }
.quick:hover { border-color: var(--pink-deep); transform: translateX(6px); }
.quick__ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--pink-deep); font-size: 18px; flex: none; }
.quick b { display: block; font-size: 15px; }
.quick small { color: var(--muted); font-size: 13px; }

.booking__form {
  background: var(--white); border-radius: 28px; border: 1px solid var(--line);
  padding: clamp(22px, 3.6vw, 44px);
  box-shadow: 0 40px 80px -50px rgba(24, 21, 20, .25);
}
.fs { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.fs legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 22px; }
.fs legend span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; }
.fs legend small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }

.field { position: relative; margin-bottom: 12px; }
.field select,
.field input,
.field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  padding: 16px 18px; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23181514' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 100px; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--pink-deep); background: #fff; box-shadow: 0 0 0 4px rgba(229, 140, 176, .18); }
.field--float input, .field--float textarea { padding-top: 24px; padding-bottom: 10px; }
.field--float label {
  position: absolute; left: 19px; top: 17px; color: var(--muted); pointer-events: none;
  transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left top;
}
.field--float input:focus + label,
.field--float input:not(:placeholder-shown) + label,
.field--float textarea:focus + label,
.field--float textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: 12px; color: var(--pink-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field.is-error input, .field.is-error select { border-color: #d64545; }
.field.is-flash select, .field.is-flash textarea { animation: flash 1.6s var(--ease); }
@keyframes flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 82, 127, 0); }
  25% { box-shadow: 0 0 0 6px rgba(201, 82, 127, .35); border-color: var(--pink-deep); background: var(--blush-2); }
}

/* Calendar */
.calendar { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: var(--bg); }
.calendar.is-error { border-color: #d64545; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar__head strong { font-family: var(--serif); font-weight: 500; font-size: 19px; text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; transition: background-color .3s; }
.cal-nav:hover:not(:disabled) { background: var(--white); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.calendar__week, .calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendar__week span { font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
.day {
  aspect-ratio: 1; max-height: 52px; width: 100%; border-radius: 12px; font-size: 15px; font-weight: 500;
  display: grid; place-items: center; position: relative; transition: background-color .25s, color .25s, transform .3s var(--ease);
}
@media (hover: hover) { .day:hover:not(:disabled):not(.is-selected) { background: var(--blush); } }
.day:disabled { color: rgba(24, 21, 20, .22); cursor: default; }
.day.is-today::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--pink-deep); }
.day.is-selected { background: var(--ink); color: #fff; transform: scale(1.04); }
.day.is-selected::after { background: #fff; }
.day--empty { visibility: hidden; }

/* Time slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; min-height: 48px; }
.slots.is-error { outline: 1px solid #d64545; outline-offset: 6px; border-radius: 8px; }
.slots__empty { grid-column: 1 / -1; color: var(--muted); font-size: 14px; padding: 12px 0; }
.slot {
  padding: 11px 0; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: var(--bg);
  transition: all .25s; animation: workIn .5s var(--ease) both; animation-delay: var(--d, 0s);
}
@media (hover: hover) { .slot:hover:not(:disabled):not(.is-selected) { border-color: var(--pink-deep); color: var(--pink-deep); } }
.slot:disabled { text-decoration: line-through; color: rgba(24, 21, 20, .25); cursor: not-allowed; background: transparent; }
.slot.is-selected { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }


.summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 22px; border-radius: 18px; background: var(--blush-2);
}
.summary small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--pink-deep); font-weight: 700; }
.summary b { font-weight: 600; font-size: 15px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: stretch; }
.contacts__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.contacts__list li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: grid; gap: 2px; }
.contacts__list small { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.contacts__list a, .contacts__list span { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); }
.contacts__list a { transition: color .3s; }
.contacts__list a:hover { color: var(--pink); }
.status { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; vertical-align: middle; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-open { background: rgba(105, 214, 140, .14); color: #74d897; }
.status.is-open::before { animation: pulse 1.8s infinite; }
.status.is-closed { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(116, 216, 151, .6); } 100% { box-shadow: 0 0 0 8px rgba(116, 216, 151, 0); } }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; background: #221d1c; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: none; }
.map__placeholder {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(229, 140, 176, .25), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px);
}
.map__placeholder b { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-top: 14px; }
.map__placeholder small { color: rgba(255,255,255,.6); }
.map__pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--pink); transform: rotate(-45deg); box-shadow: 0 0 0 10px rgba(229,140,176,.2), 0 0 0 22px rgba(229,140,176,.08); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 50px 0 40px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer p { margin: 0; letter-spacing: .06em; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox & modal ---------- */
.lightbox, .modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.lightbox.is-open, .modal.is-open { visibility: visible; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(18, 14, 13, .72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__dialog {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  width: min(980px, 100%); max-height: calc(100svh - 40px);
  background: var(--bg); border-radius: 26px; overflow: hidden;
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.is-open .lightbox__dialog { opacity: 1; transform: none; }
.lightbox__media { position: relative; background: #111; min-height: 0; }
.lightbox__media img { width: 100%; height: 100%; max-height: calc(100svh - 40px); object-fit: cover; transition: opacity .35s; }
.lightbox__media img.is-loading { opacity: 0; }
.lightbox__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); font-size: 26px; line-height: 1; display: grid; place-items: center; transition: background-color .3s; }
.lightbox__arrow:hover { background: #fff; }
.lightbox__arrow--prev { left: 14px; }
.lightbox__arrow--next { right: 14px; }
.lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: var(--white); font-size: 16px; transition: transform .4s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__info { padding: 54px 38px 38px; display: flex; flex-direction: column; overflow-y: auto; }
.lightbox__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep); }
.lightbox__info h3 { margin: 8px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.lightbox__info p { margin: 0; color: var(--ink-2); }
.lightbox__meta { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 0; }
.lightbox__meta li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lightbox__meta li span { color: var(--muted); }
.lightbox__info .btn { margin-top: auto; }

.modal__box {
  position: relative; background: var(--bg); border-radius: 26px; padding: 44px 36px 36px; text-align: center; width: min(420px, 100%);
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__box h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 16px 0 8px; }
.modal__box p { color: var(--ink-2); margin: 0 0 26px; }
.modal__check { width: 76px; height: 76px; margin: 0 auto; }
.modal__check svg { width: 100%; height: 100%; fill: none; stroke: var(--pink-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.modal__check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.modal.is-open .modal__check circle { animation: draw .8s var(--ease) .2s forwards; }
.modal.is-open .modal__check path { animation: draw .5s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 120; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); max-width: calc(100% - 40px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

body.is-locked { overflow: hidden; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .work-cta { grid-column: span 3; }
  .reviews { grid-auto-columns: calc((100% - 20px) / 2); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--bg);
    clip-path: circle(0 at calc(100% - 42px) 32px); transition: clip-path .7s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 42px) 32px); }
  .nav a:not(.btn) { font-size: 34px; font-weight: 400; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .nav.is-open a:not(.btn) { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open a:nth-child(4) { transition-delay: .15s; }
  .nav__cta { --h: 52px; margin-top: 10px; font-size: 18px; padding: 0 34px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 20px); padding-bottom: 60px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { margin: 0 auto; width: 86%; max-height: none; }
  .hero__content { margin: -17vw 0 0; padding: 0 0 0 2%; }
  .hero__title { font-size: clamp(76px, 22vw, 150px); margin-left: 0; order: -1; }
  .hero__dots { left: auto; right: 14px; bottom: 14px; }
  .hero__dots button { width: 24px; }
  .hero__content .eyebrow { margin-top: 18px; order: 1; }
  .hero__script { margin-left: .8em; }
  .hero__lead, .hero__actions, .hero__facts { order: 2; }
  .hero__lead { margin-top: 12px; }

  .price-panel { grid-template-columns: 1fr; }
  .works-teaser { grid-template-columns: 1fr; gap: 10px; }
  .works-fan { order: -1; }
  .promo__grid { grid-template-columns: 1fr; }
  .promo__card { display: flex; align-items: center; gap: 24px; padding: 24px 26px; }
  .promo__card p { margin: 0; }

  .booking { grid-template-columns: 1fr; }
  .booking__intro { position: static; }
  .booking__quick { grid-template-columns: repeat(2, 1fr); }
  .quick { flex-direction: column; text-align: center; gap: 8px; }
  .quick small { display: none; }
  .quick:hover { transform: translateY(-3px); }

  .contacts { grid-template-columns: 1fr; }
  .map { min-height: 340px; }

  .lightbox { padding: 0; align-items: end; }
  .lightbox__dialog { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: 94svh; overflow-y: auto; transform: translateY(100%); }
  .is-open .lightbox__dialog { transform: none; }
  .lightbox__media img { max-height: 58svh; aspect-ratio: 4 / 5; }
  .lightbox__info { padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); overflow: visible; }
  .lightbox__meta { margin: 18px 0 22px; }

  /* sticky mobile action bar */
  .mobile-bar {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; gap: 8px; padding: 8px;
    background: rgba(24, 21, 20, .92); backdrop-filter: blur(12px); border-radius: 999px;
    box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
    transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); flex: none; }
  .mobile-bar__main { flex: 1; display: grid; place-items: center; border-radius: 999px; background: var(--pink-deep); color: #fff; font-weight: 600; }
  .footer { padding-bottom: 110px; }
  .toast { bottom: 96px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .work-cta { grid-column: 1 / -1; }
  .work__caption { margin-top: 10px; gap: 6px; }
  .work__caption h3 { font-size: 16px; }
  .work__caption small { font-size: 9.5px; }
  .work__pick { display: none; }
  .works-teaser { padding: 22px; border-radius: 26px; }
  .works-teaser::after { font-size: 100px; }
  .works-toggle { width: 100%; }
  .works-fan__badge { width: 66px; height: 66px; font-size: 24px; right: 2%; }
  .reviews { grid-auto-columns: 86%; gap: 12px; }
  .review { padding: 24px; }
  .review p { font-size: 17px; }
  .slider-nav { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .summary { flex-direction: column; align-items: stretch; text-align: center; }
  .summary .btn { width: 100%; }
  .hero__facts { gap: 22px; }
  .hero__facts b { font-size: 22px; }
  .hero__actions .btn { flex: 1; padding: 0 18px; }
  .section__head { margin-bottom: 32px; }
  .day { border-radius: 10px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__media { clip-path: none; }
  .reveal, .reveal-up { opacity: 1; transform: none; }
}
