/* /services/ — commercial family directory */

:root {
  --scf-navy: #243865;
  --scf-navy-dark: #1c2d50;
  --scf-gold: #e7ad4a;
  --scf-radius: 14px;
  --scf-shadow: 0 10px 32px rgba(36, 56, 101, 0.11);
}

.scf-page {
  background: #f4f6fa;
}

.scf-hero {
  background: linear-gradient(
    145deg,
    rgba(36, 56, 101, 0.07) 0%,
    rgba(231, 173, 74, 0.09) 48%,
    rgba(255, 255, 255, 0.96) 100%
  );
  border-bottom: 1px solid rgba(36, 56, 101, 0.1);
  text-align: center;
}

.scf-hero .container-lg {
  max-width: 52rem;
}

.scf-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c677d;
  margin-bottom: 0.65rem;
}

.scf-title {
  font-weight: 800;
  color: var(--scf-navy);
  font-size: clamp(1.85rem, 3vw + 1rem, 2.65rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.scf-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: #3d4963;
  line-height: 1.55;
  margin-bottom: 0;
}

.scf-grid-section {
  padding-top: 2rem;
}

.scf-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.scf-card {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: 272px;
  background: #fff;
  border-radius: var(--scf-radius);
  border: 1px solid rgba(36, 56, 101, 0.1);
  box-shadow: var(--scf-shadow);
  padding: 1.35rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.scf-card:hover {
  border-color: rgba(36, 56, 101, 0.18);
  box-shadow: 0 14px 40px rgba(36, 56, 101, 0.14);
  transform: translateY(-3px);
}

.scf-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.scf-card-mark {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--scf-navy);
  background: rgba(36, 56, 101, 0.08);
  border: 1px solid rgba(36, 56, 101, 0.12);
}

.scf-card[data-slug="career-skills"] .scf-card-mark {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.22);
  color: #1e3a8a;
}

.scf-card[data-slug="business-it-solutions"] .scf-card-mark {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  color: #4c1d95;
}

.scf-card[data-slug="data-research"] .scf-card-mark {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.22);
  color: #0369a1;
}

.scf-card[data-slug="finance-payments"] .scf-card-mark {
  background: rgba(22, 163, 74, 0.11);
  border-color: rgba(22, 163, 74, 0.22);
  color: #14532d;
}

.scf-card[data-slug="investing-wealth"] .scf-card-mark {
  background: rgba(231, 173, 74, 0.22);
  border-color: rgba(231, 173, 74, 0.45);
  color: #78350f;
}

.scf-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--scf-navy);
  line-height: 1.25;
  margin: 0;
  padding-top: 0.15rem;
}

.scf-card-rule {
  width: 2.75rem;
  height: 3px;
  background: var(--scf-gold);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}

.scf-card-body {
  flex: 1;
  margin-bottom: 1rem;
}

.scf-card-text {
  font-size: 0.925rem;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 0;
}

.scf-card-text .scf-more-link {
  font-weight: 600;
  padding: 0;
  vertical-align: baseline;
}

.scf-btn-primary {
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  border: 2px solid var(--scf-navy);
  background: var(--scf-navy);
  color: #fff !important;
  margin-top: auto;
}

.scf-btn-primary:hover,
.scf-btn-primary:focus {
  background: var(--scf-navy-dark);
  border-color: var(--scf-navy-dark);
  color: #fff !important;
}
