/* =========================================================
   BOSS Associates LLC — Design System
   Palette: Navy / Gold / White / Light Gray
   Type: Fraunces (display) + Inter (body/UI)
   ========================================================= */

:root {
  /* Navy */
  --navy-900: #071A33;
  --navy-800: #0B2545;   /* primary */
  --navy-700: #123059;
  --navy-600: #1B3A6B;
  --ink:      #1C2A3A;   /* body text on light */

  /* Gold */
  --gold:      #C6A15B;
  --gold-lite: #E6C878;
  --gold-deep: #A17C34;  /* gold text on white (AA-ish) */

  /* Neutrals */
  --white:   #FFFFFF;
  --gray-50: #F6F7F9;
  --gray-100:#EEF1F5;
  --gray-200:#E3E7ED;
  --border:  #E3E7ED;
  --muted:   #5A6B7B;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.06), 0 4px 14px rgba(11,37,69,.05);
  --shadow-md: 0 10px 30px rgba(11,37,69,.10);
  --shadow-lg: 0 24px 60px rgba(11,37,69,.16);
  --ease: cubic-bezier(.22,.61,.36,1);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--navy-800); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-800); color: #DCE4EF; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1rem;
}
.eyebrow::before { content:""; width: 30px; height: 1px; background: var(--gold); display:inline-block; }
.section--navy .eyebrow { color: var(--gold-lite); }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content:""; width: 30px; height: 1px; background: var(--gold); display:inline-block; }

.h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.section--navy .lead { color: #B9C6D8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: linear-gradient(135deg, var(--gold-lite), var(--gold)); color: var(--navy-900); box-shadow: 0 8px 22px rgba(198,161,91,.35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(198,161,91,.45); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-lite); }
.btn--ghost { border-color: var(--border); color: var(--navy-800); background: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.nav {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--navy-800); line-height: 1.05; letter-spacing: -.01em; }
.brand__name span { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 13px; border-radius: 8px; font-size: .93rem; font-weight: 500; color: var(--navy-700);
  position: relative; transition: color .2s, background .2s;
}
.nav__links a::after {
  content:""; position:absolute; left:13px; right:13px; bottom:4px; height:2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--navy-900); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--navy-900); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

/* Mobile menu */
.menu-btn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; align-items: center; justify-content: center; flex: none;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content:""; display:block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .2s; position: relative;
}
.menu-btn span::before { position:absolute; top:-6px; }
.menu-btn span::after  { position:absolute; top:6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .menu-btn { display: inline-flex; }
  .nav__links, .nav__cta {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--border);
    transform: translateY(-14px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s;
  }
  .nav__cta { top: auto; box-shadow: var(--shadow-md); padding-top: 8px; }
  .nav__links a { padding: 13px 12px; border-radius: 10px; font-size: 1.02rem; }
  .nav__links a::after { display: none; }
  .nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--gray-50); }
  .nav__cta .btn { justify-content: center; }
  body.menu-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.menu-open .nav__cta {
    transform: translateY(0); opacity: 1; pointer-events: auto;
    top: auto; position: fixed; left:0; right:0; bottom: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(198,161,91,.16), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: #E6EDF6;
}
.hero__grid { position:absolute; inset:0; opacity:.5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 46px; pointer-events:none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 0 100px; }
.hero__eyebrow { color: var(--gold-lite); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.15rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-lite); }
.hero__sub { font-size: 1.2rem; color: #B9C6D8; max-width: 54ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px 38px; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust .stat b { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-lite); display:block; line-height:1; }
.hero__trust .stat span { font-size: .84rem; color: #9FB0C6; letter-spacing: .02em; }

/* Hero seal card */
.hero__card {
  position: relative; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(198,161,91,.35); border-radius: 20px; padding: 34px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.hero__card .seal { width: 96px; height: 96px; margin: 0 auto 18px; }
.hero__list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.12); color: #CBD6E4; font-size: .98rem; }
.hero__list li:last-child { border-bottom: none; }
.hero__list .tick { flex: none; width: 22px; height: 22px; color: var(--gold-lite); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 66px 0 74px; }
  .hero__card { max-width: 480px; }
}

/* ---------- Page hero (interior) ---------- */
.pagehero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(198,161,91,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #E6EDF6; padding: 118px 0 72px; position: relative; overflow: hidden;
}
.pagehero__grid { position:absolute; inset:0; opacity:.4;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 100% 44px; }
.pagehero .wrap { position: relative; z-index: 2; }
.pagehero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.pagehero p { color: #B9C6D8; font-size: 1.16rem; max-width: 60ch; }
.crumbs { font-size: .82rem; letter-spacing: .04em; color: #93A4BC; margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--gold-lite); }
.crumbs span { color: var(--gold); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(198,161,91,.5); }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: var(--gold-lite);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card__link { font-weight: 600; font-size: .92rem; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }
.card--gray { background: var(--gray-50); }

/* Feature list with ticks */
.checklist li { display:flex; gap: 12px; align-items:flex-start; padding: 10px 0; }
.checklist .tick { flex:none; width: 24px; height: 24px; color: var(--gold-deep); margin-top: 2px; }
.checklist li b { color: var(--navy-800); }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; gap: 36px; } }
.media-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--gray-50);
  box-shadow: var(--shadow-md); padding: 40px; position: relative;
}
.media-frame::before { content:""; position:absolute; inset:0; background:
  repeating-linear-gradient(0deg, transparent, transparent 43px, rgba(11,37,69,.05) 44px); pointer-events:none; }

