/* =============================================
   BJS FINANCES LLC — style.css
   Fonts: Fraunces (display) + Outfit (sans)
   ============================================= */

:root {
  --g0: #060e08;
  --g1: #0b1a10;
  --g2: #102016;
  --g3: #163320;
  --g4: #1c4a2c;
  --g5: #267a40;
  --g6: #3aaa5e;
  --g7: #72d491;
  --g8: #c2f0d0;
  --gold:  #c8a84b;
  --goldf: #e8ce82;
  --white: #f0f7f2;
  --muted: #7aab8a;
  --faint: rgba(38,122,64,.12);

  --ff-h: 'Fraunces', Georgia, serif;
  --ff-b: 'Outfit', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .32s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-b);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  background: var(--g0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITIES ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 110px 0; }

.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

.section-title {
  font-family: var(--ff-h);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--g6); font-weight: 300; }

.section-sub {
  font-size: .97rem;
  color: var(--muted);
  max-width: 500px;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }
.section-header--left { text-align: left; }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.9rem;
  font-family: var(--ff-b);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.btn-solid {
  background: var(--g5);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(38,122,64,.35);
}
.btn-solid:hover {
  background: var(--g6);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(58,170,94,.35);
}
.btn-outline {
  background: transparent;
  color: var(--g7);
  border: 1px solid rgba(58,170,94,.35);
}
.btn-outline:hover {
  border-color: var(--g6);
  background: var(--faint);
  color: var(--white);
}
.btn-full { width: 100%; }

/* ── REVEAL ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Fallback: if JS disabled, show everything */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── HEADER ────────────────────────────────── */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 1.2rem 0;
  transition: background var(--t), box-shadow var(--t);
}
#header.scrolled {
  background: rgba(6,14,8,.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(38,122,64,.2);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: .12rem;
  font-family: var(--ff-h);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
}
.logo-bjs  { color: var(--gold); }
.logo-fin  { color: var(--white); }
.logo-llc  { font-size: .58rem; font-weight: 300; color: var(--muted); align-self: flex-end; margin-bottom: .12rem; letter-spacing: .08em; }
.logo-sm   { font-size: 1.1rem; }

/* Nav */
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: .84rem;
  font-weight: 400;
  letter-spacing: .03em;
  color: #a8c8b4;
  transition: color var(--t);
}
.nav a:hover { color: var(--white); }
.nav a.active { color: var(--g6); }

.nav-cta {
  padding: .5rem 1.3rem;
  border: 1px solid rgba(58,170,94,.3);
  border-radius: 3px;
  color: var(--g7) !important;
  font-weight: 500 !important;
}
.nav-cta:hover {
  background: var(--faint);
  border-color: var(--g6);
  color: var(--white) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--g6);
  transition: transform var(--t), opacity var(--t);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 100px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow--a {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(28,74,44,.55) 0%, transparent 70%);
  right: -120px; top: 50%;
  transform: translateY(-50%);
}
.hero-glow--b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(200,168,75,.09) 0%, transparent 70%);
  left: -60px; bottom: 15%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,168,75,.25);
  padding: .35rem .85rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  animation: fadeUp .7s var(--ease) both;
}

.hero-heading {
  font-family: var(--ff-h);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.6rem;
  animation: fadeUp .7s .1s var(--ease) both;
}
.hero-heading em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--g6);
}

.hero-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 2.4rem;
  animation: fadeUp .7s .2s var(--ease) both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s var(--ease) both;
}

/* Ticker bar */
.hero-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(38,122,64,.18);
  padding: .75rem 0;
  background: rgba(6,14,8,.6);
  backdrop-filter: blur(8px);
}
.hero-bar-inner {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 26s linear infinite;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-bar-inner .sep { color: var(--g5); }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ── ABOUT ─────────────────────────────────── */
.about {
  background: var(--g1);
  border-top: 1px solid rgba(38,122,64,.14);
  border-bottom: 1px solid rgba(38,122,64,.14);
}
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 6rem;
  align-items: start;
}
.about-right p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: .97rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(38,122,64,.18);
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.pillar-num {
  font-family: var(--ff-h);
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(58,170,94,.2);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -.1rem;
}
.pillar div { display: flex; flex-direction: column; gap: .15rem; }
.pillar strong { font-size: .95rem; font-weight: 500; color: var(--white); }
.pillar span   { font-size: .85rem; color: var(--muted); }

/* ── SERVICES ──────────────────────────────── */
.services { background: var(--g0); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(38,122,64,.12);
  border: 1px solid rgba(38,122,64,.12);
}
.card {
  background: var(--g1);
  padding: 2.4rem 2rem;
  transition: background var(--t);
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38,122,64,.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.card:hover { background: #111e14; }
.card:hover::after { opacity: 1; }

.card-num {
  display: block;
  font-family: var(--ff-h);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(58,170,94,.18);
  line-height: 1;
  margin-bottom: .9rem;
}
.card h3 {
  font-family: var(--ff-h);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .7rem;
}
.card p { font-size: .875rem; color: var(--muted); line-height: 1.8; }

/* ── INDUSTRIES ────────────────────────────── */
.industries {
  background: var(--g2);
  border-top: 1px solid rgba(38,122,64,.14);
  border-bottom: 1px solid rgba(38,122,64,.14);
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(38,122,64,.2);
}
.ind-grid li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.3rem 2rem;
  border-bottom: 1px solid rgba(38,122,64,.12);
  border-right: 1px solid rgba(38,122,64,.12);
  font-size: .94rem;
  color: var(--white);
  transition: background var(--t), color var(--t);
  cursor: default;
}
.ind-grid li:nth-child(even)    { border-right: none; }
.ind-grid li:nth-last-child(-n+2) { border-bottom: none; }
.ind-grid li:hover { background: rgba(38,122,64,.1); }
.ind-grid li span {
  color: var(--gold);
  font-size: .9rem;
  transition: transform var(--t);
}
.ind-grid li:hover span { transform: translateX(4px); }

/* ── FAQ ───────────────────────────────────── */
.faq { background: var(--g0); }
.faq-wrap { max-width: 840px; margin: 0 auto; }

.faq-list { border-top: 1px solid rgba(38,122,64,.2); }
.faq-item { border-bottom: 1px solid rgba(38,122,64,.15); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 0;
  font-family: var(--ff-b);
  font-size: .98rem;
  font-weight: 400;
  color: var(--white);
  text-align: left;
  transition: color var(--t);
}
.faq-btn:hover { color: var(--g6); }

.faq-icon {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--g5);
  flex-shrink: 0;
  transition: transform var(--t);
  font-weight: 300;
  font-family: var(--ff-b);
}
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease), padding .38s var(--ease);
}
.faq-panel > p { overflow: hidden; }
.faq-btn[aria-expanded="true"] + .faq-panel {
  grid-template-rows: 1fr;
  padding-bottom: 1.4rem;
}

.faq-panel p { font-size: .93rem; color: var(--muted); line-height: 1.85; }
.faq-panel a { color: var(--g6); text-decoration: underline; text-underline-offset: 3px; }

/* ── CONTACT ───────────────────────────────── */
.contact {
  background: var(--g1);
  border-top: 1px solid rgba(38,122,64,.14);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc {
  color: var(--muted);
  font-size: .97rem;
  margin: 1.2rem 0 2.4rem;
  line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 1.3rem; }
.cd-row { display: flex; flex-direction: column; gap: .2rem; }
.cd-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cd-row a, .cd-row span:not(.cd-label) {
  font-size: .94rem;
  color: #a8c8b4;
  transition: color var(--t);
}
.cd-row a:hover { color: var(--g6); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: rgba(6,14,8,.7);
  border: 1px solid rgba(38,122,64,.25);
  border-radius: 3px;
  padding: .75rem 1rem;
  font-family: var(--ff-b);
  font-size: .93rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(122,171,138,.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--g5);
  box-shadow: 0 0 0 3px rgba(38,122,64,.12);
}
.field select option { background: var(--g2); }

.form-feedback {
  font-size: .85rem;
  min-height: 1.2em;
  color: var(--g6);
  text-align: center;
}

/* ── FOOTER ────────────────────────────────── */
.footer {
  background: var(--g0);
  border-top: 1px solid rgba(38,122,64,.18);
  padding: 1.8rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: .78rem; color: var(--muted); }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 270px;
    background: var(--g2);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--t) var(--ease);
    border-left: 1px solid rgba(38,122,64,.2);
    z-index: 205;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.05rem; }
  .burger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-grid li { border-right: none !important; }
  .ind-grid li:last-child { border-bottom: none !important; }
  .ind-grid li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(38,122,64,.12) !important; }
  .ind-grid li:last-child { border-bottom: none !important; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; }
  .hero-heading { font-size: clamp(2.2rem, 10vw, 3rem); }
}
