/* ============================================================
   PAGES.CSS — Page-specific hero variants, section layouts
   ============================================================ */

/* ---------- Hero Sections ---------- */

/* Home Hero — full viewport */
.hero-home {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: var(--hero-pt) 0 80px;
  background: var(--white);
  overflow: hidden;
}
.hero-home__content {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.hero-home__overline {
  margin-bottom: 16px;
}
.hero-home__heading {
  margin-bottom: 16px;
}
.hero-home__sub {
  margin-bottom: 32px;
}
.hero-home__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-home__illustration img {
  max-width: 100%;
  height: auto;
}

/* Dark Hero — Services, Capabilities, About, Careers */
.hero-dark {
  background: var(--dark);
  padding: var(--hero-pt) 0 80px;
  overflow: hidden;
}
.hero-dark__content {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.hero-dark__overline {
  margin-bottom: 12px;
}
.hero-dark__heading {
  margin-bottom: 20px;
}
.hero-dark__sub {
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
}
.hero-dark__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

/* Light Hero — Contact, FAQs */
.hero-light {
  background: var(--tint);
  padding: 80px 0;
  text-align: center;
}
.hero-light__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}

/* ---------- Home Page Sections ---------- */

/* Services Snapshot */
.services-snapshot {
  padding: var(--section-py) 0;
  background: var(--tint);
}
.services-snapshot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.services-snapshot__link {
  text-align: center;
  margin-top: 32px;
}
.services-snapshot__link a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--brand);
  transition: opacity 0.25s;
}
.services-snapshot__link a:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .services-snapshot__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .services-snapshot__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services Page ---------- */
.service-detail {
  padding: var(--section-py) 0;
}
.service-detail__content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.service-detail__overline {
  margin-bottom: 12px;
}
.service-detail__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.service-detail__body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ---------- About Page — Timeline ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}
.timeline__item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}
.timeline__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.timeline__dot span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.timeline__content {
  padding-top: 8px;
}
.timeline__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 4px;
}
.timeline__desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .timeline::before { left: 24px; }
  .timeline__dot {
    width: 48px;
    height: 48px;
  }
  .timeline__dot span { font-size: 15px; }
}

/* ---------- Responsive Hero ---------- */
@media (max-width: 768px) {
  .hero-home__content,
  .hero-dark__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-home__illustration,
  .hero-dark__illustration {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-home {
    min-height: auto;
    padding: 60px 0 48px;
  }
  .hero-dark {
    padding: 80px 0 60px;
  }
}