/* Stat band */
.statband { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
@media (max-width: 720px){ .statband { grid-template-columns: repeat(2,1fr); } }
.statband .stat b { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-lite); display:block; line-height:1; }
.statband .stat span { color:#9FB0C6; font-size:.9rem; letter-spacing:.03em; }

/* Process steps (numbered — genuine sequence) */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.step__num { counter-increment: step; width: 46px; height:46px; border-radius: 50%; flex:none;
  display:grid; place-items:center; font-family: var(--font-display); font-weight:600; font-size:1.15rem;
  background: var(--navy-800); color: var(--gold-lite); }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-size: 1.12rem; margin-bottom: .25rem; }
.step p { color: var(--muted); margin:0; font-size:.96rem; }

/* ---------- Testimonials ---------- */
.quote {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 32px; height:100%;
  display:flex; flex-direction:column;
}
.quote .stars { color: var(--gold); letter-spacing:2px; margin-bottom: 14px; font-size:.95rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.16rem; line-height:1.55; color: var(--navy-800); margin:0 0 20px; font-style: italic; }
.quote figcaption { margin-top:auto; display:flex; align-items:center; gap:12px; }
.quote .avatar { width:44px; height:44px; border-radius:50%; background:linear-gradient(160deg,var(--navy-700),var(--navy-600));
  color:var(--gold-lite); display:grid; place-items:center; font-family:var(--font-display); font-weight:600; flex:none; }
.quote .who b { display:block; color:var(--navy-800); font-family:var(--font-body); font-size:.95rem; }
.quote .who span { color:var(--muted); font-size:.85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline:auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width:100%; text-align:left; background:none; border:none; padding: 22px 44px 22px 4px;
  font-family: var(--font-display); font-size: 1.14rem; font-weight:600; color: var(--navy-800);
  position:relative; display:flex; justify-content:space-between; gap:20px; align-items:center;
}
.faq__q .plus { position:relative; width:18px; height:18px; flex:none; }
.faq__q .plus::before, .faq__q .plus::after { content:""; position:absolute; background: var(--gold-deep); border-radius:2px; transition: transform .3s var(--ease); }
.faq__q .plus::before { top:8px; left:0; width:18px; height:2px; }
.faq__q .plus::after  { left:8px; top:0; width:2px; height:18px; }
.faq__item[open] .plus::after { transform: rotate(90deg); opacity:0; }
.faq__a { padding: 0 44px 24px 4px; color: var(--muted); }
.faq__a p { margin:0; }
/* details/summary */
details.faq__item summary { list-style:none; cursor:pointer; }
details.faq__item summary::-webkit-details-marker { display:none; }

