/* Safari fallbacks preserve native scrolling and the existing sticky animations. */
html { overflow-x: hidden; text-size-adjust: 100%; }
body { overflow-x: visible; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.clip-path-reveal { -webkit-clip-path: inset(0 0 100% 0); }
.in-view .clip-path-reveal, .clip-path-reveal.in-view,
.service-card.in-view .clip-path-reveal { -webkit-clip-path: inset(0); }
.mobile-drawer-backdrop { -webkit-backdrop-filter: blur(4px); }
@media (max-width: 768px) {
  /* Stable viewport avoids ScrollTrigger jumps as Safari's toolbar moves. */
  .hero-section { min-height: 100vh; height: 100vh; max-height: 100vh; min-height: 100svh; height: 100svh; max-height: 100svh; }
  .horizontal-steps-sticky { height: 100vh; height: 100svh; }
  .horizontal-steps-outer { height: 220vh; height: 220svh; }
}
@media (max-width: 768px) and (max-height: 700px) {
  /* Keep the complete first fold below the fixed header on short iPhones. */
  .hero-container { padding-top: 82px; padding-bottom: 6px; min-height: 0; }
  .hero-content-wrapper { padding: 10px 12px; }
  .hero-headline { font-size: 1.18rem; line-height: 1.18; margin-bottom: 6px; }
  .hero-subheading-line { font-size: 1.2rem; }
  .hero-subtitle { font-size: .8rem; line-height: 1.4; margin-bottom: 8px; }
  .hero-cta-cluster { margin-bottom: 8px; }
  .hero-cta-cluster .btn-primary-whatsapp { font-size: .72rem; padding: 9px 6px; min-height: 44px; gap: 6px; }
  .risk-reversal-item { font-size: .65rem; line-height: 1.25; }
  .hero-risk-reversal { gap: 5px; }
  .hero-trust-bar { padding-block: 7px; }
  .hero-trust-bar .trust-text strong { font-size: .69rem !important; }
  .hero-trust-bar .trust-text span { font-size: .59rem !important; }
  .trust-strip-grid { gap: 6px 10px; }
}
