/* ═══════════════════════════════════════════════════════════
   Арт-клуб «Теплий Ламповий»
   Темна тепла тема, фото-орієнтована верстка
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:       #0a0705;
  --bg-2:     #0f0b07;
  --panel:    #15100b;
  --panel-2:  #1c150e;
  --line:     #2a2018;
  --line-2:   #3d2e20;

  /* Фірмові кольори з неонового логотипа клубу */
  --brand:     #d3a374;   /* тепла мідь неону */
  --teal:      #3d5a63;
  --teal-lt:   #7ca3af;

  --amber:     #e6bc89;   /* яскравий тон неону — для тексту на темному */
  --amber-lt:  #f7dcb8;
  --ember:     #ff7a18;

  --fg:      #f2ebe1;
  --muted:   #a4937e;
  --muted-2: #776756;

  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --pad: clamp(18px, 5vw, 56px);
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ember); color: #140d06; }

/* Скролбар під тему сайту */
html { scrollbar-width: thin; scrollbar-color: var(--line-2) var(--bg); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* Плівкове зерно поверх усього */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 9999; opacity: .16;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)}
  40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-2%)} 80%{transform:translate(3%,1%)}
}

/* ═══════════ ТИПОГРАФІКА ═══════════ */
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: .98; letter-spacing: -.025em;
  margin: 10px 0 0;
}
.about__body .h2 { margin-bottom: 26px; }
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber);
  margin: 0;
}
.prose p { color: #cfc2b2; margin: 0 0 15px; max-width: 54ch; }
.prose p:last-child { margin-bottom: 0; }

/* ═══════════ КНОПКИ ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: .01em;
  padding: 13px 24px; border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--fg); background: rgba(255,255,255,.03);
  transition: transform .18s cubic-bezier(.2,.8,.3,1), background .2s, border-color .2s, color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--amber); color: var(--amber-lt); }
.btn--sm { padding: 9px 17px; font-size: 13px; }
.btn--fill { background: var(--brand); border-color: var(--brand); color: #17100a; }
.btn--fill:hover { background: var(--amber-lt); border-color: var(--amber-lt); color: #17100a;
                   box-shadow: 0 10px 34px rgba(255,122,24,.32); }
.btn--ghost { background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px; font-weight: 700; font-size: 14.5px; color: var(--amber);
  border-bottom: 1px solid rgba(255,166,61,.32); padding-bottom: 3px;
  transition: gap .2s, color .2s;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { color: var(--amber-lt); gap: 13px; }

/* ═══════════ HEADER ═══════════ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 16px var(--pad);
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(10,7,5,.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
  padding-block: 10px;
}

.logo { display: flex; align-items: center; margin-right: auto; }
.logo__mark {
  width: auto; height: 38px; flex: none;
  transition: filter .3s, opacity .3s;
}
.logo:hover .logo__mark { filter: drop-shadow(0 0 9px rgba(224,133,36,.6)); }

.nav { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.nav a { font-size: 14px; font-weight: 600; color: #c6b6a3; position: relative; padding: 4px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
                background: var(--amber); transition: width .26s ease; }
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 100%; }

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

/* Гамбургер — тільки на мобільних, вимикач .nav нижче 860px */
.burger {
  display: none; flex: none;
  width: 42px; height: 42px; padding: 0;
  align-items: center; justify-content: center;
  border-radius: 100px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); cursor: pointer;
}
.burger__box { position: relative; width: 18px; height: 12px; flex: none; }
.burger__box span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--fg); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 5px; }
.burger__box span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

body.nav-open { overflow-y: hidden; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) 0;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; animation: kb 21s infinite;
}
.hero__bg .slide:nth-child(1) { animation-delay: 0s; }
.hero__bg .slide:nth-child(2) { animation-delay: 7s; }
.hero__bg .slide:nth-child(3) { animation-delay: 14s; }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,7,5,.78) 0%, rgba(10,7,5,.30) 32%, rgba(10,7,5,.86) 76%, var(--bg) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(255,122,24,.15), transparent 60%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-bottom: clamp(34px, 6vw, 64px);
}

