/* ============================================================
   Garden — звёздный сад. Общий стиль.
   Тёмная «ночная» тема, тёплое золото + точечный циан.
   Заголовки: Unbounded. Текст: Manrope.
   ============================================================ */

:root {
  /* фон / поверхности */
  --bg:        #07061a;
  --bg-2:      #0c0a26;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);

  /* акценты */
  --gold:      #f5c45a;
  --gold-lite: #ffe2a0;
  --gold-deep: #c8932f;
  --cyan:      #4fd6e6;
  --violet:    #8a5cd6;

  /* текст */
  --text:      #ecebf7;
  --muted:     #9d99c4;
  --muted-2:   #6f6b96;

  /* эффекты */
  --glow-gold: 0 0 0 1px rgba(245,196,90,.35), 0 8px 40px -8px rgba(245,196,90,.45);
  --shadow:    0 24px 60px -24px rgba(0,0,0,.7);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;

  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/* ---------- сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ---------- звёздный фон (CSS, без скачивания) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(138,92,214,.20), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(79,214,230,.10), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(245,196,90,.10), transparent 60%),
    linear-gradient(180deg, #07061a 0%, #0a0820 50%, #06051a 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%,  rgba(255,255,255,.9), transparent),
    radial-gradient(1.2px 1.2px at 75% 18%,  rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px   at 40% 70%,    rgba(255,255,255,.8), transparent),
    radial-gradient(1.6px 1.6px at 88% 60%,  rgba(255,240,210,.9), transparent),
    radial-gradient(1px 1px   at 12% 85%,    rgba(255,255,255,.6), transparent),
    radial-gradient(1.3px 1.3px at 60% 42%,  rgba(200,240,255,.7), transparent),
    radial-gradient(1px 1px   at 33% 12%,    rgba(255,255,255,.5), transparent),
    radial-gradient(1.1px 1.1px at 95% 35%,  rgba(255,255,255,.6), transparent);
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: .6;
}

/* ---------- типографика ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.18rem; }
p  { color: var(--muted); }
a  { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lite); }
.accent { color: var(--gold); }
.cyan { color: var(--cyan); }

/* ---------- лейаут ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: 18px; }

/* апертурный эйбрау-маркер */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: inset 0 0 0 3px rgba(245,196,90,.18), 0 0 14px rgba(245,196,90,.5);
  background:
    radial-gradient(circle, var(--gold-lite) 0 22%, transparent 24%);
  flex: none;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s, box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold) 55%, var(--gold-deep));
  color: #1a1205; box-shadow: 0 10px 34px -10px rgba(245,196,90,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(245,196,90,.75); color: #1a1205; }
.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(245,196,90,.5); color: var(--gold-lite); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(8, 7, 22, 0.55);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.scrolled { background: rgba(8, 7, 22, 0.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--text); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; }
.brand small { display:block; font-family: var(--font-body); font-weight: 500; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .92rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--gold-lite), var(--gold) 40%, var(--cyan) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.15rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--text); }
.hero-stats .lbl { font-size: .82rem; color: var(--muted); }

/* canvas со звёздами */
#stars-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* ---------- макет «живого» стрима ---------- */
.player {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #05040f;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
}
.player .feed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .feed-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 38% 42%, rgba(245,196,90,.6), transparent 60%),
    radial-gradient(50% 60% at 70% 64%, rgba(138,92,214,.55), transparent 62%),
    radial-gradient(40% 40% at 60% 30%, rgba(79,214,230,.4), transparent 60%),
    #06040f;
}
.player .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,4,16,.35) 0%, transparent 30%, transparent 60%, rgba(6,4,16,.7) 100%); }
/* перекрестие прицела */
.reticle { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.reticle::before, .reticle::after { content:""; position:absolute; background: rgba(245,196,90,.5); }
.reticle::before { left: 50%; top: 8%; bottom: 8%; width: 1px; transform: translateX(-.5px); }
.reticle::after  { top: 50%; left: 8%; right: 8%; height: 1px; transform: translateY(-.5px); }
.reticle-ring { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(79,214,230,.5); border-radius: 50%; }
.reticle-ring::after { content:""; position:absolute; inset: 30%; border: 1px solid rgba(245,196,90,.4); border-radius: 50%; }

.player .topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; z-index: 3; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(8,6,18,.6); color: var(--gold-lite); padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(245,196,90,.4); backdrop-filter: blur(6px);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4e; box-shadow: 0 0 10px #ff5a4e; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.7);} }
.viewers { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--text); background: rgba(8,6,18,.6); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); backdrop-filter: blur(6px); }
.viewers svg { width: 14px; height: 14px; opacity: .85; }

