/* --- Service Detail Pages --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__content h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-detail__content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  margin: 16px 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.service-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
}

.service-detail__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Service CTA Banner */
.service-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1b30 100%);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--white);
  margin-top: 48px;
}

.service-cta-banner h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-cta-banner p {
  opacity: 0.85;
  margin-bottom: 24px;
  font-size: 16px;
}

/* Services hub cards */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.service-hub-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.service-hub-card__video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-hub-card__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hub-card__body {
  padding: 24px;
}

.service-hub-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-hub-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Services full-width rows */
.services-row-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.service-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  scroll-margin-top: 120px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  min-height: 260px;
}

.service-row:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-row__body {
  flex: 0 0 60%;
  max-width: 60%;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
}

.service-row__media {
  flex: 0 0 40%;
  max-width: 40%;
  overflow: hidden;
  order: 1;
  position: relative;
  align-self: stretch;
  aspect-ratio: 16 / 9;
}

.service-row__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-row__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-row__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-row__body .btn {
  align-self: flex-start;
  padding: 8px 18px;
  font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 1279px) {
  .services-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail--reverse {
    direction: ltr;
  }

  .services-hub-grid {
    grid-template-columns: 1fr;
  }

  .service-cta-banner {
    padding: 32px 20px;
  }

  .service-cta-banner h3 {
    font-size: 22px;
  }

  .service-row {
    flex-direction: column;
    min-height: 0;
  }

  .service-row__body,
  .service-row__media {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .service-row__media {
    order: 1;
    aspect-ratio: 16 / 9;
  }

  .service-row__body {
    order: 2;
    padding: 24px;
  }

  .service-row__title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .service-cta-banner {
    padding: 24px 16px;
  }

  .service-cta-banner h3 {
    font-size: 20px;
  }
}
