/* ==========================================================================
   Cross Kashmir — Services page
   Requires tokens, base, typography, layout, components (and header/footer for
   the page shell). Everything is scoped under .services-page so nothing here can
   leak into other pages. Shared by the English and Urdu editions: direction comes
   from dir="ltr" / dir="rtl" and logical properties only.

   Services is a platform page, not an editorial category: it has no JSON data
   and no script of its own, only static HTML. It reuses .card and .btn from
   components.css; this file adds only the page head, the grid and the spacing.

   Anatomy:

     <main class="services-page">
       <div class="container">
         <header class="services-head">     h1 + short introduction
         <ul class="services__list">        one .card per service (h2 title, one line)
         <section class="services-contact"> h2 + note (no contact details exist yet)

   Mobile first: one column on phones, two from 768px. The page head repeats the
   motif of .listing-head (hairline with a gold tab); the two files are kept
   independent on purpose so a listing change never touches this page.
   ========================================================================== */

.services-page .services-head {
  position: relative;
  margin-block-end: var(--space-6);
  padding-block: var(--space-6) var(--space-4);
  border-block-end: var(--border);
}

.services-page .services-head::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: calc(-1 * var(--border-width));
  inline-size: var(--space-12);
  block-size: 3px;
  background-color: var(--color-accent);       /* decorative only */
}

.services-page .services-head__intro {
  margin-block-start: var(--space-2);
  max-inline-size: var(--container-narrow);
}

@media (min-width: 768px) {
  .services-page .services-head {
    margin-block-end: var(--space-8);
    padding-block: var(--space-8) var(--space-6);
  }
}

/* ---- The services: plain cards, no links (no sub-pages exist) ------------------------- */
.services-page .services__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.services-page .services__list .card {
  min-inline-size: 0;
}

/* Nastaliq ascenders rise above the line box: keep air above the title. */
.services-page .card__title {
  margin-block-start: var(--space-1);
}

@media (min-width: 768px) {
  .services-page .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

/* ---- Contact note ------------------------------------------------------------------------ */
.services-page .services-contact {
  margin-block: var(--space-8) var(--space-12);
  max-inline-size: var(--container-narrow);
}

.services-page .services-contact__title {
  font-size: var(--fs-section);
}

.services-page .services-contact .card__body {
  align-items: flex-start;
  gap: var(--space-3);
}
