/* ===========================================================
   Культура — кофейня, Красноярск
   Жанр: dark-luxe (тёмная роскошь), скрещённый с фирменными
   директивами: изумруд, электрический мятный акцент, засечные
   заголовки + гротеск в тексте, крупные скругления, тонкая
   миллиметровая сетка фоном.
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:root {
  --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --radius-lg: clamp(20px, 3vw, 30px);
  --radius-md: 18px;
  --radius-sm: 11px;
  --gap: clamp(16px, 2.4vw, 28px);
  --pad-section: clamp(56px, 9vw, 116px);
  --wrap: min(1180px, 92vw);

  /* тёмная тема (по умолчанию) */
  --bg: #0a1512;
  --bg-soft: #0d1f19;
  --surface: #10251e;
  --surface-2: #143229;
  --border: #1e3c31;
  --text: #eef6f1;
  --muted: #a9c4ba;
  --muted-2: #7fa397;
  --accent: #49f5ac;
  --accent-2: #9dffd8;
  --accent-ink: #04150f;
  --accent-line: #2f7a5c;
  --ring-bg: rgba(255,255,255,.09);
  --shadow: 0 24px 70px -28px rgba(0,0,0,.65);
  --grid-line: rgba(94, 200, 158, .08);
  --overlay: rgba(6, 14, 11, .78);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f7f4;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #e9f2ec;
  --border: #d7e6dd;
  --text: #0e211a;
  --muted: #4c655c;
  --muted-2: #5f7d72;
  --accent: #0b7a4e;
  --accent-2: #0a6a44;
  --accent-ink: #ffffff;
  --accent-line: #b9dccb;
  --ring-bg: rgba(11,122,78,.14);
  --shadow: 0 20px 50px -28px rgba(15,55,40,.28);
  --grid-line: rgba(11,122,78,.09);
  --overlay: rgba(10, 30, 22, .55);
  color-scheme: light;
}

html, body { background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

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

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---------- фоновая миллиметровка (фирменный приём) ---------- */
.section__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 40px);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 90%);
}

/* ================= ШАПКА ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__row {
  display: flex; align-items: center; gap: clamp(10px, 2vw, 28px);
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { border-radius: 50%; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .03em; }

.mainnav { display: flex; gap: clamp(12px, 2vw, 26px); margin-left: auto; }
.mainnav a { text-decoration: none; font-size: .94rem; color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.mainnav a:hover, .mainnav a:focus-visible { color: var(--text); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
  cursor: pointer; transition: border-color .2s, transform .15s;
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-icon--moon { display: none; }
[data-theme="light"] .theme-icon--sun { display: none; }
[data-theme="light"] .theme-icon--moon { display: block; }

.burger { display: none; }

/* ================= КНОПКИ ================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 1px solid transparent;
  padding: 12px 22px; font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: var(--bg); color: var(--text); border-color: color-mix(in srgb, var(--text) 20%, transparent); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.header-call span { display: inline; }

/* ================= ГЕРОЙ: фото зала во весь экран ================= */
.hero {
  position: relative; overflow: hidden; min-height: min(88vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--border);
  /* герой не завязан на тему: текст поверх фото всегда светлый */
  --hero-text: #f4f9f6; --hero-muted: #cfe3da;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,14,11,.18) 0%, rgba(6,14,11,.5) 55%, rgba(6,14,11,.92) 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: clamp(120px, 20vw, 220px); color: var(--hero-text); }
.hero .overline--light { color: var(--accent-2); }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.5rem); margin-bottom: .32em; color: var(--hero-text); }
.hero__accent { color: var(--accent-2); }
.hero__lead { font-size: 1.1rem; color: var(--hero-muted); max-width: 46ch; }
.hero__bar {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 3vw, 32px);
  padding-block: clamp(20px, 3vw, 32px); color: var(--hero-text);
}
.hero__status { display: flex; align-items: center; gap: 9px; font-size: .95rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__rating { display: flex; align-items: center; gap: 7px; color: var(--hero-muted); font-variant-numeric: tabular-nums; margin: 0 0 0 auto; }
.overline { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9em; }
.star-ico { color: var(--accent-2); flex: none; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 25%, transparent); flex: none; }
.status-dot.is-closed { background: #d9765b; box-shadow: 0 0 0 4px color-mix(in srgb, #d9765b 25%, transparent); }

/* ---------- полоса быстрого перехода по меню (под героем) ---------- */
.quickjump { background: var(--surface); border-bottom: 1px solid var(--border); }
.quickjump__row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.4vw, 26px); padding-block: 22px; }
.quickjump__title { font-family: var(--font-serif); font-size: 1.05rem; margin: 0; flex: none; }
.quicklist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.quicklist a {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-2);
  border: 1px solid transparent; transition: border-color .18s, transform .18s;
}
.quicklist a:hover, .quicklist a:focus-visible { border-color: var(--accent-line); transform: translateX(3px); }
.quicklist svg:first-child { color: var(--accent); flex: none; }
.quicklist span { font-size: .92rem; white-space: nowrap; }
.ql-arrow { color: var(--muted); flex: none; }
.hero__panel-foot { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--accent); font-weight: 600; font-size: .92rem; flex: none; }

