/* ─────────────────────────────────────────────
   layout.css — навигация, hero, footer
   ───────────────────────────────────────────── */

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13, 13, 13, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: .06em;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: .04em; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 22px;
  background: var(--gold); color: #0d0d0d;
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* добавить к .hero-right */
.hero-right {
  position: sticky;
  top: 88px; /* 68px навбар + 20px отступ */
}

/* Мобильное меню */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; top: 68px;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  padding: 40px 24px; gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0; font-size: 20px; font-weight: 600;
  border-bottom: 1px solid var(--border); color: var(--muted);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta {
  margin-top: 20px; text-align: center;
  padding: 16px; font-size: 16px;
}

/* ─── HERO ────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 68px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(201, 168, 76, .07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 100% 100%, rgba(201, 168, 76, .04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
  transition: grid-template-columns .35s ease;
}

/*
 * Расширенный режим: .hero-right скрыт через JS (display:none),
 * поэтому достаточно переключить грид в одну колонку —
 * .hero-left займёт всю ширину автоматически.
 */
.hero-inner--expanded {
  grid-template-columns: 1fr;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
    padding: 60px 0;
  }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 0 48px;
  }
}

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, .3);
  border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 100px);
  line-height: .95; letter-spacing: .01em;
  margin-bottom: 28px;
}
.hero-title .line-accent { color: var(--gold); display: block; }

.hero-desc {
  font-size: 18px; color: var(--muted);
  line-height: 1.7; max-width: 460px;
  margin-bottom: 32px; font-weight: 400;
}



/* Статистика */
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px; letter-spacing: .02em;
  color: var(--gold); line-height: 1;
}
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .04em; margin-top: 4px; }

/* ─── СЕКЦИИ ──────────────────────────────── */
#assets   { background: var(--bg2); }
#why      { background: var(--bg2); }
#contacts { background: var(--bg2); }

.assets-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 60px;
}

.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 60px;
}

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 60px;
}

.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-top: 60px; align-items: start;
}

/* ─── CTA BAND ────────────────────────────── */
.cta-band {
  background: var(--gold);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-band-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  color: #0d0d0d; letter-spacing: .02em;
  position: relative; z-index: 1; margin-bottom: 12px;
}
.cta-band-sub {
  font-size: 17px; color: rgba(0, 0, 0, .6);
  position: relative; z-index: 1; margin-bottom: 32px;
}

/* ─── FOOTER ──────────────────────────────── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: .06em; }
.footer-logo span { color: var(--gold); }
.footer-copy  { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }