/* ═══════════════════════════════════════════════════════════
   EFP Homepage — Hero Slider Only
   All other styles moved to pages.css (unified)
   ═══════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

@keyframes kenBurnsHome {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-slide.active {
  animation: kenBurnsHome 10s ease-in-out alternate infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(13, 52, 96, 0.92) 0%,
      rgba(17, 24, 39, 0.80) 35%,
      rgba(17, 24, 39, 0.50) 65%,
      rgba(17, 24, 39, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      transparent 60%,
      rgba(13, 52, 96, 0.3) 100%
    );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  max-width: 640px;
  padding: 0 var(--space-lg);
  margin-left: clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(232, 114, 12, 0.95);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  width: fit-content;
  animation: fadeUp 0.6s 0.2s ease both;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.6s 0.35s ease both;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.6s 0.5s ease both;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.65s ease both;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  animation: fadeUp 0.6s 0.8s ease both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-indicators button {
  width: 3px;
  height: 20px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-base);
  padding: 0;
}

.hero-indicators button.active {
  height: 36px;
  background: var(--accent);
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 10;
  background: var(--accent);
}

.hero-progress.run {
  animation: heroProgress 8s linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── HERO RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { min-height: 500px; max-height: 700px; }
  .hero-content { margin-left: 0; }
  .hero-indicators { display: none; }
  .hero-trust-row { flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ── Prefers reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; }
  .hero-slide.active { animation: none !important; }
  .hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-trust-row {
    animation: none !important;
    opacity: 1 !important;
  }
}
