/* Home page */
.home-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; background: linear-gradient(rgba(5, 12, 18, 0.65), transparent); }

.hero {
  position: relative; overflow: hidden;
  min-height: min(78vh, 720px);
  display: flex; align-items: center;
  padding: 96px clamp(16px, 6vw, 80px) 72px;
  background: radial-gradient(ellipse at 70% 30%, #3aa6b9 0%, #1f7a8c 35%, #0f3d4a 75%, #08222b 100%);
  color: #fff;
}
.hero-pano { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero.has-pano .hero-pano { opacity: 1; }
.hero-pano .pnlm-load-box, .hero-pano .pnlm-about-msg { display: none !important; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 14, 20, 0.78) 0%, rgba(5, 14, 20, 0.35) 55%, rgba(5, 14, 20, 0.1) 100%);
}
.hero-content { position: relative; max-width: 620px; pointer-events: none; }
.hero-content h1 {
  margin: 0 0 16px; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05;
  font-weight: 800; letter-spacing: -0.03em;
}
.hero-content p { margin: 0 0 28px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.86); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; pointer-events: auto; }
.hero-btn { padding: 12px 22px; font-size: 1.02rem; }
.btn.hero-btn:not(.ghost) { background: #fff; color: #0f3d4a; }
.btn.hero-btn:not(.ghost):hover { background: #e3f2f5; }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn[hidden] { display: none; }
.hero-caption {
  position: absolute; right: 16px; bottom: 12px; margin: 0;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.hero-caption[hidden] { display: none; }

.home-main { margin-top: 48px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 56px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.feature h2 { margin: 12px 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.latest .page-head h2 { margin: 0; font-size: 1.5rem; }
.latest .page-head a { font-weight: 600; text-decoration: none; }
.site-footer a { color: inherit; }

@media (max-width: 600px) {
  .hero { min-height: 72vh; padding-top: 110px; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 14, 20, 0.85) 0%, rgba(5, 14, 20, 0.3) 70%, rgba(5, 14, 20, 0.15) 100%); }
  .hero-caption { left: 16px; right: auto; }
}
