/* ═══════════════════════════════════════════════
   SERVICES PAGE SPECIFIC STYLES
   Dynamiq Solutionz Ltd Design System
   ═══════════════════════════════════════════════ */

/* ── Subpage Hero ── */
.page-hero {
  position: relative;
  padding: clamp(140px, 16vw, 190px) 0 clamp(64px, 8vw, 96px);
  background: var(--canvas-alt);
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero .hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(201, 153, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .h-xl {
  margin-bottom: 24px;
}

.page-hero .lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Alternating Service Rows ── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(90px, 11vw, 150px);
}

.service-row:last-of-type {
  margin-bottom: 0;
}

/* Reverse alternating items for desktop balance */
.service-row:nth-of-type(even) .service-row__media {
  order: 2;
}

.service-row__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  background: var(--canvas-alt);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.service-row__content h2 {
  margin-bottom: 18px;
}

.service-row__content .lead {
  font-size: clamp(15px, 1.2vw, 17px);
  margin-bottom: 28px;
  max-width: 530px;
}

/* Bulleted Checkmark Lists */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  padding-left: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.service-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 3px;
}

/* Image containment wrap */
.service-row__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.1;
  width: 100%;
  background: var(--canvas-alt);
  position: relative;
  border: 1px solid var(--border);
}

.service-row__media .img-wrap {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
  contain: paint;
}

.service-row__media .parallax-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  position: relative;
  top: -7.5%;
  transition: transform 0.8s var(--ease-out);
}

.service-row:hover .parallax-img {
  transform: scale(1.05);
}

/* ── Client Protection Cards ── */
.protect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.protect-card {
  background: var(--canvas);
  border: 1px solid var(--border-strong);
  padding: 38px 32px;
  border-radius: 20px;
  transition: all 0.35s var(--ease-out);
}

.protect-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.protect-card__icon {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 153, 46, 0.2);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.protect-card__icon svg {
  width: 26px;
  height: 26px;
}

.protect-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.protect-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive Adaptations ── */
@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 72px;
  }

  .service-row__media,
  .service-row:nth-of-type(even) .service-row__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .protect-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 130px 0 52px;
  }

  .service-row__content .btn {
    width: 100%;
  }

  .protect-card {
    padding: 30px 22px;
  }
}