/* =========================================================
   BLACK BISON — barbershop, Rzhev
   Стили построены на реальной айдентике и интерьере:
   кирпич, чёрный металл, тёплое дерево, золотисто-песочный акцент.
   ========================================================= */

:root {
  /* --- Палитра, извлечена из реальных фото Black Bison --- */
  --black: #0f0e0d;
  --charcoal: #1a1816;
  --charcoal-2: #221f1c;
  --brick: #6e4433;
  --brick-dark: #4a2c22;
  --wood: #5a3c26;
  --gold: #c9a15b;
  --gold-soft: #d9bd8a;
  --cream: #ece7dc;
  --cream-dim: #c9c3b6;
  --gray: #8b8983;
  --line: rgba(236, 231, 220, 0.12);
  --line-gold: rgba(201, 161, 91, 0.35);

  --font-display: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
body.has-sticky-cta { padding-bottom: 64px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--cream);
  line-height: 0.98;
}

.section-title {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 600;
  margin-top: 10px;
}

.section-lead {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 400;
  color: var(--cream-dim);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 46ch;
  letter-spacing: normal;
  margin-top: 14px;
  line-height: 1.6;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 6vw, 56px);
}

section { position: relative; }

/* ---------- Reveal animation ----------
   Progressive enhancement: content is visible by default (no-JS, slow JS,
   or any edge case where IntersectionObserver never fires all still show
   the page correctly). Only when the early head script confirms JS is
   running (html.js-anim) do sections start hidden and animate in. */
.reveal {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-anim .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.42s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 30px;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #17130d;
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(236,231,220,0.35);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-line {
  border-bottom: 1px solid var(--gold);
  padding: 4px 0;
  border-radius: 0;
  font-size: 13px;
}
.btn:active { transform: translateY(0) scale(0.98); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,9,8,0.75), transparent);
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow .4s var(--ease);
}
.site-header:has(.nav-toggle[aria-expanded="true"]) {
  background: #0c0b0a;
}
.site-header.is-scrolled {
  background: rgba(15,14,13,0.92);
  /* Keep the header opaque on scroll. backdrop-filter here created a containing
     block for the fixed mobile nav in some mobile browsers. */
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 160;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-gold);
}
.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; position: relative; z-index: 160; }
.header-phone {
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: var(--cream);
  display: none;
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 1px; background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle { flex-direction: column; gap: 5px; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 40px;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-text { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(64px, 15vw, 132px);
  margin-top: 18px;
  font-weight: 600;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--gold); }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--cream-dim);
  max-width: 34ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.hero-meta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta span:first-child {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.hero-meta span:last-child {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.02em;
}
.hero-media {
  position: relative;
  z-index: 1;
}
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,13,0) 55%, rgba(15,14,13,0.55) 100%);
}
.hero-frame::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(236,231,220,0.28);
  z-index: 2;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: -14px; bottom: -18px;
  background: var(--black);
  border: 1px solid var(--line-gold);
  padding: 14px 20px;
  z-index: 3;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-badge b { color: var(--gold); font-size: 15px; }
