/* AGENT-14 (2026-10-12): the credixahq.com header and footer on the /agents/ page.
   Copied from /styles.css (DESIGN V2, NAV-1, AGL-1, HERO-11, HOME-12, FOOTER-13). Kept in its own file so
   the rest of styles.css does not restyle the application form. Links go back to the main site with /#page. */
.site-header, .site-footer { --dark: #0e1210; --green: #66bb6a; --muted-dark: #8a9088; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: normal; text-align: left; letter-spacing: normal; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header a:hover, .site-footer a:hover { opacity: .8; }
.site-header button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #12261a; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 48px; box-shadow: 0 8px 24px -14px rgba(0,0,0,.55); }
.site-header .brand { display: flex; align-items: center; gap: 8px; padding: 1px 6px; }
.site-header a.brand:hover { opacity: 1; }
.brand-logo { display: block; height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 13.5px; font-weight: 500; color: #b7bdb9; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s ease; display: inline-block; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active { border-bottom-color: var(--green); font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }
.site-header .btn-header { display: inline-block; font-weight: 600; font-size: 13.5px; line-height: 1.2; padding: 11px 22px; border-radius: 24px; text-align: center; background: var(--green); color: var(--dark); transition: opacity .15s ease; }
.site-header .btn-header:hover { opacity: .85; }
.main-nav a.nav-cta { display: none; }

/* footer */
.site-footer { background: var(--dark); padding: 60px 48px 30px; }
.footer-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: block; height: 46px; width: auto; margin: 0 0 10px; }
.footer-tagline { font-size: 13.5px; color: var(--muted-dark); margin: 14px 0 0; max-width: 220px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { font-size: 11px; font-weight: 700; color: var(--muted-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.site-footer a.footer-link { text-align: left; font-size: 13.5px; color: #d7dbd8; display: inline-block; }
.site-footer a.footer-link:hover { color: #fff; }
.footer-bottom { max-width: 1300px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #7a8079; }
.footer-legal { display: flex; gap: 24px; cursor: pointer; }
.footer-contact { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; color: var(--muted-dark); }
.footer-contact svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; stroke: #66bb6a; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a { color: inherit; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .site-header .brand { order: 1; margin-right: auto; }
  .site-header .btn-header { order: 2; padding: 9px 16px; font-size: 14px; min-height: 40px; white-space: nowrap; display: inline-flex; align-items: center; }
  .site-header .nav-toggle { display: flex; order: 3; width: 44px; height: 44px; padding: 0 11px; gap: 5px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .site-header .nav-toggle:hover { background: rgba(255,255,255,.14); }
  .site-header .nav-toggle:focus-visible { outline: 2px solid #a5e3a0; outline-offset: 2px; }
  .site-header .nav-toggle span { height: 2px; border-radius: 2px; transition: transform .2s ease, opacity .15s ease; }
  .site-header .nav-toggle[aria-expanded="true"] { background: rgba(255,255,255,.14); }
  .site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .main-nav { order: 4; display: none; width: 100%; flex-direction: column; align-items: center; gap: 6px; padding-top: 8px; }
  .site-header .main-nav.open { display: flex; align-items: stretch; gap: 0; padding: 4px 0 6px; animation: nav1In .2s ease; }
  .site-header:has(.main-nav.open) .btn-header { visibility: hidden; }
  .site-header .main-nav .nav-link { display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: 48px; padding: 0 4px; font-size: 16px; font-weight: 500; color: #dfe5e1; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header .main-nav .nav-link.active { color: #a5e3a0; font-weight: 600; border-bottom-color: rgba(255,255,255,.08); }
  .site-header .main-nav.open a.nav-cta { display: flex; justify-content: center; margin-top: 14px; border: 0; border-radius: 999px; background: #66bb6a; color: #0f2016; font-weight: 700; }
  .site-header .main-nav.open a.nav-cta:hover { background: #7bc97e; color: #0f2016; }
  .site-footer { padding: 50px 24px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) { .brand-logo { height: 34px; } .footer-logo { height: 40px; } }
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 339px) { .site-header .btn-header { display: none; } }
@keyframes nav1In { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header .main-nav.open { animation: none; } .site-header .nav-toggle span { transition: none; } .site-header a, .site-header .nav-link { transition: none !important; } }
.site-header a:focus-visible, .site-footer a:focus-visible, .site-header button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* NAV-15 (2026-10-14): phone header = logo on the left, menu button on the right.
   "Get Started" now lives only inside the open menu (the green button at the bottom, a.nav-cta). */
@media (max-width: 860px) {
  .site-header .btn-header { display: none; }
  .site-header .brand { margin-right: auto; }
}

/* NAV-16 (2026-10-14): phone menu is right-aligned. Rows and their text sit on the right,
   and the Get Started button is smaller, sits on the right and is only as wide as its label. */
@media (max-width: 860px) {
  .site-header .main-nav .nav-link { justify-content: flex-end; text-align: right; padding: 0 4px; }
  .site-header .main-nav.open a.nav-cta { align-self: flex-end; width: auto; min-height: 44px; padding: 0 28px; font-size: 15px; margin-top: 16px; justify-content: center; }
}
