/* =========================================================
   БАРАШЕК — ресторан кавказской/европейской кухни, Ташкент
   Design system + Hero + Menu + Location + motion layer
   ========================================================= */

:root {
  /* palette */
  --bg-primary: #1A140F;
  --bg-secondary: #211A14;
  --accent-primary: #C1622E;
  --accent-gold: #C9A961;
  --accent-wine: #6B2E2E;
  --text-primary: #F2E8DC;
  --text-secondary: #A89A8A;
  --border-subtle: rgba(58, 47, 38, 0.6);

  /* derived shades — computed from the palette above, not new hues */
  --accent-primary-dark: color-mix(in srgb, var(--accent-primary) 62%, black);
  --accent-gold-light: color-mix(in srgb, var(--accent-gold) 100%, white 22%);
  --text-faint: color-mix(in srgb, var(--text-secondary) 60%, transparent);
  --border-strong: color-mix(in srgb, var(--border-subtle) 100%, var(--text-primary) 18%);

  /* type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* layout */
  --container-w: 1180px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --header-h: 64px;
  --sticky-cta-h: 64px;

  /* shadow */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.35);
}

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

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

html,
body {
  overflow-x: hidden;
}

/* Lenis recommended hooks — harmless no-ops if Lenis fails to load */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- custom scrollbar ----------
   Applies globally (any scrollable element). .reviews__track deliberately
   hides its own scrollbar further down — that rule is more specific
   (class + pseudo-element) so it keeps winning there regardless of source
   order, and native scroll-snap is unaffected either way since scrollbar
   styling is purely cosmetic. */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) color-mix(in srgb, var(--bg-secondary) 60%, transparent);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--bg-secondary) 60%, transparent);
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent-primary);
  background-clip: padding-box;
  border: 1px solid transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-gold);
}

body {
  margin: 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 55%);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-cta-h);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.eyebrow-row .eyebrow {
  margin-bottom: 0;
}

.deco-line {
  width: 40px;
  height: 8px;
  overflow: visible;
  flex-shrink: 0;
}

.deco-line line {
  stroke: url(#goldLineGrad);
  stroke-width: 2;
  stroke-linecap: round;
}

.section-title {
  font-size: clamp(28px, 6vw, 42px);
  color: var(--text-primary);
}

[data-split] .word,
.hero__title .char {
  display: inline-block;
}

.section-subtitle {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 46ch;
}

.section-head {
  margin-bottom: 36px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 18px 42px;
  border-radius: 999px;
  font-size: clamp(12px, 3.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
  color: var(--text-primary);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent-primary) 55%, white 25%),
    0 10px 26px color-mix(in srgb, var(--accent-primary) 40%, transparent);
}

/* Hover = a gold fill sweeping in from the left, not a shadow tweak or
   any transform on the button itself (it never moves or scales). */
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--primary:hover::before {
  transform: scaleX(1);
}

.btn--primary:hover {
  color: var(--bg-primary);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent-gold) 60%, white 20%),
    0 14px 34px color-mix(in srgb, var(--accent-gold) 45%, transparent);
}

.btn--outline {
  position: relative;
  background: color-mix(in srgb, var(--text-primary) 4%, transparent);
  border-color: color-mix(in srgb, var(--text-primary) 35%, transparent);
  color: var(--text-primary);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-gold-light), transparent 45%, var(--accent-primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn--outline:hover {
  border-color: transparent;
  color: var(--accent-gold-light);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--accent-gold) 16%, transparent), 0 10px 26px rgba(0, 0, 0, 0.3);
}

.btn--outline:hover::before {
  opacity: 1;
}

.btn--gold {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  color: var(--bg-primary);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn--lg {
  padding: 20px 48px;
  font-size: clamp(14px, 3.4vw, 15px);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* The frosted-glass background lives on ::before, not on .site-header
   itself. backdrop-filter on an element makes it a containing block for
   position:fixed descendants — since .site-nav (the mobile drawer /
   desktop nav row) is a fixed-position child of .site-header, putting
   backdrop-filter directly on .site-header caused the drawer to be
   composited through the header's own blur pass, making it look
   translucent and blurry instead of solid. A pseudo-element is a sibling
   of .site-nav in the stacking sense, not an ancestor, so it keeps the
   glass effect on the header bar without leaking onto the drawer. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--bg-secondary) 82%, transparent) 0%, color-mix(in srgb, var(--bg-primary) 88%, transparent) 100%);
  backdrop-filter: blur(10px);
  transition: background 0.4s ease;
}

.site-header.is-compact {
  height: 52px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.site-header.is-compact::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--bg-secondary) 94%, transparent) 0%, color-mix(in srgb, var(--bg-primary) 94%, transparent) 100%);
}

.site-header.is-compact .logo__mark {
  transform: scale(0.86);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, var(--accent-gold-light), var(--accent-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--bg-primary);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo__mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.site-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
}

.site-nav__list a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav__cta {
  margin-top: 20px;
}

/* ---------- language switcher ---------- */
.site-nav__lang {
  margin-top: 20px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-primary) 40%, transparent);
  width: max-content;
}

