/* =========================================================
   BLACKWOOD BARBERSHOP — dark theme
   ========================================================= */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --line: rgba(236, 230, 218, 0.09);
  --line-2: rgba(236, 230, 218, 0.17);
  --text: #ece6da;
  --muted: #9b968b;
  --gold: #c9a45c;
  --gold-2: #e8cb8a;
  --gold-3: #8d6c31;
  --wine: #8c2a2f;
  --ff-head: "Oswald", "Arial Narrow", sans-serif;
  --ff-serif: "Playfair Display", Georgia, serif;
  --ff-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading,
body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #14110a;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #2a2a2f;
  border: 2px solid var(--bg);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-3);
}

.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0% { background-position: 0 0; }
  20% { background-position: -40px 30px; }
  40% { background-position: 30px -50px; }
  60% { background-position: -30px -20px; }
  80% { background-position: 50px 40px; }
  100% { background-position: 0 0; }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 95;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold));
  box-shadow: 0 0 12px rgba(232, 203, 138, 0.6);
}

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #070708;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.18, 1) 0.15s;
}
.preloader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.preloader.is-done {
  transform: translateY(-100%);
}
.preloader.is-done::after {
  opacity: 1;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--gold);
  transition: opacity 0.5s, transform 0.7s var(--ease);
}
.preloader.is-done .preloader__inner {
  opacity: 0;
  transform: translateY(-30px);
}

.scissors {
  margin-bottom: 26px;
  overflow: visible;
  animation: fadeUp 0.9s var(--ease) both;
}
.scissors__a,
.scissors__b {
  transform-origin: 50px 50px;
}
.scissors__a {
  animation: snipA 1.1s ease-in-out infinite;
}
.scissors__b {
  animation: snipB 1.1s ease-in-out infinite;
}
@keyframes snipA {
  0%, 100% { transform: rotate(16deg); }
  50% { transform: rotate(1deg); }
}
@keyframes snipB {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(-1deg); }
}

.preloader__word {
  display: flex;
  gap: 0.32em;
  font-family: var(--ff-head);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 500;
  color: var(--text);
}
.preloader__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s var(--ease) forwards;
}
.preloader__word span:nth-child(1) { animation-delay: 0.1s; }
.preloader__word span:nth-child(2) { animation-delay: 0.16s; }
.preloader__word span:nth-child(3) { animation-delay: 0.22s; }
.preloader__word span:nth-child(4) { animation-delay: 0.28s; }
.preloader__word span:nth-child(5) { animation-delay: 0.34s; }
.preloader__word span:nth-child(6) { animation-delay: 0.4s; }
.preloader__word span:nth-child(7) { animation-delay: 0.46s; }
.preloader__word span:nth-child(8) { animation-delay: 0.52s; }
.preloader__word span:nth-child(9) { animation-delay: 0.58s; }

