/* ==========================================================================
   DayZ Hub — дизайн-система
   ========================================================================== */

:root {
  --bg: #0b0d0a;
  --bg-deep: #070905;
  --surface: #11140f;
  --surface-2: #171b14;
  --surface-3: #1d221a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eae7dc;
  --muted: #a3a294;
  --dim: #77786b;
  --accent: #d7a53c;
  --accent-soft: rgba(215, 165, 60, 0.12);
  --moss: #8aa878;
  --danger: #c05a45;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.85);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* фактура: лёгкий шум поверх фона */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 800;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #12140f; }

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #12140f;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- шапка ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 11, 8, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--accent);
}

.brand b { color: var(--accent); font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(215, 165, 60, 0.13);
  box-shadow: inset 0 0 0 1px rgba(215, 165, 60, 0.28);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(215, 165, 60, 0.45);
  background: linear-gradient(180deg, rgba(215, 165, 60, 0.22), rgba(215, 165, 60, 0.09));
  color: #f3e7cb;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(215, 165, 60, 0.75);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- герой --------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 460px at 12% -12%, rgba(215, 165, 60, 0.16), transparent 62%),
    radial-gradient(680px 420px at 88% 4%, rgba(138, 168, 120, 0.1), transparent 60%),
    linear-gradient(180deg, #0d100b, #0a0c08 70%, #0b0d0a);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23d7a53c' stroke-opacity='0.13' stroke-width='1'%3E%3Cpath d='M-40 470 C120 380 210 470 330 420 S520 300 660 350 S840 260 960 300'/%3E%3Cpath d='M-40 520 C120 430 220 520 340 470 S530 350 670 400 S850 310 960 350'/%3E%3Cpath d='M-40 570 C120 480 230 570 350 520 S540 400 680 450 S860 360 960 400'/%3E%3Cpath d='M-40 420 C110 340 200 430 320 380 S510 260 650 310 S830 220 960 260'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 120% auto;
  mask-image: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 75%, rgba(0, 0, 0, 0.9));
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 { margin-bottom: 0.42em; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, #e3b555, var(--accent));
  color: #16130a;
  box-shadow: 0 16px 40px -18px rgba(215, 165, 60, 0.9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -18px rgba(215, 165, 60, 0.95); }

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(215, 165, 60, 0.5); transform: translateY(-2px); }

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-stats { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }

.hero-stats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-stats li:last-child { border-bottom: 0; padding-bottom: 0; }

.hero-stats b {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 2.2ch;
}

.hero-stats span { color: var(--muted); font-size: 0.94rem; line-height: 1.45; }

/* ---------- секции -------------------------------------------------------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.05); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.section-head p { color: var(--muted); max-width: 56ch; margin: 0; }
.section-head h2 { margin: 0 0 10px; }

.section-head .h-group { max-width: 62ch; }

.link-more {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.link-more::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- карточки ------------------------------------------------------ */

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.grid--three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

@media (min-width: 1000px) {
  .grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 0.26s var(--ease), border-color 0.26s, box-shadow 0.26s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 20% 0%, rgba(215, 165, 60, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 165, 60, 0.34);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(215, 165, 60, 0.22);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin: 0; font-size: 1.11rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.card .card-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.card .meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}

/* ---------- шаги ---------------------------------------------------------- */

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(215, 165, 60, 0.32);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- «полоса» с цитатой ------------------------------------------- */

.quote-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #0e110c, #0a0c08);
  padding: clamp(40px, 6vw, 64px) 0;
}

.quote-band blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  font-weight: 700;
  max-width: 34ch;
  letter-spacing: -0.015em;
}

.quote-band blockquote span { color: var(--accent); }
.quote-band cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}

/* ---------- фильтры ------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.chip:hover { color: var(--text); border-color: rgba(215, 165, 60, 0.4); }

.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #16130a;
}

.search-wrap {
  margin-left: auto;
  position: relative;
  min-width: 230px;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 17px;
  height: 17px;
  color: var(--dim);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
}

.search-input::placeholder { color: var(--dim); }
.search-input:focus { outline: none; border-color: rgba(215, 165, 60, 0.6); background: rgba(255, 255, 255, 0.06); }

.empty-state {
  display: none;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state.is-visible { display: block; }

/* ---------- аккордеон ----------------------------------------------------- */

