/* =========================================================
   Barber Korec — Třebíč
   Black · Violet · White
   ========================================================= */

:root {
  --ink: #07060b;
  --ink-2: #0e0c15;
  --ink-3: #17141f;
  --line: rgba(236, 230, 255, .1);
  --line-2: rgba(236, 230, 255, .18);
  --white: #f5f2fb;
  --muted: #9d97ad;
  --violet: #8b5cff;
  --violet-2: #a983ff;
  --lilac: #d9c8ff;
  --violet-deep: #4a1fd1;
  --grad: linear-gradient(120deg, #6d3bff 0%, #a983ff 45%, #f1e9ff 100%);
  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--f-body); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--muted); }
em { font-style: normal; }
.hp { position: absolute; left: -9999px; opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
  input, textarea, select { cursor: text; }
}

/* ---------- grain ---------- */
.grain {
  /* static grain (animated full-screen noise was a major paint cost) */
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transform: translateZ(0);
}

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 0; height: 0; pointer-events: none; z-index: 120; display: none; mix-blend-mode: difference; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s;
}
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255,255,255,.1); }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--violet); border-color: var(--violet); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); z-index: -1; }
.loader__panel--a { top: 0; } .loader__panel--b { bottom: 0; }
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 30px; }
.loader__mark svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__ring { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 340; stroke-dashoffset: 340; stroke-linecap: round; }
.loader__count { font-family: var(--f-display); font-size: clamp(48px, 9vw, 110px); font-weight: 300; line-height: 1; }
.loader__label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.loader.is-done { pointer-events: none; }

/* ---------- buttons ---------- */
.btn {
  --h: 58px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--h);
  padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s; white-space: nowrap;
}
.btn > span, .btn > i { position: relative; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 10px 40px -10px rgba(139, 92, 255, .7); }
.btn--primary::before { background: var(--white); }
.btn--primary:hover { color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--ink); border-color: var(--white); }
.btn--sm { --h: 46px; padding: 0 20px; font-size: 14px; }
.btn__arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad); transition: transform .6s var(--ease), background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(7, 6, 11, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__logo-mark {
  position: relative; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad);
  color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 8px 24px -10px rgba(139,92,255,.8); transition: transform .6s var(--ease);
}
.nav__logo-mark svg { width: 30px; height: 30px; }
.nav__logo:hover .nav__logo-mark { transform: rotate(-8deg) scale(1.06); }
.loader__logo { width: 52px; height: 52px; color: var(--white); }
.nav__logo-text { font-family: var(--f-display); font-weight: 600; font-size: 14px; line-height: 1.1; display: grid; }
.nav__logo-text small { font-family: var(--f-mono); font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.nav__links { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(14,12,21,.7); }
.nav__links a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); background: rgba(139, 92, 255, .18); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 110; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 99; pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; }
.menu__bg { position: absolute; inset: 0; background: var(--ink-2); clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); }
.menu.is-open { pointer-events: auto; }
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu__links { position: relative; display: grid; gap: 4px; }
.menu__links a { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 10vw, 64px); line-height: 1.15; letter-spacing: -.03em; opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .7s var(--ease), color .3s; display: flex; align-items: baseline; gap: 14px; }
.menu__links a em { font-family: var(--f-mono); font-size: 12px; color: var(--violet-2); font-weight: 400; }
.menu__links a:active { color: var(--violet-2); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .15s } .menu.is-open .menu__links a:nth-child(2) { transition-delay: .2s }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .25s } .menu.is-open .menu__links a:nth-child(4) { transition-delay: .3s }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .35s } .menu.is-open .menu__links a:nth-child(6) { transition-delay: .4s }
.menu__foot { position: relative; margin-top: auto; display: grid; gap: 4px; color: var(--muted); font-size: 14px; opacity: 0; transition: opacity .5s .5s; }
.menu.is-open .menu__foot { opacity: 1; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 180px) var(--pad); }
.section__label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.section__label .mono { color: var(--violet-2); font-size: 12px; padding: 4px 8px; border: 1px solid rgba(169,131,255,.35); border-radius: 999px; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .section__label { width: 100%; margin-bottom: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .section__label { width: auto; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 6vw, 92px); line-height: .98; letter-spacing: -.045em; margin: 0; max-width: 14ch; }
.h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 300; }
.h2 em .word > span { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.h2 em .word:nth-child(2) > span { background-position: 50% 0; }
.h2 em .word:nth-child(3) > span { background-position: 100% 0; }
.section__head--center .h2 { max-width: 16ch; }
.section__head p { max-width: 46ch; margin: 0; }

.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--pad) clamp(32px, 5vw, 64px); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow { position: absolute; z-index: 0; width: 70vmax; height: 70vmax; right: -20vmax; top: -20vmax; background: radial-gradient(circle, rgba(139,92,255,.3), rgba(139,92,255,.08) 40%, transparent 65%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7,6,11,.65); margin: 0 0 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5cff9d; box-shadow: 0 0 0 0 rgba(92,255,157,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92,255,157,0); } 100% { box-shadow: 0 0 0 0 rgba(92,255,157,0); } }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(60px, min(15vw, 25svh), 280px); line-height: .82; letter-spacing: -.06em; }
.hero__line { display: block; overflow: hidden; padding: .2em 0 .06em; margin-top: -.18em; }
.hero__line--outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); padding-left: 8vw; }
.split { display: inline-block; }
.char { display: inline-block; will-change: transform; }
.hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(20px, 3vw, 40px); }
.hero__lead { max-width: 42ch; margin: 0; color: #cfc8de; font-size: clamp(16px, 1.25vw, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { position: absolute; z-index: 2; top: 50%; right: var(--pad); display: grid; gap: 8px; text-align: right; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.hero__meta .mono { color: var(--white); font-size: 11px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 20px; display: grid; justify-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transform: translateX(-50%); }
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--violet), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