.preloader__sub {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.9s var(--ease) 0.7s both;
}
.preloader__bar {
  width: min(240px, 60vw);
  height: 1px;
  margin-top: 38px;
  background: var(--line-2);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.preloader__count {
  margin-top: 14px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--muted);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 34px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before {
  transform: translateY(0);
}
.btn .icon {
  font-size: 18px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .icon {
  transform: translateX(5px);
}
.btn--sm {
  padding: 12px 24px;
  font-size: 13px;
}
.btn--block {
  width: 100%;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #14110a;
  box-shadow: 0 10px 30px -12px rgba(201, 164, 92, 0.55);
}
.btn--gold::before {
  background: var(--text);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(201, 164, 92, 0.75);
}
.btn--ghost {
  color: var(--gold-2);
}
.btn--ghost::before {
  background: var(--gold);
}
.btn--ghost:hover {
  color: #14110a;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: height 0.5s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.header.is-scrolled {
  height: 70px;
  background: rgba(10, 10, 11, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo__mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 18px;
  transform: rotate(45deg);
  transition: transform 0.8s var(--ease), background 0.4s, color 0.4s;
}
.logo__mark .icon {
  transform: rotate(-45deg);
  transition: transform 0.8s var(--ease);
}
.logo:hover .logo__mark {
  transform: rotate(225deg);
  background: var(--gold);
  color: #14110a;
}
.logo:hover .logo__mark .icon {
  transform: rotate(-225deg);
}
.logo__text {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
}
.logo__text small {
  display: block;
  margin-top: 7px;
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 38px;
}
.nav a {
  position: relative;
  padding: 8px 0;
  font-family: var(--ff-head);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 230, 218, 0.78);
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.nav a:hover,
.nav a.is-active {
  color: var(--gold-2);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-size: 15px;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.header__phone .icon {
  color: var(--gold);
  font-size: 16px;
}
.header__phone:hover {
  color: var(--gold-2);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.5s var(--ease), opacity 0.3s, top 0.5s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 40px;
  background: rgba(8, 8, 9, 0.98);
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path 0.9s var(--ease), visibility 0s 0.9s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 44px);
  transition: clip-path 0.9s var(--ease), visibility 0s 0s;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--ff-head);
  font-size: clamp(34px, 9vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), color 0.3s;
}
.mobile-menu__nav a small {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.mobile-menu__nav a:hover {
  color: var(--gold-2);
}
.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.39s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.46s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.53s; }
.mobile-menu__foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.8s 0.7s;
}
.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
}
.mobile-menu__foot a {
  font-family: var(--ff-head);
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--gold-2);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__bgwrap {
  position: absolute;
  inset: -15% 0;
  z-index: -3;
  will-change: transform;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: brightness(0.78) contrast(1.1) saturate(0.85);
  transform: scale(1.18);
}
body.is-ready .hero__bg {
  animation: heroZoom 3s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.18); }
  to { transform: scale(1); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.96) 0%, rgba(10, 10, 11, 0.7) 42%, rgba(10, 10, 11, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 10, 11, 0.9) 0%, transparent 40%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.75) 0%, transparent 25%);
}

.particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px 1px rgba(232, 203, 138, 0.7);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.85; }
  85% { opacity: 0.35; }
  100% { transform: translate3d(var(--dx, 40px), -105vh, 0); opacity: 0; }
}

.hero__main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 30px) 0 50px;
}

[data-in] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
body.is-ready [data-in] {
  opacity: 1;
  transform: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--ff-head);
  font-size: 14px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  margin: 22px 0 26px;
  font-family: var(--ff-head);
  font-size: clamp(46px, min(9vw, 11vh), 128px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.1em;
  margin-bottom: -0.04em;
}
.hero__title .line > span {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
body.is-ready .hero__title .line > span {
  transform: none;
}
.hero__title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 40%, var(--gold) 60%, var(--gold-3));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