.lang-switch__btn {
  border: none;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-switch__btn.is-active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
  color: var(--text-primary);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 12% 88%, color-mix(in srgb, var(--accent-primary) 32%, transparent), transparent 70%),
    radial-gradient(45% 35% at 90% 8%, color-mix(in srgb, var(--accent-gold) 14%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-primary) 32%, transparent) 0%, color-mix(in srgb, var(--bg-primary) 55%, transparent) 45%, color-mix(in srgb, var(--bg-primary) 97%, transparent) 100%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero__content {
  position: relative;
  width: 100%;
  padding: 48px 0 56px;
  text-align: left;
  /* Anchored left instead of the inherited .container centering — leaves
     deliberate empty space on the right (room for a future photo/detail)
     instead of the typical single-column-dead-center hero layout.
     padding-left replicates exactly where .container's own content
     starts (same math as its auto-margins + padding) so the hero title
     lines up with the logo above it instead of sitting flush at the
     viewport edge — .hero__content's horizontal padding is otherwise 0
     from the shorthand above, and losing the centering margin would
     otherwise leave the text with no left inset at all. */
  padding-left: max(20px, calc((100vw - var(--container-w)) / 2 + 20px));
  margin-left: 0;
  margin-right: auto;
}

.hero__eyebrow {
  position: relative;
  padding-left: 18px;
  letter-spacing: 0.08em;
}

.hero__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--accent-gold-light), var(--accent-gold));
}

.hero__title {
  font-size: clamp(44px, 13vw, 88px);
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero__slogan {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 4.6vw, 24px);
  color: var(--accent-gold-light);
  max-width: 26ch;
}

.hero__desc {
  margin-top: 18px;
  color: var(--text-secondary);
  max-width: 44ch;
  font-size: 15.5px;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 13.5px;
}

.hero__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fbf73;
  box-shadow: 0 0 0 4px rgba(111, 191, 115, 0.15);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll-label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-primary) 50%, transparent);
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 42px;
  background: color-mix(in srgb, var(--text-primary) 20%, transparent);
  overflow: hidden;
}

.hero__scroll-line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent-gold-light));
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-line::before {
    animation: scrollTravel 2.2s ease-in-out infinite;
  }
}

@keyframes scrollTravel {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 1px;
  background: var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--sticky-cta-h);
  padding: 0 14px;
  font-size: clamp(11.5px, 3.2vw, 14.5px);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta__call {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  color: var(--text-primary);
}

.sticky-cta__book {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-primary) 55%, white 25%);
}

