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

:root {
  --bg: #000;
  --teal: #60c8ff;
  --white: #f2ede6;
  --gray: rgba(242,237,230,0.45);
  --head: 'Unbounded', sans-serif;
  --body: 'Unbounded', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--white); font-family: var(--body); overflow-x: hidden; font-weight: 300; }
body.menu-open { overflow: hidden; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--teal); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* Vector background */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,200,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,200,255,0.07) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 100%);
}
.bg-vectors {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100vh;
  opacity: 0.45;
}
.bg-vectors svg { width: 100%; height: 100%; }

main, footer, .page-hero { position: relative; z-index: 1; }

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

/* ── NAV ───────────────────────────────────── */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(96,200,255,0.22);
}
.logo {
  font-family: var(--head); font-weight: 400; font-size: 12px; letter-spacing: 0.08em;
  color: var(--white);
  display: inline-flex; align-items: center; gap: 6px;
}
.logo .dot { color: var(--teal); }
.logo .sub { opacity: 0.6; }
.back-link {
  font-family: var(--head); font-size: 11px; color: rgba(242,237,230,0.5);
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--teal); }

.nav-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--head); font-size: 11px; color: rgba(242,237,230,0.5);
  text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--teal); }
.nav-links a.phone {
  color: var(--teal); border: 1px solid rgba(96,200,255,0.27);
  padding: 7px 16px; border-radius: 2px;
}

.burger {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 0; outline: none; box-shadow: none;
  padding: 0; cursor: pointer; position: relative; z-index: 3;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block; width: 22px; height: 2px; border-radius: 999px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger:focus, .burger:active, .burger:focus-visible { outline: none; box-shadow: none; border: 0; }
.burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────── */
.page-hero {
  padding: 130px 40px 60px;
  border-bottom: 1px solid rgba(96,200,255,0.22);
}
.page-hero .wrap { max-width: 1200px; margin: 0 auto; }
.crumb {
  font-family: var(--head); font-size: 10px; color: rgba(242,237,230,0.3);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px;
}
.crumb .accent { color: var(--teal); }
.page-hero h1 {
  font-family: var(--head); font-weight: 200;
  font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -0.02em;
}
.page-hero h1 .accent { color: var(--teal); font-weight: 300; }
.page-hero .lead {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(14px, 1.2vw, 18px); line-height: 1.55;
  color: rgba(242,237,230,0.65);
  max-width: 640px; margin-top: 26px;
}

/* ── MAIN GRID ─────────────────────────────── */
main {
  padding: 80px 40px 100px;
}
.layout {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.info-col { display: flex; flex-direction: column; gap: 48px; }
.map-col { display: flex; flex-direction: column; gap: 32px; }

.info-block { position: relative; }
.info-col .info-block + .info-block {
  padding-top: 32px;
  border-top: 1px solid rgba(96,200,255,0.15);
}
.info-block .card-label {
  font-family: var(--head); font-size: 10px;
  color: var(--teal); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 20px;
}
.info-block .org {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: var(--white);
}

/* Quick contacts */
.qc {
  display: flex; flex-direction: column; gap: 22px;
  margin-top: 12px;
}
.qc-row {
  display: flex; flex-direction: column; gap: 4px;
}
.qc-row .k {
  font-family: var(--head); font-size: 10px;
  color: rgba(242,237,230,0.45); letter-spacing: 0.15em; text-transform: uppercase;
}
.qc-row .v {
  font-family: var(--head); font-size: clamp(20px, 2vw, 28px); font-weight: 300;
  color: var(--white); letter-spacing: 0.01em;
  transition: color 0.2s;
}
.qc-row a.v:hover { color: var(--teal); }

/* Requisites table */
.req {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 14px 24px;
}
.req .k {
  font-family: var(--head); font-size: 10px;
  color: rgba(242,237,230,0.45); letter-spacing: 0.15em; text-transform: uppercase;
  padding-top: 4px;
}
.req .v {
  font-family: var(--head); font-size: 15px; font-weight: 300;
  color: var(--white); line-height: 1.5;
}

/* Address text (inside the "Адрес" info-block) */
.address-text {
  font-family: var(--head); font-size: clamp(16px, 1.4vw, 20px); font-weight: 300;
  line-height: 1.55;
  color: var(--white);
  margin-top: 8px;
}
.address-text .accent { color: var(--teal); }

/* Map (Yandex) */
.map-card {
  border: 1px solid rgba(96,200,255,0.22);
  background: #000;
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.map-card iframe {
  width: 100%; height: 100%; min-height: 360px;
  border: 0; display: block;
  filter: invert(1) hue-rotate(180deg) saturate(0.8) brightness(0.95) contrast(0.95);
}
.map-card .pin-info {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--head); font-size: 10px;
  color: var(--teal); letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(0,0,0,0.85);
  border: 1px solid rgba(96,200,255,0.45);
  z-index: 2;
}

/* CTA */
.cta {
  margin-top: 80px;
  text-align: center;
  padding: 60px 0 0;
  border-top: 1px solid rgba(96,200,255,0.22);
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.cta h3 {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0.01em;
}
.cta h3 .accent { color: var(--teal); }
.cta p {
  font-family: var(--head); font-weight: 300; font-size: 14px;
  color: rgba(242,237,230,0.55);
  margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto;
  line-height: 1.55;
}
.cta .phone {
  display: inline-block; margin-top: 32px;
  font-family: var(--head); font-size: clamp(28px, 3vw, 44px); font-weight: 300;
  color: var(--white); letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(96,200,255,0.5);
  padding-bottom: 6px; transition: color 0.2s, border-color 0.2s;
}
.cta .phone:hover { color: var(--teal); border-color: var(--teal); }

/* Footer */
footer {
  border-top: 1px solid rgba(96,200,255,0.18);
  padding: 28px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
footer .copy, footer a {
  font-family: var(--head); font-size: 10px;
  color: rgba(242,237,230,0.25); text-decoration: none;
  letter-spacing: 0.08em; font-weight: 300;
}
footer a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .page-hero { padding: 110px 20px 40px; }
  main { padding: 50px 20px 60px; }
  .layout { grid-template-columns: 1fr; gap: 30px; }
  .info-col { gap: 28px; }
  .info-col .info-block + .info-block { padding-top: 24px; }
  .map-col { gap: 24px; }
  .req { grid-template-columns: 110px 1fr; gap: 10px 18px; }
  .empty-state { padding: 44px 24px; }
  .req .v { font-size: 14px; }
  nav.top { padding: 0 16px; }
  footer { padding: 24px 16px; }
}

@media (max-width: 700px) {
  nav.top { padding: 0 16px; }

  .burger { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 60px; right: 0;
    width: min(320px, 100%);
    height: calc(100vh - 60px);
    padding: 24px 20px 28px;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-start;
    gap: 18px; flex-wrap: nowrap;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    border-left: 1px solid rgba(96,200,255,0.15);
    z-index: 2;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 13px; }
  .nav-links a.phone { margin-top: 6px; }

  .map-card, .map-card iframe { min-height: 260px; }

  footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}