/* =========================================================
   SERVICES PAGE
   ========================================================= */

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

/* Hidden SVG symbol library */

.icon-definitions {
  position: absolute;

  width: 0;
  height: 0;

  overflow: hidden;

  pointer-events: none;
}

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

.services-hero {
  background: var(--ocean);
  color: var(--paper);
}

.services-hero .page-kicker {
  margin: 0 0 18px;

  color: var(--paper);
  opacity: 0.86;

  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-hero .display {
  color: var(--paper);
}

.services-hero .lead {
  color: var(--paper);
}

/* =========================================================
   SERVICES LIST
   ========================================================= */

.services-list {
  background: var(--canvas);
  color: var(--ink);
}

/* =========================================================
   SERVICE GROUPS
   ========================================================= */

.service-group + .service-group {
  margin-top: 82px;
}

.service-group-header {
  max-width: 820px;
  margin-bottom: 32px;
}

.service-category-title {
  margin: 0;

  color: var(--midnight);

  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 750;
  line-height: 1.15;
}

.service-group-heading {
  margin: 10px 0 32px;

  color: var(--ink);

  font-size: var(--text-lead);
  font-weight: var(--weight-medium);
  line-height: 1.5;
}

/* =========================================================
   STATIC SERVICE CARDS
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.service-item {
  min-width: 0;
  padding: 28px;

  background: var(--paper);
  border: 1px solid rgba(1, 136, 159, 0.28);
  border-radius: var(--radius);
  color: var(--ink);

  /*
    These cards are informational. They do not expand,
    move or present a button-style cursor.
  */

  cursor: default;
}

/* Monochrome service icons */

.service-item-icon {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  margin-bottom: 20px;

  background: rgba(171, 238, 255, 0.3);
  border: 1px solid rgba(1, 136, 159, 0.3);
  border-radius: 50%;
  color: var(--midnight);
}

.service-item-icon svg {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  margin: 0 0 12px;

  color: var(--midnight);

  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.52rem);
  font-weight: 700;
  line-height: 1.2;
}

.service-item p {
  margin: 0;

  color: var(--ink);

  font-size: 1rem;
  line-height: 1.58;
}

/* Preserve stable informational-card presentation */

.service-item:hover {
  border-color: rgba(1, 136, 159, 0.28);

  box-shadow: none;
  transform: none;
}

/* =========================================================
   CALL TO ACTION
   ========================================================= */

.services-cta {
  background: var(--aegean);
  color: var(--ink);
}

.services-cta .heading {
  margin-top: 0;
  color: var(--midnight);
}

.services-cta .lead {
  color: var(--ink);
}

.services-cta .services-talk-button {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--paper);
}

.services-cta .services-talk-button:hover,
.services-cta .services-talk-button:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);

  transform: translateY(-2px);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-group + .service-group {
    margin-top: 68px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .services-hero .page-kicker {
    margin-bottom: 12px;

    font-size: 0.68rem;
    letter-spacing: 0.075em;
  }

  .service-group-header {
    margin-bottom: 24px;
  }

  .service-category-title {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .service-group-heading {
    margin: 8px 0 24px;
    font-size: 1rem;
  }

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

  .service-item {
    padding: 22px;
  }

  .service-item-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .service-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .service-group + .service-group {
    margin-top: 54px;
  }
}
