/* ==========================================================================
   home.css — Homepage-specific styles
   ========================================================================== */

/* ---------- Home Hero ---------- */
.home-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--corp-navy);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.78) 0%,
    rgba(26, 39, 68, 0.62) 50%,
    rgba(45, 63, 94, 0.52) 100%
  );
}

.home-hero .container {
  position: relative;
  z-index: 1;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
}

.home-hero-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--corp-warm-light);
  border: 1px solid rgba(212, 168, 67, 0.4);
  padding: var(--space-1) var(--space-4);
  border-radius: 999px;
  margin-bottom: var(--space-6);
}

.home-hero-title {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  color: var(--corp-white);
  line-height: 1.35;
  margin-bottom: var(--space-6);
  max-width: 640px;
}

.home-hero-title .accent {
  color: var(--corp-warm-light);
}

.home-hero-subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: var(--space-8);
}

.home-hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 400px;
}

.home-hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: pulse-soft 2s ease-in-out infinite;
}

.home-hero-scroll svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .home-hero {
    min-height: 90vh;
  }

  .home-hero-actions {
    flex-direction: row;
    max-width: none;
  }
}

/* ---------- Services Section ---------- */
.home-services .card {
  text-align: center;
  padding: var(--space-10) var(--space-6);
}

.home-services .card-icon {
  margin-left: auto;
  margin-right: auto;
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.home-services .card-icon svg {
  width: 36px;
  height: 36px;
}

/* ---------- Reasons Section (alternating features) ---------- */
.home-reasons {
  counter-reset: reason;
}

.home-reasons .feature-row {
  counter-increment: reason;
}

.home-reasons .feature-content::before {
  content: '0' counter(reason);
  display: block;
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(184, 134, 11, 0.12);
  line-height: 1;
  margin-bottom: var(--space-4);
}

/* ---------- Company Overview ---------- */
.company-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

.company-map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--corp-light-gray);
  border: 1px solid var(--corp-border);
}

.company-map img,
.company-map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

@media (min-width: 768px) {
  .company-overview {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
  }
}

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
  padding: var(--space-8) 0;
}

.stat-item {
  padding: var(--space-4);
}

.stat-number {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--corp-warm);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--corp-slate-light);
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
