/* Content-only enhancements layered onto the recovered original visual build. */
.header-phone {
  background: #083674;
  border: 3px solid #49b755;
  border-radius: 14px;
  box-shadow: 0 10px 26px #0f3f8c38;
  color: #fff;
  padding: 12px 18px;
}
.header-phone > svg {
  color: #8de49a;
  width: 30px;
  height: 30px;
}
.header-phone span {
  color: #fff;
  font-size: 0.82rem;
}
.header-phone strong {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  line-height: 1;
}
.header-phone .obs-phone-digits,
.hero-actions .obs-phone-digits,
.obs-mobile-phone .obs-phone-digits {
  color: #fff !important;
  text-shadow: 0 2px 5px #031b4366;
}

.obs-mobile-phone {
  display: none;
}

a.obs-main-phone {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 900;
  line-height: 1.25;
}
.header-phone.obs-main-phone {
  font-size: inherit;
}
.obs-phone-digits {
  font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.015em;
  line-height: 1 !important;
}
.hero-actions a.obs-main-phone {
  background: #083674;
  border: 3px solid #49b755;
  box-shadow: 0 10px 24px #0f3f8c30;
  color: #fff;
  padding: 16px 22px;
}
.direct-contact a.obs-main-phone,
.footer-contact a.obs-main-phone,
.legal-footer a.obs-main-phone {
  color: inherit;
}
.direct-contact a.obs-main-phone {
  border: 3px solid #49b755;
  box-shadow: 0 12px 28px #031b4338;
}
.footer-contact a.obs-main-phone .obs-phone-digits,
.legal-footer a.obs-main-phone .obs-phone-digits {
  color: #fff;
}

.service-card[data-obs-enhanced],
.audience-grid > div[data-obs-enhanced],
.testing-panels > article[data-obs-enhanced] {
  cursor: pointer;
}
.service-card[data-obs-enhanced]:focus-visible,
.audience-grid > div[data-obs-enhanced]:focus-visible,
.testing-panels > article[data-obs-enhanced]:focus-visible {
  outline: 3px solid #49b755;
  outline-offset: 3px;
}
.obs-detail-hint {
  color: var(--green-dark);
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.service-card .obs-detail-hint {
  grid-column: 2;
}
.testing-panels .obs-detail-hint {
  color: #8de49a;
  display: block;
  margin-top: 20px;
}

.obs-detail-modal[hidden] {
  display: none;
}
.obs-detail-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 200;
}
.obs-detail-backdrop {
  backdrop-filter: blur(7px);
  background: #061f49c9;
  inset: 0;
  position: absolute;
}
.obs-detail-dialog {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 90px #0000004d;
  color: var(--ink);
  max-height: min(760px, calc(100vh - 44px));
  max-width: 650px;
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  position: relative;
  width: 100%;
}
.obs-detail-dialog h2 {
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 40px 16px 0;
}
.obs-detail-summary {
  color: var(--blue);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}
.obs-detail-copy {
  color: var(--slate);
  line-height: 1.72;
  margin: 16px 0 0;
}
.obs-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.obs-detail-tags span {
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 7px 11px;
}
.obs-detail-close {
  align-items: center;
  background: var(--blue-soft);
  border: 0;
  border-radius: 50%;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  font-size: 1.65rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
}
.obs-modal-open {
  overflow: hidden;
}

@media (max-width: 899px) {
  .obs-mobile-phone {
    background: #083674;
    border: 3px solid #49b755;
    border-radius: 12px;
    bottom: 15px;
    box-shadow: 0 10px 24px #0f3f8c38;
    color: #fff;
    display: inline-flex;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(1.65rem, 7.2vw, 2rem);
    font-weight: 900;
    left: 0;
    padding: 12px 16px;
    position: absolute;
    text-decoration: none;
  }
  .obs-mobile-phone .obs-phone-digits {
    font-size: inherit !important;
  }
}

@media (max-width: 679px) {
  .service-card .obs-detail-hint {
    grid-column: 1;
  }
  .obs-detail-modal {
    align-items: flex-end;
    padding: 10px;
  }
  .obs-detail-dialog {
    border-radius: 18px;
    max-height: calc(100vh - 20px);
    padding: 30px 24px;
  }
}