/* ================= СЕКЦИИ ================= */
.section { position: relative; padding-block: var(--pad-section); }
.section--surface { background: var(--bg-soft); border-block: 1px solid var(--border); overflow: hidden; }
.section-num { font-family: var(--font-mono); color: var(--muted-2); font-size: .82rem; margin: 0 0 .3em; }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 24ch; }
.section-lead { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }

/* ---------- меню: доска кофейни ---------- */
.menu-board-wrap { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.menu-board { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 40px); }
.menu-board__col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: .8em; }
.menu-board__col h3 svg { color: var(--accent); }
.menu-board__divider { width: 1px; background: var(--border); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu-list li { position: relative; padding-left: 20px; color: var(--text); border-bottom: 1px dashed var(--border); padding-bottom: 10px; }
.menu-list li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 1px; background: var(--accent); }

.menu-check { padding-top: clamp(4px, 1vw, 10px); border-top: 2px solid var(--accent-line); }
.menu-check__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 .5em; }
.big-num, .menu-check__num { font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; margin: 0 0 .3em; font-variant-numeric: tabular-nums; color: var(--accent); }
.big-num__unit, .menu-check__num span { font-size: .5em; color: var(--muted); }
.menu-check__note { color: var(--muted); font-size: .92rem; }

@media (max-width: 860px) {
  .menu-board-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu-board { grid-template-columns: 1fr; }
  .menu-board__divider { width: 100%; height: 1px; }
}

/* ---------- факты / кольцо / удобства ---------- */
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--gap); margin: clamp(28px, 4vw, 44px) 0; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.fact__num { font-family: var(--font-serif); color: var(--accent); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 .2em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact__label { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.3; }

/* ---------- шкала часов работы (сутки 0–24) ---------- */
.hours-timeline { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 30px); margin-bottom: var(--gap); }
.hours-timeline__figure { font-family: var(--font-serif); color: var(--accent); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 .5em; font-variant-numeric: tabular-nums; }
.hours-timeline__figure span { font-family: var(--font-sans); color: var(--text); font-size: .5em; font-weight: 400; margin-left: .3em; }
.timeline-bar { position: relative; height: 14px; margin: 22px 0 8px; }
.timeline-bar__track { position: absolute; inset: 0; border-radius: 999px; background: var(--ring-bg); }
.timeline-bar__fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--accent); }
.timeline-bar__mark { position: absolute; top: -22px; transform: translateX(-50%); font-family: var(--font-mono); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.timeline-bar__mark::after { content: ""; position: absolute; left: 50%; top: 20px; width: 1px; height: 8px; background: var(--accent-line); transform: translateX(-50%); }
.timeline-bar__scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); }

.ring-row { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: var(--gap); align-items: center; }
.ring-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ring-wrap { position: relative; width: clamp(140px, 20vw, 180px); height: clamp(140px, 20vw, 180px); }
.ring-wrap svg { width: 100%; height: 100%; }
.ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: clamp(2.9rem, 8vw, 3.6rem); font-variant-numeric: tabular-nums; color: var(--text); }
.ring-caption { color: var(--muted); font-size: .9rem; margin: 0; max-width: 22ch; }

.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.amenity-grid li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; }
.amenity-grid svg { color: var(--accent); flex: none; }
.amenity-grid span { font-size: .92rem; }

