/* AG Holmes standardized service directory â€” 2026-09-01 */
.ag-service-directory {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}
.ag-service-directory .ag-service-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.ag-service-directory .ag-service-kicker {
  margin: 0 0 .6rem;
  color: #a86f16;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ag-service-directory h2 {
  margin: 0;
  color: #102a46;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
}
.ag-service-directory .ag-service-intro {
  max-width: 760px;
  margin: 1rem 0 1.8rem;
  color: #4d5d6d;
  font-size: 1.05rem;
  line-height: 1.7;
}
.ag-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ag-service-card {
  display: flex;
  min-width: 0;
  min-height: 225px;
  flex-direction: column;
  padding: 1.35rem;
  color: #172b3f;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #dce3e9;
  border-top: 4px solid #c28a2e;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 39, 66, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ag-service-card:hover,
.ag-service-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c28a2e;
  box-shadow: 0 16px 34px rgba(15, 39, 66, .14);
}
.ag-service-card:focus-visible {
  outline: 3px solid rgba(194, 138, 46, .35);
  outline-offset: 3px;
}
.ag-service-number {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  place-items: center;
  color: #ffffff;
  background: #102a46;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.ag-service-card h3 {
  margin: 0 0 .65rem;
  color: #102a46;
  font-size: 1.12rem;
  line-height: 1.25;
}
.ag-service-card p {
  margin: 0;
  color: #526273;
  font-size: .96rem;
  line-height: 1.58;
}
.ag-service-action {
  margin-top: auto;
  padding-top: 1rem;
  color: #8a5a10;
  font-weight: 800;
}
.ag-service-directory .ag-service-call {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  color: #ffffff;
  background: #102a46;
  border-radius: 14px;
}
.ag-service-directory .ag-service-call p {
  margin: 0;
  color: inherit;
}
.ag-service-directory .ag-service-call a {
  display: inline-block;
  flex: 0 0 auto;
  padding: .72rem 1rem;
  color: #102a46;
  background: #f2c46d;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 980px) {
  .ag-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ag-service-directory { padding: 2.6rem 1rem; }
  .ag-service-grid { grid-template-columns: 1fr; }
  .ag-service-card { min-height: 0; }
  .ag-service-directory .ag-service-call { align-items: stretch; flex-direction: column; }
  .ag-service-directory .ag-service-call a { text-align: center; }
}