/* ========================================
   BRIGHT BOX FINANCIAL SERVICES
   Shared Styles
   ======================================== */


/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #0F172A;
  background: #FFFFFF;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }


/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1:has(.text-highlight),
h2:has(.text-highlight),
h3:has(.text-highlight) {
  line-height: 1.45;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
}

h2 {
  font-size: clamp(30px, 3.5vw, 48px);
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
}

p {
  color: #475569;
}

.text-white p,
.text-white .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.text-white h1,
.text-white h2,
.text-white h3 {
  color: #FFFFFF;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: block;
}


/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 120px 0;
  }
}


/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: #E7B457;
  color: #0B1026;
}

.btn-primary:hover {
  background: #d4a24a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(231, 180, 87, 0.3);
}

.btn-header {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-dark {
  background: #0B1026;
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #161d3a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 16, 38, 0.25);
}


/* ========================================
   STICKY HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, transform 0.3s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(11, 16, 38, 0.6);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: #0B1026;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

/* Skip-to-content link (accessible) */
.skip-link {
  position: fixed;
  top: -48px;
  left: 8px;
  background: #0B1026;
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #E7B457;
  outline-offset: 2px;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Header phone (desktop/tablet) */
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0B1026;
  margin-right: 12px;
  text-decoration: none;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.header-phone:hover {
  color: #2F766E;
}

@media (min-width: 768px) {
  .header-phone {
    display: inline-flex;
  }
}

/* Mobile menu phone */
.mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #E7B457 !important;
  padding: 8px 0;
  text-decoration: none;
}

.mobile-phone svg {
  width: 22px;
  height: 22px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0B1026;
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0B1026;
  padding: 40px 24px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}


/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #070b1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo img.footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-disclaimer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-disclaimer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}


/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.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;
}