.hero-scroll {
  position: absolute;
  bottom: 18px; left: var(--pad);
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray);
}
.hero-scroll .line { width: 1px; height: 30px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Marquee strip ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
  overflow: hidden;
  padding: 14px 0;
}
.strip-track {
  display: flex;
  gap: 46px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.strip-track span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 46px;
}
.strip-track span em { color: var(--gold); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Process ---------- */
.process {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--black);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: flex;
  gap: 22px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  padding-top: 4px;
  min-width: 32px;
}
.process-item h3 {
  font-size: clamp(21px, 3vw, 26px);
  font-weight: 500;
}
.process-item p {
  margin-top: 8px;
  color: var(--cream-dim);
  font-size: 15px;
  max-width: 42ch;
}
.process-media {
  position: relative;
  min-height: 340px;
}
.process-media .img-a {
  width: 78%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.process-media .img-b {
  width: 56%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: absolute;
  right: 0; bottom: -40px;
  border: 6px solid var(--black);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-media .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(15,14,13,0.7);
  border: 1px solid var(--line-gold);
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- Price ---------- */
.price {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 44px;
}
.price-sheet-photo {
  position: relative;
  width: clamp(190px, 16vw, 250px);
  max-width: 100%;
  transform: rotate(-2deg);
  border: 6px solid var(--black);
  box-shadow: 0 24px 48px rgba(0,0,0,0.55);
  justify-self: start;
  overflow: hidden;
}
.price-sheet-photo img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain;
}

.cat-select {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 26px;
  scrollbar-width: none;
}
.cat-select::-webkit-scrollbar { display: none; }
.cat-btn {
  flex: 1 1 auto;
  border: 1px solid var(--line);
  padding: 13px 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.cat-btn .stars { display: block; color: var(--gold); font-size: 10px; letter-spacing: 2px; margin-bottom: 4px; }
.cat-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130d;
}
.cat-btn.is-active .stars { color: #17130d; }

.price-table-wrap { overflow-x: auto; }
table.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}
.price-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.price-table thead th {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.price-table thead th .stars { display: block; color: var(--gold); font-size: 9px; letter-spacing: 2px; margin-bottom: 4px; }
.price-table td.service { color: var(--cream); font-weight: 500; }
.price-table td[data-col], .price-table th[data-col] {
  text-align: right;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.price-table td.unavailable { color: var(--gray); font-family: var(--font-body); }
.price-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
}

.bison-complex {
  margin-block: 40px;
  background: linear-gradient(135deg, var(--brick-dark), var(--brick));
  border: 1px solid var(--line-gold);
  padding: clamp(24px, 5vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.bison-complex::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.bison-complex-title {
  font-size: clamp(30px, 5vw, 44px);
}
.bison-complex-title .accent { color: var(--gold); }
.bison-complex p.desc { color: var(--cream-dim); margin-top: 10px; max-width: 40ch; }
.bison-complex-prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bc-price {
  text-align: center;
  border: 1px solid rgba(236,231,220,0.22);
  padding: 14px 6px;
  background: rgba(15,14,13,0.28);
}
.bc-price .lbl { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); }
.bc-price .val { font-family: var(--font-display); font-size: 22px; color: var(--gold-soft); margin-top: 6px; }
.bc-price.is-hidden { display: none; }

.extra-services { margin-top: 56px; }
.extra-services h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 20px;
}

/* ---------- Atmosphere ---------- */
.atmosphere {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--black);
}
.atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.atmosphere-media { position: relative; }
.atmosphere-main-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.atmosphere-main-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.atmosphere-lamp-img {
  position: absolute;
  width: 32%;
  aspect-ratio: 3/4;
  right: -6%; bottom: -14%;
  overflow: hidden;
  border: 6px solid var(--black);
  box-shadow: 0 20px 44px rgba(0,0,0,0.6);
}
.atmosphere-lamp-img img { width: 100%; height: 100%; object-fit: cover; }
.atmosphere-text .section-lead { color: var(--cream); font-size: clamp(20px, 3vw, 27px); font-family: var(--font-display); text-transform: none; max-width: 16ch; line-height: 1.3; letter-spacing: 0; margin-top: 18px; }
.atmosphere-facts {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.atmosphere-facts div { display: flex; flex-direction: column; gap: 4px; }
.atmosphere-facts span:first-child { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; }
.atmosphere-facts span:last-child { color: var(--cream-dim); font-size: 14px; }

/* ---------- Team ---------- */
.team {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.team-gallery figure {
  overflow: hidden;
  position: relative;
}
.team-gallery figure:nth-child(1) { aspect-ratio: 3/4; grid-row: span 2; }
.team-gallery figure:nth-child(2) { aspect-ratio: 4/3; }
.team-gallery figure:nth-child(3) { aspect-ratio: 4/3; }
.team-gallery figure:nth-child(4) { aspect-ratio: 3/4; grid-column: span 2; max-height: 320px; }
.team-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter .7s var(--ease);
  filter: grayscale(0.15);
}
.team-gallery figure:hover img { transform: scale(1.045); filter: grayscale(0); }

/* ---------- Guests / reviews ---------- */
.guests {
  padding-block: clamp(70px, 10vw, 110px);
  text-align: center;
  background: var(--black);
}
.guests .container { max-width: 720px; }
.guests p.section-lead { margin-inline: auto; text-align: center; max-width: 44ch; }
.guests .btn { margin-top: 30px; }

/* ---------- Contacts ---------- */
.contacts {
  padding-block: clamp(80px, 12vw, 130px);
  background: var(--wood);
  background: linear-gradient(160deg, var(--brick-dark) 0%, #322017 100%);
  border-top: 1px solid var(--line);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contacts-info h2 { font-size: clamp(38px, 6vw, 60px); }
.contacts-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contacts-list div { display: flex; flex-direction: column; gap: 4px; }
.contacts-list span:first-child { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); font-family: var(--font-display); }
.contacts-list span:last-child, .contacts-list a { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.01em; }
.contacts-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.map-block {
  border: 1px solid rgba(236,231,220,0.25);
  padding: clamp(26px, 5vw, 40px);
  background: rgba(15,14,13,0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  min-height: 280px;
  position: relative;
}
.map-block::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid var(--line-gold);
  pointer-events: none;
}
.map-pin {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.map-block address { font-style: normal; font-family: var(--font-display); font-size: 20px; line-height: 1.35; }
.map-block .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  padding-top: clamp(60px, 10vw, 100px);
}
.footer-brand {
  padding-inline: var(--pad);
  max-width: var(--container);
  margin-inline: auto;
}
.footer-word {
  font-size: clamp(60px, 14vw, 170px);
  line-height: 0.86;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-word img { width: clamp(46px, 7vw, 84px); height: clamp(46px, 7vw, 84px); border-radius: 50%; border: 1px solid var(--line-gold); }
.footer-sub {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}
.footer-sub .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.footer-cols {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-block: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer-cols span { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-family: var(--font-display); }
.footer-cols div p, .footer-cols div a { color: var(--cream-dim); font-size: 15px; line-height: 1.6; }
.footer-cols nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols nav a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  padding-inline: var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--gray);
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: rgba(15,14,13,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
body.nav-open .sticky-cta {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta ul { display: flex; }
.sticky-cta li { flex: 1; }
.sticky-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px 12px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-align: center;
}
.sticky-cta li:nth-child(2) a { color: var(--gold); }
.sticky-cta svg { width: 20px; height: 20px; stroke: currentColor; }

/* ---------- Utility: skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--gold); color: #17130d; padding: 12px 18px; z-index: 999;
  font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 560px) {
  .team-gallery { grid-template-columns: repeat(3, 1fr); }
  .team-gallery figure:nth-child(1) { grid-row: span 2; }
  .team-gallery figure:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 21/9; max-height: 420px; }
  .bison-complex { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 640px) {
  .hero-cta .btn { min-width: 200px; }
}

@media (max-width: 767px) {
  .sticky-cta { display: block; }
  .header-actions .btn { display: none; }

  /* Price tables: show only the selected category's column, driven by
     the [data-active] attribute the cat-select buttons toggle in JS. */
  .price-table[data-active="brand"] [data-col]:not([data-col="brand"]),
  .bison-complex-prices[data-active="brand"] .bc-price:not([data-col="brand"]) { display: none; }

  .price-table[data-active="top"] [data-col]:not([data-col="top"]),
  .bison-complex-prices[data-active="top"] .bc-price:not([data-col="top"]) { display: none; }

  .price-table[data-active="pro"] [data-col]:not([data-col="pro"]),
  .bison-complex-prices[data-active="pro"] .bc-price:not([data-col="pro"]) { display: none; }

  .price-table[data-active="barber"] [data-col]:not([data-col="barber"]),
  .bison-complex-prices[data-active="barber"] .bc-price:not([data-col="barber"]) { display: none; }

  .price-table td.service, .price-table th:first-child { min-width: 0; }
  .bison-complex-prices { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .header-phone { display: block; }
  .price-intro { grid-template-columns: auto 1fr; }
  .contacts-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .cat-select { display: none; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  .hero-media { order: 2; }
  .process-grid { grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
  .atmosphere-grid { grid-template-columns: 1.1fr 0.9fr; gap: 70px; }
}

@media (max-width: 899px) {
  .site-header {
    background: rgba(12,11,10,.98);
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: 12px;
  }
  .site-header.is-scrolled {
    background: rgba(12,11,10,.98);
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: 12px;
  }
  .main-nav {
    position: fixed;
    z-index: 150;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    background: #0c0b0a;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: calc(96px + env(safe-area-inset-top)) 24px calc(96px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .42s var(--ease), opacity .3s var(--ease);
    pointer-events: none;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul {
    width: min(100%, 360px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 20px 4px;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1;
    text-align: left;
  }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; flex: 0 0 40px; }
  .brand { min-width: 0; }
  .brand-word { white-space: nowrap; }
  .hero-badge { left: 0; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 1024px) {
  .price-table th, .price-table td { padding: 16px 16px; font-size: 16px; }
}

/* === FINAL NAV FIX 2026-08-18 === */
/* Desktop/tablet: always use the normal horizontal navigation. */
@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }

  .main-nav,
  .main-nav.is-open {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .main-nav ul {
    width: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: clamp(10px, 1.45vw, 28px) !important;
    border-top: 0 !important;
  }

  .main-nav li {
    border-bottom: 0 !important;
  }

  .main-nav a {
    display: inline-block !important;
    width: auto !important;
    padding: 0 0 4px !important;
    font-size: clamp(10px, 0.9vw, 13px) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap;
  }

  .main-nav a::after {
    display: block !important;
  }

  body.nav-open {
    overflow: auto !important;
  }
}

/* Keep the phone-sized menu fullscreen and consistent before/after scroll. */
@media (max-width: 767px) {
  .main-nav {
    justify-content: center !important;
    padding-top: calc(88px + env(safe-area-inset-top)) !important;
  }
  .main-nav ul {
    border-top: 0 !important;
  }
  .main-nav li {
    border-bottom: 0 !important;
  }
  .main-nav a {
    text-align: center !important;
    padding: 14px 4px !important;
  }
}

/* Anchor destinations should not hide under the fixed header. */
#process, #price, #atmosphere, #team, #contacts {
  scroll-margin-top: 96px;
}

/* Medium desktop widths: free up room for the full nav. */
@media (min-width: 768px) and (max-width: 1180px) {
  .header-phone { display: none !important; }
  .site-header { gap: 12px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding-inline: 16px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 17px; }
}
