/* ==========================================================================
   Home Page — Sections 6, 8, 9, 10
   ========================================================================== */

/* ---- Image-only hero banner: a complete pre-designed graphic uploaded via
   Admin (its own headline/CTA baked in) — shown as-is, no tint, no crop,
   no animation, header renders normally above it (not overlaid). ---- */
.hero-banner { line-height: 0; }
.hero-banner img { width: 100%; height: auto; display: block; }

/* ---- Hero (Section 6 & 7) ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,50,74,0.94), rgba(7,50,74,0.82)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 40px);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__shape {
  position: absolute;
  border: 2px solid rgba(241,90,41,0.35);
  opacity: 0;
  animation: heroShapeIn 1.2s var(--transition-base) forwards;
}
.hero__shape--1 { width: 220px; height: 220px; top: 12%; right: 8%; transform: rotate(15deg); animation-delay: 0.3s; }
.hero__shape--2 { width: 120px; height: 120px; bottom: 15%; right: 22%; border-color: rgba(255,255,255,0.2); animation-delay: 0.5s; }
@media (max-width: 767px) {
  .hero__shape--1 { width: 140px; height: 140px; }
  .hero__shape--2 { display: none; }
}

@keyframes heroShapeIn {
  from { opacity: 0; transform: translateY(20px) rotate(15deg); }
  to { opacity: 1; transform: translateY(0) rotate(15deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-block: var(--space-2xl) var(--space-xl);
}

.hero__accent-line {
  width: 70px;
  height: 4px;
  background: var(--color-orange);
  margin-bottom: var(--space-sm);
  animation: lineGrow 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
  transform-origin: left;
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero h1 {
  color: var(--color-white);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero__text {
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero__actions .btn {
  width: 100%;
}
@media (min-width: 480px) {
  .hero__actions .btn { width: auto; }
}

/* ---- Company Intro (Section 8) ---- */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .intro {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* Non-photo "media slot" — a stat showcase card standing in for a photo. */
.stat-showcase {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-border);
  aspect-ratio: 4 / 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
}
.stat-showcase__item {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: var(--space-md);
  transition: background var(--transition-fast);
}
.stat-showcase__item:hover { background: var(--color-bg-light); }
.stat-showcase__item i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.stat-showcase__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
}
.stat-showcase__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 600;
}

.intro__points {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.intro__point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.intro__point i {
  color: var(--color-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.intro__point span { color: var(--color-text-dark); font-weight: 500; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-orange);
  font-weight: 600;
  transition: gap var(--transition-fast);
}
.link-arrow:hover { gap: 0.7rem; }

/* ---- Key Highlights (Section 9) ---- */
.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .highlights { grid-template-columns: repeat(4, 1fr); }
}

.highlight-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}
.highlight-card:hover::before { transform: scaleX(1); }

.highlight-card__num {
  position: absolute;
  top: -0.6rem;
  right: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--color-bg-light);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.highlight-card__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  color: var(--color-orange);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.highlight-card__title {
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.05rem;
}

/* Scroll-reveal utility (JS toggles .is-visible).
   Hidden state only applies once the "js" class confirms JS actually ran
   (set by an inline script in <head>) — otherwise content stays visible,
   so it's never lost to users without JavaScript or before it loads. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition-base), transform 0.7s var(--transition-base);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

