/** Services page — liquid glass division hubs */
body.pa-services-page .pa2-services-legacy-hidden,
body.pa-services-page #pa-services,
body.pa-services-page .pa-services-showcase {
  display: none !important;
}

body.pa-services-page .wp-block-post-title,
body.pa-services-page main .entry-header {
  display: none !important;
}

body.pa-services-page .entry-content,
body.pa-services-page .wp-block-post-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  gap: 0 !important;
}

body.pa-services-page .pa2-services-page {
  --pa-svc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  isolation: isolate;
  color: #1d1d1f !important;
  padding: clamp(0.75rem, 2vw, 1.25rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 55% at 10% 8%, rgba(186, 210, 255, 0.5), transparent 58%),
    radial-gradient(ellipse 70% 50% at 92% 6%, rgba(255, 214, 232, 0.42), transparent 55%),
    radial-gradient(ellipse 60% 45% at 70% 92%, rgba(210, 245, 228, 0.38), transparent 58%),
    linear-gradient(180deg, #f7f8fc 0%, #eef2fa 50%, #f7f5f8 100%);
}

body.pa-services-page .pa2-svc-hero,
body.pa-services-page .pa2-svc-card,
body.pa-services-page .pa2-svc-foot {
  opacity: 1 !important;
  transform: none !important;
}

/* —— Hero —— */
body.pa-services-page .pa2-svc-hero {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto 1.25rem;
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.pa-services-page .pa2-svc-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.52);
}

body.pa-services-page .pa2-svc-hero__title {
  margin: 0 auto 0.55rem;
  max-width: 16ch;
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #1d1d1f !important;
}

body.pa-services-page .pa2-svc-hero__lead {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(29, 29, 31, 0.66);
}

/* —— Division jump pills —— */
body.pa-services-page .pa2-svc-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto 1.75rem;
}

body.pa-services-page .pa2-svc-nav__pill,
body.pa-glass-site.pa-services-page .pa2-svc-nav__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none !important;
  color: rgba(29, 29, 31, 0.88) !important;
  -webkit-text-fill-color: rgba(29, 29, 31, 0.88) !important;
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 180ms var(--pa-svc-ease),
    background 180ms ease,
    box-shadow 180ms ease;
}

body.pa-services-page .pa2-svc-nav__pill:hover,
body.pa-services-page .pa2-svc-nav__pill:focus-visible {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(0, 113, 227, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* —— Divisions —— */
body.pa-services-page .pa2-svc-division {
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  max-width: min(68rem, calc(100% - 2rem));
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  scroll-margin-top: 6rem;
}

body.pa-services-page .pa2-svc-division__head {
  margin-bottom: 1rem;
  text-align: left;
}

body.pa-services-page .pa2-svc-division__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

body.pa-services-page .pa2-svc-division__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.02em;
  color: #1d1d1f !important;
}

body.pa-services-page .pa2-svc-division__lead {
  margin: 0;
  max-width: 38rem;
  color: rgba(29, 29, 31, 0.68);
  line-height: 1.5;
  font-size: 0.98rem;
}

body.pa-services-page .pa2-svc-division__hub,
body.pa-glass-site.pa-services-page .pa2-svc-division__hub {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.86rem;
  font-weight: 650;
  color: #005bb5 !important;
  -webkit-text-fill-color: #005bb5 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 91, 181, 0.28);
}

body.pa-services-page .pa2-svc-division__hub:hover,
body.pa-services-page .pa2-svc-division__hub:focus-visible {
  border-bottom-color: rgba(0, 91, 181, 0.75);
}

/* —— Cards —— */
body.pa-services-page .pa2-svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
}

body.pa-services-page .pa2-svc-card,
body.pa-glass-site.pa-services-page .pa2-svc-card,
body.pa-glass-site.pa-services-page .entry-content a.pa2-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.35rem 1.2rem 1.2rem;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(185%);
  -webkit-backdrop-filter: blur(20px) saturate(185%);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  text-decoration: none !important;
  transition:
    transform 200ms var(--pa-svc-ease),
    box-shadow 200ms ease,
    border-color 200ms ease;
}

