/* Homepage hero and trusted-by strip, laid out like the kinore.com hero in
   Only Audit's colours: orange #f78b30 and slate #344f61. Every rule is scoped
   so the WordPress theme's global styles stay out. */
#onlyaudit-hero, #onlyaudit-hero *, .oa-trusted, .oa-trusted * { box-sizing: border-box; }
#onlyaudit-hero, .oa-trusted { font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.4; }
#onlyaudit-hero a { text-decoration: none !important; }

/* The .intro_section wrapper exists only for the theme's header script. */
.intro_section.oa-intro { padding: 0; margin: 0; }

/* Hero */
#onlyaudit-hero { position: relative; isolation: isolate; overflow: hidden; background: #1c2b35; color: #fff; }
#onlyaudit-hero .oa-hero-bg { position: absolute; inset: 0; z-index: -2; }
#onlyaudit-hero .oa-hero-bg img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 40%; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s ease-out; }
#onlyaudit-hero .oa-hero-bg img.is-active { opacity: 1; transform: scale(1); }
#onlyaudit-hero .oa-hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28,43,53,0.95) 0%, rgba(28,43,53,0.84) 45%, rgba(52,79,97,0.4) 100%); }
#onlyaudit-hero .oa-hero-inner { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) 20px clamp(48px, 6vw, 88px); min-height: min(640px, 78vh); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; text-align: left; }
#onlyaudit-hero .oa-hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: #f78b30; }
#onlyaudit-hero h1 { margin: 0; padding: 0; font-family: inherit; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; text-transform: none; max-width: 16ch; text-wrap: balance; color: #fff; }
#onlyaudit-hero .oa-hero-lede { margin: 0; padding: 0; font-family: inherit; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; font-weight: 400; color: #dfe7ec !important; max-width: 46ch; text-wrap: pretty; }
#onlyaudit-hero .oa-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
#onlyaudit-hero .oa-hero-btn { height: 52px; padding: 0 26px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
#onlyaudit-hero .oa-hero-btn-primary { background: #f78b30; border: 1px solid #f78b30; color: #1c2b35 !important; }
#onlyaudit-hero .oa-hero-btn-primary:hover { background: #e57a1f; border-color: #e57a1f; }
#onlyaudit-hero .oa-hero-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.6); color: #fff !important; }
#onlyaudit-hero .oa-hero-btn-outline:hover { border-color: #f78b30; color: #f78b30 !important; }
#onlyaudit-hero .oa-hero-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#onlyaudit-hero .oa-hero-stats { max-width: 640px; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: clamp(16px, 3vw, 40px); padding-top: 22px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.22); }
#onlyaudit-hero .oa-hero-stat { display: flex; flex-direction: column; gap: 4px; }
#onlyaudit-hero .oa-hero-stat b { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; letter-spacing: -0.02em; color: #f78b30; line-height: 1.2; }
#onlyaudit-hero .oa-hero-stat span { font-size: 13px; line-height: 1.4; font-weight: 500; color: #dfe7ec !important; max-width: 18ch; }

/* Slideshow controls */
#onlyaudit-hero button { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; }
#onlyaudit-hero .oa-hero-controls { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; }
#onlyaudit-hero .oa-hero-dot { width: 28px; height: 28px; display: grid; place-items: center; }
#onlyaudit-hero .oa-hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.7); background: transparent; transition: background 0.2s, border-color 0.2s, width 0.2s; }
#onlyaudit-hero .oa-hero-dot[aria-current="true"]::before { width: 24px; background: #f78b30; border-color: #f78b30; }
#onlyaudit-hero .oa-hero-dot:hover::before { border-color: #f78b30; }
#onlyaudit-hero .oa-hero-toggle { width: 40px; height: 40px; margin-left: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: rgba(28,43,53,0.4); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1; }
#onlyaudit-hero .oa-hero-toggle:hover { border-color: #f78b30; color: #f78b30; }
#onlyaudit-hero .oa-hero-dot:focus-visible, #onlyaudit-hero .oa-hero-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 999px; }
/* The theme draws an ::after on anything whose class contains "toggle". */
#onlyaudit-hero .oa-hero-toggle { position: relative; }
#onlyaudit-hero .oa-hero-toggle::before, #onlyaudit-hero .oa-hero-toggle::after, #onlyaudit-hero .oa-hero-dot::after { content: none !important; display: none !important; }
#onlyaudit-hero .oa-hero-toggle .oa-ico-play { display: none; }
#onlyaudit-hero[data-paused="true"] .oa-hero-toggle .oa-ico-pause { display: none; }
#onlyaudit-hero[data-paused="true"] .oa-hero-toggle .oa-ico-play { display: block; }

/* Trusted-by strip */
.oa-trusted { background: #fff; border-bottom: 1px solid #ebe9e8; color: #344f61; }
.oa-trusted .oa-trusted-inner { max-width: 1280px; margin: 0 auto; padding: 26px 20px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; text-align: left; }
.oa-trusted .oa-trusted-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: #818181; flex-shrink: 0; }
.oa-trusted .oa-marquee-mask { flex: 1 1 320px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.oa-trusted .oa-marquee { display: flex; align-items: center; gap: 56px; width: max-content; padding-right: 56px; animation: oaMarquee 30s linear infinite; }
.oa-trusted .oa-marquee:hover { animation-play-state: paused; }
.oa-trusted .oa-marquee span { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #344f61; white-space: nowrap; opacity: 0.8; }
@keyframes oaMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .oa-trusted .oa-marquee { animation: none !important; }
  #onlyaudit-hero .oa-hero-bg img { transition: none; transform: none; }
}
@media (max-width: 719px) {
  #onlyaudit-hero .oa-hero-inner { min-height: 0; padding-top: 48px; gap: 18px; }
  #onlyaudit-hero .oa-hero-tint { background: linear-gradient(180deg, rgba(28,43,53,0.88) 0%, rgba(28,43,53,0.94) 100%); }
  #onlyaudit-hero .oa-hero-stats { gap: 14px; }
  #onlyaudit-hero .oa-hero-stat b { font-size: 19px; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
  #onlyaudit-hero .oa-hero-stat span { font-size: 12px; }
  #onlyaudit-hero .oa-hero-inner { padding-bottom: 76px; }
  #onlyaudit-hero .oa-hero-controls { right: 16px; bottom: 16px; }
  .oa-trusted .oa-trusted-inner { padding: 22px 20px; gap: 14px; }
  .oa-trusted .oa-trusted-label { flex-basis: 100%; line-height: 1.5; }
}