/* ---------- CTA band ---------- */
.ctaband {
  background: radial-gradient(800px 300px at 20% 0%, rgba(198,161,91,.18), transparent 60%), var(--navy-800);
  color:#fff; border-radius: 22px; padding: 56px; text-align:center; position:relative; overflow:hidden;
}
.ctaband h2 { color:#fff; }
.ctaband p { color:#B9C6D8; max-width: 56ch; margin: 0 auto 1.8rem; }
.ctaband .btnrow { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
@media (max-width:640px){ .ctaband { padding: 40px 26px; } }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px){ .contact-grid { grid-template-columns:1fr; } }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:.86rem; font-weight:600; color: var(--navy-800); margin-bottom:6px; }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 15px; border:1px solid var(--border); border-radius: 10px; font-family:inherit; font-size:1rem;
  background:#fff; color:var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,.18); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size:.82rem; color:var(--muted); }
.info-card { background: var(--gray-50); border:1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.info-row { display:flex; gap:16px; align-items:flex-start; padding: 16px 0; border-bottom:1px dashed var(--border); }
.info-row:last-child { border-bottom:none; }
.info-row .ic { width:44px; height:44px; border-radius:10px; flex:none; display:grid; place-items:center;
  background: var(--navy-800); color: var(--gold-lite); }
.info-row .ic svg { width:20px; height:20px; }
.info-row b { display:block; color:var(--navy-800); }
.info-row a, .info-row span { color: var(--muted); }
.info-row a:hover { color: var(--gold-deep); }

/* ---------- Certificate verify embed ---------- */
.verify-shell {
  border: 1px solid var(--border); border-radius: var(--radius); background:#fff; box-shadow: var(--shadow-sm);
  padding: 10px; min-height: 520px;
}
.verify-shell--live {
  padding: 0;
  overflow: hidden;
  min-height: 680px;
  border-color: rgba(198,161,91,.38);
  box-shadow: 0 18px 46px rgba(11,37,69,.12);
}
.verify-shell iframe { width:100%; min-height: 500px; border:0; border-radius: 10px; display:block; }
.verify-shell--live iframe {
  min-height: 680px;
  border-radius: inherit;
  background:#fff;
}
.verify-fallback {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:18px;
  text-align:center;
}
.verify-fallback p { margin:0; color:var(--muted); font-size:.9rem; }
.verify-fallback__button {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
  box-shadow: 0 8px 20px rgba(11,37,69,.18);
}
.verify-fallback__button:hover {
  background: var(--navy-700);
  color: var(--gold-lite);
  border-color: var(--gold);
}
@media (max-width:700px){
  .verify-shell--live, .verify-shell--live iframe { min-height: 760px; }
}
.verify-placeholder {
  min-height: 480px; border: 2px dashed var(--gold); border-radius: 10px; background: var(--gray-50);
  display:grid; place-items:center; text-align:center; padding: 40px;
}
.verify-placeholder .seal { width: 88px; height:88px; margin: 0 auto 20px; opacity:.9; }
.verify-placeholder code { background:#fff; border:1px solid var(--border); padding:2px 8px; border-radius:6px; font-size:.86rem; color: var(--navy-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color:#A9B8CC; padding: 70px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__name { color:#fff; }
.site-footer .fbrand { display:flex; gap:12px; align-items:center; margin-bottom:18px; }
.site-footer .fbrand .mark { width:46px; height:46px; }
.site-footer h4 { color:#fff; font-family: var(--font-body); font-size:.82rem; letter-spacing:.16em; text-transform:uppercase; margin-bottom:16px; }
.site-footer ul li { margin-bottom:10px; }
.site-footer a { color:#A9B8CC; font-size:.95rem; transition:color .2s; }
.site-footer a:hover { color: var(--gold-lite); }
.site-footer .fdesc { font-size:.95rem; color:#8EA0B8; max-width: 34ch; }
.fcontact li { display:flex; gap:10px; align-items:flex-start; font-size:.95rem; margin-bottom:12px; }
.fcontact svg { width:17px; height:17px; color: var(--gold); flex:none; margin-top:3px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top:1px solid rgba(255,255,255,.1);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; color:#7C8EA6;
}
.footer-bottom a:hover { color: var(--gold-lite); }
.disclaimer { font-size:.8rem; color:#6C7E96; margin-top:14px; max-width: 90ch; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s;} .reveal.d2{transition-delay:.16s;} .reveal.d3{transition-delay:.24s;} .reveal.d4{transition-delay:.32s;}
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* ---------- Misc ---------- */
.tag { display:inline-block; font-size:.72rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color: var(--gold-deep); background: rgba(198,161,91,.12); border:1px solid rgba(198,161,91,.35);
  padding: 5px 12px; border-radius:999px; margin-bottom: 14px; }
.section--navy .tag { color: var(--gold-lite); background: rgba(198,161,91,.14); }
.rule { height:1px; background: var(--border); margin: 40px 0; border:none; }
.prose h3 { margin-top: 1.8em; }
.prose ul.checklist { margin: 1rem 0; }
.priceline { font-family: var(--font-display); color: var(--navy-800); }

/* ---------- Services dropdown ---------- */
.has-dropdown { position: relative; }
.nav__drop {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  padding: 9px 13px; border-radius: 8px; font-size: .93rem; font-weight: 500; color: var(--navy-700);
  font-family: inherit;
}
.nav__drop svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-dropdown:hover .nav__drop svg, .has-dropdown.open .nav__drop svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 244px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s var(--ease); z-index: 120;
}
.dropdown::before { content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg); width:12px; height:12px; background:#fff; border-left:1px solid var(--border); border-top:1px solid var(--border); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: block; padding: 11px 14px; border-radius: 9px; font-size: .92rem; color: var(--navy-700); font-weight: 500; }
.dropdown a:hover { background: var(--gray-50); color: var(--navy-900); }
.dropdown a b { display:block; }
.dropdown a small { color: var(--muted); font-weight: 400; font-size: .8rem; }

@media (max-width: 940px) {
  .nav__drop { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 1.02rem; border-radius: 10px; }
  .nav__drop:hover { background: var(--gray-50); }
  .dropdown {
    position: static; transform: none; opacity: 1; pointer-events: auto; box-shadow: none; border: none;
    padding: 2px 0 6px 10px; min-width: 0; display: none; border-left: 2px solid var(--border); margin-left: 10px;
  }
  .dropdown::before { display:none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; transform: none; }
}

/* ---------- SVG sizing safeguards ---------- */
.seal { display: block; }
.seal svg { width: 100%; height: 100%; }
.tick svg { width: 100%; height: 100%; display: block; }
.hero__list .tick, .checklist .tick { display: inline-grid; place-items: center; }
.has-dropdown.open-active .nav__drop { color: var(--navy-900); font-weight: 600; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; font-size: .9rem; transition: top .2s;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Mobile menu scroll safety ---------- */
@media (max-width: 940px) {
  .nav__links {
    max-height: calc(100vh - var(--header-h) - 96px);
    overflow-y: auto; padding-bottom: 24px;
  }
}

/* Contact page layout correction: prevent the consultation card from stretching
   to the full height of the neighboring form column and overlapping the FAQ. */
.contact-grid { align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid .card { height: auto; }

/* Keep FAQ controls aligned neatly at the right edge. */
.faq__q { padding-right: 4px; }
.faq__q .plus { margin-left: auto; }


/* ==========================================================
   BOSS Associates Website V2 refinements
   ========================================================== */
:root {
  --header-h: 82px;
  --radius: 18px;
  --shadow-sm: 0 10px 28px rgba(11,37,69,.07);
  --shadow-md: 0 18px 48px rgba(11,37,69,.12);
}

/* Primary logo */
.brand { min-width: 220px; padding: 4px 0; }
.brand__logo { display:block; width: 220px; height: 62px; object-fit: contain; object-position: left center; }
.brand__mark, .brand__name { display:none; }
.site-header { background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.site-header.scrolled { box-shadow: 0 10px 35px rgba(11,37,69,.09); }
.nav { gap: 20px; }
.nav__links { gap: 2px; }
.nav__cta { gap: 10px; }
.nav__cta .btn { white-space: nowrap; }

/* Footer logo */
.site-footer .fbrand { display:block; margin-bottom:18px; }
.footer-logo { display:block; width: 205px; max-height: 118px; object-fit:contain; object-position:left center; background:#fff; border-radius:14px; padding:8px 12px; }

/* More polished rhythm and cards */
.section { padding-top: 88px; padding-bottom: 88px; }
.card, .info-card, .verify-shell { box-shadow: var(--shadow-sm); }
.card { overflow:hidden; }
.card::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:linear-gradient(90deg,var(--gold),var(--gold-lite)); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease); }
.card:hover::after { transform:scaleX(1); }
.btn { box-shadow: 0 8px 18px rgba(11,37,69,.08); }
.btn:hover { box-shadow: 0 12px 28px rgba(11,37,69,.14); }

/* Contact page: natural content height and clean FAQ spacing */
.contact-section { padding-bottom: 50px; }
.contact-grid { align-items:start; gap:48px; }
.contact-grid > div { align-self:start; min-width:0; }
.contact-grid .card { height:auto; min-height:0; }
.contact-grid form { margin-top:24px; }
.contact-grid .field:last-of-type { margin-bottom: 24px; }
.faq-section { padding-top: 48px; }
.faq-section .center { margin-bottom: 34px !important; }
.faq__q { padding:22px 4px; gap:18px; }
.faq__q .plus { margin-left:auto; }

/* Mobile refinements */
@media (max-width: 1120px) {
  .nav__cta .btn--ghost { display:none; }
  .brand { min-width:190px; }
  .brand__logo { width:190px; height:56px; }
}
@media (max-width: 940px) {
  :root { --header-h: 74px; }
  .brand { min-width:0; }
  .brand__logo { width:176px; height:52px; }
  .nav__cta { display:none; }
  .menu-btn { display:grid; }
  .nav__links { top:var(--header-h); }
  .section { padding-top:68px; padding-bottom:68px; }
}
@media (max-width: 560px) {
  .brand__logo { width:150px; height:48px; }
  .hero__cta .btn, .cta__actions .btn { width:100%; justify-content:center; }
  .section { padding-top:58px; padding-bottom:58px; }
  .pagehero { padding-top:96px; }
  .footer-logo { width:190px; }
}

/* Founder profile card */
.founder-card { padding: 0; background: #fff; }
.founder-card::before { display: none; }
.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 24%;
  border-bottom: 1px solid var(--border);
}
.founder-card__content { padding: 32px 36px 36px; }
.founder-card__content h3 { font-size: 1.8rem; margin: 8px 0 4px; }
.founder-title { color: var(--gold-deep); font-weight: 700; margin-bottom: 14px; }
.founder-card__content > p:not(.founder-title) { color: var(--muted); }
@media (max-width: 600px) {
  .founder-card__content { padding: 26px 24px 30px; }
}

/* V2.1 logo and spacing corrections */
.brand { min-width: 190px; }
.brand__logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 2px rgba(11,37,69,.10));
}
.hero__card .seal--brand {
  width: min(100%, 290px);
  height: auto;
  margin: 0 auto 24px;
}
.hero__card .seal--brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.28));
}
.footer-logo {
  width: 230px;
  max-height: 105px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.28));
}
.pagehero { padding: 64px 0 56px; }
.section { padding-top: 68px; padding-bottom: 68px; }
.about-intro .split { align-items: start; }

@media (max-width: 1120px) {
  .brand { min-width: 170px; }
  .brand__logo { width: 170px; height: 54px; }
}
@media (max-width: 940px) {
  .brand__logo { width: 160px; height: 50px; }
  .pagehero { padding: 50px 0 44px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .brand__logo { width: 135px; height: 44px; }
  .pagehero { padding: 42px 0 38px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .footer-logo { width: 205px; }
}


/* Final BOSS logo and favicon update */
.brand__logo {
  width: 190px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 3px rgba(7,26,51,.18));
}
.hero__card .seal--brand {
  width: 100%;
  height: 190px;
  margin: -8px auto 12px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--navy-800);
}
.hero__card .seal--brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.footer-logo {
  width: 225px;
  max-height: 125px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.28));
}
@media (max-width: 940px) { .brand__logo { width: 165px; height: 56px; } }
@media (max-width: 640px) { .brand__logo { width: 145px; height: 50px; } .hero__card .seal--brand { height: 150px; } }

