/* Black Lips — лаундж-бар-караоке, Красноярск. Жанр: neon-noir (графит + неоновый циан). */

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

:root {
  --space-1: clamp(.4rem, .3rem + .3vw, .6rem);
  --space-2: clamp(.7rem, .55rem + .5vw, 1rem);
  --space-3: clamp(1.1rem, .9rem + .8vw, 1.6rem);
  --space-4: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  --space-5: clamp(2.6rem, 1.9rem + 2.8vw, 4.6rem);
  --space-6: clamp(3.6rem, 2.6rem + 4vw, 6.4rem);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 30px;

  --font-display: "Arial Black", "Helvetica Neue", Impact, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: min(1180px, 92vw);
  --dur: 200ms;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Тема: тёмная (по умолчанию — фирменный neon-noir) ---------- */
:root,
[data-theme="dark"] {
  --bg: #121019;
  --bg-alt: #191623;
  --surface: #1d1a28;
  --surface-2: #23202f;
  --text: #f3f1fb;
  --text-dim: #a8a1c2;
  --line: #322e42;
  --accent: #2be8cf;
  --accent-2: #17b4ff;
  --accent-soft: rgba(43, 232, 207, .14);
  --accent-ink: #04211d;
  --ring-bg: #2c2939;
  --shadow: 0 24px 55px -22px rgba(23, 230, 210, .22), 0 10px 24px -12px rgba(0,0,0,.55);
  --shadow-s: 0 12px 26px -16px rgba(23, 230, 210, .2), 0 6px 14px -10px rgba(0,0,0,.4);
  --map-filter: invert(.92) hue-rotate(160deg) brightness(.92) contrast(.94) saturate(1.1);
  --duotone-color: #1adfc4;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f2ee;
  --bg-alt: #e9e6df;
  --surface: #ffffff;
  --surface-2: #f4f2ec;
  --text: #14131a;
  --text-dim: #59566a;
  --line: #e1ddd2;
  --accent: #0d8f7c;
  --accent-2: #0a76ac;
  --accent-soft: #d8f1ec;
  --accent-ink: #ffffff;
  --ring-bg: #d9e3e0;
  --shadow: 0 20px 45px -20px rgba(13, 143, 124, .28), 0 8px 18px -12px rgba(20,19,26,.18);
  --shadow-s: 0 10px 24px -14px rgba(13, 143, 124, .22);
  --map-filter: saturate(.9) contrast(1.02);
  --duotone-color: #0d8f7c;
  color-scheme: light;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.nowrap { white-space: nowrap; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 500;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .8rem 1.2rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Метка раздела: неоновый номер в рамке + подпись ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.section-tag__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  padding: .15em .3em;
  border: 1.5px solid var(--accent);
  border-radius: 7px;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .82rem;
  text-shadow: 0 0 12px color-mix(in oklab, var(--accent) 65%, transparent);
}
.section-tag__label {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: .82rem;
  color: var(--text-dim);
}
.hero__kicker .icon { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 1.5em;
  border-radius: 999px;
  font-weight: 800;
  font-size: .98rem;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }
.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--accent-ink);
  box-shadow: var(--shadow-s);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent:active { transform: translateY(0); }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
}
.btn--ghost:hover { transform: translateY(-2px); }
.btn--sm { padding: .7em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Иконки ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; flex: none; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: .8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  font-weight: 900;
  margin-right: auto;
}
.brand__logo { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .01em; }
.brand__sub { font-size: .62rem; letter-spacing: .12em; color: var(--text-dim); text-transform: uppercase; margin-top: .3em; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: var(--space-3); }
.main-nav a {
  font-weight: 700;
  font-size: .92rem;
  color: var(--text-dim);
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--text); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.theme-toggle, .menu-toggle {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  flex: none;
}
.theme-toggle .icon--moon { display: none; }
[data-theme="dark"] .theme-toggle .icon--sun { display: none; }
[data-theme="dark"] .theme-toggle .icon--moon { display: block; }

.menu-toggle { display: flex; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--burger { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  background: var(--bg);
  padding: 6.5rem var(--space-3) var(--space-3);
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; }
.mobile-nav .btn { margin-top: var(--space-3); }
.mobile-nav__theme {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dim);
}

.call-fab {
  position: fixed;
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 90;
  display: none;
  width: 58px; height: 58px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.call-fab .icon { width: 26px; height: 26px; }

/* ---------- Скошенные секции ---------- */
.skew-top { clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--space-6) + 3.2vw); }
.skew-both { clip-path: polygon(0 3.2vw, 100% 0, 100% calc(100% - 3.2vw), 0 100%); padding-top: calc(var(--space-6) + 3.2vw); padding-bottom: calc(var(--space-6) + 3.2vw); }