/* ---------- галерея (мозаика) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: clamp(28px, 4vw, 44px); }
.gallery-figure { margin: 0; }
.gallery-figure--wide { grid-column: 1 / -1; }
.gallery-item { display: block; width: 100%; padding: 0; border: none; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.gallery-figure--wide .gallery-item { aspect-ratio: 21/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-caption { margin: 10px 2px 0; color: var(--muted); font-size: .88rem; }
.gallery-more {
  margin: var(--gap) 0 0; text-align: center; color: var(--muted-2); font-family: var(--font-mono);
  font-size: .82rem; letter-spacing: .04em; border: 1px dashed var(--border); border-radius: 999px; padding: 12px 20px;
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-figure--wide .gallery-item { aspect-ratio: 4/3; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: var(--overlay);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--accent); }

/* ---------- отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); margin-top: clamp(28px, 4vw, 44px); grid-auto-flow: dense; }
.review-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 28px); }
.review-card--wide { grid-column: span 1; }
@media (min-width: 760px) { .review-card--wide { grid-column: span 2; } }
.review-card__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 14px; }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }

/* ---------- контакты: широкая полоса с картой во всю ширину ---------- */
.contacts-band { position: relative; margin-top: clamp(28px, 4vw, 44px); }
.map-full {
  position: relative; width: 100%; aspect-ratio: 21/9; min-height: 300px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface-2); touch-action: pan-y; cursor: grab; user-select: none;
  box-shadow: var(--shadow);
}
.map-full:active { cursor: grabbing; }
.contacts-card {
  position: relative; z-index: 5; margin-top: -72px; margin-left: clamp(16px, 3vw, 40px);
  max-width: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 28px);
}
.info-list { margin: 0; }
.info-row { display: grid; grid-template-columns: 128px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row dt { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .88rem; margin: 0; }
.info-row dt svg { color: var(--accent); flex: none; }
.info-row dd { margin: 0; overflow-wrap: anywhere; }
.info-row a { text-decoration: none; }
.info-row a:hover { color: var(--accent); }
#hours-today { margin: 0 0 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-details summary { cursor: pointer; color: var(--accent); font-size: .88rem; }
.hours-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.hours-list li span:last-child { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.pay-list span { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.pay-list svg { color: var(--accent); }
.contacts-call { margin-top: 22px; width: 100%; justify-content: center; }

.map__tiles { position: absolute; inset: 0; overflow: hidden; }
.map__tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; will-change: transform; }
[data-theme="dark"] .map__tiles img,
:root:not([data-theme="light"]) .map__tiles img { filter: invert(.92) hue-rotate(180deg) brightness(.95) contrast(.92); }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--accent); filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); pointer-events: none; z-index: 5; }
.map__controls { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 6; }
.map__controls button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.map__controls button:hover { border-color: var(--accent); }
.map__credit { text-align: right; font-size: .74rem; color: var(--muted); margin: 8px 4px 2px; }
.map__credit a { color: var(--muted); }

/* ---------- CTA-полоса ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 30px; }
.cta-band__row p { margin: 0; font-family: var(--font-serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem); }

/* ================= ПОДВАЛ ================= */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-block: clamp(40px, 6vw, 60px) 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; gap: 12px; }
.footer-brand__name { font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 .3em; }
.footer-brand__sub { margin: 0; color: var(--muted); font-size: .84rem; }
.footer-nav, .footer-contacts { display: flex; flex-direction: column; gap: 9px; }
.footer-nav__title { color: var(--muted-2); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .4em; font-family: var(--font-mono); }
.footer-nav a, .footer-contacts a { text-decoration: none; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 18px; font-size: .82rem; color: var(--muted-2); }
.footer-bottom p { margin: 0; }
.footer-signature a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; }

/* ================= МОБИЛЬНАЯ КНОПКА ЗВОНКА ================= */
.mobile-call {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
  text-decoration: none;
}

/* ================= REVEAL (появление при прокрутке) ================= */
/* Правило скрытия существует только если скрипт добавил класс js на <html>.
   Без скрипта — без скрытия, страница полностью видна. Контент не прячется
   через opacity: только лёгкий сдвиг, чтобы сбой наблюдателя не оставлял
   пустых секций. */
.js .reveal { transform: translateY(18px); transition: transform .6s ease; }
.js .reveal.is-visible { transform: none; }

/* ================= НЕРАЗРЫВНЫЕ ЗНАЧЕНИЯ ================= */
.nowrap, .fact__num, #hours-today, .hours-list li span:last-child, .hero__rating { white-space: nowrap; }

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */
@media (max-width: 1100px) {
  .ring-row { grid-template-columns: 1fr; }
  .ring-card { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .mainnav { position: fixed; inset: 62px 0 auto 0; z-index: 90; flex-direction: column; gap: 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 8px 6vw 18px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .mainnav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .mainnav a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .burger { display: grid; }
  .header-call span { display: none; }
  .header-call { padding: 12px; border-radius: 50%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .contacts-card { margin-top: 16px; margin-left: 0; max-width: none; }
  .map-full { aspect-ratio: 16/9; min-height: 220px; }
}

@media (max-width: 640px) {
  :root { --pad-section: 52px; }
  .hero__content { padding-top: 100px; }
  .hero__bar { flex-direction: column; align-items: stretch; }
  .hero__rating { margin-left: 0; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .mobile-call { display: flex; }
  .cta-band__row { justify-content: center; text-align: center; }
  .review-card--wide { grid-column: span 1; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 420px) {
  .brand__sub { display: none; }
}