.hero__lead {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px; padding: 8px 17px 8px 13px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 100px;
  background: rgba(20,13,8,.42); backdrop-filter: blur(9px);
  font-size: 12.5px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: #e7d9c8;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember);
       box-shadow: 0 0 9px var(--ember); animation: pulse 2.4s infinite; flex: none; }

.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(46px, 10.5vw, 148px);
  line-height: .87; letter-spacing: -.045em;
  margin: 0 0 22px; text-transform: uppercase;
  text-shadow: 0 6px 60px rgba(0,0,0,.6);
}
.hero__title span { display: block; }
.hero__title span:last-child {
  color: var(--amber);
  text-shadow: 0 0 60px rgba(255,122,24,.45), 0 6px 50px rgba(0,0,0,.5);
}

.hero__sub { max-width: 46ch; font-size: clamp(15px, 1.7vw, 19px); color: #dcccb9; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__bar {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 0.7fr 1fr 0.9fr;
  border-top: 1px solid rgba(255,255,255,.11);
}
.hb { padding: 20px 20px 26px 0; }
.hb + .hb { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.09); }
.hb span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em;
           text-transform: uppercase; color: var(--muted-2); margin-bottom: 7px; }
.hb b { font-size: 14px; font-weight: 600; color: #e8dbca; line-height: 1.4; }
.hb--rate b { color: var(--amber); }

/* ═══════════ TICKER ═══════════ */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--panel); padding: 15px 0;
}
.ticker__row { display: flex; gap: 46px; width: max-content; animation: marq 34s linear infinite; }
.ticker__row span {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; color: #6d5c49;
  display: flex; align-items: center; gap: 46px; white-space: nowrap;
}
.ticker__row span::after { content: "★"; color: var(--brand); font-size: 11px; }

/* ═══════════ SECTIONS ═══════════ */
.sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(14px, 2vw, 27px) var(--pad); }
.sec--bar { background: linear-gradient(to bottom, transparent, rgba(224,133,36,.035), transparent); max-width: none; }
.sec--bar > * { max-width: var(--maxw); margin-inline: auto; }
.sec--first { padding-top: clamp(112px, 13vw, 168px); }
.sec--contacts { padding-bottom: clamp(50px, 7vw, 80px); }

.sec__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 44px;
}
.sec__note { font-size: 13.5px; color: var(--muted-2); margin: 0; text-align: right; line-height: 1.6; max-width: 32ch; }

/* ═══════════ ABOUT ═══════════ */
.about { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(30px, 6vw, 76px); align-items: center; }

.about__photo { position: relative; margin: 0; }
.about__photo img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--r);
  filter: contrast(1.04);
}
.rate-card {
  position: absolute; right: -18px; bottom: -20px;
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 16px 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
  display: grid; gap: 2px; min-width: 132px;
}
.rate-card b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--fg); }
.stars { color: var(--amber); font-size: 13px; letter-spacing: 2px; }
.rate-card em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }

.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 13px; font-weight: 600; padding: 8px 15px;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--panel); color: #c3b3a0;
  display: inline-flex; align-items: center; gap: 8px;
}
.chips li::before { content: ""; width: 5px; height: 5px; border-radius: 50%;
                    background: var(--amber); box-shadow: 0 0 7px var(--ember); flex: none; }

/* ═══════════ МЕНЮ ═══════════ */
.tabs {
  display: flex; gap: 4px; margin-bottom: 38px;
  overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs.is-dragging { cursor: grabbing; user-select: none; }
.tab {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 100px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.tab:hover { color: var(--fg); border-color: var(--line-2); }
.tab[aria-selected="true"] {
  background: var(--brand); border-color: var(--brand); color: #17100a;
  box-shadow: 0 8px 26px rgba(255,122,24,.24);
}

.cat { margin-bottom: 56px; }
.cat:last-child { margin-bottom: 0; }
.cat[hidden] { display: none; }

.cat__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.cat__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 2.6vw, 27px); line-height: 1.1;
  letter-spacing: -.015em; margin: 0; color: var(--fg);
}
.cat__sub { font-size: 13px; color: var(--muted-2); }
.cat__rule { flex: 1; height: 1px; background: linear-gradient(to right, var(--line-2), transparent); }