/* ---------- Герой: порядок в разметке = порядок на телефоне ---------- */
.hero {
  position: relative;
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
  background:
    radial-gradient(60% 50% at 85% 0%, color-mix(in oklab, var(--accent) 16%, transparent) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 6vw, 5.2rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero__title span { display: block; }
.hero__title .t-accent {
  color: var(--accent);
  text-shadow: 0 0 26px color-mix(in oklab, var(--accent) 55%, transparent);
}
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  border: 1px solid var(--line);
}
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(.85);
}
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in oklab, var(--duotone-color) 55%, transparent);
  mix-blend-mode: color;
}
.hero__visual::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 55%);
}
.hero__badge {
  position: absolute;
  left: var(--space-2); bottom: var(--space-2);
  z-index: 2;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: blur(6px);
  padding: .6rem .9rem;
  border-radius: var(--radius-s);
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700;
  font-size: .82rem;
  box-shadow: var(--shadow-s);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #3fe08a; flex: none; box-shadow: 0 0 8px #3fe08a; }
.status-dot--closed { background: #ff5f7a; box-shadow: 0 0 8px #ff5f7a; }

.hero__city {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem);
  color: var(--text-dim);
  letter-spacing: -0.01em;
}
.hero__lede {
  max-width: 46ch;
  font-size: clamp(1rem, .93rem + .3vw, 1.15rem);
  color: var(--text-dim);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero__facts {
  display: flex;
  gap: var(--space-2);
}
.hero__facts--scroll {
  overflow-x: auto;
  padding-bottom: .3rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero__facts--scroll::-webkit-scrollbar { display: none; }
.fact-chip {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: .6rem .9rem;
  box-shadow: var(--shadow-s);
  font-size: .86rem;
  font-weight: 700;
  flex: none;
  white-space: nowrap;
}
.fact-chip .icon { color: var(--accent); width: 20px; height: 20px; }
.fact-chip__num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Секции общее ---------- */
.section { padding-block: var(--space-6); position: relative; }
.section--alt { background: var(--bg-alt); }
.section-head {
  max-width: 60ch;
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.section-title {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.9rem);
  line-height: 1.02;
}
.section-desc { margin-top: var(--space-1); color: var(--text-dim); font-size: 1.02rem; max-width: 56ch; }

/* ---------- Цифры: рейтинг строкой + сетка фактов ---------- */
.rating-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5em;
  margin-bottom: var(--space-3);
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.rating-line .icon {
  width: 1.5em; height: 1.5em;
  color: var(--accent);
  align-self: center;
  filter: drop-shadow(0 0 10px color-mix(in oklab, var(--accent) 55%, transparent));
}
.rating-line__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem);
  color: var(--text);
}
.rating-line__rest {
  font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
  font-weight: 700;
  color: var(--text-dim);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-2);
}
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-3);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: .4rem;
  justify-content: space-between;
  min-height: 140px;
}
.stat-tile__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: .95;
}
.stat-tile__label { font-size: .88rem; color: var(--text-dim); font-weight: 600; }
.stat-tile--status {
  gap: .6rem;
}
.stat-tile__status-row { display: flex; align-items: center; gap: .5rem; }
.stat-tile__dot { width: 10px; height: 10px; border-radius: 50%; background: #3fe08a; box-shadow: 0 0 8px #3fe08a; flex: none; }
.stat-tile__dot--closed { background: #ff5f7a; box-shadow: 0 0 8px #ff5f7a; }
.stat-tile__status-text { font-weight: 800; font-size: 1.02rem; }

.stat-tile--pay {
  grid-column: 1 / -1;
}
.pay-compact { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-compact__item {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pay-compact__item .icon { width: 19px; height: 19px; }

/* ---------- Услуги ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-3);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-3);
  box-shadow: var(--shadow-s);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.service-card p { color: var(--text-dim); font-size: .92rem; }

/* ---------- Оплата / удобства (детально, в разделе часов) ---------- */
.pay-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.pay-chip {
  display: flex; align-items: center; gap: .55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .7rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  font-weight: 700;
  font-size: .88rem;
}
.pay-chip .icon { color: var(--accent); width: 20px; height: 20px; }

/* ---------- Галерея (дуотон) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  cursor: zoom-in;
  isolation: isolate;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(.85);
  transition: transform .4s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in oklab, var(--duotone-color) 45%, transparent);
  mix-blend-mode: color;
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__zoom {
  position: absolute; right: .7rem; bottom: .7rem;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.gallery-note { margin-top: var(--space-2); color: var(--text-dim); font-size: .88rem; }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(6,5,10,.92);
  padding: var(--space-3);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { position: relative; max-width: min(92vw, 900px); max-height: 86vh; }
.lightbox__figure img { max-width: 100%; max-height: 78vh; border-radius: var(--radius-m); object-fit: contain; background: #000; }
.lightbox__caption { color: #f2eef8; text-align: center; margin-top: .8rem; font-size: .9rem; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close { top: -1.4rem; right: -1rem; background: var(--accent); color: var(--accent-ink); }
.lightbox__prev { left: -1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: -1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Часы работы ---------- */
.hours-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.hours-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: var(--space-3);
}
.hours-status {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}
.hours-status__dot { width: 12px; height: 12px; border-radius: 50%; background: #3fe08a; box-shadow: 0 0 8px #3fe08a; flex: none; }
.hours-status__dot--closed { background: #ff5f7a; box-shadow: 0 0 8px #ff5f7a; }
.hours-list { display: flex; flex-direction: column; gap: .1rem; }
.hours-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row__day { color: var(--text-dim); font-weight: 600; }
.hours-row__time { font-variant-numeric: tabular-nums; font-weight: 700; }
.hours-row--today { color: var(--accent); }
.hours-row--today .hours-row__day { color: var(--accent); }

/* ---------- Карта / контакты ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.contact-row { display: flex; gap: .8rem; align-items: flex-start; }
.contact-row .icon { color: var(--accent); margin-top: .1rem; }
.contact-row__label { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.contact-row__value { font-weight: 700; overflow-wrap: anywhere; }
.contact-socials { display: flex; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}
.social-btn:hover { transform: translateY(-2px); }

.map-frame {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  min-height: 320px;
  background: var(--surface-2);
  touch-action: pan-y;
}
.map-frame.is-armed { touch-action: none; }
#map-viewport {
  position: absolute; inset: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  filter: var(--map-filter);
}
#map-viewport.is-dragging { cursor: grabbing; }
#map-tiles { position: absolute; left: 0; top: 0; will-change: transform; }
#map-tiles img { position: absolute; width: 256px; height: 256px; user-select: none; -webkit-user-drag: none; }
.map-pin {
  position: absolute; left: 50%; top: 50%;
  width: 40px; height: 52px;
  transform: translate(-50%, -100%);
  z-index: 3;
  pointer-events: none;
}
.map-controls {
  position: absolute; right: .7rem; top: .7rem;
  z-index: 4;
  display: flex; flex-direction: column; gap: .4rem;
}
.map-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-s);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-s);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  color: var(--text);
}
.map-locate {
  position: absolute; left: .7rem; bottom: .7rem;
  z-index: 4;
}
.map-attr {
  position: absolute; right: .5rem; bottom: .3rem;
  z-index: 4;
  font-size: .64rem;
  color: var(--text-dim);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  padding: .1rem .4rem;
  border-radius: 6px;
}

/* ---------- CTA: полноэкранная неоновая заливка ---------- */
.cta-band {
  padding-block: var(--space-6);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  text-align: center;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.cta-band__tag {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
}
.cta-band__title {
  font-size: clamp(2.2rem, 1.5rem + 4.5vw, 4.6rem);
  max-width: 20ch;
  line-height: 1.02;
}
.cta-band .btn--ghost { background: var(--accent-ink); color: var(--accent); box-shadow: none; border: none; }
[data-theme="light"] .cta-band .btn--ghost { color: var(--accent-2); }

/* ---------- Подвал ---------- */
.site-footer {
  background: var(--bg-alt);
  padding-block: var(--space-5) var(--space-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-brand__logo { width: 52px; height: 52px; }
.footer-brand p { color: var(--text-dim); max-width: 34ch; font-size: .92rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--space-2); }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-dim);
}
.footer-bottom a { font-weight: 700; color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal-анимация ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .btn, .gallery-item img { transition: none; }
}

/* ---------- Точки останова ---------- */
@media (max-width: 599px) {
  .site-header .theme-toggle { display: none; }
  .header-actions .btn--accent.btn--sm .nowrap { display: none; }
  .header-actions .btn--accent.btn--sm {
    padding: 0;
    width: 42px; height: 42px;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (min-width: 700px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
    grid-template-areas:
      "visual kicker"
      "visual title"
      "visual city"
      "visual lede"
      "visual actions"
      "visual facts";
    column-gap: var(--space-4);
    row-gap: var(--space-2);
  }
  .hero__visual { grid-area: visual; align-self: stretch; aspect-ratio: auto; }
  .hero__kicker { grid-area: kicker; }
  .hero__title { grid-area: title; }
  .hero__city { grid-area: city; }
  .hero__lede { grid-area: lede; margin-top: var(--space-1); }
  .hero__actions { grid-area: actions; margin-top: var(--space-2); }
  .hero__facts { grid-area: facts; margin-top: var(--space-2); flex-wrap: wrap; overflow: visible; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: .95fr 1.15fr; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
}

@media (min-width: 1000px) {
  .call-fab { display: none !important; }
}

@media (max-width: 999px) {
  .call-fab { display: flex; }
  body { padding-bottom: calc(58px + var(--space-2) * 2); }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; }
}
