/* ── Page Hero (shared across inner pages) ── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}
.page-hero__bg {
  position: absolute; inset: 0;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,14,28,0.5) 0%,
    rgba(8,14,28,0.85) 100%
  );
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}
.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(232,230,224,0.75);
  max-width: 60ch;
  line-height: 1.65;
}

/* ── Service Detail Sections ── */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.svc-detail--reverse { direction: rtl; }
.svc-detail--reverse > * { direction: ltr; }

.svc-detail__text { display: flex; flex-direction: column; }
.svc-detail__body {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.svc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-left: 0;
  list-style: none;
}
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.svc-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.svc-detail__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.svc-detail__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.svc-detail__img:hover img { transform: scale(1.04); }

/* Section divider */
.section-divider {
  width: min(var(--content-wide), 100% - var(--space-8));
  margin-inline: auto;
  height: 1px;
  background: var(--color-divider);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .svc-detail,
  .svc-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .svc-detail__img { aspect-ratio: 16/9; max-height: 320px; }
}
