/* ============================================================
   JAYCO WEALTH MANAGEMENT — Stylesheet
   ============================================================ */

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

:root {
  --navy:      #0d2545;
  --navy-mid:  #163a6b;
  --gold:      #c9a227;
  --gold-light:#e6c34d;
  --off-white: #f7f5f1;
  --white:     #ffffff;
  --text:      #2c2c2c;
  --text-muted:#666666;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(13,37,69,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

sup { font-size: 0.5em; vertical-align: super; line-height: 0; }

/* ---- UTILITIES ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.section-light { background: var(--off-white); }
.section-dark  { background: var(--navy); color: var(--white); }
.section-accent { background: var(--navy-mid); color: var(--white); }

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-label.light { color: var(--gold-light); }
.divorce-highlight { color: #a8462f; font-size: 1.3rem; }

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.4rem;
  color: inherit;
}

h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
h4 { font-size: 1rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; color: inherit; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 76px; width: auto; display: block; }

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}
.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); }
.nav a {
  color: var(--navy);
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover { color: var(--gold); }
.btn-nav {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.btn-nav:hover { opacity: 0.88; }
.nav-contact-mobile { display: none; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a7a 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,150,78,0.12) 0%, transparent 65%),
              linear-gradient(to top, rgba(13,37,69,1) 0%, rgba(13,37,69,0) 18%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: var(--white);
}
.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---- TWO-COL LAYOUT ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.col-text p { color: var(--text-muted); }
.col-text h2 { color: var(--navy); }

/* ---- ABOUT CARDS ---- */
.col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.about-card .card-icon { display: none; }
.about-card h4 { color: var(--navy); font-size: 0.95rem; }
.about-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.about-card a { color: var(--gold); }

/* ---- SERVICES GRID ---- */
.section-dark h2 { color: var(--white); }
.section-dark .section-label { color: var(--gold-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  display: block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.service-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-3px);
  text-decoration: none;
}
.service-icon { color: var(--gold-light); margin-bottom: 1rem; }
.service-icon svg { width: 34px; height: 34px; }
.service-card h3 { color: var(--gold-light); font-size: 1.5rem; }
.service-card p { color: rgba(255,255,255,0.78); font-size: 1.25rem; margin: 0; }

/* ---- JENNIFER / TEAM ---- */
.jennifer-col { align-items: start; }

.jennifer-photo-wrap {
  display: flex;
  justify-content: center;
}

.jennifer-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
}
.photo-bw { filter: grayscale(100%); }

.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.badge {
  background: var(--navy);
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ---- CONTACT ---- */
.contact-sub { color: rgba(255,255,255,0.78); margin-bottom: 2.5rem; font-size: 1.25rem; }
.section-accent h2 { color: var(--white); }

.contact-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.contact-icon { color: var(--gold-light); margin-bottom: 0.6rem; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-card h4 { color: var(--gold-light); margin-bottom: 0.4rem; font-family: 'Arial', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-card a { color: var(--white); font-size: 0.95rem; word-break: break-all; }
.contact-card a:hover { color: var(--gold-light); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-logo { margin-bottom: 0.5rem; }
.footer-logo .logo-main { font-size: 1.1rem; }

.footer-legal {
  font-size: 0.8rem;
  max-width: 680px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.footer-legal a { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
  font-family: 'Arial', sans-serif;
}

/* ---- NAV DROPDOWN ---- */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--navy);
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover { color: var(--gold); text-decoration: none; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  background: transparent;
  min-width: 240px;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: calc(0.75rem - 6px);
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white);
  z-index: 1;
}
.nav-dropdown-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(13,37,69,0.18);
  overflow: hidden;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.85rem 1.4rem;
  color: var(--navy) !important;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(13,37,69,0.07);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--navy) !important;
  text-decoration: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }

/* ---- HERO IMAGE ---- */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,37,69,0.82) 0%, rgba(22,58,107,0.70) 60%, rgba(26,74,122,0.60) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

/* ---- SERVICE PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 4rem;
  color: var(--white);
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--white);
}
.page-hero p:not(.section-label) { color: rgba(255,255,255,0.78); max-width: 620px; font-size: 1.25rem; }

.page-body { padding: 4rem 0; }
.page-body h2 { color: var(--navy); margin-bottom: 1rem; }
.page-body h3 { color: var(--navy); margin-top: 2rem; margin-bottom: 0.5rem; }
.page-body p:not(.section-label), .page-body li { color: var(--text-muted); font-size: 1.25rem; }
.page-body p.team-title {
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: -0.8rem;
  margin-bottom: 1.2rem;
}
.page-body ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-body li { margin-bottom: 0.4rem; }

.page-cta {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem 2rem;
  margin-top: 3rem;
}
.page-cta h3 { color: var(--navy); margin-top: 0; }
.page-cta p { color: var(--text-muted); margin-bottom: 1.2rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .col-cards { grid-template-columns: 1fr 1fr; }
  .jennifer-photo-placeholder { max-width: 240px; }

  .logo-img { height: 38px; }
  .header-inner { padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .btn-nav { display: none !important; }
  .nav-contact-mobile { display: block; }

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(13,37,69,0.14);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .nav.nav-open {
    max-height: 420px;
    opacity: 1;
    padding: 0.5rem 2rem 1.5rem;
  }
  .nav a { display: block; width: 100%; padding: 0.75rem 0; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { padding: 0.75rem 0; }
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    padding-top: 0;
    min-width: 0;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-inner { box-shadow: none; border-radius: 0; }
  .nav-dropdown-menu a { padding: 0.65rem 0 0.65rem 1rem; border-bottom: none; }
  .nav-dropdown.dropdown-open .nav-dropdown-menu { display: block; }

  .hero { padding: 4rem 0; }
  .section { padding: 3.5rem 0; }

  .contact-cards { flex-direction: column; }
}

@media (max-width: 480px) {
  .col-cards { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
}

@media (max-width: 768px) {
  .hero { background-position: center 15%; }
}
