/* ===================================================================
   SUB-SERVICE PAGES — shared CSS for all 19 sub-service pages
   Prefix: ss- (sub-service)
   Sections: hero, content (alternating blocks), cta
   Banner, nav, footer styles are in components.css and home.css
   =================================================================== */

/* --- 1. HERO ---
   Full-width bg image, dark overlay, centered white text,
   2 buttons side by side, 3 trust badges in a row.
   Height: ~560px. Overlay ~48% black.
   ----------------------------------------------------------------- */
.ss-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 30%;
  text-align: center;
  color: var(--white);
  padding: 80px 80px;
}
.ss-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}
.ss-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ss-hero__title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
}
.ss-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.88;
  line-height: 1.6;
  max-width: 620px;
}
.ss-hero__buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.ss-hero__badges {
  display: flex;
  gap: 28px;
  margin-top: 4px;
}
.ss-hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.ss-hero__badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- 2. CONTENT ---
   White bg, contains alternating 2-column blocks (image + text).
   Each block alternates: image-left/text-right, then image-right/text-left.
   Blocks have generous vertical spacing between them.
   ----------------------------------------------------------------- */
.ss-content {
  background: var(--white);
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Content Block ---
   Default: image left, text right (2-column grid).
   .ss-block--reverse: image right, text left.
   ----------------------------------------------------------------- */
.ss-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ss-block__image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.ss-block__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ss-block__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
.ss-block__desc {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
}
.ss-block__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 4px;
}
.ss-block__list {
  list-style: disc;
  padding-left: 24px;
}
.ss-block__list li {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* --- 3. CTA ---
   Full-width bg image, dark overlay, centered white text, 2 buttons.
   ----------------------------------------------------------------- */
.ss-cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
  padding: 80px 80px;
}
.ss-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}
.ss-cta__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ss-cta__title {
  font-size: 44px;
  line-height: 1.15;
}
.ss-cta__subtitle {
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.65;
  max-width: 620px;
}
.ss-cta__buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

/* =================================================================
   MOBILE RESPONSIVE — @media (max-width: 768px)
   Matches mobile Figma screenshots (412px viewport)
   ================================================================= */
@media (max-width: 768px) {

  /* --- HERO mobile --- */
  .ss-hero {
    min-height: 700px;
    padding: 48px 20px;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
  }
  .ss-hero__content {
    align-items: flex-start;
    max-width: 100%;
  }
  .ss-hero__title { font-size: 32px; }
  .ss-hero__subtitle { font-size: 15px; max-width: 100%; }
  .ss-hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .ss-hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .ss-hero__badges {
    flex-direction: column;
    gap: 12px;
  }

  /* --- CONTENT mobile --- */
  .ss-content {
    padding: 48px 20px;
    gap: 48px;
  }
  .ss-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ss-block--reverse .ss-block__image {
    order: -1;
  }
  .ss-block__title { font-size: 26px; }
  .ss-block__desc { font-size: 15px; }
  .ss-block__list li { font-size: 15px; }

  /* --- CTA mobile --- */
  .ss-cta {
    min-height: 400px;
    padding: 48px 20px;
    text-align: left;
    align-items: flex-start;
  }
  .ss-cta__content {
    align-items: flex-start;
  }
  .ss-cta__title { font-size: 28px; }
  .ss-cta__buttons {
    flex-direction: column;
    width: 100%;
  }
  .ss-cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