/* ---------- menu ---------- */
.menu {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(50% 40% at 92% 0%, color-mix(in srgb, var(--accent-gold) 7%, transparent), transparent 70%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.menu__head {
  position: relative;
  margin-bottom: 32px;
}

.menu__head-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.menu__pdf-btn {
  flex-shrink: 0;
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.dish-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent-gold) 55%, transparent);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

.dish-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-card:hover .dish-card__media img {
  transform: scale(1.05);
}

.dish-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
  color: var(--text-primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
  .dish-card:hover .dish-card__badge {
    animation: badgeBounce 0.55s ease;
  }
}

@keyframes badgeBounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  55% { transform: translateY(0); }
  75% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.dish-card__body {
  padding: 18px 18px 20px;
}

.dish-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dish-card__name {
  font-size: 18px;
  color: var(--text-primary);
}

.dish-card__price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dish-card__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.menu__footnote {
  margin-top: 28px;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}

/* ---------- info ---------- */
.info {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(45% 35% at 95% 100%, color-mix(in srgb, var(--accent-gold) 6%, transparent), transparent 70%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.info__head {
  position: relative;
  margin-bottom: 32px;
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info__card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}

.info__group-title {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.info__price-value {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(19px, 3.6vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Shared marker style — every list of facts in an .info__card uses the
   same small gold dash, whether it's a wrapped chip (.info__tags) or a
   full-sentence line (.info__detail-list), so nothing reads as "some
   items have bullets, some don't". */
.info__tags li,
.info__detail-list li {
  position: relative;
  padding-left: 14px;
}

.info__tags li::before,
.info__detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 2px;
  background: var(--accent-gold);
}

.info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.info__tags li {
  font-size: 14px;
  color: var(--text-secondary);
}

.info__detail-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info__detail-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.info__amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-top: 14px;
}

.info__amenities li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.info__amenities svg {
  flex-shrink: 0;
  color: var(--accent-gold);
}

@media (min-width: 860px) {
  .info__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info__card--wide {
    grid-column: span 2;
  }
}

/* ---------- about ---------- */
.about {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(45% 35% at 92% 100%, color-mix(in srgb, var(--accent-primary) 7%, transparent), transparent 70%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__text {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__text p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 62ch;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about__stat {
  padding: 20px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.about__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(19px, 4vw, 25px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

@media (min-width: 860px) {
  .about__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- gallery ---------- */
.gallery {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(45% 35% at 6% 6%, color-mix(in srgb, var(--accent-primary) 8%, transparent), transparent 70%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.gallery__head {
  position: relative;
  margin-bottom: 32px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Mobile-only aspect ratios. These MUST stay scoped to the mobile query —
   an nth-child selector is more specific than the plain ".gallery-item"
   reset below, so if left unscoped it would keep winning at desktop width
   too and silently break the grid-row/column spans (cards misaligned,
   uneven row heights). */
@media (max-width: 859.98px) {
  .gallery__grid > .gallery-item:nth-child(1) { aspect-ratio: 4 / 5; }
  .gallery__grid > .gallery-item:nth-child(2) { aspect-ratio: 16 / 11; }
  .gallery__grid > .gallery-item:nth-child(3) { aspect-ratio: 3 / 4; }
  .gallery__grid > .gallery-item:nth-child(4) { aspect-ratio: 16 / 10; }
  .gallery__grid > .gallery-item:nth-child(5) { aspect-ratio: 16 / 11; }
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
  -webkit-tap-highlight-color: transparent;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--bg-primary) 88%, transparent) 100%);
  opacity: 0.75;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 0.92;
}

.gallery-item__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 860px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
  }

  .gallery__grid > .gallery-item {
    aspect-ratio: auto;
  }

  .gallery__grid > .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery__grid > .gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 2; }
  .gallery__grid > .gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 2; }
  .gallery__grid > .gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .gallery__grid > .gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__figure {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  margin: 0;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-s);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox__img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox__caption {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

.lightbox__close,
.lightbox__arrow {
  position: fixed;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-secondary) 75%, transparent);
  color: var(--text-primary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__arrow--prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__arrow--next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lightbox__close,
  .lightbox__arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox__arrow--prev {
    left: 8px;
  }

  .lightbox__arrow--next {
    right: 8px;
  }
}

/* ---------- location ---------- */
.location {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.location__head {
  position: relative;
  margin-bottom: 32px;
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.location__map {
  position: relative;
  height: 320px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location__map-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  color: var(--text-secondary);
  font-size: 14px;
}

.location__map.is-fallback .location__map-fallback {
  display: flex;
}

.location__map.is-fallback iframe {
  visibility: hidden;
}

.location__card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.location__card-title {
  font-size: 22px;
  color: var(--text-primary);
}

.location__details {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location__details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14.5px;
  color: var(--text-primary);
}

.location__details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.location__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.location__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 860px) {
  .location__map {
    height: 450px;
  }

  .location__grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: stretch;
  }

  .location__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ---------- reviews ---------- */
.reviews {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(45% 35% at 8% 100%, color-mix(in srgb, var(--accent-wine) 12%, transparent), transparent 70%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.reviews__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent-wine);
  background: color-mix(in srgb, var(--accent-wine) 14%, transparent);
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reviews__title {
  margin-top: 16px;
}

.reviews__subtitle {
  max-width: 52ch;
}

.reviews__track-wrap {
  margin-top: 40px;
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  margin: -4px -4px -14px;
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 clamp(270px, 80vw, 340px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-dark));
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.review-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.review-card__role {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.review-card__text {
  flex-grow: 1;
  min-height: 6.4em; /* reserves row height so RU/UZ/EN text-length differences don't jump the layout */
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.review-card__stars {
  color: var(--accent-gold);
  font-size: 16px;
  letter-spacing: 3px;
}

.reviews__nav {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.reviews__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  color: var(--accent-gold);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.reviews__arrow:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.reviews__cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

@media (min-width: 860px) {
  .review-card {
    flex: 0 0 min(360px, calc((100% - 40px) / 3));
  }
}

/* ---------- future sections placeholder ---------- */
.section-stub {
  padding: 60px 0;
  text-align: center;
  border-top: 1px dashed var(--border-subtle);
}

.section-stub p {
  color: var(--text-faint);
  font-size: 13.5px;
}

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 32px;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 22px;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.site-footer__contacts a {
  color: var(--text-primary);
}

.site-footer__social {
  display: flex;
  gap: 12px;
}

.site-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.site-footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* =========================================================
   Tablet / Desktop
   ========================================================= */
@media (min-width: 640px) {
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .sticky-cta {
    display: none; /* header CTA is reachable without scrolling on larger screens */
  }

  body {
    padding-bottom: 0;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    background: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .site-nav__list {
    flex-direction: row;
    padding: 0;
    gap: 20px;
    align-items: center;
  }

  .site-nav__list a {
    position: relative;
    padding: 4px 0;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    border-bottom: none;
  }

  .site-nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav__list a:hover::after,
  .site-nav__list a.is-active::after {
    transform: scaleX(1);
  }

  .site-nav__lang {
    margin-top: 0;
  }

  .site-nav__cta {
    margin-top: 0;
    margin-left: 4px;
  }

  .hero {
    align-items: center;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__scroll {
    display: flex;
  }

  .menu__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .hero__content {
    max-width: 720px;
  }
}

/* ---------- reduced motion: strip anything non-essential ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__scroll-line::before {
    animation: none;
  }
}
