/* P7 follow-up to P1-P6 (Joshua, 23 Nov 2026 13:53-13:54):
   1. Dark inner-page heroes (How it works, Loan types) run up behind the
      floating glass header, like the homepage hero, so there is no white gap.
   2. Primary calls to action (Get started, Apply, Start your application) go
      back to the original Bridgify orange with white text, on every page.
      Secondary buttons (Sign in / Sign up, Login, Menu) are unchanged. */

/* 1. No gap behind the floating header (header area = 98px desktop, 82px mobile) */
main > .hw-hero:first-child {
  margin-top: -98px;
  padding-top: 146px; /* 48 + 98 */
}

main > .lt-hero:first-child {
  margin-top: -98px;
  padding-top: 154px; /* 56 + 98 */
}

@media (min-width: 900px) {
  main > .lt-hero:first-child { padding-top: 170px; } /* 72 + 98 */
}

@media (max-width: 639px) {
  main > .hw-hero:first-child { margin-top: -82px; padding-top: 130px; } /* 48 + 82 */
  main > .lt-hero:first-child { margin-top: -82px; padding-top: 122px; } /* 40 + 82 */
}

/* 2. Orange primary CTAs */
.btn-apply,
.btn-sm.btn-apply,
.site-header .header-apply,
.cta-banner .btn-on-dark,
a.btn-primary[href^="https://app.bridgify.uk"] {
  background: #EA580C;
  border-color: #EA580C;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.btn-apply:hover,
.btn-apply:focus-visible,
.btn-sm.btn-apply:hover,
.btn-sm.btn-apply:focus-visible,
.site-header .header-apply:hover,
.site-header .header-apply:focus-visible,
.cta-banner .btn-on-dark:hover,
.cta-banner .btn-on-dark:focus-visible,
a.btn-primary[href^="https://app.bridgify.uk"]:hover,
a.btn-primary[href^="https://app.bridgify.uk"]:focus-visible {
  background: #C2410C;
  border-color: #C2410C;
  color: #FFFFFF;
  text-decoration: none;
}

/* 3. Homepage hero support line ("Your loan is our priority...") in the same orange as the CTAs */
.hero .hero-support {
  color: #EA580C;
}

/* 4. Phones: tighten the floating header so the Apply pill is not clipped */
@media (max-width: 479px) {
  .site-header .header-inner { gap: 6px; padding: 6px 6px 6px 10px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand img { width: 30px; height: 30px; }
  .site-header .brand span { font-size: 19px; }
  .site-header .nav-menu summary { padding: 6px 12px; min-height: 38px; font-size: 13px; }
  .site-header .header-actions { gap: 6px; margin-left: 0; }
  .site-header .header-actions .btn-sm { padding: 0 12px; min-height: 38px; font-size: 13px; }
}
