:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #f3efe8;
  --paper-2: #e7e1d8;
  --red: #d3121a;
  --red-deep: #a50d14;
  --steel: #5e646b;
  --line: rgba(18, 18, 18, 0.12);
  --white: #faf8f5;
  --nav: rgba(243, 239, 232, 0.92);
  --band: #121212;
  --band-text: #f3efe8;
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.16);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}
html[lang="ru"],
html[lang="uk"] {
  --font-display: "Oswald", "Arial Narrow", sans-serif;
}
html[lang="ru"] h1,
html[lang="ru"] .stats strong,
html[lang="ru"] .mpin,
html[lang="ru"] .place h3,
html[lang="ru"] .why-grid em,
html[lang="ru"] .service em,
html[lang="uk"] h1,
html[lang="uk"] .stats strong,
html[lang="uk"] .mpin,
html[lang="uk"] .place h3,
html[lang="uk"] .why-grid em,
html[lang="uk"] .service em {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3efe8;
  --paper: #141414;
  --paper-2: #242424;
  --steel: #b7b1a8;
  --line: rgba(243, 239, 232, 0.14);
  --white: #1c1c1c;
  --nav: rgba(20, 20, 20, 0.92);
  --band: #0c0c0c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.logo-dark { display: none; }
html[data-theme="dark"] .logo-light { display: none; }
html[data-theme="dark"] .logo-dark { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--band);
  color: #efeae3;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 68px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a:hover,
.lang-current:hover { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.lang { position: relative; display: flex; align-items: center; }
.lang-current {
  display: inline-flex;
  align-items: center;
  height: 48px;
  gap: 6px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-current::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  flex: none;
}
.lang-current[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 72px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 30;
}
.lang-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 10px 8px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-menu button:hover,
.lang-menu button[aria-current="true"] { background: var(--paper-2); color: var(--red); }
.call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-radius: 999px;
}
.call:hover { background: var(--red-deep); }
.call-icon { display: none; }
.theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.theme svg { display: block; overflow: visible; }
.theme .icon-sun { display: none; }
html[data-theme="dark"] .theme .icon-moon { display: none; }
html[data-theme="dark"] .theme .icon-sun { display: block; }

.hero {
  --hero-bg: var(--paper);
  --hero-fg: var(--ink);
  --hero-mute: var(--steel);
  --hero-line: var(--line);
  --hero-hover: rgba(18, 18, 18, .04);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 122px);
  background: var(--hero-bg);
  color: var(--hero-fg);
}
html[data-theme="dark"] .hero {
  --hero-bg: var(--band);
  --hero-fg: var(--band-text);
  --hero-mute: #b7b1a8;
  --hero-line: rgba(243, 239, 232, .16);
  --hero-hover: rgba(255, 255, 255, .04);
}
.hero-copy { padding: 72px 7vw 64px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .kicker { font-size: 16px; }
.kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
}
h1 {
  margin: 0 0 0 -0.03em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.lede {
  max-width: 12em;
  margin: 22px 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--hero-fg);
}
.lede strong {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-weight: 700;
}
html[lang="ru"] .lede,
html[lang="uk"] .lede {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-deep); }
.hero .btn-ghost { border-color: rgba(18, 18, 18, .35); color: var(--hero-fg); }
.hero .btn-ghost:hover { border-color: var(--hero-fg); }
html[data-theme="dark"] .hero .btn-ghost { border-color: rgba(243, 239, 232, .4); }
.btn-ink { background: var(--ink); color: var(--paper); }
.stats { display: flex; flex-wrap: wrap; gap: 22px 28px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--hero-line); }
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}
.stats span { color: var(--hero-mute); font-size: 13px; letter-spacing: 0.04em; }
.hero-board {
  display: flex;
  flex-direction: column;
  margin: 28px 28px 28px 0;
  border-left: 1px solid var(--hero-line);
}
.hero-spot {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 36px 40px 40px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--hero-line);
}
.hero-spot:last-child { border-bottom: 0; }
.hero-spot em {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.hero-spot strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-spot span {
  color: var(--hero-mute);
  font-size: 15px;
  letter-spacing: 0.03em;
}
.hero-spot:hover { background: var(--hero-hover); }
html[data-theme="dark"] .hero-spot:hover strong { color: #fff; }
.place { scroll-margin-top: 88px; }

.net { background: var(--paper); border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.net-link {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
}
.net-link img {
  display: block;
  height: 52px;
  width: auto;
  flex: none;
}
html[data-theme="dark"] .net-link img {
  filter:
    drop-shadow(0.7px 0 0 rgba(243, 239, 232, .4))
    drop-shadow(-0.7px 0 0 rgba(243, 239, 232, .4))
    drop-shadow(0 0.7px 0 rgba(243, 239, 232, .4))
    drop-shadow(0 -0.7px 0 rgba(243, 239, 232, .4));
}
.net-link .kicker { margin: 0 0 4px; }
.net-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.net-line em { font-style: normal; color: var(--red); }

.ticker {
  overflow: hidden;
  background: var(--red);
  color: white;
  border-bottom: 1px solid #9d0d13;
}
.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 12px 0;
  animation: tick 42s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes tick { to { transform: translateX(-50%); } }

section { padding: 88px 0; }
section.hero { padding: 0; }
h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
html[lang="ru"] h2,
html[lang="uk"] h2 {
  font-size: clamp(31px, 4.4vw, 53px);
}
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 36px; }
.section-head p { max-width: 420px; margin: 0; color: var(--steel); }
#opony .section-head p { max-width: 34em; }

.places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.place {
  background: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.citymap {
  position: relative;
  height: 460px;
  margin: 0 0 18px;
  background: var(--paper-2);
}
.citymap .maplibregl-canvas-container { cursor: default; }
.citymap .maplibregl-ctrl-attrib {
  font-size: 10px;
  background: transparent;
  color: var(--steel);
}
.citymap .maplibregl-ctrl-attrib-inner { display: none !important; }
.citymap .maplibregl-ctrl-attrib[open] .maplibregl-ctrl-attrib-inner {
  display: block !important;
  background: var(--white);
}
.citymap .maplibregl-ctrl-attrib a { color: inherit; }
.mpin {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.mpin span {
  opacity: 0;
  transition: opacity .15s ease;
  text-shadow: 0 0 8px var(--paper), 0 0 2px var(--paper);
}
.mpin:hover span,
.mpin:focus-visible span { opacity: 1; }
@media (hover: none) {
  .mpin span { opacity: 1; }
}
.mpin i {
  position: relative;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
}
.mpin i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: pin-pulse 1.8s ease-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(3.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mpin i::after { animation: none; opacity: .25; transform: scale(2.2); }
}
.why h2 { line-height: 0.95; max-width: 10ch; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-grid article {
  background: var(--paper);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
}
.why-grid em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  color: var(--red);
  font-size: 28px;
}
.why-grid h3 { margin: 18px 0 8px; font-size: 22px; }
.why-grid p { margin: auto 0 0; color: var(--steel); }
.place h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}
.place span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.place:hover,
.place.is-picked {
  background: var(--red);
  color: #fff;
}
.place:hover span,
.place.is-picked span { color: #fff; }

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.shop {
  position: relative;
  background: var(--paper);
  min-height: 140px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.shop:has(.shop-order.is-open) { z-index: 4; }
.shop-order {
  position: relative;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 168px;
}
.shop-go { border: 0; cursor: pointer; width: 100%; }
.shop-picks {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2;
  gap: 8px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.shop-order.is-open .shop-picks { display: grid; }
.shop-picks a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.shop-picks a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.shop-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
  color: var(--ink);
}
.shop-logo-opomarket { height: 42px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--paper);
  padding: 24px 20px 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.service em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  color: var(--red);
  font-size: 28px;
}
.service h3 { margin: 18px 0 8px; font-size: 20px; }
.service p { margin: auto 0 0; color: var(--steel); font-size: 15px; }

.reviews { background: var(--band); color: var(--band-text); }
.reviews .section-head p { color: #b7b1a8; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  border: 1px solid rgba(243,239,232,.16);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.review p { margin: 0; font-size: 16px; }
.review footer {
  margin-top: auto;
  padding-top: 18px;
  background: none;
  color: #b7b1a8;
  font-size: 13px;
}
.stars { color: var(--red); letter-spacing: 0.12em; margin-bottom: 12px; }

.contact-block { max-width: 640px; }
.contact-row { display: flex; align-items: center; gap: 12px; margin: 8px 0 18px; flex-wrap: wrap; }
.contact-call {
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-size: 22px;
  line-height: 1;
  min-height: 56px;
  padding: 10px 22px;
}
.contact-place {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-row .btn-wa {
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  background: #25d366;
  color: #fff;
  flex: none;
}
.nav-actions .btn-wa {
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  background: #25d366;
  color: #fff;
  flex: none;
}
.btn-wa:hover { background: #1ebe5a; }
form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  gap: 12px;
}
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-note { min-height: 1.2em; color: var(--red-deep); font-size: 14px; }

footer {
  background: #0d0d0d;
  color: #c8c2b8;
  padding: 42px 0 28px;
  font-size: 14px;
}
.foot {
  display: block;
}
.foot p { margin: 0; }
.foot-id {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 48px;
  row-gap: 4px;
  align-items: baseline;
  line-height: 1.45;
}
.foot-id strong,
.seat { grid-column: 1 / -1; }
.seat {
  margin-top: 8px;
  color: #8f897f;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
footer a { color: white; }

@media (max-width: 980px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero, .places, .why, .why-grid, .contact-grid, .foot { grid-template-columns: 1fr; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-board { margin: 0; border-left: 0; border-top: 1px solid var(--hero-line); }
  .hero-spot { flex: none; justify-content: flex-start; padding: 28px 20px 32px; }
  .hero-spot strong { font-size: 64px; }
  section { padding: 48px 0; scroll-margin-top: 56px; }
  .section-head { margin-bottom: 20px; }
  .services {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    background: transparent;
    border: 0;
    gap: 8px;
  }
  .service { min-height: 0; border: 1px solid var(--line); }
  .service p,
  .why-grid p { margin-top: 0; }
  .shop-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .nav .wrap { gap: 8px; }
  .brand img { height: 52px; }
  .nav-toggle { display: inline-flex; margin-left: auto; width: 44px; height: 44px; }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after { width: 20px; height: 2.2px; }
  .nav-toggle span::before { top: -6.6px; }
  .nav-toggle span::after { top: 6.6px; }
  .lang-current { height: 44px; font-size: 15.4px; }
  .nav-actions { gap: 6px; }
  .theme,
  .nav-actions .btn-wa,
  .call {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    flex: none;
  }
  .theme svg,
  .nav-actions .btn-wa svg { width: 24px; height: 24px; }
  .call-icon { width: 22px; height: 22px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a {
    display: block;
    height: auto;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17.6px;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .net-link { flex-wrap: wrap; gap: 14px; }
  .call-num { display: none; }
  .call-icon { display: block; }
  .call { justify-content: center; }
  .hero-copy { padding: 48px 20px; }
  .topbar .wrap { flex-direction: column; gap: 4px; }
}
@media (max-width: 420px) {
  .nav .wrap { width: calc(100% - 16px); gap: 6px; }
  .brand img { height: 46px; }
  .nav-actions { gap: 4px; }
  .lang-current { height: 40px; }
  .theme,
  .nav-toggle,
  .nav-actions .btn-wa,
  .call {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
