/* ============================================================
   М52 — стрелковый клуб и тир. Жанр: мишень (dartboard).
   Директивы: бирюзовый монохром, тёмный фон, электрический
   акцент, центральная композиция, видимая модульная сетка,
   элементы без границ, капс-надзаголовки, ноль декора.
   ============================================================ */

@font-face { /* системные стеки объявлены переменными ниже — файл не нужен */
}

:root {
  --font-sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: min(1200px, 92vw);
  --gap: clamp(1.25rem, 2.5vw, 2.5rem);
  --radius-s: 10px;
  --radius-m: 20px;
  --radius-l: 32px;
  --dur: 200ms;
  --ease: cubic-bezier(.2,.7,.3,1);
}

[data-theme="dark"] {
  --bg: oklch(15% 0.032 196);
  --bg-2: oklch(12.5% 0.028 196);
  --surface: oklch(20% 0.038 196);
  --surface-2: oklch(24.5% 0.044 196);
  --text: oklch(95% 0.014 196);
  --text-dim: oklch(74% 0.03 196);
  --line: oklch(55% 0.06 196 / 22%);
  --line-strong: oklch(60% 0.07 196 / 40%);
  --accent: oklch(80% 0.19 195);
  --accent-strong: oklch(88% 0.19 195);
  --accent-ink: oklch(14% 0.03 196);
  --ring-bg: oklch(33% 0.05 196);
  --map-filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.92);
  --overlay: oklch(10% 0.03 196 / 78%);
}
[data-theme="light"] {
  --bg: oklch(97% 0.012 196);
  --bg-2: oklch(99% 0.006 196);
  --surface: oklch(93% 0.02 196);
  --surface-2: oklch(89% 0.026 196);
  --text: oklch(21% 0.03 196);
  --text-dim: oklch(40% 0.035 196);
  --line: oklch(45% 0.05 196 / 22%);
  --line-strong: oklch(40% 0.06 196 / 38%);
  --accent: oklch(52% 0.16 195);
  --accent-strong: oklch(44% 0.17 195);
  --accent-ink: oklch(99% 0.008 196);
  --ring-bg: oklch(85% 0.02 196);
  --map-filter: none;
  --overlay: oklch(97% 0.012 196 / 82%);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

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

/* видимая модульная сетка — фирменный ритм страницы */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line) 0, var(--line) 1px,
    transparent 1px, transparent calc(var(--container) / 12)
  );
  background-position: center top;
  background-repeat: repeat-y;
  opacity: .7;
}

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

img { max-width: 100%; display: block; -webkit-user-drag: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.container { width: var(--container); max-width: var(--container); margin-inline: auto; position: relative; z-index: 1; }

.nowrap { white-space: nowrap; }

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

.overline {
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

h1, h2, h3 { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); line-height: 1.08; max-width: 20ch; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
p { color: var(--text-dim); }

/* ---------- reveal / предохранитель от белого полотна ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal {
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ================= header ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem);
  padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { display: block; }
.brand__name {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; color: var(--text);
}
.site-nav {
  display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  margin-inline: auto;
  font-size: .92rem; font-weight: 600;
}
.site-nav a { text-decoration: none; color: var(--text-dim); position: relative; padding: .3rem 0; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.phone-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 700; font-size: .88rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.phone-chip:hover { background: var(--accent); color: var(--accent-ink); }
.phone-chip .icon { width: 16px; height: 16px; fill: currentColor; }

.theme-toggle, .menu-toggle {
  width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--surface);
  transition: background var(--dur) var(--ease);
}
.theme-toggle:hover, .menu-toggle:hover { background: var(--surface-2); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.theme-toggle .icon { fill: currentColor; stroke: none; }
.icon--moon { display: none; }
[data-theme="dark"] .icon--sun { display: none; }
[data-theme="dark"] .icon--moon { display: block; }
.menu-toggle { display: none; }

/* ================= hero ================= */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-kenburns 24s var(--ease) infinite alternate;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 62%, transparent) 0%, color-mix(in oklab, var(--bg) 80%, transparent) 55%, var(--bg) 100%),
    color-mix(in oklab, var(--bg) 40%, transparent);
}
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
}
.hero__rings {
  position: absolute; inset: 0; display: grid; place-items: center;
  z-index: 0; pointer-events: none;
}
.hero__rings svg { width: min(140vw, 1100px); height: min(140vw, 1100px); }
.hero__rings circle { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.hero__inner { max-width: 46rem; display: flex; flex-direction: column; align-items: center; }
.hero__inner .overline { }

.hero__title {
  display: flex; flex-direction: column; gap: .06em;
  font-size: clamp(2.6rem, 1.4rem + 6.5vw, 6rem);
  line-height: .98;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.hero__word { }
.hero__word--accent { color: var(--accent); }
.hero__word--city {
  font-size: .32em; font-weight: 700; letter-spacing: -.01em;
  color: var(--text-dim); margin-top: .3em;
}

.hero__lead { font-size: clamp(1.02rem, .9rem + .5vw, 1.2rem); max-width: 40ch; margin: 0 0 2rem; }
.hero__lead strong { color: var(--accent); font-weight: 800; }

.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem 1.5rem; margin-bottom: 2.25rem;
  font-size: .95rem; color: var(--text-dim);
}
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px; background: var(--surface);
  font-weight: 700;
}
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.status-pill.is-open .status-pill__dot { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent); }
.status-pill.is-open { color: var(--accent); }
.status-pill.is-closed .status-pill__dot { background: color-mix(in oklab, var(--text-dim) 70%, transparent); }

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- кнопка-мишень ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; cursor: pointer;
  border-radius: 999px; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--ghost {
  padding: 1rem 1.6rem; color: var(--text); border-radius: 999px;
  background: transparent;
}
.btn--ghost:hover { color: var(--accent); transform: translateX(3px); }

