/* Request Free Audit page — hero, cal embed, FAQ, CTA */
@import url('/css/portfolio-carousel.css');

.audit-page {
  background: var(--bg-page);
  overflow-x: hidden;
}

.audit-page__main {
  position: relative;
}

.audit-page__main::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  background-image:
    linear-gradient(rgba(10, 61, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 61, 61, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.audit-page__main > * {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.audit-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 28px;
  text-align: center;
}

.audit-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--w);
  border: 1px solid var(--g200);
  font-size: 13px;
  color: var(--g600);
  box-shadow: 0 4px 18px rgba(10, 61, 61, 0.06);
}

.audit-hero__avatars {
  display: inline-flex;
}

.audit-hero__av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.audit-hero__av:first-child {
  margin-left: 0;
}

.audit-hero__title {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 18px;
}

.audit-hero__lead {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  color: var(--g600);
}

.audit-hero__stats {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 14px 8px;
}

.audit-hero__stat {
  padding: 0 22px;
  text-align: center;
}

.audit-hero__stat strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.audit-hero__stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--g500);
  font-weight: 500;
}

.audit-hero__stat-div {
  width: 1px;
  height: 36px;
  background: var(--g200);
}

/* ── Cal inline ── */
.audit-cal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 20px 56px;
}

.audit-cal__frame {
  background: var(--w);
  border: 1px solid var(--g200);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(10, 61, 61, 0.04),
    0 24px 64px rgba(10, 61, 61, 0.1);
  overflow: hidden;
  position: relative;
}

/* Covers Cal.com footer badge when hideBranding is unavailable on plan */
.audit-cal__frame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: var(--w);
  pointer-events: none;
  z-index: 2;
}

.audit-cal__embed {
  width: 100%;
  min-height: 620px;
  overflow: hidden;
}

/* FAQ on audit page */
.audit-page #faq {
  padding: 56px 24px 64px;
  max-width: 920px;
  margin: 0 auto;
}

/* Ready to Build CTA */
.audit-page .audit-cta,
.audit-page #cta-banner {
  padding: 80px 24px 96px;
  text-align: center;
  background-color: var(--bg-muted);
  background-image:
    linear-gradient(rgba(10, 61, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 61, 61, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.audit-page .audit-cta .cta-h,
.audit-page #cta-banner .cta-h {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.audit-page .audit-cta .cta-d,
.audit-page #cta-banner .cta-d {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.audit-page .audit-cta .cta-btns,
.audit-page #cta-banner .cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.audit-page .audit-cta [data-audit-scroll-cal] {
  cursor: pointer;
}

@media (max-width: 768px) {
  .audit-hero {
    padding-top: 32px;
  }

  .audit-hero__stat {
    padding: 8px 14px;
  }

  .audit-hero__stat-div {
    display: none;
  }

  .audit-hero__stats {
    gap: 4px;
  }

  .audit-cal__embed {
    min-height: 520px;
  }

  .audit-page .audit-cta,
  .audit-page #cta-banner {
    padding: 56px 20px 72px;
  }
}