.badge { position: absolute; z-index: 3; right: clamp(24px, 8vw, 160px); top: clamp(110px, 18vh, 200px); width: clamp(110px, 11vw, 160px); aspect-ratio: 1; display: grid; place-items: center; }
.badge__text { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.badge__text text { font-family: var(--f-mono); font-size: 14.5px; letter-spacing: 3px; fill: var(--white); }
.badge__icon { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--violet); display: grid; place-items: center; font-size: clamp(20px, 2vw, 28px); transition: transform .6s var(--ease), background .3s; box-shadow: 0 0 40px rgba(139,92,255,.6); }
.badge:hover .badge__icon { transform: rotate(-90deg) scale(1.1); background: var(--white); color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; padding: 22px 0; background: var(--violet); color: var(--ink); transform: rotate(-2deg) scale(1.04); margin: -10px 0; border-block: 1px solid rgba(0,0,0,.2); }
.marquee__track, .reviews__row { display: flex; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 4vw, 54px); text-transform: uppercase; letter-spacing: -.03em; padding: 0 28px; }
.marquee__track b { display: grid; place-items: center; font-size: clamp(18px, 2.4vw, 32px); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__media { position: relative; padding: 0 12% 18% 0; }
.about__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--ink-3); }
.about__img img { width: 100%; height: 118%; object-fit: cover; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--ink); }
.about__img--small img { height: 100%; }
.about__sticker { position: absolute; left: -14px; bottom: 26%; padding: 16px 20px; border-radius: 18px; background: rgba(14,12,21,.92); border: 1px solid var(--line-2); display: grid; gap: 2px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.about__sticker strong { font-family: var(--f-display); font-size: 32px; line-height: 1; }
.about__sticker span { color: var(--violet-2); letter-spacing: 2px; font-size: 13px; }
.about__sticker small { color: var(--muted); font-size: 12px; }
.about__p { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.5; margin: 32px 0 48px; color: var(--white); }
.scrub-text .w { opacity: .18; transition: opacity .2s; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 32px; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.04em; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }
.reveal-img { clip-path: inset(100% 0 0 0 round var(--radius)); }

/* ---------- services ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto auto; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 36px) 8px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(139,92,255,.22), rgba(139,92,255,0)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.svc:hover::before { transform: scaleY(1); }
.svc__num { font-family: var(--f-mono); font-size: 12px; color: var(--violet-2); }
.svc__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -.035em; line-height: 1.05; transition: transform .6s var(--ease); }
.svc:hover .svc__name { transform: translateX(14px); }
.svc__desc { display: block; font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--muted); letter-spacing: 0; margin-top: 6px; max-width: 52ch; }
.svc__dur { font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.svc__price { font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 2vw, 28px); white-space: nowrap; }
.svc__book { position: absolute; right: 8px; top: 50%; transform: translate(120%, -50%); }
.svc-float { position: fixed; top: 0; left: 0; z-index: 50; width: 280px; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); will-change: transform; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
.svc-float.is-on { opacity: 1; transform: scale(1); }

/* ---------- gallery ---------- */
.gallery { position: relative; overflow: hidden; }
.gallery__pin { display: flex; align-items: center; gap: clamp(30px, 5vw, 80px); min-height: 100svh; padding: 120px var(--pad) 80px; }
.gallery__head { flex: 0 0 auto; width: min(380px, 80vw); }
.gallery__title { font-size: clamp(56px, 9vw, 150px); }
@media (min-width: 901px) {
  .gallery__head { position: relative; z-index: 2; }
  .gallery__head::before { content: ''; position: absolute; z-index: -1; top: -100vh; bottom: -100vh; left: -100vw; right: -50px; background: linear-gradient(90deg, var(--ink) calc(100% - 50px), rgba(7,6,11,0)); pointer-events: none; }
}
.gallery__hint { color: var(--muted); margin-top: 24px; }
.gallery__track { display: flex; gap: clamp(16px, 2vw, 32px); will-change: transform; }
.gcard { position: relative; flex: 0 0 auto; width: clamp(240px, 27vw, 420px); aspect-ratio: 3/4; border-radius: var(--radius); perspective: 900px; }
.gcard:nth-child(even) { margin-top: 12vh; }
.gcard__inner { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease); background: var(--ink-3); }
.gcard img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1s var(--ease), filter .6s; filter: grayscale(.35) contrast(1.05); }
.gcard:hover img { transform: scale(1.02); filter: none; }
.gcard__shine { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.25), transparent 50%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.gcard:hover .gcard__shine { opacity: 1; }
.gcard__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(7,6,11,.82); border: 1px solid var(--line); transform: translateZ(40px); }
.gcard__cap strong { font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.gcard__cap span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--lilac); padding: 4px 8px; border-radius: 999px; background: rgba(139,92,255,.25); }
.gcard__idx { position: absolute; top: 14px; left: 16px; font-family: var(--f-mono); font-size: 11px; color: #fff; mix-blend-mode: difference; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.compare__text p { margin-top: 24px; }
.compare__box { position: relative; aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y; background: var(--ink-3); }
.compare__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { filter: grayscale(1) brightness(.75) blur(1.5px) contrast(.9); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--violet); display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 6px rgba(139,92,255,.3), 0 0 40px rgba(139,92,255,.7); }
.compare__box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.compare__tag { position: absolute; top: 16px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; background: rgba(7,6,11,.8); pointer-events: none; }
.compare__tag--l { left: 16px; } .compare__tag--r { right: 16px; }