.btn--target {
  position: relative; gap: .1rem;
  padding: 1.15rem 2.1rem;
  background: var(--accent); color: var(--accent-ink);
  text-align: left; line-height: 1.25;
}
.btn--target.small { padding: .85rem 1.6rem; margin-top: 2rem; }
.btn--target b { font-size: 1.05em; letter-spacing: .01em; }
.btn__ring {
  position: absolute; inset: -8px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  opacity: 0; transition: opacity var(--dur) var(--ease), inset var(--dur) var(--ease);
  pointer-events: none;
}
.btn--target:hover { transform: translateY(-2px); }
.btn--target:hover .btn__ring { opacity: 1; inset: -12px; }

/* ================= разделы (общий ритм) ================= */
main > section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.services { background: var(--bg-2); }
.numbers { background: var(--surface); }
.reviews { background: var(--bg-2); }

/* ================= услуги ================= */
.services__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.service { max-width: 42rem; }
.service__num {
  display: block; font-family: var(--font-mono); font-size: .85rem;
  color: var(--accent); letter-spacing: .1em; margin-bottom: .75rem;
}
.service h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-bottom: .6rem; }

.payments { padding-top: clamp(2rem, 5vw, 3rem); border-top: none; }
.payments__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
}
.payments__list li {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.payments__list .icon { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; }

/* ================= цифры ================= */
.stat-strip {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
@media (min-width: 640px) {
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
}
.stat-strip__item { display: flex; flex-direction: column; gap: .35rem; }
.stat-strip__value {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 800; color: var(--accent);
  line-height: 1;
}
.stat-strip__unit { font-size: .38em; font-weight: 700; color: var(--text-dim); }
.stat-strip__label { color: var(--text-dim); font-size: .92rem; max-width: 18ch; margin: 0; }

.visit { border-top: 1px solid var(--line); padding-top: clamp(2rem, 5vw, 3rem); }
.visit__steps {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  .visit__steps { grid-template-columns: 1fr; }
}
.visit__step { display: flex; gap: 1.1rem; align-items: flex-start; }
.visit__num {
  font-family: var(--font-mono); font-size: 1.4rem; font-weight: 800;
  color: var(--accent); flex-shrink: 0; line-height: 1.3;
}
.visit__body h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); margin-bottom: .5rem; }
.visit__body p { margin: 0; }

/* ================= галерея ================= */
.gallery__intro { max-width: 56ch; margin: -1rem 0 2.5rem; }
.gallery__layout {
  display: grid; gap: var(--gap);
  grid-template-columns: 1.3fr 1fr;
}
@media (max-width: 640px) {
  .gallery__layout { grid-template-columns: 1fr; }
}
.gallery__item {
  display: block; padding: 0; border-radius: var(--radius-m); overflow: hidden;
  aspect-ratio: 4 / 3; position: relative;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, color-mix(in oklab, var(--bg) 75%, transparent), transparent 45%);
  opacity: 1; transition: opacity var(--dur) var(--ease);
}
.gallery__caption {
  position: absolute; left: 1.1rem; bottom: 1rem; right: 1.1rem; z-index: 1;
  color: var(--text); font-weight: 700; font-size: .92rem; text-align: left;
}
.gallery__cta {
  display: flex; flex-direction: column; justify-content: center; gap: .75rem;
  border-radius: var(--radius-m); padding: 2rem;
  background: var(--surface-2); text-decoration: none;
}
.gallery__cta-num {
  font-family: var(--font-mono); font-weight: 800; font-size: clamp(2rem, 1.3rem + 2vw, 2.7rem);
  color: var(--accent); line-height: 1;
}
.gallery__cta-text { color: var(--text); font-weight: 600; max-width: 20ch; }
.gallery__cta-arrow { color: var(--accent); font-weight: 800; font-size: 1.3rem; transition: transform var(--dur) var(--ease); }
.gallery__cta:hover .gallery__cta-arrow { transform: translateX(4px); }

/* ================= отзывы ================= */
.reviews__layout {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1.4fr 1fr;
  align-items: stretch;
}
@media (max-width: 900px) {
  .reviews__layout { grid-template-columns: 1fr; }
}
.reviews__side { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.25rem); }
.review { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.review__rating { color: var(--accent); letter-spacing: .18em; font-size: .9rem; }
.review blockquote {
  margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--text);
  quotes: none;
}
.review--feature { justify-content: center; }
.review--feature blockquote {
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2rem);
  line-height: 1.35; font-weight: 700;
}
.review figcaption { color: var(--text-dim); font-size: .85rem; font-family: var(--font-mono); }

