/* =========================
   SERVICES HERO
========================= */

.services-hero {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 20px 20px 0;
  text-align: left;
}

.services-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.services-hero p {
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #334155;
  /* padding-left: 30px; */
}

.services-hero strong {
  color: #0f172a;
  font-weight: 700;
}


/* =========================
   SERVICE SECTION
========================= */

.service-section {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 20px;
}

.service-section__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

/* Reverse layout for alternating sections */
.service-section--reverse .service-section__content {
  order: 2;
}

.service-section--reverse .service-section__media {
  order: 1;
}

.service-section--reverse .service-section__grid {
  grid-template-columns: 0.7fr 1.3fr;
}


/* =========================
   HEADER ROW (ICON + TITLE)
========================= */

.service-section--part {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.service-section h2 {
  font-size: 1.6rem;
  margin: 0;
}


/* =========================
   ICON
========================= */

.service-title--icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  color: var(--na-icon-color);
}

/* Size the inline SVG (if icon is SVG) */
.service-title--icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

/* For filled SVG icons */
.service-title--icon svg path {
  fill: currentColor;
}


/* =========================
   TEXT CONTENT
========================= */

.service-section__content p {
  margin: 0 0 14px;
}

.service-section__content ul {
  margin: 0;
  padding-left: 20px;
}

.service-section__content li + li {
  margin-top: 8px;
}


/* =========================
   MEDIA
========================= */

.service-section__media {
  width: 100%;
}

.service-section__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Optional placeholder block before real images are added */
.service-section__media-placeholder {
  width: 100%;
  min-height: 280px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}


/* =========================
   SERVICES TRANSITION TEXT
========================= */

.services-more {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.services-more p {
  font-size: 1.3rem;
  color: #64748b;
  letter-spacing: 0.04em;
  line-height: 1.7;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .services-hero {
    margin-bottom: 48px;
    padding-top: 10px;
  }

  .services-hero p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .service-section__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-section--reverse .service-section__content,
  .service-section--reverse .service-section__media {
    order: unset;
  }

  .service-section--part {
    justify-content: center;
    text-align: center;
  }

  .service-section h2 {
    text-align: center;
  }

  .service-section__content p {
    text-align: center;
  }

  .service-section__content ul {
    padding-left: 18px;
  }

  .service-section__media img,
  .service-section__media-placeholder {
    max-height: 260px;
  }
}