.grp { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
       color: var(--amber); margin: 30px 0 12px; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)); column-gap: 44px; }

.item {
  display: grid; grid-template-columns: auto minmax(24px, 1fr) auto;
  align-items: baseline; gap: 0 10px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.item__name { font-size: 16px; font-weight: 600; color: var(--fg); display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.item__lead { border-bottom: 1px dotted #4a3826; transform: translateY(-5px); }
.item__price { font-size: 16px; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item__price small { font-size: 11px; font-weight: 500; color: var(--muted-2); margin-left: 3px; }
.item__meta { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.item__vol { color: var(--muted-2); }

.tag {
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px;
  color: #17100a; background: var(--brand);
}

/* ═══════════ ГАЛЕРЕЯ ═══════════ */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; grid-auto-rows: clamp(230px, 25vw, 340px); }
.gal figure { margin: 0; overflow: hidden; border-radius: var(--r); grid-row: span 1; position: relative; }
.gal figure.tall { grid-row: span 2; }
.gal figure.wide { grid-column: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.3,1); }
.gal figure:hover img { transform: scale(1.07); }
.gal figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,7,5,.5), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.gal figure:hover::after { opacity: 1; }

/* ═══════════ КОНТАКТИ ═══════════ */
.cts { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(20px, 3.5vw, 44px); align-items: start; }
.cts__map {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); min-height: 420px;
  background:
    repeating-linear-gradient(90deg, rgba(124,163,175,.07) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg,  rgba(124,163,175,.07) 0 1px, transparent 1px 46px),
    var(--panel);
}
.map__fallback {
  position: absolute; inset: 0; margin: 0; z-index: 0;
  display: grid; place-content: center; text-align: center;
  font-size: 14px; color: var(--muted-2); line-height: 1.8;
}
.map__fallback a { color: var(--amber); border-bottom: 1px solid rgba(255,166,61,.4); }
.cts__map iframe {
  position: relative; z-index: 1;
  width: 100%; height: 100%; min-height: 420px; border: 0;
  opacity: 0; transition: opacity .5s ease;
  filter: invert(.92) hue-rotate(180deg) saturate(.5) brightness(.93) contrast(.95);
}
.cts__map iframe.is-ready { opacity: 1; }

.cts__info { display: grid; gap: 14px; }
.blk { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.blk h3 { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
          color: var(--muted-2); margin: 0 0 14px; }
.blk__big { font-size: 18px; font-weight: 600; color: var(--fg); margin: 0 0 6px; line-height: 1.45; }
.blk__hint { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.blk__link { display: inline-block; transition: color .2s; }
.blk__link:hover { color: var(--amber); }

.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 100px;
  color: #c9b9a5; transition: all .2s;
}
.socials a:hover { color: var(--amber-lt); border-color: var(--amber); transform: translateY(-2px); }

/* ═══════════ FOOTER ═══════════ */
.ftr {
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
  padding: 30px var(--pad) 44px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.ftr__l { display: grid; gap: 4px; }
.ftr__l b { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--amber); }
.ftr__l span, .ftr__r { font-size: 12.5px; color: var(--muted-2); margin: 0; }

.ftr__r-wrap { display: grid; gap: 8px; justify-items: end; }
.ftr__dev {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 12.5px; color: var(--muted-2); text-decoration: none;
}
.ftr__dev b {
  position: relative;
  display: inline-flex; align-items: baseline;
  font-weight: 900; font-style: italic; font-size: 14px;
  text-transform: uppercase; letter-spacing: -.03em; line-height: 1;
}
.ftr__dev b::after {
  content: ""; position: absolute; inset: -10px; z-index: -1;
  background: radial-gradient(circle, rgba(16,185,129,.55), transparent 70%);
  opacity: 0; filter: blur(14px); transition: opacity .4s ease;
}
.ftr__dev:hover b::after { opacity: .7; }
.ftr__dev b span:first-child { color: var(--fg); transition: color .3s ease; }
.ftr__dev:hover b span:first-child { color: #34d399; }
.ftr__dev b span:last-child {
  padding-right: .12em;
  background: linear-gradient(to bottom right, #34d399, #6ee7b7, #10b981);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background .3s ease;
}
.ftr__dev:hover b span:last-child {
  background: linear-gradient(to bottom right, #fff, #fff, #fff);
  -webkit-background-clip: text; background-clip: text;
}

/* ═══════════ АНІМАЦІЇ ═══════════ */
@keyframes kb {
  0%   { opacity: 0; transform: scale(1.05); }
  4%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.14); }
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes flick {
  0%,100%{opacity:1} 42%{opacity:1} 43%{opacity:.5} 44%{opacity:1} 77%{opacity:.7} 78%{opacity:1}
}

/* Поява при скролі */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════ АДАПТИВ ═══════════ */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; }
  .about__photo img { aspect-ratio: 16/10; }
  .rate-card { right: 16px; bottom: -18px; }
  .cts { grid-template-columns: 1fr; }
  .cts__map, .cts__map iframe { min-height: 300px; }
  .items { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 10px var(--pad) 14px;
    background: rgba(10,7,5,.96);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 13px 2px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hb { padding: 15px 14px 18px 0; }
  .hb:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.09); }
  .hb:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .hb:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.09); }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gal figure.wide { grid-column: span 2; }
  .sec__note { text-align: left; max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hdr { padding-inline: 18px; }
  #hdr-book { display: none; }
  .hero { padding-top: 92px; }
  .hero__bar { grid-template-columns: 1fr; }
  .hb, .hb + .hb { padding: 13px 0; border-left: none; }
  .hb + .hb { border-top: 1px solid rgba(255,255,255,.09); }
  .rate-card { right: 12px; padding: 13px 16px; }
  .rate-card b { font-size: 25px; }
  .gal { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gal figure.wide { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .hero__bg .slide:first-child { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ БАР: врізка на головній ═══════════ */
.bar { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }

.bar__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bar__cats a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 16px; border-radius: 10px;
  border: 1px solid transparent; background: var(--panel);
  transition: background .18s, border-color .18s, transform .18s;
}
.bar__cats a:hover { background: var(--panel-2); border-color: var(--line-2); transform: translateX(3px); }
.bar__cats b { font-size: 15.5px; font-weight: 600; color: var(--fg); flex: 1; }
.bar__cats span {
  font-size: 12.5px; font-weight: 700; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); border-radius: 100px; padding: 2px 9px;
}
.bar__cats a:hover span { color: var(--amber); border-color: rgba(240,162,74,.35); }

.bar__pick {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(22px, 3vw, 32px);
}
.bar__pick-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 14px;
}
.bar__pick .items { grid-template-columns: 1fr; }
.bar__pick .item:last-of-type { border-bottom: none; }
.bar__btn { margin-top: 22px; }

/* ═══════════ БАР: підвал сторінки меню ═══════════ */
.bar-cta {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(224,133,36,.04), transparent);
}
.bar-cta__in {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(46px, 7vw, 76px) var(--pad);
  text-align: center;
}
.h3 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05; letter-spacing: -.02em;
  margin: 0 0 12px;
}
.bar-cta p { color: var(--muted); margin: 0 auto 26px; max-width: 46ch; }
.bar-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Шапка на внутрішніх сторінках завжди щільна */
.hdr.is-solid {
  background: rgba(10,7,5,.9);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav a[aria-current="page"] { color: var(--amber); }
.nav a[aria-current="page"]::after { width: 100%; }

.back {
  display: inline-block; margin-bottom: 16px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  transition: color .2s, transform .2s;
}
.back:hover { color: var(--amber); transform: translateX(-3px); }

@media (max-width: 1024px) {
  .bar { grid-template-columns: 1fr; }
}
