/* ============================================================
   COMPREHENSIVE BOOKKEEPING USA — site styles
   Design system: "Trust & Authority" (UI/UX Pro Max), recolored
   to a bold red / white / blue palette drawn from the logo (no flag imagery).
   Fonts: Lora (display) + Plus Jakarta Sans (body/UI).
   ============================================================ */

/* Fonts are loaded via a <link rel="stylesheet"> in each page <head> (faster than @import — no request chaining). */

:root{
  /* ---- brand palette (from logo: navy blue + flag red + white) ---- */
  --navy-900:#081A45;
  --navy-800:#0C2461;
  --navy:#102C72;          /* primary brand blue */
  --navy-600:#1C3E94;
  --red:#C8102E;           /* flag red — primary CTA/accent */
  --red-600:#A50C26;
  --red-bright:#E23047;
  --white:#FFFFFF;
  --bg:#F6F8FC;            /* cool off-white page bg */
  --surface:#FFFFFF;
  --ink:#0B1733;          /* body text */
  --ink-soft:#46506B;     /* secondary text */
  --muted:#6B7488;
  --line:#E2E7F1;         /* borders */
  --line-soft:#EEF2F8;
  --star:#F4B400;

  /* ---- motion system tokens (read by motion.css + animations.js) ---- */
  --motion-1: 226,48,71;          /* bright flag red — hero particles */
  --motion-2: 150,185,245;        /* light blue tint — hero particles  */
  --motion-accent:   #C8102E;     /* red: progress bar, cursor, bars   */
  --motion-accent-2: #1C3E94;     /* blue                              */
  --motion-ink:      #081A45;     /* deep navy                         */
  --motion-nav-bg: rgba(255,255,255,.96);

  /* ---- type + spacing ---- */
  --font-display:'Lora',Georgia,'Times New Roman',serif;
  --font-body:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --container:1180px;
  --radius:16px;
  --radius-sm:11px;
  --shadow-sm:0 1px 2px rgba(8,26,69,.06),0 2px 8px rgba(8,26,69,.05);
  --shadow:0 10px 30px rgba(8,26,69,.10);
  --shadow-lg:0 24px 60px rgba(8,26,69,.18);
}

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

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0; font-family:var(--font-body); color:var(--ink);
  background:var(--bg); font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}

@media (hover:hover) and (pointer:fine){ body{ cursor:none; } }

img{ max-width:100%; display:block; }

a{ color:var(--navy-600); text-decoration:none; transition:color .2s ease; }

a:hover{ color:var(--red); }

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--navy-900); line-height:1.12; margin:0 0 .5em; font-weight:600; letter-spacing:-.01em; }

h1{ font-size:clamp(2.3rem,5vw,3.9rem); }

h2{ font-size:clamp(1.8rem,3.4vw,2.7rem); }

h3{ font-size:clamp(1.2rem,1.8vw,1.45rem); }

p{ margin:0 0 1.1em; color:var(--ink-soft); }

.lead{ font-size:1.2rem; color:var(--ink-soft); }

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

section{ padding:clamp(56px,8vw,104px) 0; }

.section-tight{ padding:clamp(40px,5vw,64px) 0; }

.center{ text-align:center; }

.eyebrow{ display:inline-block; font-size:.74rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--red); margin-bottom:14px; }

