@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy: #2E4A5C;
  --navy-dark: #1F3645;
  --navy-light: #3D5A6E;
  --gold: #B8884A;
  --gold-light: #D2A56A;
  --gold-pale: #F2E8D4;
  --white: #ffffff;
  --off-white: #F4EFE5;
  --text: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-muted: #777;
  --border: #e2ddd4;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; font-size: 17px; line-height: 1.75; color: var(--text); background: var(--white); }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: .04em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--white); font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 3px; letter-spacing: .04em; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); }

/* DOMAIN HERO */
.domain-hero {
  background: var(--navy);
  padding: 56px 5% 48px;
  border-bottom: 3px solid var(--gold);
}
.domain-breadcrumb { font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .08em; margin-bottom: 14px; }
.domain-breadcrumb a { color: var(--gold); }
.domain-breadcrumb a:hover { color: var(--gold-light); }
.domain-num { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.domain-hero h1 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: var(--white); margin-bottom: 14px; }
.domain-hero p { font-size: 21px; color: rgba(255,255,255,.65); max-width: 640px; line-height: 1.7; }
.domain-range { margin-top: 20px; display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 5px 16px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .08em; }

/* QUESTIONS */
.questions-wrap { max-width: 860px; margin: 0 auto; padding: 56px 5% 80px; }
.q-item { border: 1px solid var(--border); border-radius: 4px; margin-bottom: 4px; overflow: hidden; background: var(--white); }
.q-head { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; cursor: pointer; transition: background .15s; }
.q-head:hover { background: var(--off-white); }
.q-head.open { background: var(--navy); }
.q-num { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .06em; min-width: 28px; padding-top: 3px; flex-shrink: 0; }
.q-head.open .q-num { color: rgba(255,255,255,.4); }
.q-title { font-size: 19px; font-weight: 500; color: var(--navy); flex: 1; line-height: 1.45; }
.q-head.open .q-title { color: var(--white); }
.q-plus { font-size: 20px; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; line-height: 1; padding-top: 1px; }
.q-head.open .q-plus { transform: rotate(45deg); color: var(--gold); }
.q-body { display: none; padding: 0 22px 24px 64px; border-top: 1px solid var(--border); background: var(--off-white); }
.q-body.open { display: block; }
.q-body p { padding-top: 18px; font-size: 19px; color: var(--text-mid); line-height: 1.85; }
.q-body p + p { margin-top: 14px; }

/* CTA BAND */
.cta-band { background: var(--navy); padding: 48px 5%; text-align: center; }
.cta-band h3 { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.cta-band p { font-size: 19px; color: rgba(255,255,255,.65); margin-bottom: 24px; }
.cta-phone { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--gold); display: block; margin-bottom: 8px; }
.cta-phone a { color: inherit; }
.btn-cta { display: inline-block; background: var(--gold); color: var(--white); font-size: 15px; font-weight: 600; padding: 14px 32px; border-radius: 3px; letter-spacing: .04em; margin-top: 8px; }
.btn-cta:hover { background: var(--gold-light); }

/* FOOTER */
.footer-main { background: var(--navy-light); padding: 48px 5% 40px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-logo span { color: var(--gold); }
.footer-info { font-size: 17px; color: rgba(255,255,255,.65); line-height: 2; }
.footer-phone { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--gold); margin-top: 16px; display: block; }
.footer-cats-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-cat-links { list-style: none; }
.footer-cat-links li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-cat-links li:last-child { border-bottom: none; }
.footer-cat-links a { font-size: 17px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-cat-links a:hover { color: var(--gold); }
.footer-bottom { background: #111d2e; padding: 16px 5%; text-align: center; font-size: 13px; color: rgba(255,255,255,.35); letter-spacing: .03em; }

/* INLINE CTA */
.q-cta { margin-top: 20px; padding: 16px 20px; background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.q-cta p { font-size: 17px; color: rgba(255,255,255,.7); margin: 0; padding: 0; }
.q-cta .phone { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--gold); white-space: nowrap; }

/* DOMAIN PROGRESS BAR */
.domain-progress {
  background: var(--navy-dark);
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 64px;
  z-index: 90;
}
.domain-progress::-webkit-scrollbar { display: none; }
.dp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.dp-item:hover { background: rgba(255,255,255,.06); border-bottom-color: var(--gold-light); }
.dp-item.active { border-bottom-color: var(--gold); }
.dp-num { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--gold); margin-bottom: 2px; }
.dp-label { font-size: 11px; color: rgba(255,255,255,.5); max-width: 88px; text-align: center; line-height: 1.3; }
.dp-item.active .dp-label { color: rgba(255,255,255,.85); }

/* PREV / NEXT NAVIGATION */
.domain-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 5% 0;
  gap: 12px;
}
.domain-nav a, .domain-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: background .15s, border-color .15s;
  text-decoration: none;
  line-height: 1.3;
}
.domain-nav a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.domain-nav .dn-arrow { font-size: 16px; flex-shrink: 0; }
.domain-nav .dn-label { display: flex; flex-direction: column; }
.domain-nav .dn-sub { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1px; }
.domain-nav .dn-title { font-size: 13px; font-weight: 600; }
.domain-nav span { opacity: .35; cursor: default; }
.domain-nav .dn-center {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .06em;
  border: none;
  background: none;
  padding: 8px 4px;
  text-align: center;
}

/* JUMP TO DOMAIN FLOATING PANEL */
.jump-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.jump-toggle {
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 4px 0 0 4px;
  padding: 10px 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  height: 80px;
  line-height: 1;
  transition: background .15s;
  border-right: 3px solid var(--gold);
}
.jump-toggle:hover { background: var(--navy-dark); }
.jump-drawer {
  display: none;
  background: var(--navy);
  border-radius: 4px 0 0 4px;
  padding: 12px 0;
  min-width: 210px;
  box-shadow: -4px 0 24px rgba(0,0,0,.3);
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.jump-drawer.open { display: block; }
.jump-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: background .12s, color .12s;
  border-left: 3px solid transparent;
}
.jump-drawer a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.jump-drawer a.active { color: var(--white); border-left-color: var(--gold); background: rgba(255,255,255,.06); }
.jump-drawer a .jd-num { font-size: 10px; font-weight: 700; color: var(--gold); min-width: 22px; }
.jump-drawer a .jd-title { line-height: 1.35; }
.jump-header { padding: 6px 18px 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 4px; }

/* BACK TO TOP */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  z-index: 150;
  transition: background .15s;
}
.back-top.visible { display: flex; }
.back-top:hover { background: var(--navy-dark); }

/* QUESTION COUNT BADGE */
.q-count-bar {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 5% 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.q-count-bar strong { color: var(--navy); }
.q-expand-all {
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background .15s;
}
.q-expand-all:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .questions-wrap { padding: 40px 4% 60px; }
  .q-body { padding-left: 22px; }
  .domain-progress { top: 56px; }
  .dp-label { display: none; }
  .dp-item { padding: 10px 10px; }
  .jump-panel { display: none; }
  .domain-nav a, .domain-nav span { padding: 9px 12px; }
  .dn-title { display: none; }
}