/* ---------- products ring ---------- */
.products { overflow: hidden; }
.ring { position: relative; height: clamp(380px, 46vw, 560px); perspective: 1600px; touch-action: pan-y; user-select: none; }
.ring__stage { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.pcard {
  position: absolute; width: clamp(180px, 18vw, 260px); aspect-ratio: 3/4; left: 0; top: 0; border-radius: 20px; overflow: hidden;
  transform-style: preserve-3d; background: var(--ink-3); border: 1px solid var(--line-2); transition: box-shadow .4s, border-color .4s;
}
.pcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,6,11,.85), transparent 50%); }
.pcard__meta { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.pcard__meta strong { font-family: var(--f-display); font-weight: 600; font-size: 14px; line-height: 1.15; }
.pcard__meta span { font-family: var(--f-mono); font-size: 12px; color: var(--lilac); white-space: nowrap; }
.pcard.is-front { border-color: var(--violet); box-shadow: 0 0 60px -10px rgba(139,92,255,.8); }
.ring__controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 10px; }
.ring__btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; transition: background .3s, border-color .3s; }
.ring__btn:hover { background: var(--violet); border-color: var(--violet); }
.ring__info { display: grid; text-align: center; min-width: 200px; }
.ring__info strong { font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.ring__info span { color: var(--muted); font-size: 14px; }

/* ---------- booking ---------- */
.booking { overflow: hidden; }
.booking__bg span { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.booking__bg span:first-child { width: 50vw; height: 50vw; left: -15vw; top: 10%; background: radial-gradient(circle, rgba(109,59,255,.28), transparent 65%); }
.booking__bg span:last-child { width: 40vw; height: 40vw; right: -10vw; bottom: 0; background: radial-gradient(circle, rgba(169,131,255,.18), transparent 65%); }
@keyframes blob { to { transform: translate(10vw, -8vw) scale(1.2); } }

.bk { display: grid; grid-template-columns: 1fr 340px; grid-template-rows: auto 1fr; gap: 20px 28px; padding: clamp(16px, 2.4vw, 32px); border-radius: 30px; background: rgba(14,12,21,.9); border: 1px solid var(--line); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); }
.bk__steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bk__steps li { position: relative; padding: 14px 16px 16px; border-radius: 14px; font-size: 14px; color: var(--muted); background: rgba(255,255,255,.02); display: flex; gap: 10px; align-items: center; overflow: hidden; transition: color .3s; }
.bk__steps li span { font-family: var(--f-mono); font-size: 11px; }
.bk__steps li::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.bk__steps li.is-active, .bk__steps li.is-done { color: var(--white); }
.bk__steps li.is-active::after, .bk__steps li.is-done::after { transform: scaleX(1); }
.bk__steps li.is-done::after { background: var(--lilac); opacity: .5; }
.bk__body { position: relative; min-height: 440px; }
.bk__panel { display: none; }
.bk__panel.is-active { display: block; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } }

