:root {
  /* Канон BRAND_USAGE: уголь + #FFB000 */
  --bg: #0a0a0a;
  --ink: #f2f2f2;
  --muted: #9a9a9a;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --accent: #ffb000;
  --accent-deep: #e09a00;
  --on-accent: #0a0a0a;
  --line: #3a3a3a;
  --radius: 2px;
  --font: "Manrope", system-ui, sans-serif;
  /* Шкала логотипа — только декор, не статусы сайта */
  --scale-1: #22c55e;
  --scale-2: #84cc16;
  --scale-3: #eab308;
  --scale-4: #f97316;
  --scale-5: #dc2626;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  min-height: 56px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.logo__mark {
  display: block;
  width: 40px;
  height: auto;
  flex: 0 0 auto;
}
.logo__word {
  display: block;
  width: 168px;
  max-width: 168px;
  height: auto;
  flex: 0 0 auto;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav {
  display: flex;
  gap: 1.15rem;
  margin-left: auto;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a:hover { color: var(--accent); }
/* Специфичнее .btn — иначе desktop видит две CTA. */
.nav .nav__cta { display: none; }
.top__cta { flex: 0 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.9rem; }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero {
  position: relative;
  min-height: min(70vh, 560px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #000;
}
.hero__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 32%, rgba(255, 176, 0, 0.2), transparent 46%),
    radial-gradient(ellipse at 18% 78%, rgba(255, 176, 0, 0.07), transparent 42%),
    linear-gradient(160deg, #000 0%, #0c0c0c 55%, #14110a 100%);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero__scale {
  position: absolute;
  right: max(1.25rem, 4vw);
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 112px;
  opacity: 0.35;
  pointer-events: none;
  border-radius: 3px;
  background:
    linear-gradient(var(--scale-1), var(--scale-1)) 0 0 / 100% 15% no-repeat,
    linear-gradient(var(--scale-2), var(--scale-2)) 0 21.25% / 100% 15% no-repeat,
    linear-gradient(var(--scale-3), var(--scale-3)) 0 42.5% / 100% 15% no-repeat,
    linear-gradient(var(--scale-4), var(--scale-4)) 0 63.75% / 100% 15% no-repeat,
    linear-gradient(var(--scale-5), var(--scale-5)) 0 85% / 100% 15% no-repeat;
}
@keyframes heroDrift {
  from { transform: scale(1.01); }
  to { transform: scale(1.05) translate3d(-0.6%, 0.4%, 0); }
}
.hero__content {
  position: relative;
  padding: 3.5rem 0 3.25rem;
  max-width: 36rem;
  animation: rise 0.85s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
/* Lockup: фиксированная ширина — не native 2400px PNG */
.hero__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  max-width: 100%;
}
.hero__mark {
  display: block;
  width: 88px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 18px rgba(255, 176, 0, 0.18));
}
.hero__word {
  display: block;
  width: 300px;
  max-width: min(300px, 72vw);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(255, 176, 0, 0.1));
}
.hero__lead {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 26rem;
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.section { padding: 4.75rem 0; background: var(--bg); }
.section--slots {
  background: linear-gradient(180deg, #0a0a0a, #121212 45%);
}
.section--team {
  background: #000;
  color: var(--ink);
}
.section--team .section__sub,
.section--team .team__text { color: var(--muted); }
.section--contact { background: #0c0c0c; color: var(--ink); }
.section--contact .section__sub { color: var(--muted); }
.section__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.section__sub {
  margin: 0.7rem 0 1.85rem;
  color: var(--muted);
  max-width: 38rem;
}
.section__sub--flush { margin-bottom: 0.9rem; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.services--catalog {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
  animation: rise 0.7s ease both;
}
.service-card:nth-child(2) { animation-delay: 0.05s; }
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.service-card__desc { margin-bottom: 0.85rem !important; }
.service-card__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}
.service-card__list li + li { margin-top: 0.35rem; }
.service-card__list li::marker { color: var(--accent); }

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.reviews-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.reviews-note a { color: var(--accent); }
.reviews-head .section__sub { margin-bottom: 0; }
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.reviews-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.quote {
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  animation: rise 0.9s ease both;
}
.quote p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.4;
}
.quote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.team {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.team__text {
  margin: 0;
  max-width: 36rem;
  font-size: 1.02rem;
}
.team__panel {
  display: grid;
  gap: 0.85rem;
}
.team__stat {
  padding: 1.1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.team__stat strong {
  display: block;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  color: var(--accent);
}
.team__stat span { color: var(--muted); font-size: 0.92rem; }

.slot-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 1rem;
}
.field {
  display: grid;
  gap: 0.35rem;
  min-width: 180px;
}
.field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}
.field input[type="date"] {
  color-scheme: dark;
  min-width: 11.5rem;
  padding-right: 0.45rem;
}
/* Native picker icon on dark panel — без filter почти не виден в Chrome/Edge. */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter:
    invert(1) brightness(1.25)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(1px 0 0 #fff)
    drop-shadow(0 -1px 0 #fff)
    drop-shadow(0 1px 0 #fff);
  opacity: 1;
  cursor: pointer;
  width: 1.45rem;
  height: 1.45rem;
  margin-left: 0.15rem;
}
.section--contact .field span { color: var(--muted); }
.section--contact .field input,
.section--contact .field textarea {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
.slot-meta {
  margin: 0;
  color: var(--muted);
  flex: 1 1 12rem;
  min-width: 0;
}
.slot-status {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.boards {
  display: grid;
  gap: 1rem;
}
.board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.board__head h3,
.board h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: 1.05rem;
}
.board__count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.times {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.time-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #111;
  color: var(--ink);
  padding: 0.55rem 0.45rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  width: 100%;
  text-align: center;
  display: block;
  box-sizing: border-box;
}
.time-chip--view {
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.time-chip--book {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.time-chip--book:hover,
.time-chip--book:focus-visible {
  border-color: var(--accent);
  background: #1a1400;
  color: var(--accent);
  outline: none;
}

.book-wizard {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  background: var(--panel);
  color: var(--ink);
  max-width: min(28rem, calc(100vw - 1.5rem));
  width: 100%;
}
.book-wizard::backdrop {
  background: rgba(0, 0, 0, 0.72);
}
.book-wizard__panel {
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}
.book-wizard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.book-wizard__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.book-wizard__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}
.book-wizard__close:hover { color: var(--ink); }
.book-wizard__slot {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--accent);
  background: #1a1400;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
}
.book-wizard__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.book-wizard__steps li {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid var(--line);
}
.book-wizard__steps li.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.book-wizard__steps li.is-done {
  color: var(--ink);
  border-bottom-color: #555;
}
.book-wizard__pane {
  display: grid;
  gap: 0.7rem;
}
.book-wizard__summary {
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem 0.8rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.book-wizard__summary p { margin: 0; }
.book-wizard__error {
  margin: 0;
  color: #ff8a8a;
  font-size: 0.9rem;
}
.book-wizard__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.time-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

.nearest {
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--accent);
  background: #1a1400;
  color: var(--ink);
  border-radius: var(--radius);
  flex: 0 1 auto;
  max-width: min(100%, 28rem);
  text-align: right;
}

.section--location {
  background: linear-gradient(180deg, #0a0a0a, #101010 55%);
}
.location-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}
.location-head .section__title { margin: 0; }
.location-head .section__sub { margin: 0.45rem 0 0; max-width: 36rem; }
.location-head .map-switch {
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
}
.location {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.4fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}
.location__facts {
  margin: 0 0 1.15rem;
  display: grid;
  gap: 1rem;
}
.location__facts dt {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.location__facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
.location__facts a {
  color: var(--accent);
  text-decoration: none;
}
.location__facts a:hover { text-decoration: underline; }
.location__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.location__map { min-width: 0; }
.map-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.map-switch__btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 40px;
}
.map-switch__btn:hover { color: var(--ink); }
.map-switch__btn.is-active {
  background: var(--accent);
  color: var(--on-accent);
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.map-frame__view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}
.map-frame__view.is-active { display: block; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact__hint {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}
.form {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form__title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}
.form__note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.form__note.is-error {
  color: #f87171;
  font-weight: 600;
}
.intake-banner {
  display: none;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid #7f1d1d;
  background: #450a0a;
  color: #fecaca;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
.intake-banner.is-visible { display: block; }
.slot-intake-banner {
  display: none;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid #7f1d1d;
  background: #450a0a;
  color: #fecaca;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.slot-intake-banner.is-visible { display: block; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: #000;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}
.footer__brand img:first-child {
  display: block;
  width: 28px;
  height: auto;
  flex: 0 0 auto;
}
.footer__brand img:last-child {
  display: block;
  width: 120px;
  max-width: 120px;
  height: auto;
  flex: 0 0 auto;
}
.footer a { color: var(--accent); }

/* Chat widget */
.chat-dock__toggle,
.chat-toggle {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.chat-dock__toggle.has-resume,
.chat-toggle.has-resume {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.chat-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 4.4rem;
  width: min(360px, calc(100vw - 1.5rem));
  height: min(520px, calc(100vh - 6rem));
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #111;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.chat-panel[hidden],
.chat-panel.is-hidden { display: none; }
.chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: #000;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-weight: 800;
}
.chat-panel__close,
.chat-panel__head button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.chat-view.is-hidden { display: none; }
.chat-view--form {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}
.chat-view--form.is-hidden { display: none; }
.chat-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chat-view--form .field { min-width: 0; }
.chat-view--form .field input {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1a1a1a;
  color: var(--ink);
}
.chat-room__log,
.chat-log {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  background: #0c0c0c;
}
.chat-bubble {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  background: #222;
  max-width: 92%;
}
.chat-bubble.is-staff { background: #3d2e00; margin-left: auto; }
.chat-bubble.is-system { background: #2a2a2a; color: var(--muted); font-size: 0.9rem; }
.chat-bubble small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 0.2rem;
}
.chat-room__form,
.chat-send {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem;
  border-top: 1px solid var(--line);
  background: #111;
}
.chat-room__form input,
.chat-send input {
  flex: 1;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1a1a1a;
  color: var(--ink);
}
.chat-room__quiet {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem 0.75rem;
  cursor: pointer;
  text-align: left;
}
.chat-room__quiet:hover { color: var(--accent); }
.chat-error {
  margin: 0;
  color: #ff5c5c;
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .top__inner {
    flex-wrap: wrap;
    min-height: 60px;
    padding: 0.35rem 0;
  }
  .top__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0.35rem 0 0.75rem;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid #222;
  }
  .nav a:last-child { border-bottom: none; }
  .nav .nav__cta {
    display: inline-flex;
    margin-top: 0.65rem;
    width: 100%;
  }
  .team { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .location-head { align-items: center; }
  .slot-status { flex-direction: column; align-items: stretch; }
  .nearest { max-width: none; text-align: left; }
  .times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map-frame { min-height: 260px; aspect-ratio: 4 / 3; }
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__content { padding: 2.5rem 0 2.25rem; max-width: none; }
  .hero__brand {
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .hero__scale { display: none; }
  .hero__mark { width: 72px; }
  .hero__word { width: 260px; max-width: min(260px, 78vw); }
  .hero__lead { font-size: 0.98rem; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn { width: 100%; min-height: 48px; }
  .logo__mark { width: 36px; }
  .logo__word { width: 150px; max-width: min(150px, 48vw); }
  .section { padding: 3.25rem 0; }
  .section__title { font-size: 1.45rem; }
  .slot-boards { gap: 0.75rem; }
  .btn { min-height: 44px; }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px; /* без автозума iOS */
    min-height: 44px;
  }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .chat-dock__toggle,
  .chat-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    left: auto;
    width: auto;
    max-width: calc(100vw - 1.5rem);
  }
  .chat-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    height: min(70vh, 520px);
  }
}

@media (max-width: 480px) {
  .wrap { width: min(1100px, calc(100% - 1.25rem)); }
  .hero__mark { width: 64px; }
  .hero__word { width: 220px; max-width: min(220px, 70vw); }
  .logo__mark { width: 34px; }
  .logo__word { width: 140px; max-width: min(140px, 52vw); }
}
