/* Resolute MSO final QA fixes: graph alignment, hero CTA safety, and contact CTA cleanup */

/* Hero CTA safety */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions .btn {
  white-space: nowrap;
  min-width: fit-content;
  max-width: 100%;
}

/* Benchmark / graph card alignment */
.benchmark-grid {
  align-items: stretch !important;
}

.benchmark-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 310px !important;
  padding: 30px 30px 122px !important;
}

.benchmark-card h3 {
  position: relative !important;
  z-index: 3 !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  max-width: 100% !important;
}

.benchmark-card p {
  position: absolute !important;
  z-index: 4 !important;
  left: 30px !important;
  right: 30px !important;
  bottom: 28px !important;
  min-height: 2.65em !important;
  display: flex !important;
  align-items: flex-end !important;
  line-height: 1.22 !important;
}

.check-orbit {
  right: 44px !important;
  bottom: 76px !important;
  width: 146px !important;
  height: 146px !important;
}

.bar-stack {
  right: 56px !important;
  bottom: 76px !important;
  width: 148px !important;
  height: 146px !important;
  align-items: flex-end !important;
}

.revenue-chart {
  right: 56px !important;
  bottom: 76px !important;
  width: 168px !important;
  height: 146px !important;
}

.revenue-chart:after {
  top: 28px !important;
  height: 84px !important;
  transform: skewY(-24deg) !important;
}

.contact-audit-cta .contact-audit-cta {
  margin: 0 !important;
}

@media (max-width: 1050px) {
  .benchmark-card {
    min-height: 285px !important;
    padding-bottom: 112px !important;
  }
  .check-orbit,
  .bar-stack,
  .revenue-chart {
    bottom: 72px !important;
  }
}

@media (max-width: 760px) {
  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    white-space: normal !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .benchmark-card {
    min-height: 262px !important;
    padding: 22px 22px 96px !important;
  }
  .benchmark-card p {
    left: 22px !important;
    right: 22px !important;
    bottom: 20px !important;
  }
  .check-orbit,
  .bar-stack,
  .revenue-chart {
    right: 20px !important;
    bottom: 76px !important;
  }
}

@media (max-width: 390px) {
  .benchmark-card {
    min-height: 245px !important;
  }
  .check-orbit,
  .bar-stack,
  .revenue-chart {
    opacity: .42 !important;
  }
}
