/*
 * WMA Service Page System — CORE
 * Only reusable primitives belong here.
 */

.wma-service {
  --wma-ink: #10283a;
  --wma-text: #40566a;
  --wma-muted: #6c7d8d;
  --wma-line: #dfe8ef;
  --wma-soft: #f5f8fb;
  --wma-white: #fff;
  --wma-blue: #1662a8;
  --wma-green: #18b80b;
  --wma-radius: 20px;
  --wma-shadow: 0 22px 60px rgba(10, 38, 58, .10);
  color: var(--wma-text);
  font-size: 18px;
  line-height: 1.68;
}

.wma-service * { box-sizing: border-box; }
.wma-service img { max-width: 100%; height: auto; }

.wma-service .wma-shell {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.wma-service .wma-shell--narrow { width: min(880px, calc(100% - 44px)); }
.wma-service .wma-section { padding: 92px 0; position: relative; }
.wma-service .wma-section--soft { background: var(--wma-soft); }
.wma-service .wma-section--dark { color: rgba(255,255,255,.84); }

.wma-service .wma-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wma-blue);
}

.wma-service h1,
.wma-service h2,
.wma-service h3 {
  color: var(--wma-ink);
  text-wrap: balance;
}

.wma-service h1 { margin: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.wma-service h2 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.025em; }
.wma-service h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.wma-service p { margin: 0 0 20px; }
.wma-service p:last-child { margin-bottom: 0; }

.wma-service .wma-lead { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.55; }
.wma-service .wma-section-head { max-width: 860px; margin-bottom: 42px; }
.wma-service .wma-section-head--center { margin-inline: auto; text-align: center; }

.wma-service .wma-grid { display: grid; gap: 24px; }
.wma-service .wma-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.wma-service .wma-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.wma-service .wma-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.wma-service .wma-card {
  border: 1px solid var(--wma-line);
  border-radius: var(--wma-radius);
  background: var(--wma-white);
  padding: 30px;
}

.wma-service .wma-card--shadow { box-shadow: var(--wma-shadow); border-color: transparent; }
.wma-service .wma-card__kicker { display: block; margin-bottom: 10px; color: var(--wma-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.wma-service .wma-button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wma-service .wma-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.wma-service .wma-button:hover { transform: translateY(-2px); }
.wma-service .wma-button--primary { color: #fff !important; background: var(--wma-green); box-shadow: 0 12px 30px rgba(24,184,11,.20); }
.wma-service .wma-button--secondary { color: var(--wma-ink) !important; background: #fff; border-color: var(--wma-line); }

.wma-service .wma-list { margin: 18px 0 0; padding: 0; list-style: none; }
.wma-service .wma-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.wma-service .wma-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wma-green); font-weight: 900; }

.wma-service .wma-metric { display: flex; flex-direction: column; gap: 3px; }
.wma-service .wma-metric strong { color: var(--wma-ink); font-size: 25px; line-height: 1.1; }
.wma-service .wma-metric span { color: var(--wma-muted); font-size: 14px; line-height: 1.35; }

.wma-service .wma-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 920px) {
  .wma-service .wma-section { padding: 70px 0; }
  .wma-service .wma-grid--4,
  .wma-service .wma-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .wma-service { font-size: 17px; }
  .wma-service .wma-shell,
  .wma-service .wma-shell--narrow { width: min(100% - 30px, 1180px); }
  .wma-service .wma-section { padding: 56px 0; }
  .wma-service .wma-grid--4,
  .wma-service .wma-grid--3,
  .wma-service .wma-grid--2 { grid-template-columns: 1fr; }
  .wma-service .wma-card { padding: 24px; }
  .wma-service .wma-button-row { align-items: stretch; }
  .wma-service .wma-button { width: 100%; }
}