.accordion { display: grid; gap: 12px; }

.acc-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}

.acc-item[open] { border-color: rgba(215, 165, 60, 0.32); background: var(--surface-2); }

.acc-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
}

.acc-item summary::-webkit-details-marker { display: none; }

.acc-item summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  flex: none;
}

.acc-item[open] summary::after { transform: rotate(225deg); }

.acc-body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.97rem;
}

.acc-body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.acc-body li::marker { color: var(--accent); }
.acc-body strong { color: var(--text); }

/* ---------- таймлайн ------------------------------------------------------ */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 34px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(215, 165, 60, 0.05));
}

.timeline li { position: relative; padding: 0 0 34px 0; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(215, 165, 60, 0.1);
}

.timeline h3 { font-size: 1.12rem; margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.timeline .time {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- чек-лист ------------------------------------------------------ */

.checklist-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(22px, 3vw, 34px);
}

.checklist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.checklist-head h3 { margin: 0; font-size: 1.2rem; }

.progress-text { font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.progress-text b { color: var(--accent); }

.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--accent));
  transition: width 0.4s var(--ease);
}

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.16s;
}

.check-item:hover { background: rgba(255, 255, 255, 0.035); }

.check-item input { position: absolute; opacity: 0; pointer-events: none; }

.check-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.18s var(--ease);
}

.check-box svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.6); transition: all 0.18s var(--ease); }

.check-item input:checked + .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.check-item input:checked + .check-box svg { opacity: 1; transform: scale(1); }

.check-item input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 3px; }

.check-text { font-size: 0.97rem; color: var(--text); }
.check-text small { display: block; color: var(--dim); font-size: 0.85rem; margin-top: 2px; }

.check-item input:checked ~ .check-text { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(215, 165, 60, 0.5); }
.check-item input:checked ~ .check-text small { text-decoration: none; }

.reset-checks {
  margin-top: 18px;
  background: none;
  border: 0;
  color: var(--dim);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reset-checks:hover { color: var(--accent); }

/* ---------- карта --------------------------------------------------------- */

.map-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.map-toolbar h2 { font-size: 1.05rem; margin: 0; }
.map-toolbar p { margin: 0; color: var(--dim); font-size: 0.84rem; }
.map-toolbar .buttons { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0c08;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.82rem;
}

.place-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.place-list li {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  align-items: baseline;
}

.place-list b { color: var(--accent); font-size: 0.95rem; }
.place-list span { color: var(--muted); font-size: 0.93rem; }

/* ---------- таблица ------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }

th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; background: rgba(255, 255, 255, 0.02); }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--text); }
td { color: var(--muted); }

/* ---------- подвал -------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 48px 0 34px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-brand p { color: var(--dim); font-size: 0.9rem; max-width: 34ch; margin-top: 14px; }

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.16s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-size: 0.82rem;
}

/* ---------- утилиты ------------------------------------------------------- */

.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); max-width: 68ch; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(22px, 3.5vw, 44px);
  align-items: start;
}

.note {
  border-left: 2px solid var(--accent);
  background: rgba(215, 165, 60, 0.06);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.note strong { color: var(--text); }

.note.is-danger { border-color: var(--danger); background: rgba(192, 90, 69, 0.08); }

.page-head {
  padding: clamp(52px, 7vw, 84px) 0 clamp(30px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 340px at 8% -30%, rgba(215, 165, 60, 0.13), transparent 65%),
    linear-gradient(180deg, #0d100b, #0b0d0a);
}

.page-head h1 { margin-bottom: 0.35em; }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- адаптив ------------------------------------------------------- */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }

  .burger { display: block; }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px 20px 26px;
    background: rgba(9, 11, 8, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }

  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }

  .nav-links a { padding: 13px 16px; font-size: 1rem; }

  .nav-cta { display: none; }

  .search-wrap { margin-left: 0; width: 100%; min-width: 0; }

  .place-list li { grid-template-columns: 1fr; gap: 4px; }

  .map-frame { aspect-ratio: 4 / 5; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
