/* ================================================================
   BEYOND LINCS — Services Page
   ================================================================ */

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

.services-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.services-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-number {
  font-size: 22px;
  font-weight: 800;
  color: #8a651f;
  margin-bottom: 10px;
  line-height: 1;
}

.services-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.2;
}

.services-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

/* --- Detail band --- */
.detail-band {
  background: var(--soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-item {
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
  transition: border-color var(--transition), transform var(--transition);
}

.detail-item:hover {
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.support-panel {
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.support-panel h2 {
  font-size: 32px;
  line-height: 1.12;
  margin: 0 0 16px;
}

.support-panel p {
  color: #c8d7d9;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
}

/* --- Line item table --- */
.line-table {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.line-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.line-row:hover {
  box-shadow: var(--shadow);
}

.line-code {
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
}

.line-code a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

.line-code a:hover {
  opacity: 0.75;
}

.line-row h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.18;
}

.line-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* --- Services responsive --- */
@media (max-width: 880px) {
  .services-grid,
  .detail-grid,
  .line-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-card {
    padding: 20px 18px;
  }

  .support-panel {
    padding: 24px 20px;
  }

  .detail-grid {
    gap: 28px;
  }

  .line-row {
    padding: 18px 16px;
  }
}
