/* =========================================================
   Jexnow Advisors LLC — Stylesheet
   Brand: navy #1a3c6e + restrained gold accent
   ========================================================= */

:root {
  --navy: #1a3c6e;
  --navy-deep: #0f2547;
  --blue: #3d6fb4;
  --gold: #c9a227;
  --gold-soft: #e7c766;
  --white: #ffffff;
  --bg-light: #f5f7fa;
  --border: #e4e9f0;
  --text: #1f2933;
  --muted: #5b6b7d;
  --shadow-sm: 0 1px 3px rgba(15, 37, 71, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 37, 71, 0.10);
  --radius: 14px;
  --maxw: 1160px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: .01em;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #2a2206; }
.btn-gold:hover { background: var(--gold-soft); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn.full { width: 100%; text-align: center; }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow.navy { color: var(--blue); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-light .brand-logo { height: 30px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--text); position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .2s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 9px 18px; font-size: .88rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .6;
}
.hero-inner { position: relative; padding: 110px 24px 120px; max-width: 860px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--gold-soft); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px;
  font-size: .9rem; color: rgba(255,255,255,.7);
}
.hero-trust li { position: relative; padding-left: 22px; }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border: 2px solid var(--gold); border-radius: 50%;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.services { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy); line-height: 1.14; letter-spacing: -.015em; margin-bottom: 16px;
}
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cdd8e8; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(26,60,110,.08); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; letter-spacing: -.01em; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-deep); color: var(--white); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-soft); line-height: 1;
}
.stat-label { display: block; margin-top: 10px; font-size: .9rem; color: rgba(255,255,255,.75); letter-spacing: .02em; }

/* ---------- About ---------- */
.about-inner { max-width: 860px; margin: 0 auto; }
.about-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--navy); margin-bottom: 18px; line-height: 1.14; letter-spacing: -.015em; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='3'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Offices ---------- */
.offices { background: var(--bg-light); }
.office-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #e8edf4;
  min-height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.92); }

.office-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.office-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.office-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(26,60,110,.08); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.office-icon svg { width: 24px; height: 24px; }
.office-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 8px; }
.office-addr { display: block; color: var(--navy); font-weight: 500; line-height: 1.6; font-size: 1.02rem; }
.office-addr:hover { color: var(--blue); }
.office-note { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.office-actions .btn { padding: 11px 22px; font-size: .9rem; }
.office-link { font-size: .9rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid rgba(26,60,110,.3); padding-bottom: 2px; }
.office-link:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-light); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--navy); margin-bottom: 16px; line-height: 1.14; letter-spacing: -.015em; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 4px; }
.contact-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-value { color: var(--navy); font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--blue); }

.contact-form {
  position: relative;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  font-family: inherit; font-size: .95rem; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px; color: var(--text);
  background: #fbfcfe; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,111,180,.15);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-note a { color: var(--navy); font-weight: 600; border-bottom: 1px solid rgba(26,60,110,.3); }
.form-note a:hover { color: var(--blue); border-color: var(--blue); }

/* Honeypot — invisible to people, picked up by naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  font-size: .9rem; line-height: 1.55; text-align: center;
  border: 1px solid transparent;
}
.form-status.is-success { background: rgba(26,60,110,.06); border-color: rgba(26,60,110,.2); color: var(--navy); font-weight: 600; }
.form-status.is-error { background: rgba(155,44,44,.07); border-color: rgba(155,44,44,.28); color: #9b2c2c; font-weight: 600; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-tag { margin-top: 16px; font-size: .92rem; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: .92rem; color: rgba(255,255,255,.7); margin-bottom: 10px; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col p { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom .disclaimer { max-width: 640px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .office-split { grid-template-columns: 1fr; gap: 24px; }
  .map-embed, .map-embed iframe { min-height: 300px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--white); padding: 16px 24px 24px;
    box-shadow: var(--shadow-md); border-top: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-cta { margin-top: 8px; width: 100%; text-align: center; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 80px 24px 90px; }
  .card-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .map-embed, .map-embed iframe { min-height: 240px; }
  .office-card { padding: 28px 24px; }
  .contact-form { padding: 26px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