/* V2.3 — header logo clarity, seamless home logo, and tighter top spacing */
:root { --header-h: 82px; }
.site-header,
.site-header.scrolled {
  background: rgba(7,26,51,.98);
  border-bottom-color: rgba(255,255,255,.12);
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.nav { height: var(--header-h); }
.brand { min-width: 205px; }
.brand__logo {
  width: 205px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.32));
}
.nav__links a,
.nav__drop { color: #fff; }
.nav__links a:hover,
.nav__links a[aria-current="page"],
.nav__drop:hover { color: var(--gold-lite); }
.nav__links a::after { background: var(--gold-lite); }
.nav__drop svg { color: var(--gold-lite); }
.site-header .btn--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.52);
}
.site-header .btn--ghost:hover {
  color: var(--gold-lite);
  border-color: var(--gold-lite);
  background: rgba(255,255,255,.05);
}
.hero__inner { padding-top: 48px; padding-bottom: 72px; }
.pagehero { padding: 38px 0 44px; }
.hero__card .seal--brand {
  width: min(100%, 310px);
  height: auto;
  min-height: 0;
  margin: -4px auto 20px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.hero__card .seal--brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.32));
}
@media (max-width: 1120px) {
  .brand { min-width: 180px; }
  .brand__logo { width: 180px; height: 66px; }
}
@media (max-width: 940px) {
  :root { --header-h: 74px; }
  .brand { min-width: 160px; }
  .brand__logo { width: 160px; height: 60px; }
  .menu-btn { background: transparent; border-color: rgba(255,255,255,.35); }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { background: #fff; }
  body.menu-open .menu-btn span { background: transparent; }
  .nav__links {
    background: var(--navy-900);
    border-bottom-color: rgba(255,255,255,.12);
  }
  .nav__links a,
  .nav__drop { color:#fff; }
  .nav__links a:hover,
  .nav__links a[aria-current="page"] { background: rgba(255,255,255,.08); color:var(--gold-lite); }
  .hero__inner { padding-top: 40px; padding-bottom: 58px; }
  .pagehero { padding: 32px 0 38px; }
}
@media (max-width: 560px) {
  .brand { min-width: 138px; }
  .brand__logo { width: 138px; height: 54px; }
  .hero__inner { padding-top: 32px; }
  .pagehero { padding: 26px 0 32px; }
}


/* V2.4 — navigation readability, spacing, training alignment, and home logo sizing */
/* Keep the Services control readable on the navy header, including active pages. */
.site-header .nav__drop,
.site-header .has-dropdown.open-active .nav__drop,
.site-header .has-dropdown.open .nav__drop {
  color: #fff;
}
.site-header .nav__drop:hover,
.site-header .has-dropdown.open-active .nav__drop:hover {
  color: var(--gold-lite);
}

/* Dropdown itself is white, so its text must stay dark. */
.site-header .dropdown a,
.site-header .nav__links .dropdown a {
  color: var(--navy-700);
  background: transparent;
}
.site-header .dropdown a b,
.site-header .nav__links .dropdown a b {
  color: var(--navy-800);
}
.site-header .dropdown a small,
.site-header .nav__links .dropdown a small {
  color: var(--muted);
}
.site-header .dropdown a:hover,
.site-header .nav__links .dropdown a:hover {
  color: var(--navy-900);
  background: var(--gray-50);
}

/* Reduce the empty space between Financial Education and Client Voices. */
.services-detail-section { padding-bottom: 34px; }
.client-voices-section { padding-top: 34px; }

/* Line up each audience label and its description in consistent columns. */
.audience-list li {
  display: grid;
  grid-template-columns: 24px 165px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}
.audience-list .tick { margin-top: 3px; }
.audience-list .audience-title {
  font-weight: 700;
  color: var(--navy-800);
}
.audience-list .audience-desc { min-width: 0; }

/* Tighten the transition from the audience/certificate area into the FAQ. */
.audience-section { padding-bottom: 38px; }
.training-faq-section { padding-top: 38px; }

/* Make the logo inside the home-page feature card less dominant. */
.hero__card .seal--brand { width: min(100%, 255px); }

@media (max-width: 700px) {
  .audience-list li {
    grid-template-columns: 24px minmax(0, 1fr);
    row-gap: 2px;
  }
  .audience-list .audience-title,
  .audience-list .audience-desc { grid-column: 2; }
  .audience-list .tick { grid-row: 1 / span 2; }
  .services-detail-section { padding-bottom: 26px; }
  .client-voices-section { padding-top: 26px; }
  .audience-section { padding-bottom: 28px; }
  .training-faq-section { padding-top: 28px; }
  .hero__card .seal--brand { width: min(100%, 225px); }
}

/* V2.5 — corrected FAQ-to-CTA spacing and bookkeeping-training alignment */
/* FAQ sections should flow directly into their call-to-action instead of
   creating the appearance of a large blank section. */
.faq-content-section {
  padding-bottom: 28px;
}
.faq-content-section + .cta-section {
  padding-top: 28px;
}

/* Bookkeeping Training: fixed three-column row structure. */
.audience-section .audience-list {
  margin-top: 18px;
}
.audience-section .audience-list li {
  display: grid;
  grid-template-columns: 24px 170px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 10px 0;
}
.audience-section .audience-list .tick {
  grid-column: 1;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.audience-section .audience-list .audience-title {
  grid-column: 2;
  display: block;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.55;
}
.audience-section .audience-list .audience-desc {
  grid-column: 3;
  display: block;
  min-width: 0;
  line-height: 1.55;
  color: var(--ink);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .audience-section .audience-list li {
    grid-template-columns: 24px 150px minmax(0, 1fr);
    column-gap: 12px;
  }
}

@media (max-width: 700px) {
  .faq-content-section { padding-bottom: 20px; }
  .faq-content-section + .cta-section { padding-top: 20px; }
  .audience-section .audience-list li {
    grid-template-columns: 24px minmax(0, 1fr);
    row-gap: 2px;
  }
  .audience-section .audience-list .tick {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .audience-section .audience-list .audience-title,
  .audience-section .audience-list .audience-desc {
    grid-column: 2;
  }
}

/* V2.6 — smooth blue backgrounds and home hero alignment */
.hero__grid,
.pagehero__grid {
  display: none;
  background-image: none;
}

@media (min-width: 901px) {
  .hero__card {
    align-self: start;
    margin-top: -18px;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 0;
  }

  .hero__trust .stat {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .hero__card { margin-top: 0; }
  .hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
  }
}

@media (max-width: 560px) {
  .hero__trust { grid-template-columns: 1fr; }
}


/* Homepage expandable "Why owners choose us" details */
.hero-features { margin-top: 4px; }
.hero-feature { border-bottom: 1px dashed rgba(255,255,255,.16); }
.hero-feature:last-child { border-bottom: 0; }
.hero-feature summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) 18px;
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  color: #CBD6E4;
  font-size: .98rem;
  line-height: 1.45;
}
.hero-feature summary::-webkit-details-marker { display:none; }
.hero-feature .tick { width:22px; height:22px; color:var(--gold-lite); }
.hero-feature__plus { position:relative; width:18px; height:18px; margin-top:2px; }
.hero-feature__plus::before,
.hero-feature__plus::after { content:""; position:absolute; background:var(--gold-lite); border-radius:2px; transition:.25s ease; }
.hero-feature__plus::before { left:0; top:8px; width:18px; height:2px; }
.hero-feature__plus::after { left:8px; top:0; width:2px; height:18px; }
.hero-feature[open] .hero-feature__plus::after { transform:rotate(90deg); opacity:0; }
.hero-feature p { margin: -2px 30px 14px 34px; color:#E6ECF4; font-size:.9rem; line-height:1.58; }

/* About-page value cards */
.value-card__heading { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
.value-card__heading .card__icon { margin-bottom:0; flex:none; }
.value-card__heading h3 { margin:0; }
.value-card p em { font-style:italic; }

/* About page: make value-card headings visible on white cards */
.section--navy .value-card__heading h3 {
  color: var(--navy-800);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}
.value-card__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

/* Homepage financial education course highlights */
.training-stats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}
.training-stat {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}
.training-stat strong {
  flex: 0 0 auto;
  min-width: 4.6rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-deep);
  white-space: nowrap;
}
.training-stat strong::after {
  content: " –";
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}
.training-stat span {
  display: inline;
}
@media (max-width: 480px) {
  .training-stat { font-size: 0.95rem; }
  .training-stat strong { min-width: 4.25rem; font-size: 1.75rem; }
}
