/* ═══════════════════════════════════════════════════
   HOMEPAGE — cinematic centered hero (Geomatrica)
   ═══════════════════════════════════════════════════ */

.home-page .header-bar,
.home-page .header-bar.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.home-page .header-bar.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.home-page .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 72px;
  padding: 0 clamp(16px, 2.5vw, 32px);
  max-width: none;
}

.home-page .logo {
  height: 72px;
  flex-shrink: 0;
  z-index: 2;
}

.home-page .logo-img {
  height: 38px;
}

.home-page .main-menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  gap: 2px;
  z-index: 1;
}

.home-page .menu-item {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
}

.home-page .menu-item:hover {
  color: #ffffff;
}

.home-page .menu-contact-btn,
.home-page .menu-login-btn {
  display: none;
}

.home-page .nav-portal {
  flex-shrink: 0;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.home-page .nav-portal:hover {
  color: #ffffff;
}

.home-page .hamburger {
  z-index: 2;
}

.home-page .hamburger span {
  background: #ffffff;
}

/* ── Hero: full viewport, centered ── */
.home-page .hp-hero {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-page .hp-hero-bg {
  background-position: center center;
  animation: hpHeroKen 20s ease-out both;
  filter: brightness(0.74) contrast(1.06) saturate(0.85);
}

@keyframes hpHeroKen {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.home-page .hp-hero-overlay {
  background:
    radial-gradient(ellipse 85% 70% at 50% 42%, rgba(4, 8, 15, 0.12) 0%, rgba(4, 8, 15, 0.58) 100%),
    linear-gradient(180deg,
      rgba(4, 8, 15, 0.4) 0%,
      rgba(4, 8, 15, 0.22) 45%,
      rgba(4, 8, 15, 0.62) 100%
    );
}

.home-page .hp-hero-content {
  max-width: 880px;
  padding: 100px 32px 64px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page .hp-hero-eyebrow {
  display: none;
}

.home-page .hp-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow: none;
  margin: 0 0 22px;
  max-width: 16ch;
}

.home-page .hp-hero-lead {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  max-width: 520px;
  margin: 0 0 36px;
}

.home-page .hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-page .hp-btn {
  min-width: 148px;
  justify-content: center;
}

.home-page .hp-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 0;
  padding: 8px;
}

.home-page .hp-scroll-cue__text {
  display: none;
}

.home-page .hp-scroll-cue__arrow {
  width: 10px;
  height: 10px;
  animation: hpScrollPulse 2.2s ease-in-out infinite;
}

@keyframes hpScrollPulse {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.45; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

@media (max-width: 960px) {
  .home-page .nav-container {
    height: 64px;
    padding: 0 16px;
  }

  .home-page .main-menu {
    position: static;
    transform: none;
    display: none;
  }

  .home-page .main-menu.active {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 32px 40px;
    background: rgba(4, 8, 15, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    overflow-y: auto;
  }

  .home-page .menu-contact-btn,
  .home-page .menu-login-btn {
    display: inline-flex;
  }

  .home-page .hp-hero-title {
    max-width: none;
  }

  .home-page .hp-hero-content {
    padding: 88px 24px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hp-hero-bg { animation: none; }
  .home-page .hp-scroll-cue__arrow { animation: none; }
}
