/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-8) var(--space-6);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  color: white;
  margin-bottom: var(--space-5);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
  animation: fadeInUp 0.8s ease 0.4s both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 4px 40px rgba(0,0,0,0.25);
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin: 0 auto var(--space-8);
  animation: fadeInUp 0.8s ease 0.6s both;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}

.hero__scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Inner Page Hero (shorter) ---- */
.hero--inner {
  min-height: 40vh;
  padding-top: calc(var(--header-height) + var(--space-12));
  padding-bottom: var(--space-12);
}

.hero--inner .hero__title {
  font-size: var(--fs-h1);
}

.hero--inner .hero__subtitle {
  font-size: var(--fs-body);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero__content { padding: var(--space-6) var(--space-4); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
  .hero__scroll { display: none; }
}


/* ============================================
   CINEMATIC HERO EXPERIENCE (Index Page)
   ============================================ */
.cinematic-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: 50px;
  background: #000;
}

/* Slideshow Background */
.slideshow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 10s ease-in-out;
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.08);
}

.cinematic-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cinematic-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  background-image: linear-gradient(180deg, rgba(7,45,72,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(7,45,72,0.75) 100%);
  z-index: 1;
}

.hero-dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: dustDrift 60s linear infinite;
  opacity: 0.4;
}

@keyframes dustDrift {
  0% { background-position: 0 0; }
  100% { background-position: 400px 400px; }
}

.cinematic-hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-6);
  margin-top: 0;
}

.cinematic-hero__text-block {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-trust-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-6);
  flex-wrap: wrap;
  padding: 0 var(--space-4);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.hero-trust-item svg {
  width: 16px; height: 16px;
  color: var(--color-secondary);
}

/* Live Impact Strip */
.live-impact-strip {
  position: relative;
  z-index: 4;
  border-radius: var(--radius-xl);
  padding: var(--space-6) 0;
  margin: -20px auto 40px;
  max-width: 1200px;
  width: 90%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.impact-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.impact-strip-item {
  position: relative;
}
.impact-strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.impact-strip-item .counter__number {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.impact-strip-item .counter__label {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

@media (max-width: 992px) {
  .impact-strip-grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-6); }
  .impact-strip-item:nth-child(3)::after { display: none; }
}
@media (max-width: 768px) {
  .cinematic-hero { min-height: 100vh; height: auto; padding: 120px 0 60px; }
  .cinematic-hero__content { margin-top: 0; padding: 0 var(--space-4); }
  .live-impact-strip { bottom: 0; left: 0; right: 0; border-radius: 0; width: 100%; margin: 24px auto 32px; }
  .impact-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-strip-item:nth-child(2)::after { display: none; }
  .hero-trust-indicators { gap: var(--space-2) var(--space-4); }
  .hero-trust-item { font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .cinematic-hero { padding: 100px 0 40px; }
  .impact-strip-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .hero-trust-indicators { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: var(--space-2); }
}
@media (max-width: 360px) {
  .impact-strip-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust-indicators { grid-template-columns: 1fr; }
}


