/* ===========================
   HEADER
   =========================== */
header.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  background: #fff !important;
  transition: box-shadow 0.25s ease;
  z-index: 1050;
}
body.scrolled header.navbar {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* отступ под фиксированный header */
body { padding-top: 72px; }

.navbar .navbar-nav { gap: 14px; }
@media (min-width: 992px) {
  .navbar .navbar-nav { margin-left: auto !important; }
}

.navbar .btn-primary {
  border-radius: 12px;
  background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
  border: none;
  transition: filter .25s ease;
}
.navbar .btn-primary:hover { filter: brightness(1.08); }

/* ===========================
   OFFCANVAS (blur overlay)
   =========================== */
.offcanvas {
  background: rgba(255,255,255,0.85) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(0,0,0,0.06);
  box-shadow: -10px 0 30px rgba(0,0,0,0.12);
  z-index: 1200 !important;
}
.offcanvas-backdrop.show {
  background: rgba(0,0,0,0.38) !important;
  opacity: 1 !important;
  z-index: 1190 !important;
}
.offcanvas.offcanvas-end {
  transform: translateX(16px);
  opacity: 0;
}
.offcanvas.showing,
.offcanvas.show {
  transform: translateX(0);
  opacity: 1;
  transition: transform .28s cubic-bezier(.22,.7,.26,1),
              opacity .28s ease;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0f2b 0%, #16235a 100%);
  color: #fff !important;
  padding-top: 5vh;
}

.hero .container,
.hero .container-xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.hero .col-lg-7 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
  padding-right: 48px;
}

.hero .col-lg-5 {
  flex: 0 0 520px;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* типографика */
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero p,
.hero .lead {
  color: #e8e8f0 !important;
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.25;
}
.hero ul li { color: #f0f0f7 !important; margin-bottom: 10px; }
.hero ul { margin-bottom: 36px; list-style:none; padding-left:0; }

/* CTA */
.hero .cta-block,
.hero .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.75) !important;
  color: #fff !important;
}
.hero .btn-outline-light:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}

/* ===========================
   TABLET / MOBILE
   =========================== */
@media (max-width: 992px) {
  .hero {
    min-height: calc(100vh - 90px);
    padding-top: 5vh;
  }

  .hero .row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 32px;
    justify-content: center;
  }
  .hero .col-lg-7 {
    max-width: 100%;
    padding-right: 0;
  }

  .hero .cta-block {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero .cta-block .btn {
    display: inline-flex;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
  }
  .hero .cta-block .btn + .btn {
    margin-top: 12px;
  }
}

/* меньший заголовок на узких экранах */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 22px;
  }
}

/* ===========================
   FIX: уведомления поверх
   =========================== */
.hero-notifs { z-index: 1100; }

/* отключаем auto-padding bootstrap main */
main { padding-top: 0 !important; }