.bk__services { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bsvc { position: relative; text-align: left; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); display: grid; gap: 10px; transition: border-color .3s, background .3s, transform .4s var(--ease); overflow: hidden; }
.bsvc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.bsvc.is-selected { border-color: var(--violet); background: rgba(139,92,255,.14); }
.bsvc__img { height: 90px; border-radius: 12px; overflow: hidden; }
.bsvc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bsvc:hover .bsvc__img img { transform: scale(1.08); }
.bsvc strong { font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.bsvc__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.bsvc__row b { color: var(--white); font-weight: 600; }
.bsvc__check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; font-size: 13px; transform: scale(0); transition: transform .4s var(--ease); }
.bsvc.is-selected .bsvc__check { transform: scale(1); }

.bk__dt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal__head strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s; }
.cal__nav:hover:not(:disabled) { background: var(--violet); }
.cal__nav:disabled { opacity: .3; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow span { text-align: center; font-family: var(--f-mono); font-size: 11px; color: var(--muted); padding: 6px 0; }
.cal__day { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 15px; font-weight: 500; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.cal__day:not(:disabled):hover { border-color: var(--violet); transform: scale(1.06); }
.cal__day:disabled { color: rgba(157,151,173,.35); }
.cal__day.is-avail::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: #5cff9d; }
.cal__day.is-today { border-color: var(--line-2); }
.cal__day.is-selected { background: var(--violet); color: #fff; border-color: var(--violet); }
.cal__day.is-selected::after { background: #fff; }
.slots__title { margin: 6px 0 16px; font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.slot { padding: 12px 0; border-radius: 12px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 14px; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.slot:hover { border-color: var(--violet); transform: translateY(-2px); }
.slot.is-selected { background: var(--white); color: var(--ink); border-color: var(--white); }
.slots__empty { color: var(--muted); grid-column: 1 / -1; font-size: 15px; }
.skeleton { height: 44px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.08), rgba(255,255,255,.03)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.bk__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--white); font: inherit; font-size: 16px; outline: none; transition: border-color .3s, background .3s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--violet); background: rgba(139,92,255,.08); }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--lilac); }
.field.is-invalid input { border-color: #ff5c8a; }
.bk__error { grid-column: 1 / -1; color: #ff7aa2; min-height: 1.4em; margin: 0; font-size: 14px; }

.bk__summary { border-radius: 22px; background: linear-gradient(160deg, rgba(139,92,255,.22), rgba(139,92,255,.04)); border: 1px solid rgba(169,131,255,.25); padding: 22px; display: flex; flex-direction: column; gap: 12px; align-self: start; position: sticky; top: 100px; }
.bk__summary dl { margin: 0; display: grid; gap: 10px; }
.bk__summary dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.bk__summary dt { color: var(--muted); }
.bk__summary dd { margin: 0; text-align: right; font-weight: 600; }
.bk__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.bk__total strong { font-family: var(--f-display); font-size: 30px; letter-spacing: -.03em; }
.bk__nav { display: flex; gap: 8px; margin-top: 8px; }
.bk__nav .btn { flex: 1 1 auto; justify-content: center; padding: 0 16px; }
.bk__nav #bkBack { flex: 0 0 auto; }

.bk__done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 0; }
.bk__done h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.03em; margin: 10px 0 0; }
.bk__done p { margin: 0; }
.bk__done .btn { margin-top: 20px; }
.bk__check svg { width: 96px; height: 96px; }
.bk__check circle { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; }
.bk__check path { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.bk__panel.is-active .bk__check circle { animation: draw .8s var(--ease) forwards; }
.bk__panel.is-active .bk__check path { animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- reviews ---------- */
.reviews { overflow: hidden; padding-left: 0; padding-right: 0; }
.reviews__rows { display: grid; gap: 18px; transform: rotate(-1.5deg); }
.reviews__row { gap: 18px; }
.review { margin: 0; flex: 0 0 auto; width: clamp(280px, 30vw, 420px); padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); display: grid; gap: 18px; transition: border-color .3s, background .3s; }
.review:hover { border-color: var(--violet); background: var(--ink-3); }
.review blockquote { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; }
.review figcaption { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.review figcaption span { color: var(--violet-2); letter-spacing: 2px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: auto auto; gap: 40px clamp(30px, 5vw, 80px); }
.contact__big { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 4vw, 68px); letter-spacing: -.045em; line-height: 1; white-space: nowrap; background: linear-gradient(90deg, var(--white) 50%, var(--violet-2) 50%); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .7s var(--ease); }
.contact__big:hover { background-position: -100% 0; }
.contact__mail { display: block; margin-top: 14px; font-size: clamp(18px, 2vw, 28px); color: var(--lilac); }
.contact__social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.contact__note { align-self: end; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(140deg, rgba(139,92,255,.16), rgba(14,12,21,.6) 60%); }
.contact__note p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.contact__note strong { display: block; color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.contact__note-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: var(--ink); font-size: 16px; }

/* ---------- footer ---------- */
.footer { position: relative; padding: clamp(80px, 10vw, 140px) var(--pad) 28px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__cta { position: relative; z-index: 1; }
.footer__big { display: grid; font-family: var(--f-display); font-weight: 800; font-size: clamp(54px, 12vw, 210px); line-height: .9; letter-spacing: -.06em; margin-top: 16px; }
.footer__big .outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); transition: color .6s var(--ease), -webkit-text-stroke-color .6s; }
.footer__big:hover .outline { color: var(--violet); -webkit-text-stroke-color: var(--violet); }
.footer__bar { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: clamp(60px, 8vw, 120px); font-size: 14px; }
.footer__bar a:hover { color: var(--white); }
.footer__mk { position: absolute; right: -4vw; bottom: -10vw; width: 56vw; height: 56vw; color: rgba(139,92,255,.13); pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%); mask-image: linear-gradient(180deg, #000 20%, transparent 85%); }
.footer__credit { color: var(--muted); }
.footer__credit a { color: var(--white); font-weight: 600; background: linear-gradient(90deg, var(--violet-2), var(--violet-2)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color .3s, background-size .4s var(--ease); }
.footer__credit a:hover { color: var(--violet-2); background-size: 0 1px; }

/* ---------- lightbox / toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 60px var(--pad); background: rgba(7,6,11,.95); opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 78vh; border-radius: 20px; transform: scale(.9); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox p { font-family: var(--f-display); margin: 16px 0 0; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; }
.toast { position: fixed; z-index: 160; left: 50%; bottom: 24px; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 14px; background: var(--white); color: var(--ink); font-weight: 600; transition: transform .6s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .bk { grid-template-columns: 1fr; }
  .bk__summary { position: relative; top: 0; }
  .hero__meta { display: none; }
}
@media (max-width: 900px) {
  .about__grid, .compare, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .bk__dt { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .svc__num { display: none; }
  .svc__dur { grid-row: 2; }
  .svc__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .svc-float { display: none; }
  .gallery__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: 100px 0 60px; }
  .gallery__head { padding: 0 var(--pad); width: auto; }
  .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gcard { scroll-snap-align: center; width: 72vw; max-width: 360px; }
  .gcard:nth-child(even) { margin-top: 0; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__logo-text { display: none; }
  .hero { padding-top: 100px; }
  .hero__title { font-size: 20vw; }
  .hero__line--outline { -webkit-text-stroke-width: 1px; padding-left: 0; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; padding: 0 18px; }
  .hide-sm { display: none; }
  .badge { top: 96px; right: 16px; width: 92px; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat strong { font-size: 26px; }
  .bk { padding: 12px; border-radius: 24px; }
  .bk__steps li { padding: 10px; font-size: 0; justify-content: center; }
  .bk__steps li span { font-size: 12px; }
  .bk__form { grid-template-columns: 1fr; }
  .bk__services { grid-template-columns: 1fr; }
  .bsvc { grid-template-columns: 72px 1fr; align-items: center; column-gap: 14px; }
  .bsvc__img { height: 72px; grid-row: 1 / span 2; }
  .about__sticker { left: 0; }
  .ring__info { min-width: 140px; }
  .footer__bar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
