/* Small fixes layered over the exported Webflow stylesheet. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

@media (max-width: 479px) {
  .testimonial-slide-content-wrapper,
  .testimonial-slide-content {
    max-width: 100vw;
  }
}

/* Images carry width+height (optimize_site.py) so space is reserved while they load; keep their natural aspect ratio. */
:where(img[width][height]) { height: auto; }

/* apply_fixes.py */
/* Show content immediately. Webflow's "Grow In" interaction starts every .container-wrapper at
   opacity 0 and only reveals it after its JavaScript has loaded, which left the first screen dark
   for several seconds and a screen-high empty gap under the hero. */
.container-wrapper {
  opacity: 1 !important;
  transform: none !important;
}

/* Webflow hides the hero intro paragraph on phones; show it so visitors see what we do. */
@media (max-width: 479px) {
  .hero-sub-para {
    display: block;
    width: 100%;
    margin-top: 16px;
    text-align: center;
  }
}

/* Visually hidden but read by search engines and screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* build_service_pages.py v3 */
.svc-qa { max-width: 820px; margin: 0 auto 48px; text-align: left; }
.svc-qa h2 { font-size: 30px; line-height: 1.2; margin: 40px 0 12px; }
.svc-qa p, .svc-qa .hero-sub-para { width: 100%; margin: 0; font-size: 18px; line-height: 1.6;
  text-align: left; }
.svc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; max-width: 1100px; margin: 24px auto 0; text-align: left; }
.svc-card { background: #1d1d20; border: 1px solid #2c2c31; border-radius: 16px; padding: 22px; }
.svc-card h3 { font-size: 20px; margin: 0 0 12px; }
.svc-stats { display: flex; gap: 24px; margin-bottom: 12px; }
.svc-stat b { display: block; font-size: 26px; color: var(--brand-yellow); }
.svc-stat span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.svc-card p { font-size: 15px; line-height: 1.5; margin: 0; }
.svc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 900px; margin: 24px auto 0; }
.svc-links a { color: #fff; border: 1px solid #3a3a40; border-radius: 50px; padding: 8px 16px;
  text-decoration: none; font-weight: 600; }
.svc-links a:hover { border-color: var(--brand-yellow); color: var(--brand-yellow); }
.svc-more-link { display: inline-block; margin: 6px 0 14px; color: var(--brand-yellow);
  font-weight: 700; text-decoration: none; }
@media (max-width: 479px) {
  .svc-qa h2 { font-size: 24px; }
  .svc-qa p { font-size: 16px; }
}