body.pa-services-page .pa2-svc-card:hover,
body.pa-services-page .pa2-svc-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 1) !important;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(0, 113, 227, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

body.pa-services-page .pa2-svc-card.is-featured {
  border-color: rgba(0, 113, 227, 0.28) !important;
  box-shadow:
    0 14px 36px rgba(0, 113, 227, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body.pa-services-page .pa2-svc-card__title,
body.pa-services-page .pa2-svc-card__tagline,
body.pa-services-page .pa2-svc-card__action,
body.pa-glass-site.pa-services-page .pa2-svc-card__title,
body.pa-glass-site.pa-services-page .pa2-svc-card__tagline,
body.pa-glass-site.pa-services-page .pa2-svc-card__action {
  width: 100%;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.pa-services-page .pa2-svc-card__title {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
}

body.pa-services-page .pa2-svc-card__tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(29, 29, 31, 0.64) !important;
  -webkit-text-fill-color: rgba(29, 29, 31, 0.64) !important;
}

body.pa-services-page .pa2-svc-card__action,
body.pa-glass-site.pa-services-page .pa2-svc-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 0.35rem;
  padding: 0.35rem 0.95rem;
  width: auto;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  color: #005bb5 !important;
  -webkit-text-fill-color: #005bb5 !important;
  background: rgba(0, 113, 227, 0.1) !important;
  border: 1px solid rgba(0, 113, 227, 0.22) !important;
}

body.pa-services-page .pa2-svc-card:hover .pa2-svc-card__action,
body.pa-services-page .pa2-svc-card:focus-visible .pa2-svc-card__action {
  background: rgba(0, 113, 227, 0.16) !important;
  border-color: rgba(0, 113, 227, 0.35) !important;
}

/* —— Creative —— */
body.pa-services-page .pa2-svc-creative {
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.2rem, 3vw, 1.6rem);
  max-width: min(40rem, calc(100% - 2rem));
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.pa-services-page .pa2-svc-creative__title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

body.pa-services-page .pa2-svc-creative__lead {
  margin: 0 0 1rem;
  color: rgba(29, 29, 31, 0.66);
  line-height: 1.5;
  font-size: 0.92rem;
}

body.pa-services-page .pa2-svc-creative__cta,
body.pa-glass-site.pa-services-page .pa2-svc-creative__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none !important;
  color: rgba(29, 29, 31, 0.9) !important;
  -webkit-text-fill-color: rgba(29, 29, 31, 0.9) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform 180ms var(--pa-svc-ease), box-shadow 180ms ease;
}

body.pa-services-page .pa2-svc-creative__cta:hover,
body.pa-services-page .pa2-svc-creative__cta:focus-visible {
  transform: translateY(-2px);
}

/* —— Footer —— */
body.pa-services-page .pa2-svc-foot {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.pa-services-page .pa2-svc-foot__proof {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(29, 29, 31, 0.55);
}

body.pa-services-page .pa2-svc-foot__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

body.pa-services-page .pa2-svc-foot__btn,
body.pa-glass-site.pa-services-page .pa2-svc-foot__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none !important;
  transition:
    transform 180ms var(--pa-svc-ease),
    background 180ms ease,
    box-shadow 180ms ease;
}

body.pa-services-page .pa2-svc-foot__btn--primary,
body.pa-glass-site.pa-services-page .pa2-svc-foot__btn--primary,
body.pa-glass-site.pa-services-page .entry-content a.pa2-svc-foot__btn--primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(180deg, #0084ff 0%, #0071e3 55%, #0066d6 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    0 12px 32px rgba(0, 113, 227, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

body.pa-services-page .pa2-svc-foot__btn--primary:hover,
body.pa-services-page .pa2-svc-foot__btn--primary:focus-visible {
  background: linear-gradient(180deg, #0084ff 0%, #0077ed 100%) !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(0, 113, 227, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

body.pa-services-page .pa2-svc-foot__btn--ghost,
body.pa-glass-site.pa-services-page .pa2-svc-foot__btn--ghost {
  color: rgba(29, 29, 31, 0.9) !important;
  -webkit-text-fill-color: rgba(29, 29, 31, 0.9) !important;
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

body.pa-services-page .pa2-svc-foot__btn--ghost:hover,
body.pa-services-page .pa2-svc-foot__btn--ghost:focus-visible {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.85) !important;
}

@media (min-width: 640px) {
  body.pa-services-page .pa2-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.95rem;
  }
}

@media (min-width: 1024px) {
  body.pa-services-page .pa2-svc-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  body.pa-services-page .pa2-svc-division--business .pa2-svc-grid,
  body.pa-services-page .pa2-svc-division--audio .pa2-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 36rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pa-services-page .pa2-svc-card:hover,
  body.pa-services-page .pa2-svc-card:focus-visible,
  body.pa-services-page .pa2-svc-nav__pill:hover,
  body.pa-services-page .pa2-svc-foot__btn:hover {
    transform: none;
  }
}