.hero__text {
  max-width: 540px;
  font-size: 18px;
  color: rgba(236, 230, 218, 0.78);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.hero__badge {
  position: absolute;
  right: max(40px, 6vw);
  bottom: 230px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
}
.hero__badge svg:not(.icon) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.hero__badge text {
  fill: var(--gold-2);
  font-family: var(--ff-head);
  font-size: 15px;
  letter-spacing: 0.1em;
}
.hero__badge-center {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 24px;
  background: rgba(10, 10, 11, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__stats {
  background: rgba(10, 10, 11, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 22px 28px 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat b {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold-2);
}
.stat span {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 26px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: inline-flex;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__group span {
  padding: 0 30px;
  font-family: var(--ff-head);
  font-size: clamp(26px, 3.2vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 230, 218, 0.38);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.marquee__group span:hover {
  color: var(--gold);
  -webkit-text-stroke-color: var(--gold);
}
.marquee__group i {
  font-style: normal;
  font-size: 18px;
  color: var(--gold);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Sections: common
   ========================================================= */
.section {
  position: relative;
  padding: 140px 0;
  overflow-x: clip;
}
.section__head {
  max-width: 740px;
  margin: 0 auto 72px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.title {
  margin: 20px 0 22px;
  font-family: var(--ff-head);
  font-size: clamp(36px, 5.2vw, 66px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
}
.lead {
  font-size: 17px;
  color: var(--muted);
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--gold);
  font-size: 22px;
}
.ornament span {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament span:last-child {
  background: linear-gradient(270deg, transparent, var(--gold));
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal--left { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal--zoom { transform: scale(0.94); }
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Services
   ========================================================= */
.services__layout > *,
.contacts__grid > *,
.promos__grid > * {
  min-width: 0;
}
.services__layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 90px;
  align-items: start;
}
.services__visual {
  position: sticky;
  top: 110px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.services__visual::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 3;
  border: 1px solid rgba(201, 164, 92, 0.5);
  pointer-events: none;
}
.services__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.18);
  clip-path: inset(0 0 100% 0);
  filter: brightness(0.82) saturate(0.85);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease), clip-path 1s var(--ease);
}
.services__visual img.is-active {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 0 0 0);
  z-index: 1;
}
.services__tag {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 18px 26px;
  background: rgba(10, 10, 11, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-left: 2px solid var(--gold);
}
.services__tag small {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.services__tag b {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.services__tag span {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-2);
}
.services__tag.is-swap b,
.services__tag.is-swap span {
  animation: fadeUp 0.7s var(--ease) both;
}
.services__tag.is-swap span {
  animation-delay: 0.08s;
}

.tabs {
  position: relative;
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  padding: 16px 22px;
  font-family: var(--ff-head);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.3s;
}
.tab:hover,
.tab.is-active {
  color: var(--gold-2);
}
.tabs__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  transition: transform 0.6s var(--ease), width 0.6s var(--ease);
}

.panel {
  display: none;
}
.panel.is-active {
  display: block;
}
.menu-item {
  position: relative;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: itemIn 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes itemIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}
.menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.menu-item:hover::after {
  transform: scaleX(1);
}
.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.menu-item h3 {
  font-family: var(--ff-head);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.6s var(--ease), color 0.3s;
}
.menu-item:hover h3 {
  transform: translateX(10px);
  color: var(--gold-2);
}
.menu-item__dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted rgba(236, 230, 218, 0.28);
  transform: translateY(-5px);
}
.menu-item__price {
  font-family: var(--ff-head);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  white-space: nowrap;
}
.menu-item__desc {
  max-width: 92%;
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.menu-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.menu-item__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menu-item__time .icon {
  color: var(--gold);
  font-size: 15px;
}
.menu-item__book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.menu-item__book:hover {
  color: var(--gold-2);
}
.menu-item:hover .menu-item__book,
.menu-item__book:focus-visible {
  opacity: 1;
  transform: none;
}
.menu-item__book .icon {
  font-size: 15px;
}
.hit {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  vertical-align: middle;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #14110a;
  background: var(--gold);
  transform: translateY(-2px);
}
.services__note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  background: var(--bg-2);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.g-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
}
.g-item--wide { grid-column: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.8);
  transition: transform 1.4s var(--ease), filter 0.9s;
}
.g-item:hover img {
  transform: scale(1.09);
  filter: grayscale(0) brightness(1);
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid var(--gold);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.6s, transform 0.8s var(--ease);
  pointer-events: none;
}
.g-item:hover::after {
  opacity: 0.8;
  transform: scale(1);
}
.g-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.9), transparent 55%);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
.g-item:hover .g-item__overlay {
  opacity: 1;
  transform: none;
}
.g-item__overlay small {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.g-item__overlay b {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.g-item__zoom {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  color: #14110a;
  background: var(--gold);
  transform: scale(0) rotate(-90deg);
  transition: transform 0.7s var(--ease);
}
.g-item:hover .g-item__zoom {
  transform: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 6, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s 0.5s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0s 0s;
}
.lightbox__figure {
  max-width: min(1100px, 88vw);
  transform: scale(0.9);
  transition: transform 0.8s var(--ease);
}
.lightbox.is-open .lightbox__figure {
  transform: none;
}
.lightbox__img {
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s, transform 0.8s var(--ease);
}
.lightbox__img.is-loaded {
  opacity: 1;
  transform: none;
}
.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}
.lightbox figcaption em {
  font-family: var(--ff-head);
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
}
.lightbox__close { top: 28px; right: 28px; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__nav { top: 50%; margin-top: -27px; }
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }

/* =========================================================
   Promos
   ========================================================= */
.promos {
  overflow: hidden;
}
.promos::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.1), transparent 65%);
  pointer-events: none;
}
.promos__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.tilt {
  transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s;
  will-change: transform;
}
.tilt.reveal {
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), border-color 0.5s, background 0.5s;
  transition-delay: var(--d, 0s);
}