.player .botbar { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; z-index: 3; }
.player .target-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.player .target-meta { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.player .controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.player .scrub { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.player .scrub::after { content:""; position:absolute; inset: 0 38% 0 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.player .pill { font-size: .72rem; color: var(--muted); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; }

/* ---------- общие сетки карточек ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .25s, border-color .25s, background .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,196,90,.32); background: var(--surface-2); }

/* шаги «как это работает» */
.step .step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--gold);
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgba(245,196,90,.4); box-shadow: inset 0 0 0 4px rgba(245,196,90,.06); margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* карточка телескопа */
.tel-card { padding: 0; }
.tel-card .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.tel-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tel-card:hover .thumb img { transform: scale(1.05); }
.tel-card .thumb-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--violet), #1a1640); }
.tel-card .loc-tag {
  position: absolute; top: 12px; left: 12px; font-size: .72rem; font-family: var(--font-head);
  letter-spacing: .04em; background: rgba(8,6,18,.65); padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); backdrop-filter: blur(6px); color: var(--text);
}
.tel-card .body { padding: 22px; }
.tel-card .body h3 { margin-bottom: 14px; }
.spec { display: flex; justify-content: space-between; font-size: .88rem; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.spec:first-of-type { border-top: none; }
.spec .k { color: var(--muted); }
.spec .v { color: var(--text); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; }
.status::before { content:""; width: 8px; height: 8px; border-radius: 50%; }
.status.free { color: #7fe6a8; } .status.free::before { background: #7fe6a8; box-shadow: 0 0 8px #7fe6a8; }
.status.busy { color: var(--gold); } .status.busy::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.status.maint { color: var(--muted); } .status.maint::before { background: var(--muted); }

/* ---------- вкладки локаций ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  font-family: var(--font-head); font-size: .85rem; font-weight: 500; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); cursor: pointer; transition: all .2s;
}
.tab:hover { color: var(--text); border-color: rgba(245,196,90,.35); }
.tab.active { background: linear-gradient(135deg, var(--gold-lite), var(--gold)); color: #1a1205; border-color: transparent; }
.tab-panel { display: none; animation: fade .4s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
.loc-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.loc-detail .meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.loc-detail .meta .num { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.loc-detail .meta .lbl { font-size: .78rem; color: var(--muted); }
.loc-photo { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- галерея ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); position: relative; }
.gallery img { width: 100%; display: block; transition: transform .5s, filter .3s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  font-family: var(--font-head); font-size: .82rem; color: var(--text);
  background: linear-gradient(transparent, rgba(6,4,16,.85)); opacity: 0; transition: opacity .3s;
}
.gallery figure:hover figcaption { opacity: 1; }
.gallery figcaption span { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--muted); }

/* ---------- тарифы ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(245,196,90,.45); background: linear-gradient(180deg, rgba(245,196,90,.08), var(--surface)); box-shadow: var(--glow-gold); }
.price-card .badge-top { position: absolute; top: 0; right: 22px; transform: translateY(-50%); font-family: var(--font-head); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(135deg, var(--gold-lite), var(--gold)); color: #1a1205; padding: 5px 13px; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .plan-desc { font-size: .88rem; min-height: 42px; }
.price-card .amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--text); margin: 18px 0 4px; }
.price-card .amount small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.feat-list { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feat-list li { display: flex; gap: 10px; font-size: .92rem; color: var(--text); }
.feat-list li svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 3px; }
.feat-list li.off { color: var(--muted-2); } .feat-list li.off svg { color: var(--muted-2); }

/* демо-бронирование */
.booker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); font-family: var(--font-head); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(245,196,90,.55); background: rgba(255,255,255,.06); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239d99c4' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- отзывы ---------- */
.quote { display: flex; flex-direction: column; gap: 18px; }
.quote .stars-row { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.quote p { color: var(--text); font-size: 1rem; line-height: 1.7; }
.quote .author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--gold), var(--violet)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #1a1205; font-size: .95rem; }
.quote .author .name { font-weight: 700; font-size: .92rem; }
.quote .author .role { font-size: .78rem; color: var(--muted); }

/* ---------- финальный CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(245,196,90,.12), rgba(138,92,214,.12));
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 120% at 50% -20%, rgba(245,196,90,.22), transparent 60%); pointer-events: none; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 540px; margin: 0 auto 32px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.figures { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 16px; }
.figure-card { text-align: center; padding: 30px 18px; }
.figure-card .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); background: linear-gradient(120deg, var(--gold-lite), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figure-card .cap { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.member { text-align: center; }
.member .ava { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--gold), var(--violet)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #1a1205; border: 1px solid var(--line); }
.member h3 { font-size: 1.05rem; } .member .pos { font-size: .82rem; color: var(--gold); margin: 4px 0 8px; } .member p { font-size: .88rem; }

/* ---------- контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--gold); }
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list .k { font-size: .78rem; color: var(--muted); }
.contact-list .v { font-weight: 600; color: var(--text); }

/* ---------- подвал ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: .9rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: .9rem; max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: .82rem; color: var(--muted-2); }

/* ---------- тост ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; width: calc(100% - 32px); max-width: 420px; }
.toast {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: rgba(16, 13, 38, .92); border: 1px solid rgba(245,196,90,.4);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  backdrop-filter: blur(12px); transform: translateY(20px); opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .t-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-lite), var(--gold)); color: #1a1205; }
.toast .t-ic svg { width: 18px; height: 18px; }
.toast .t-title { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text); }
.toast .t-msg { font-size: .82rem; color: var(--muted); }

/* ---------- 404 ---------- */
.err-page { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.err-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 18vw, 11rem); line-height: 1; background: linear-gradient(120deg, var(--gold-lite), var(--gold) 40%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 8px 0 16px; }
.err-page p { max-width: 460px; margin: 0 auto 30px; }

/* ---------- появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* ---------- мобильное меню (общий слой) ---------- */
.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 55; background: rgba(7,6,22,.97);
  backdrop-filter: blur(14px); transform: translateX(100%); transition: transform .3s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 30px 24px; gap: 6px; overflow-y: auto;
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--font-head); font-size: 1.4rem; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 20px; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .loc-detail, .about-hero, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .grid-3, .grid-4, .grid-2, .figures, .team { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  section { padding: 60px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 16px; }
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero p { font-size: 1.05rem; }
  .btn { padding: 12px 20px; }
}
