/* =============================================================
   GENESYS TECHNOLOGY CONSULTING — Services Page Styles
   services.css
   Styles specific to pages/services.html: one block per service,
   with the name and icon on the left and the description and
   feature list on the right. The shared pieces (header, opening
   band, icon tiles, call-to-action panel, footer) come from
   styles.css, so load this file after it.
   ============================================================= */

/* ── Service List ── */
.services-section {
  padding: 96px 0 var(--section);
}

.service-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--line);
  background: var(--white);
}
.service-block + .service-block { margin-top: 24px; }

.service-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 32px;
  background: var(--offwhite);
  border-right: 1px solid var(--line);
}

/* The tile itself (navy, cut corners) comes from .service-icon in styles.css */
.service-sidebar .service-icon { margin-bottom: 4px; }

.service-sidebar h3 {
  font-size: 21px;
  line-height: 1.2;
}

.service-tag {
  padding: 4px 10px;
  border: 1px solid rgba(14, 116, 144, 0.4);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}

.service-body {
  padding: 40px 44px;
}

.service-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  max-width: 64ch;
  margin-bottom: 24px;
}

/* Feature list, each item led by a small cyan slash */
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.feature-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15.5px;
  color: var(--navy);
}
.feature-item::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 10px;
  background: var(--cyan);
  transform: skewX(-36deg);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; }

  /* Icon on the left, name and tag stacked beside it */
  .service-sidebar {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
    row-gap: 8px;
    align-items: center;
    padding: 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .service-sidebar .service-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }
  .service-sidebar h3 { align-self: end; }
  .service-tag {
    justify-self: start;
    align-self: start;
  }

  .service-body { padding: 28px 24px 32px; }
}

@media (max-width: 768px) {
  .services-section { padding: 64px 0 var(--section); }
}

@media (max-width: 600px) {
  .service-features { grid-template-columns: 1fr; }
}