.promo-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 600px;
  padding: 48px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-2);
}
.promo-feature__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.5);
  transition: transform 1.6s var(--ease);
}
.promo-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.95) 5%, rgba(10, 10, 11, 0.35) 70%, rgba(10, 10, 11, 0.55));
}
.promo-feature:hover .promo-feature__bg {
  transform: scale(1.08);
}
.promo-tag {
  position: absolute;
  top: 32px;
  left: 32px;
  padding: 8px 18px;
  font-family: var(--ff-head);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  background: var(--wine);
  animation: pulseTag 2.6s ease-in-out infinite;
}
@keyframes pulseTag {
  0%, 100% { box-shadow: 0 0 0 0 rgba(140, 42, 47, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(140, 42, 47, 0); }
}
.promo-feature h3 {
  font-family: var(--ff-head);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.promo-feature p {
  max-width: 460px;
  margin-top: 14px;
  color: rgba(236, 230, 218, 0.75);
}
.promo-price {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 20px;
}
.promo-price b {
  font-family: var(--ff-head);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-2);
}
.promo-price s {
  font-size: 22px;
  color: var(--muted);
}
.countdown {
  display: flex;
  gap: 12px;
  margin: 26px 0 32px;
}
.cd {
  min-width: 78px;
  padding: 14px 10px 12px;
  text-align: center;
  background: rgba(10, 10, 11, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
}
.cd b {
  display: block;
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold-2);
}
.cd b.is-tick {
  animation: tick 0.5s var(--ease);
}
@keyframes tick {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
.cd small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.promos__stack {
  display: grid;
  gap: 24px;
}
.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(232, 203, 138, 0.13), transparent);
  transform: skewX(-20deg);
  transition: left 1.1s var(--ease);
  pointer-events: none;
}
.promo-card:hover {
  border-color: rgba(201, 164, 92, 0.6);
  background: var(--surface-2);
}
.promo-card:hover::before {
  left: 140%;
}
.promo-card__num {
  font-family: var(--ff-head);
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.promo-card h4 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo-card p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}
.promo-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.4s var(--ease), color 0.3s;
}
.promo-card__link:hover {
  gap: 16px;
  color: var(--gold-2);
}
.promos__note {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   Advantages
   ========================================================= */
.advantages {
  background: var(--bg-2);
  overflow: hidden;
}
.advantages::before {
  content: "BLACKWOOD";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-head);
  font-size: 19vw;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 230, 218, 0.045);
  pointer-events: none;
  user-select: none;
}
.advantages .container {
  position: relative;
}
.adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.adv {
  position: relative;
  padding: 52px 40px 48px;
  overflow: hidden;
  background: var(--bg-2);
}
.adv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.adv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.adv:hover::before {
  opacity: 1;
}
.adv:hover::after {
  transform: scaleX(1);
}
.adv__num {
  position: absolute;
  top: 28px;
  right: 34px;
  font-family: var(--ff-head);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(236, 230, 218, 0.28);
  transition: color 0.4s;
}
.adv:hover .adv__num {
  color: var(--gold);
}
.adv__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 30px;
  font-size: 28px;
  color: var(--gold);
  border: 1px solid var(--gold-3);
  transition: transform 0.7s var(--ease), background 0.4s, color 0.4s;
}
.adv:hover .adv__icon {
  transform: translateY(-6px) rotate(45deg);
  background: var(--gold);
  color: #14110a;
}
.adv:hover .adv__icon .icon {
  transform: rotate(-45deg);
}
.adv__icon .icon {
  transition: transform 0.7s var(--ease);
}
.adv h3 {
  margin-bottom: 12px;
  font-family: var(--ff-head);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.adv p {
  position: relative;
  font-size: 15px;
  color: var(--muted);
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 56px;
  padding: 46px 52px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(201, 164, 92, 0.16), rgba(201, 164, 92, 0.03) 60%),
    var(--surface);
  border: 1px solid rgba(201, 164, 92, 0.4);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -5%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.25);
  box-shadow: 0 0 0 50px rgba(201, 164, 92, 0.04), 0 0 0 100px rgba(201, 164, 92, 0.025);
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.cta-band > * {
  position: relative;
}
.cta-band h3 {
  font-family: var(--ff-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cta-band p {
  margin-top: 6px;
  color: var(--muted);
}
.cta-band b {
  color: var(--gold-2);
  letter-spacing: 0.15em;
}

/* =========================================================
   Contacts
   ========================================================= */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.info {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 22px;
  color: var(--gold);
  border: 1px solid var(--line-2);
  transition: background 0.4s, color 0.4s, transform 0.6s var(--ease), border-color 0.4s;
}
.info:hover .info__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
  transform: rotate(-8deg) scale(1.05);
}
.info h4 {
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.info p,
.info a {
  font-size: 19px;
}
.info a {
  transition: color 0.3s;
}
.info a:hover {
  color: var(--gold-2);
}

.map {
  position: relative;
  height: 300px;
  margin-top: 36px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.88) brightness(0.85);
  transition: filter 0.6s;
}
.map:hover iframe {
  filter: grayscale(0.6) invert(0.92) contrast(0.9) brightness(0.95) hue-rotate(10deg);
}
.map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: -23px 0 0 -23px;
  font-size: 20px;
  color: #14110a;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
}
.map__pin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(3.2); opacity: 0; }
}

