.agency-services {
  --as-accent: var(--accent-color, #5865f2);
  --as-ink: #171b2b;
  --as-muted: #697184;
  --as-line: #e7e9f0;
  padding: 0;
  background: transparent;
  color: var(--as-ink);
  font-family: inherit;
  text-align: left;
}
.agency-services--teal { --as-accent: #0d9488; padding: 100px 0; }
.agency-services *, .agency-services *::before, .agency-services *::after { box-sizing: border-box; }
.agency-services__intro { max-width: 740px; margin-bottom: 36px; }
.agency-services__eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--as-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.agency-services .agency-services__title {
  margin: 0 0 16px;
  color: var(--as-ink);
  font: inherit;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -1.3px;
  line-height: 1.12;
}
.agency-services__subtitle { margin: 0; color: var(--as-muted); font-size: 17px; line-height: 1.65; }
.agency-services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.agency-services__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px 22px;
  border: 1px solid var(--as-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(28, 36, 66, .025);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.agency-services__card:hover, .agency-services__card:focus-within {
  border-color: #c9cfdf;
  box-shadow: 0 12px 32px rgba(28, 36, 66, .065);
  transform: translateY(-3px);
}
.agency-services__identity { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.agency-services__logo { display: block; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; object-fit: contain; }
.agency-services .agency-services__name { margin: 0 0 5px; color: var(--as-ink); font: inherit; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.35px; }
.agency-services__category { display: block; color: var(--as-muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.agency-services__description { flex: 1; margin: 0 0 24px; color: #586174; font-size: 15px; font-weight: 400; line-height: 1.7; }
.agency-services__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 15px; border-top: 1px solid #eff0f5; }
.agency-services .agency-services__visit, .agency-services .agency-services__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.agency-services .agency-services__visit { color: var(--as-accent); }
.agency-services .agency-services__share { color: #697184; }
.agency-services .agency-services__share:hover { color: var(--as-ink); }
.agency-services .agency-services__visit:hover { text-decoration: underline; text-underline-offset: 4px; }
.agency-services__actions svg { display: block; flex-shrink: 0; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.agency-services :is(a, button, input):focus-visible { outline: 2px solid var(--as-accent); outline-offset: 5px; }
.agency-services__status { min-height: 0; margin: 0; color: var(--as-muted); font-size: 13px; line-height: 1.5; }
.agency-services__status:not(:empty) { min-height: 22px; margin-top: 16px; }
.agency-services__copy { margin-top: 12px; padding: 18px; border: 1px solid var(--as-line); border-radius: 12px; background: #fff; }
.agency-services__copy[hidden] { display: none !important; }
.agency-services__copy label { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.agency-services__copy input { display: block; width: 100%; padding: 12px; border: 1px solid #ccd1de; border-radius: 6px; background: #fff; color: var(--as-ink); font: inherit; font-size: 15px; }
.agency-services__copy button { min-height: 44px; margin-top: 8px; padding: 6px 0; border: 0; background: none; color: var(--as-accent); font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 1279px) { .agency-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .agency-services--teal { padding: 60px 0; } }
@media (max-width: 699px) {
  .agency-services__intro { margin-bottom: 26px; }
  .agency-services__eyebrow { font-size: 11px; letter-spacing: 1.2px; }
  .agency-services__subtitle { font-size: 15px; }
  .agency-services__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .agency-services__card { padding: 23px 22px 17px; border-radius: 16px; }
  .agency-services__identity { margin-bottom: 18px; }
  .agency-services__description { margin-bottom: 20px; }
  .agency-services__actions { justify-content: flex-start; gap: 30px; }
  .agency-services .agency-services__visit, .agency-services .agency-services__share { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .agency-services__card { transition: none; transform: none !important; } }
