/* ============================================
   SBFC SOLUTIONS — HOME PAGE STYLES
   ============================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: var(--gray-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(192,57,43,0.15) 0%, transparent 50%),
    linear-gradient(to bottom right, #1a1a1a 0%, #2c2c2c 60%, #3a2020 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(192,57,43,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,200,0,0.05) 0%, transparent 40%);
}

/* Animated solar rays */
.hero__bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,180,0,0.04) 30deg, transparent 60deg, transparent 90deg, rgba(255,180,0,0.03) 120deg, transparent 150deg);
  border-radius: 50%;
  animation: rotateSun 20s linear infinite;
}

@keyframes rotateSun {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__content {
  color: var(--white);
}

.hero__headline {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__highlight {
  color: var(--red-light);
  position: relative;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__micro {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__micro span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.hero__micro i {
  color: var(--green-light);
}

/* Hero form box */
.hero__form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-top: 4px solid var(--red);
}

.hero__form-box .lead-box__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hero__form-box .lead-box__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero__form-box {
    max-width: 540px;
  }
  
  .hero {
    padding-bottom: 3rem;
  }
}

@media (max-width: 600px) {
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__micro {
    flex-direction: column;
    gap: 0.5rem;
  }
}