/* ---------- booking form ---------- */
.book {
  position: relative;
  padding: 52px 48px 44px;
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.book::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3));
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}
.book.is-flash {
  animation: flash 1.4s var(--ease);
}
@keyframes flash {
  0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.7); }
  100% { box-shadow: 0 0 0 28px rgba(201, 164, 92, 0); }
}
.book h3 {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.book__sub {
  margin: 6px 0 30px;
  color: var(--muted);
  font-size: 15px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.field {
  position: relative;
  margin-bottom: 28px;
}
.field input,
.field select {
  width: 100%;
  padding: 24px 0 10px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  cursor: pointer;
  padding-right: 28px;
  text-overflow: ellipsis;
  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='%23c9a45c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.field option,
.field optgroup {
  background: var(--surface);
  color: var(--text);
}
.field input::placeholder {
  color: transparent;
  transition: color 0.3s;
}
.field input:focus::placeholder {
  color: var(--muted);
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.7) sepia(1) hue-rotate(5deg) saturate(3);
}
.field label {
  position: absolute;
  left: 0;
  top: 22px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field--static label {
  transform: translateY(-17px) scale(0.78);
  color: var(--gold);
}
.field .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.field input:focus ~ .bar,
.field select:focus ~ .bar {
  transform: scaleX(1);
}
.field__err {
  position: absolute;
  right: 0;
  bottom: -20px;
  font-size: 12px;
  color: #e0807c;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
  pointer-events: none;
}
.field.has-error input,
.field.has-error select {
  border-bottom-color: #c0504d;
}
.field.has-error .field__err {
  opacity: 1;
  transform: none;
}
.field.has-error {
  animation: shake 0.5s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.book__agree {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(20, 17, 10, 0.3);
  border-top-color: #14110a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__loader {
  display: block;
}
.btn.is-loading .btn__text {
  opacity: 0.6;
}

.book__success {
  display: none;
  padding: 30px 0 10px;
  text-align: center;
}
.book__success h3 {
  margin: 20px 0 10px;
}
.book__success p {
  max-width: 420px;
  margin: 0 auto 30px;
  color: var(--muted);
}
.book__success p b {
  color: var(--gold-2);
  font-weight: 600;
}
.check {
  width: 96px;
  height: 96px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check circle {
  stroke-dasharray: 227;
  stroke-dashoffset: 227;
}
.check path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.book__success.is-show .check circle {
  animation: draw 0.9s var(--ease) forwards;
}
.book__success.is-show .check path {
  animation: draw 0.6s var(--ease) 0.7s forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  padding-top: 96px;
  overflow: hidden;
  background: #070708;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.1fr 1.3fr;
  gap: 56px;
}
.footer__brand p {
  max-width: 340px;
  margin: 26px 0;
  font-size: 15px;
  color: var(--muted);
}
.footer h5 {
  margin-bottom: 24px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer li {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--muted);
}
.footer li a {
  display: inline-block;
  transition: color 0.3s, transform 0.4s var(--ease);
}
.footer li a:hover {
  color: var(--gold-2);
  transform: translateX(8px);
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.hours b {
  font-weight: 500;
  color: var(--text);
}
.footer__addr,
.footer__sub {
  font-size: 14px;
  color: var(--muted);
}
.footer__sub {
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-2);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
  transform: translateY(-5px);
}

.subscribe {
  display: flex;
  border: 1px solid var(--line-2);
  transition: border-color 0.3s;
}
.subscribe:focus-within {
  border-color: var(--gold);
}
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}
.subscribe input::placeholder {
  color: var(--muted);
}
.subscribe button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 20px;
  color: #14110a;
  background: var(--gold);
  transition: background 0.3s;
}
.subscribe button:hover {
  background: var(--gold-2);
}
.subscribe button .icon {
  transition: transform 0.4s var(--ease);
}
.subscribe button:hover .icon {
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  padding: 26px 0;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
/* ---------- toast + to top ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 160;
  max-width: calc(100% - 32px);
  padding: 16px 28px;
  font-size: 15px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--gold);
  border-left-width: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 140px);
  transition: transform 0.7s var(--ease);
}
.toast.is-show {
  transform: translate(-50%, 0);
}
.toast.is-error {
  border-color: #c0504d;
}

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 20px;
  color: var(--gold);
  background: rgba(10, 10, 11, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-3);
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.5s, transform 0.6s var(--ease), background 0.3s, color 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--gold);
  color: #14110a;
}
.to-top:hover .icon {
  animation: bob 0.8s ease-in-out infinite;
}
@keyframes bob {
  50% { transform: translateY(-4px); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav { gap: 28px; }
  .services__layout { gap: 56px; }
  .adv { padding: 44px 30px 40px; }
}

@media (max-width: 1024px) {
  .reveal--left,
  .reveal--right { transform: translateY(44px); }
  .nav { display: none; }
  .burger { display: block; }
  .hero__badge { display: none; }

  .services__layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .services__visual { position: relative; top: 0; aspect-ratio: 16 / 10; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .g-item--tall { grid-row: span 2; }

  .promos__grid { grid-template-columns: minmax(0, 1fr); }
  .promo-feature { min-height: 520px; }

  .adv__grid { grid-template-columns: repeat(2, 1fr); }

  .contacts__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 52px; }
  .logo__text { font-size: 19px; letter-spacing: 0.22em; }
  .header__right .btn { display: none; }

  .hero__main { padding-bottom: 48px; }
  .hero__eyebrow { gap: 12px; font-size: 12px; letter-spacing: 0.22em; }
  .hero__eyebrow::before { width: 28px; }
  .hero__text { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; border-left: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat span { font-size: 11px; }

  .services__visual { aspect-ratio: 4 / 3; }
  .services__tag { left: 20px; bottom: 20px; padding: 14px 20px; }
  .services__tag b { font-size: 22px; }
  .tab { padding: 14px 16px; font-size: 14px; }
  .menu-item h3 { font-size: 18px; }
  .menu-item__price { font-size: 20px; }
  .menu-item__desc { max-width: 100%; }
  .menu-item__book { opacity: 1; transform: none; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .g-item--wide { grid-column: span 2; }
  .g-item__overlay { padding: 18px; }
  .g-item__overlay b { font-size: 17px; }
  .g-item__zoom { top: 14px; right: 14px; width: 36px; height: 36px; }
  .lightbox__nav { top: auto; bottom: 28px; margin-top: 0; }
  .lightbox__nav--prev { left: calc(50% - 66px); }
  .lightbox__nav--next { right: calc(50% - 66px); }
  .lightbox__close { top: 16px; right: 16px; }

  .promo-feature { min-height: 0; padding: 90px 24px 28px; }
  .promo-tag { top: 24px; left: 24px; }
  .countdown { gap: 8px; width: 100%; }
  .cd { min-width: 0; flex: 1; }
  .cd b { font-size: 26px; }
  .promo-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 28px 24px; }
  .promo-feature .btn { width: 100%; }

  .adv__grid { grid-template-columns: minmax(0, 1fr); }
  .adv { padding: 40px 26px 36px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .cta-band .btn { width: 100%; }

  .info p, .info a { font-size: 17px; }
  .map { height: 240px; }
  .book { padding: 40px 22px 32px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .footer { padding-top: 72px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 6px; margin-top: 48px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .grain { display: none; }
}