/* ================= контакты ================= */
.contacts__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.15fr);
  align-items: start;
}
.contacts__list { display: flex; flex-direction: column; gap: 1.4rem; margin: 0 0 .5rem; }
.contacts__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.contacts__row dt { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); padding-top: .2rem; }
.contacts__row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contacts__row a { text-decoration: none; }
.contacts__row a:hover { color: var(--accent); }

.hours summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: .5rem; }
.hours summary::before { content: "+"; font-family: var(--font-mono); color: var(--accent); font-weight: 800; width: 1em; }
.hours[open] summary::before { content: "−"; }
.hours__list { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; font-weight: 400; }
.hours__list li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.hours__list li[data-today] { color: var(--accent); font-weight: 700; }

.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.social-links a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; font-weight: 600; }

/* ---------- карта ---------- */
.map {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 4 / 5; min-height: 380px; background: var(--surface);
  touch-action: pan-y;
}
.map__viewport { position: absolute; inset: 0; overflow: hidden; cursor: grab; }
.map__viewport:active { cursor: grabbing; }
.map__viewport.is-active { touch-action: none; }
.map-tile { position: absolute; width: 256px; height: 256px; will-change: left, top; user-select: none; filter: var(--map-filter); }
.map__marker {
  position: absolute; width: 34px; height: 42px; margin-left: -17px; margin-top: -40px;
  pointer-events: none; z-index: 3;
  filter: drop-shadow(0 6px 10px color-mix(in oklab, var(--bg) 60%, transparent));
}
.map__marker svg { width: 100%; height: 100%; fill: var(--accent); }
.map__marker-dot { fill: var(--accent-ink); }

.map__controls {
  position: absolute; right: .85rem; bottom: .85rem; z-index: 4;
  display: flex; flex-direction: column; gap: .5rem;
}
.map__controls button {
  width: 44px; height: 44px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
  transition: background var(--dur) var(--ease);
}
.map__controls button:hover { background: var(--accent); color: var(--accent-ink); }
.map__controls .icon { width: 18px; height: 18px; }

/* overlay-карточка контактов поверх карты на широких экранах */
@media (min-width: 901px) {
  .contacts__grid { grid-template-columns: 1fr; position: relative; }
  .map { aspect-ratio: 16 / 9; min-height: 480px; }
  .contacts__info {
    position: absolute; top: 2rem; left: 2rem; z-index: 5;
    max-width: 23rem; padding: clamp(1.5rem, 2.5vw, 2.25rem);
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-l);
    box-shadow: 0 30px 70px -25px color-mix(in oklab, var(--bg-2) 90%, black);
  }
  .contacts__info h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.1rem); }
}

/* ================= CTA-полоса ================= */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.cta-band__text { color: var(--accent-ink); font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); font-weight: 700; margin: 0; max-width: 32ch; }
.cta-band .btn--target { background: var(--accent-ink); color: var(--accent); }
.cta-band .btn__ring { border-color: color-mix(in oklab, var(--accent-ink) 40%, transparent); }

/* ================= подвал ================= */
.site-footer { background: var(--bg-2); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer__grid {
  display: grid; gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
.footer__brand p { margin-top: 1rem; font-size: .92rem; }
.footer__col { display: flex; flex-direction: column; gap: .65rem; font-size: .92rem; }
.footer__col a { text-decoration: none; color: var(--text-dim); }
.footer__col a:hover { color: var(--accent); }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--text-dim);
}
.footer__legal a { color: var(--text-dim); }
.footer__legal a:hover { color: var(--accent); }
address { font-style: normal; }

/* ================= лайтбокс ================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: var(--overlay); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius-m); object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 46px; height: 46px; border-radius: 999px; background: var(--surface);
  display: grid; place-items: center;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px; background: var(--surface);
  display: grid; place-items: center;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: var(--accent-ink); }
.lightbox__nav[hidden] { display: none; }

/* ================= адаптивность ================= */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: grid; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: .5rem 6vw 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open a { padding: .85rem 0; width: 100%; border-top: 1px solid var(--line); }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .contacts__row { grid-template-columns: 1fr; gap: .25rem; }
  .cta-band__inner { justify-content: center; text-align: center; }
  .hero__word--city { font-size: .38em; }
  .map { aspect-ratio: 4 / 5; min-height: 320px; }
}
@media (max-width: 480px) {
  .header-inner { gap: .5rem; }
  .phone-chip .nowrap { display: none; }
  .phone-chip { padding: .55rem; }
  .phone-chip .icon { width: 18px; height: 18px; }
}
@media (max-width: 420px) {
  .btn--target { padding: 1rem 1.5rem; }
}

/* лайтбокс на узких экранах */
@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: .4rem; }
  .lightbox__nav--next { right: .4rem; }
}