.eyebrow--light{ color:#FFD0D7; }

.section-intro{ max-width:680px; margin:0 auto 52px; }

.section-intro.center p{ font-size:1.12rem; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:9px; font-family:var(--font-body);
  font-weight:700; font-size:1rem; padding:15px 28px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .2s var(--motion-ease,ease),box-shadow .25s ease,background .25s ease,color .2s; line-height:1; }

@media (hover:hover) and (pointer:fine){ .btn{ cursor:none; } }

.btn svg{ width:18px; height:18px; }

.btn-primary{ background:var(--red); color:#fff; box-shadow:0 10px 24px rgba(200,16,46,.30); }

.btn-primary:hover{ background:var(--red-600); color:#fff; transform:translateY(-2px); box-shadow:0 16px 34px rgba(200,16,46,.40); }

.btn-secondary{ background:var(--navy); color:#fff; box-shadow:0 10px 24px rgba(16,44,114,.26); }

.btn-secondary:hover{ background:var(--navy-800); color:#fff; transform:translateY(-2px); }

.btn-ghost{ background:transparent; color:var(--navy); border-color:var(--line); }

.btn-ghost:hover{ border-color:var(--navy); color:var(--navy); background:#fff; transform:translateY(-2px); }

.btn-light{ background:#fff; color:var(--navy-900); }

.btn-light:hover{ background:#fff; color:var(--red); transform:translateY(-2px); box-shadow:var(--shadow-lg); }

.btn-outline-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }

.btn-outline-light:hover{ background:#fff; color:var(--navy-900); border-color:#fff; transform:translateY(-2px); }

.btn-lg{ padding:18px 34px; font-size:1.06rem; }

/* keyboard focus visibility (a11y) */
a:focus-visible,.btn:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{ outline:3px solid var(--navy-600); outline-offset:3px; border-radius:8px; }

.hero a:focus-visible,.cta-band a:focus-visible,.page-hero a:focus-visible{ outline-color:#fff; }

/* ---------- top bar + nav ---------- */
.topbar{ background:var(--navy-900); color:#cdd7ee; font-size:.84rem; }

.topbar .container{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding-block:8px; flex-wrap:wrap; }

.topbar a{ color:#dfe6f6; font-weight:600; }

.topbar a:hover{ color:#fff; }

.topbar .tb-item{ display:inline-flex; align-items:center; gap:7px; }

.topbar svg{ width:15px; height:15px; stroke:var(--red-bright); }

.nav{ position:sticky; top:0; z-index:9000; background:#ffffff; border-bottom:1px solid var(--line-soft); padding-block:14px; }

.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }

.brand{ display:flex; align-items:center; gap:12px; }

.brand img{ height:66px; width:auto; }

.brand:hover{ color:inherit; }

.nav-links{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }

.nav-links a{ color:var(--navy-900); font-weight:600; font-size:.98rem; position:relative; }

.nav-links a:not(.btn)::after{ content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:var(--red); transition:width .25s var(--motion-ease,ease); }

.nav-links a:not(.btn):hover::after,.nav-links a.active:not(.btn)::after{ width:100%; }

.nav-links a.active{ color:var(--red); }

.nav-cta{ display:flex; align-items:center; gap:16px; }

.nav-phone{ font-weight:800; color:var(--navy-900); font-size:.98rem; display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }

.nav-phone svg{ width:17px; height:17px; stroke:var(--red); }

.nav-toggle{ display:none; background:none; border:0; padding:6px; position:relative; z-index:9600; cursor:pointer; }

.nav-toggle span{ display:block; width:28px; height:2.5px; background:var(--navy-900); border-radius:2px; margin:6px 0; transition:transform .3s var(--motion-ease,ease),opacity .2s ease; transform-origin:center; }

body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(8.5px) rotate(45deg); }

body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }

body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-8.5px) rotate(-45deg); }

/* mobile menu scrim (injected by site.js) */
.nav-scrim{ position:fixed; inset:0; background:rgba(8,26,69,.55); backdrop-filter:blur(2px); opacity:0; visibility:hidden; transition:opacity .3s ease,visibility .3s ease; z-index:9400; }

.nav-scrim.open{ opacity:1; visibility:visible; }

/* ---------- dropdown / mega-menu nav (desktop) ---------- */
.nav-top{ background:none; border:0; font-family:var(--font-body); font-weight:600; font-size:.98rem; color:var(--navy-900); display:inline-flex; align-items:center; gap:6px; padding:0; cursor:pointer; }

.nav-top .chev{ width:13px; height:13px; transition:transform .25s var(--motion-ease,ease); stroke:var(--navy-900); fill:none; }

.has-mega,.has-dd{ position:relative; }

.mega,.dd{ position:absolute; top:calc(100% + 16px); background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-lg); padding:20px; opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .22s ease,transform .22s ease,visibility .22s ease; z-index:9200; }

/* invisible bridge across the gap so hover doesn't drop when moving cursor into the menu */
.mega::before,.dd::before{ content:""; position:absolute; left:0; right:0; top:-22px; height:22px; }

.has-mega:hover .mega,.has-mega:focus-within .mega,.has-mega.open .mega,
.has-dd:hover .dd,.has-dd:focus-within .dd,.has-dd.open .dd{ opacity:1; visibility:visible; transform:translateY(0); }

.has-mega:hover .chev,.has-dd:hover .chev,.has-mega.open .chev,.has-dd.open .chev{ transform:rotate(180deg); }

.mega{ left:0; display:grid; grid-template-columns:repeat(3,minmax(195px,1fr)); gap:6px 26px; width:max-content; max-width:92vw; }

.dd{ right:0; min-width:250px; display:flex; flex-direction:column; gap:2px; }

.mega-col{ display:flex; flex-direction:column; gap:2px; }

.mega a,.dd a{ display:block; padding:9px 11px; border-radius:9px; color:var(--ink-soft); font-size:.93rem; font-weight:500; }

.mega a::after,.dd a::after{ display:none !important; }

.mega a:hover,.dd a:hover{ background:var(--line-soft); color:var(--red); }

.mega-h,.dd-h{ font-family:var(--font-display); font-weight:700; color:var(--navy-900) !important; font-size:1rem !important; padding-bottom:8px !important; margin-bottom:4px; border-bottom:1px solid var(--line-soft); }

.mega-h:hover,.dd-h:hover{ color:var(--red) !important; background:transparent !important; }

@media(max-width:1120px){ .nav-cta .nav-phone{ display:none; } }

@media(max-width:980px) and (min-width:861px){ .nav-links{ gap:22px; } }

/* desktop nav CTA button: content width, centered text, never wrap or stretch */
@media(min-width:861px){ .nav-links a.btn{ width:auto; white-space:nowrap; justify-content:center; padding:13px 24px; } }

/* ---------- hero ---------- */
.hero{ background:linear-gradient(150deg,var(--navy-900) 0%,var(--navy) 55%,var(--navy-800) 100%); color:#fff; overflow:hidden; padding:clamp(70px,10vw,128px) 0 clamp(60px,8vw,104px); }

.hero h1{ color:#fff; }

.hero .hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }

.hero-flag{ display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); padding:8px 16px; border-radius:999px; font-size:.8rem; font-weight:700; letter-spacing:.04em; color:#fff; margin-bottom:22px; }

.hero-flag .dot-accent{ width:9px; height:9px; border-radius:50%; background:var(--red-bright); box-shadow:0 0 0 4px rgba(226,48,71,.25); }

.hero p.lead{ color:#cdd9f2; max-width:36ch; }

.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin:30px 0 22px; }

.hero-trust{ display:flex; flex-wrap:wrap; gap:8px 18px; font-size:.86rem; color:#aec0e6; font-weight:600; }

.hero-trust span{ display:inline-flex; align-items:center; gap:7px; }

.hero-trust svg{ width:16px; height:16px; stroke:var(--red-bright); }

.hero-visual{ position:relative; }

.hero-card{ background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-lg); overflow:hidden; }

.hero-card img{ width:100%; height:340px; object-fit:cover; }

.hero-stat{ position:absolute; background:#fff; border-radius:14px; box-shadow:var(--shadow-lg); padding:16px 20px; display:flex; align-items:center; gap:13px; }

.hero-stat .num{ font-family:var(--font-display); font-size:1.9rem; font-weight:700; color:var(--navy); line-height:1; }

.hero-stat .lbl{ font-size:.78rem; color:var(--ink-soft); font-weight:600; line-height:1.2; }

.hero-stat--a{ bottom:-22px; left:-22px; }

.hero-stat--b{ top:-22px; right:-18px; }

.hero-stat .ic{ width:40px; height:40px; border-radius:10px; background:rgba(200,16,46,.10); display:grid; place-items:center; }

.hero-stat .ic svg{ width:22px; height:22px; stroke:var(--red); }

/* ---------- page hero (inner) ---------- */
.page-hero{ background:linear-gradient(150deg,var(--navy-900),var(--navy)); color:#fff; padding:clamp(70px,9vw,118px) 0 clamp(48px,6vw,80px); overflow:hidden; }

.page-hero h1{ color:#fff; max-width:18ch; }

.page-hero p{ color:#cdd9f2; max-width:60ch; font-size:1.12rem; }

.breadcrumb{ font-size:.82rem; color:#9fb2da; margin-bottom:18px; font-weight:600; }

.breadcrumb a{ color:#cdd9f2; }

.breadcrumb a:hover{ color:#fff; }

/* ---------- cards / grids ---------- */
.grid{ display:grid; gap:24px; }

.grid-2{ grid-template-columns:repeat(2,1fr); }

.grid-3{ grid-template-columns:repeat(3,1fr); }

.grid-4{ grid-template-columns:repeat(4,1fr); }

.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm); transition:transform .25s var(--motion-ease,ease),box-shadow .25s ease,border-color .25s; }

.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:#cdd8ee; }

.card .ic{ width:54px; height:54px; border-radius:13px; display:grid; place-items:center; background:linear-gradient(140deg,var(--navy),var(--navy-600)); margin-bottom:18px; }

.card .ic svg{ width:27px; height:27px; stroke:#fff; }

.card.red .ic{ background:linear-gradient(140deg,var(--red),var(--red-600)); }

.card h3{ margin-bottom:8px; }

.card p{ margin-bottom:0; font-size:.98rem; }

.card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:700; color:var(--red); font-size:.95rem; }

.card-link svg{ width:16px; height:16px; transition:transform .2s; }

.card:hover .card-link svg{ transform:translateX(4px); }

/* who-we-serve chips */
.serve-card{ text-align:center; padding:28px 22px; }

.serve-card .ic{ margin:0 auto 16px; }

/* split feature */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center; }

.split img{ border-radius:var(--radius); box-shadow:var(--shadow); width:100%; height:100%; max-height:460px; object-fit:cover; }

.split-media{ position:relative; }

.badge-float{ position:absolute; right:-16px; bottom:-16px; background:#fff; border-radius:14px; box-shadow:var(--shadow-lg); padding:14px 18px; display:flex; gap:11px; align-items:center; }

.badge-float .num{ font-family:var(--font-display); font-weight:700; color:var(--red); font-size:1.5rem; line-height:1; }

.badge-float .lbl{ font-size:.76rem; color:var(--ink-soft); font-weight:600; }

.check-list{ list-style:none; padding:0; margin:18px 0 0; display:grid; gap:13px; }

.check-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--ink); font-weight:500; }

.check-list svg{ width:22px; height:22px; flex:0 0 22px; stroke:#fff; background:var(--red); border-radius:50%; padding:4px; margin-top:2px; }

/* service detail blocks */
.svc-block{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:34px; box-shadow:var(--shadow-sm); }

.svc-block h2{ font-size:1.5rem; margin-bottom:6px; }

.svc-tag{ font-size:.74rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--red); }

.svc-cols{ columns:2; column-gap:32px; }

.svc-cols .check-list{ margin-top:8px; }

@media(max-width:640px){ .svc-cols{ columns:1; } }

/* stats band */
.stats-band{ background:var(--navy-900); color:#fff; }

.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }

.stat .num{ font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3rem); font-weight:700; color:#fff; line-height:1; }

.stat .num em{ color:var(--red-bright); font-style:normal; }

.stat .lbl{ color:#aebfe2; font-size:.92rem; margin-top:8px; font-weight:600; }

/* reviews */
.review-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; height:100%; }

.stars{ display:flex; gap:3px; margin-bottom:14px; }

.stars svg{ width:19px; height:19px; fill:var(--star); }

.review-card p{ color:var(--ink); font-size:1.02rem; }

.review-meta{ display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:16px; }

.avatar{ width:44px; height:44px; border-radius:50%; background:linear-gradient(140deg,var(--navy),var(--red)); color:#fff; display:grid; place-items:center; font-weight:800; font-family:var(--font-display); }

.review-meta .nm{ font-weight:700; color:var(--navy-900); font-size:.95rem; }

.review-meta .role{ font-size:.82rem; color:var(--muted); }

/* CTA band */
.cta-band{ background:linear-gradient(135deg,var(--navy-900),var(--navy) 60%,var(--red-600)); color:#fff; overflow:hidden; text-align:center; }

.cta-band h2{ color:#fff; max-width:20ch; margin-inline:auto; }

.cta-band p{ color:#d9e2f6; max-width:54ch; margin:0 auto 26px; font-size:1.12rem; }

.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* seasonal strip */
.season-strip{ background:var(--red); color:#fff; }

.season-strip .container{ display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; padding-block:16px; text-align:center; }

.season-strip strong{ font-family:var(--font-display); font-size:1.15rem; }

.season-strip a{ color:#fff; text-decoration:underline; font-weight:700; white-space:nowrap; }

/* about */
.about-portrait{ border-radius:var(--radius); box-shadow:var(--shadow-lg); width:100%; max-width:380px; }

.cred-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:8px; }

.cred{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:18px 20px; display:flex; gap:13px; align-items:center; box-shadow:var(--shadow-sm); }

.cred .ic{ width:42px; height:42px; border-radius:10px; background:rgba(16,44,114,.08); display:grid; place-items:center; flex:0 0 42px; }

.cred .ic svg{ width:22px; height:22px; stroke:var(--navy); }

.cred .t{ font-weight:700; color:var(--navy-900); font-size:.96rem; line-height:1.2; }

.cred .s{ font-size:.82rem; color:var(--muted); }

.value-card{ padding:28px; }

.value-card .n{ font-family:var(--font-display); font-size:2rem; color:var(--red); font-weight:700; }

/* booking */
.book-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:start; }

.book-widget{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:30px; }

.book-placeholder{ border:2px dashed #c5d0e6; border-radius:var(--radius-sm); background:linear-gradient(180deg,#f8faff,#eef3fb); padding:46px 24px; text-align:center; color:var(--muted); }

.book-placeholder .ic{ width:58px; height:58px; border-radius:14px; background:rgba(16,44,114,.08); display:grid; place-items:center; margin:0 auto 16px; }

.book-placeholder .ic svg{ width:30px; height:30px; stroke:var(--navy); }

.expect-list{ list-style:none; padding:0; margin:0; display:grid; gap:18px; }

.expect-list li{ display:flex; gap:16px; align-items:flex-start; }

.expect-list .step{ flex:0 0 38px; width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff; font-weight:800; display:grid; place-items:center; font-family:var(--font-display); }

.expect-list .t{ font-weight:700; color:var(--navy-900); }

.book-trust{ background:var(--navy-900); color:#fff; border-radius:var(--radius); padding:28px; margin-top:24px; }

.book-trust p{ color:#cdd9f2; }

.book-trust .pull{ font-family:var(--font-display); font-size:1.15rem; color:#fff; border-left:3px solid var(--red); padding-left:16px; }

/* forms */
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:34px; }

.field{ margin-bottom:18px; }

.field label{ display:block; font-weight:700; color:var(--navy-900); font-size:.92rem; margin-bottom:7px; }

.field label .req{ color:var(--red); }

.field input,.field select,.field textarea{ width:100%; font-family:var(--font-body); font-size:1rem; color:var(--ink); padding:13px 15px; border:1.5px solid var(--line); border-radius:11px; background:#fcfdff; transition:border-color .2s,box-shadow .2s; }

.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--navy); box-shadow:0 0 0 4px rgba(16,44,114,.12); }

.field textarea{ min-height:130px; resize:vertical; }

.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }

.form-note{ font-size:.84rem; color:var(--muted); margin-top:6px; }

/* contact info cards */
.info-card{ display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:22px; box-shadow:var(--shadow-sm); }

.info-card .ic{ width:46px; height:46px; border-radius:11px; background:rgba(200,16,46,.09); display:grid; place-items:center; flex:0 0 46px; }

.info-card .ic svg{ width:23px; height:23px; stroke:var(--red); }

.info-card .t{ font-weight:700; color:var(--navy-900); margin-bottom:2px; }

.info-card a,.info-card span{ color:var(--ink-soft); }

.map-embed{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); min-height:320px; background:linear-gradient(180deg,#eef3fb,#e3ebf7); display:grid; place-items:center; color:var(--muted); text-align:center; padding:30px; }

/* areas served */
.areas{ display:flex; flex-wrap:wrap; gap:10px; }

.area-pill{ background:#fff; border:1px solid var(--line); border-radius:999px; padding:9px 18px; font-weight:600; font-size:.92rem; color:var(--navy-900); }

.area-pill.primary{ background:var(--navy); color:#fff; border-color:var(--navy); }

/* footer */
.footer{ background:var(--navy-900); color:#aebfe2; padding:64px 0 28px; }

.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:36px; }

.footer h4{ color:#fff; font-family:var(--font-body); font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:18px; }

.footer a{ color:#aebfe2; display:block; margin-bottom:10px; font-size:.95rem; }

.footer a:hover{ color:#fff; }

.footer .brand-foot img{ height:88px; background:#fff; padding:12px 16px; border-radius:12px; margin-bottom:16px; }

.footer .desc{ font-size:.92rem; color:#9fb2da; max-width:32ch; }

.footer .nap{ font-size:.92rem; line-height:1.8; color:#cdd9f2; }

.footer .nap strong{ color:#fff; }

.foot-cred{ font-size:.8rem; color:#7f93bd; }

.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:46px; padding-top:22px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.84rem; color:#7f93bd; }

.footer-bottom a{ display:inline; margin:0; }

.foot-legal a{ color:#aebfe2; }

.foot-legal a:hover{ color:#fff; }

/* policy / legal pages */
.legal-body h2{ font-size:1.3rem; margin-top:1.6em; }

.legal-body p:first-child{ margin-top:0; }

/* misc */
.disclaimer{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:14px 18px; font-size:.86rem; color:#cdd9f2; display:inline-flex; gap:10px; align-items:center; }

.disclaimer svg{ width:18px; height:18px; stroke:var(--red-bright); flex:0 0 18px; }

.tax-note{ background:#fff7e6; border:1px solid #f3dca0; border-radius:12px; padding:16px 18px; font-size:.92rem; color:#6a5316; display:flex; gap:11px; align-items:flex-start; }

.tax-note svg{ width:20px; height:20px; stroke:#b5851a; flex:0 0 20px; margin-top:2px; }

/* marquee recolor override (higher specificity than motion.css) */
.marquee.marquee--accent{ background:linear-gradient(90deg,var(--red),var(--red-600)); }

.marquee.marquee--accent .mq-item{ color:#fff; }

/* ---------- responsive ---------- */
@media(max-width:980px){
  .hero .hero-grid{ grid-template-columns:1fr; gap:48px; }
  .hero-visual{ max-width:520px; }
  .split,.book-grid{ grid-template-columns:1fr; gap:34px; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:34px; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:30px; }
}

@media(max-width:860px){
  .nav-toggle{ display:block; }
  body.nav-open .nav{ z-index:9600; }            /* lift header (and its panel) above the scrim */
  .nav-links{
    position:fixed; top:0; right:0; bottom:0; height:100dvh; width:min(88vw,360px);
    flex-direction:column; align-items:stretch; justify-content:flex-start;
    background:#fff; padding:96px 26px 32px; gap:0; margin:0;
    transform:translateX(100%); transition:transform .35s var(--motion-ease,ease);
    box-shadow:-18px 0 60px rgba(8,26,69,.28); z-index:9500; overflow-y:auto;
  }
  .nav-links.open{ transform:none; }
  .nav-links li{ width:100%; }
  .nav-links a:not(.btn){
    display:block; width:100%; font-size:1.18rem; font-weight:600; color:var(--navy-900);
    padding:18px 4px; border-bottom:1px solid var(--line-soft);
  }
  .nav-links a:not(.btn)::after{ display:none; }
  .nav-links a.active{ color:var(--red); }
  .nav-links li:last-child{ margin-top:22px; }
  .nav-links a.btn{ width:100%; justify-content:center; padding:17px 22px; font-size:1.05rem; margin-top:6px; }
  .nav-cta .nav-phone{ display:none; }
  body.nav-open{ overflow:hidden; }
  /* accordion dropdowns inside the mobile panel */
  .nav-top{ width:100%; justify-content:space-between; padding:18px 4px; font-size:1.18rem; color:var(--navy-900); border-bottom:1px solid var(--line-soft); }
  .nav-top .chev{ width:18px; height:18px; }
  .mega,.dd{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; border-radius:0; padding:4px 0 10px 12px; width:auto; max-width:none; display:none; }
  .mega{ grid-template-columns:1fr; gap:0; }
  .has-mega.open .mega,.has-dd.open .dd{ display:block; }
  .has-mega.open .chev,.has-dd.open .chev{ transform:rotate(180deg); }
  .mega a,.dd a{ font-size:1.02rem; padding:12px 8px; border-bottom:1px solid var(--line-soft); }
  .mega-h,.dd-h{ margin-top:8px; }
  .mega-col{ gap:0; }
}

@media(max-width:600px){
  .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .cred-grid{ grid-template-columns:1fr; }
  .hero-stat--a{ left:0; } .hero-stat--b{ right:0; }
  section{ padding:52px 0; }
  .brand img{ height:52px; }
}

/* ── ThemePort blog/utility templates (namespaced, no collision with site CSS) ── */
.tp-container { max-width: 1160px; margin: 0 auto; padding: 0 28px; width: 100%; }
.tp-page-hero { background: #081A45; padding: 88px 0 56px; }
.tp-page-hero h1 { color: #fff; font-family: 'Georgia', serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0; }
.tp-page-hero .tp-meta { color: rgba(255,255,255,.75); margin: 12px 0 0; }
.tp-section { padding: 64px 0; }
.tp-content { max-width: 820px; }
.tp-content p, .tp-content ul, .tp-content ol { margin: 0 0 1.2em; }
.tp-content h2, .tp-content h3 { font-family: 'Georgia', serif; color: #081A45; margin: 1.6em 0 .6em; line-height: 1.25; }
.tp-content img, .tp-featured { max-width: 100%; height: auto; border-radius: 8px; margin: 0 0 1.4em; }
.tp-policy { max-width: 900px; width: 100%; }
.tp-policy h2, .tp-policy h3 { font-family: 'Georgia', serif; color: #081A45; margin: 1.6em 0 .6em; }
.tp-policy p, .tp-policy ul { margin: 0 0 1.1em; }
.tp-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.tp-post-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 24px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.tp-post-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }
.tp-post-card h2 { font-family: 'Georgia', serif; font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; }
.tp-post-card h2 a { color: #081A45; text-decoration: none; }
.tp-meta { color: rgba(0,0,0,.5); font-size: .85rem; margin: 0 0 10px; }
.tp-readmore { color: #C8102E; font-weight: 700; text-decoration: none; }
.tp-pagination { margin-top: 40px; text-align: center; }
.tp-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; color: #081A45; text-decoration: none; }
.tp-pagination .page-numbers.current { background: #081A45; color: #fff; }
