/* ============================================================
   ANNCO CONSULTING LLC — Main Stylesheet v3
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #172542;
  --navy-dark:   #1D2747;
  --teal:        #0FBCA6;
  --teal-vivid:  #21C4B5;
  --coral:       #EC8267;
  --coral-warm:  #F57E59;
  --off-white:   #F7F8FA;
  --cool-gray:   #E5E7EB;
  --slate:       #4B5563;
  --charcoal:    #111827;
  --white:       #ffffff;

  --gradient-light-teal:  linear-gradient(135deg, #e8faf8 0%, #d0f5f0 60%, #edf9f7 100%);
  --gradient-light-coral: linear-gradient(135deg, #fef3ef 0%, #fde8e0 60%, #fef3ef 100%);
  --gradient-light-brand: linear-gradient(135deg, #edf9f7 0%, #fef3ef 55%, #edf9f7 100%);
  --gradient-hero:        linear-gradient(135deg, #172542 0%, #1D2747 60%, #163040 100%);
  --gradient-teal:        linear-gradient(135deg, #0FBCA6 0%, #21C4B5 100%);
  --gradient-coral:       linear-gradient(135deg, #EC8267 0%, #F57E59 100%);
  --gradient-card:        linear-gradient(145deg, #1a2d4f 0%, #0e1e38 100%);

  --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --nav-h: 84px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 999px;
  --shadow-sm:  0 2px 8px rgba(23,37,66,.06);
  --shadow-md:  0 4px 20px rgba(23,37,66,.10);
  --shadow-lg:  0 8px 40px rgba(23,37,66,.14);
  --shadow-xl:  0 16px 60px rgba(23,37,66,.18);
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 220ms;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); font-size: 16px; line-height: 1.6; color: var(--charcoal); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input,textarea,select { font-family: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   NAVIGATION — Glassy, increased top padding, fixed hamburger
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(229,231,235,.4);
  transition: box-shadow var(--dur) var(--ease), background 300ms var(--ease);
}
.site-nav.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 32px rgba(23,37,66,.10);
}

.nav-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 100%; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--slate);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--navy); background: rgba(15,188,166,.08); }
.nav-links a.active { color: var(--teal); font-weight: 600; background: rgba(15,188,166,.06); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a svg { transition: transform var(--dur) var(--ease); }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
  border: 1px solid var(--cool-gray); padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; font-size: 14px; color: var(--slate);
  padding: 9px 14px; border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--navy); }

/* Right-side actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-track {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--teal);
  padding: 8px 18px; border: 1.5px solid var(--teal);
  border-radius: var(--radius-pill); cursor: pointer;
  transition: all var(--dur) var(--ease); background: transparent;
  white-space: nowrap;
}
.btn-track:hover { background: var(--teal); color: var(--white); }
.nav-cta-btn { display: none; }

/* Hamburger button */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px; padding: 10px;
  cursor: pointer; border-radius: var(--radius-sm);
  background: transparent; border: 1.5px solid var(--cool-gray);
  position: relative; z-index: 1002; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-hamburger span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; pointer-events: none;
  transition: transform 300ms var(--ease), opacity 220ms var(--ease), width 220ms var(--ease), background 220ms var(--ease);
  transform-origin: center;
}
/* Idle: third bar slightly shorter for visual interest */
.nav-hamburger:not(.open) span:nth-child(3) { width: 14px; }
/* Open → X */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--teal); width: 20px; }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--teal); width: 20px; }
.nav-hamburger:hover { background: rgba(15,188,166,.06); border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,188,166,.1); }
.nav-hamburger:hover span { background: var(--teal); width: 20px; }
.nav-hamburger.open { background: rgba(15,188,166,.06); border-color: var(--teal); }

/* Mobile Menu — slide-in panel with accordion services */
.mobile-menu {
  display: block;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;           /* below hamburger (1002) and backdrop (998 is handled via JS) */
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;     /* keeps it fully inert (no focus trapping) while closed */
  pointer-events: none;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease), visibility 0s linear 300ms;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease), visibility 0s linear 0s;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  /* No bottom padding needed — sticky CTA bar sits at the bottom naturally */
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--cool-gray);
}
.mobile-menu-inner::-webkit-scrollbar { width: 4px; }
.mobile-menu-inner::-webkit-scrollbar-track { background: var(--off-white); }
.mobile-menu-inner::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* Primary link rows */
.mobile-nav { display: flex; flex-direction: column; padding: 6px 0; }

.mobile-nav-link {
  display: flex; align-items: center; gap: 14px; width: 100%;
  font-size: 15.5px; font-weight: 500; color: var(--navy);
  padding: 14px 24px;
  border: none; background: transparent;
  border-bottom: 1px solid rgba(229,231,235,.5);
  text-align: left; cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), padding-left 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-link:hover { background: rgba(15,188,166,.05); color: var(--teal); padding-left: 30px; }
.mobile-nav-link.active {
  color: var(--teal); font-weight: 600;
  background: rgba(15,188,166,.06);
  border-left: 3px solid var(--teal);
  padding-left: 21px;
}
.mobile-nav-link.active:hover { padding-left: 21px; }

.mobile-nav-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  opacity: .55; transition: opacity 200ms var(--ease);
}
.mobile-nav-link:hover .mobile-nav-icon,
.mobile-nav-link.active .mobile-nav-icon { opacity: 1; }

/* Services accordion toggle */
.mobile-accordion-toggle { position: relative; }
.mobile-accordion-chevron {
  width: 16px; height: 16px; margin-left: auto; flex-shrink: 0;
  opacity: .5; transition: transform 280ms var(--ease), opacity 200ms var(--ease);
}
.mobile-accordion-toggle[aria-expanded="true"] .mobile-accordion-chevron {
  transform: rotate(180deg); opacity: 1;
}
.mobile-accordion-toggle[aria-expanded="true"] {
  color: var(--teal); background: rgba(15,188,166,.06); font-weight: 600;
}

/* Accordion sub-panel */
.mobile-accordion-panel {
  max-height: 0; overflow: hidden;
  background: var(--off-white);
  transition: max-height 320ms var(--ease);
}
.mobile-accordion-panel.open { max-height: 600px; }

/* Sub-links */
.mobile-sub-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--slate);
  padding: 12px 24px 12px 44px;
  border-bottom: 1px solid rgba(229,231,235,.4);
  transition: background 200ms var(--ease), color 200ms var(--ease), padding-left 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mobile-sub-link svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .5; transition: opacity 200ms var(--ease); }
.mobile-sub-link:hover { background: rgba(15,188,166,.07); color: var(--teal); padding-left: 48px; }
.mobile-sub-link:hover svg { opacity: .9; }
.mobile-sub-link.active {
  color: var(--teal); font-weight: 600;
  background: rgba(15,188,166,.08);
  border-left: 3px solid var(--teal);
  padding-left: 41px;
}

/* Divider */
.mobile-menu-divider { height: 1px; background: var(--cool-gray); margin: 4px 0; }

/* CTA bar — anchored to the bottom of the menu panel.
   sticky + margin-top:auto keeps it at the bottom of the flex column;
   it scrolls with the content on very short viewports but always
   sticks to the bottom when there is room — no fixed-inside-fixed iOS bug. */
.mobile-cta-row {
  position: sticky;
  bottom: 0;
  margin-top: auto;           /* pushes bar to bottom when content is short */
  padding: 14px 20px max(20px, env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--cool-gray);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 2;                 /* above scrolled nav links */
  box-shadow: 0 -4px 20px rgba(23,37,66,.08);
  flex-shrink: 0;
}
.mobile-cta-btn {
  justify-content: center; font-size: 14.5px; padding: 13px 20px; gap: 8px;
}
.mobile-cta-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.mobile-track-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  border: 1.5px solid var(--cool-gray);
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  background: var(--off-white);
  transition: all var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mobile-track-btn svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .65; transition: opacity var(--dur) var(--ease); }
.mobile-track-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.mobile-track-btn:hover svg { opacity: 1; }

/* Legacy compat */
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; padding: 13px 28px;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: all var(--dur) var(--ease); cursor: pointer;
  white-space: nowrap; letter-spacing: -.1px;
}
.btn-sm { font-size: 13.5px; padding: 9px 22px; }
.btn-lg { font-size: 16px; padding: 16px 38px; }

.btn-primary { background: var(--gradient-teal); color: var(--white); box-shadow: 0 4px 16px rgba(15,188,166,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,188,166,.4); }
.btn-secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-coral { background: var(--gradient-coral); color: var(--white); box-shadow: 0 4px 16px rgba(236,130,103,.3); }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(236,130,103,.4); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn-white { background: var(--white); color: var(--navy); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--cool-gray); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ============================================================
   HERO — homepage
   ============================================================ */
.hero {
  min-height: 94vh; padding-top: var(--nav-h);
  background: var(--gradient-hero);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%230FBCA6' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-main { flex: 1; display: flex; align-items: center; position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 80px 0 60px; }
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,188,166,.15); border: 1px solid rgba(15,188,166,.3);
  color: var(--teal-vivid); font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 24px;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-vivid); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero h1 { font-size: clamp(32px,4vw,54px); font-weight: 800; line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 22px; color: var(--white); }
.hero h1 .accent { color: var(--teal-vivid); }
.hero p { font-size: 17px; color: rgba(255,255,255,.78); line-height: 1.72; margin-bottom: 36px; max-width: 490px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero video background */
.hero-video { background: var(--navy); }
.hero-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(23,37,66,.82) 0%, rgba(23,37,66,.65) 55%, rgba(15,48,64,.75) 100%); }
.hero-content-centered { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; text-align: center; padding: 100px 0 72px; }
.hero-text-centered { max-width: 760px; margin: 0 auto; }
.hero-text-centered p { max-width: 600px; margin: 0 auto 36px; }
.hero-text-centered .hero-actions { justify-content: center; }

/* Hero image (used on non-video pages) */
.hero-image { position: relative; }
.hero-img-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.35); aspect-ratio: 4/3; position: relative; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,188,166,.1) 0%, transparent 50%); pointer-events: none; }
.hero-image-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 4/3; border-radius: var(--radius-xl); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); }

/* Trust bar */
.trust-bar { background: rgba(0,0,0,.2); border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; position: relative; z-index: 1; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500; }
.trust-item svg { width: 16px; height: 16px; color: var(--teal-vivid); flex-shrink: 0; }

/* ============================================================
   PAGE HERO — inner pages
   Strategy: .page-hero is a RELATIVE stacking context.
   .page-hero-bg is position:absolute and covers the full area.
   .container is a normal block child that sits IN FRONT via z-index.
   ============================================================ */
.page-hero {
  position: relative;          /* stacking context for absolute children */
  overflow: hidden;
  min-height: 480px;           /* guarantees the bg image is visible even on short content */
  background: var(--gradient-hero);  /* fallback while image loads */
  /* display:flex was REMOVED — it caused text to slip below the hero image */
}

/* Background image layer — fills the whole section absolutely */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-hero-bg img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
/* Dark gradient overlay — stronger at bottom so text pops */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,25,50,.60) 0%,
    rgba(15,25,50,.78) 45%,
    rgba(10,20,45,.94) 100%
  );
  z-index: 1;
}

/* Content container — sits above image via z-index, NOT absolute */
.page-hero > .container {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
}

/* Inner content wrapper — text-align only, NO extra padding */
.page-hero-content {
  text-align: center;
  /* padding removed — parent container already handles spacing */
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; margin-bottom: 20px;
  color: rgba(255,255,255,.8);
}
.breadcrumb a { color: rgba(255,255,255,.8); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--teal-vivid); }
.breadcrumb svg { width: 14px; height: 14px; }

/* H1 — always white, always on top of the dark overlay */
.page-hero h1,
.page-hero-content h1 {
  font-size: clamp(30px,3.8vw,52px);
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.14;
  text-shadow: 0 3px 28px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.5);
}
/* Brand-colour accent — wrap key words in <span class="hero-accent"> */
.page-hero .hero-accent,
.page-hero-content .hero-accent {
  color: var(--teal-vivid) !important;
  text-shadow: 0 2px 20px rgba(15,188,166,.45);
}
.page-hero .hero-accent-coral,
.page-hero-content .hero-accent-coral {
  color: #ffb49a !important;   /* softened coral — readable on dark bg */
  text-shadow: 0 2px 20px rgba(236,130,103,.4);
}

/* Sub-paragraph */
.page-hero p,
.page-hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,.90) !important;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.78;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

.page-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  font-size: 11.5px; font-weight: 700; color: var(--teal);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: inline-block; width: 22px; height: 2.5px; background: var(--gradient-teal); border-radius: 2px; }
.section-title { font-size: clamp(24px,2.8vw,40px); font-weight: 800; color: var(--navy); letter-spacing: -.8px; line-height: 1.18; margin-bottom: 16px; }
.section-subtitle { font-size: 16.5px; color: var(--slate); line-height: 1.72; max-width: 620px; margin-bottom: 52px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }
.section-header.center .section-subtitle { margin: 0 auto 52px; }

.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-light-teal { background: var(--gradient-light-teal); }
.bg-light-brand { background: var(--gradient-light-brand); }

/* ============================================================
   CARDS
   ============================================================ */
.service-cards { display: grid; gap: 24px; }
.service-cards-2 { grid-template-columns: repeat(2,1fr); }
.service-cards-3 { grid-template-columns: repeat(3,1fr); }

.service-card {
  background: var(--white); border: 1px solid var(--cool-gray);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(15,188,166,.25); }
.service-card.tint-teal { background: linear-gradient(145deg,#fff 55%,#edf9f7 100%); }
.service-card.tint-coral { background: linear-gradient(145deg,#fff 55%,#fef3ef 100%); }

.service-card-icon { width: 54px; height: 54px; border-radius: var(--radius-md); background: rgba(15,188,166,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card-icon svg { width: 26px; height: 26px; color: var(--teal); }
.service-card-icon.coral { background: rgba(236,130,103,.1); }
.service-card-icon.coral svg { color: var(--coral); }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -.2px; }
.service-card p { font-size: 14.5px; color: var(--slate); line-height: 1.65; }

.service-card.dark { background: var(--gradient-card); border-color: rgba(255,255,255,.06); }
.service-card.dark h3 { color: var(--white); }
.service-card.dark p { color: rgba(255,255,255,.65); }

/* Service card with image */
.service-card-img-wrap { height: 160px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; position: relative; }
.service-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.service-card:hover .service-card-img-wrap img { transform: scale(1.06); }
.service-card-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(23,37,66,.35) 100%); }

.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); margin-top: 20px; transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.card-link:hover { gap: 10px; color: var(--teal-vivid); }
.card-link svg { width: 16px; height: 16px; }
.service-card.dark .card-link { color: var(--teal-vivid); }

/* Audience Cards */
.audience-cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.audience-card {
  background: var(--white); border: 1px solid var(--cool-gray);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.audience-card .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.audience-card .icon svg { width: 28px; height: 28px; color: var(--white); }
.audience-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.audience-card p { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* Feature items */
.feature-list { display: grid; gap: 20px; }
.feature-list-2 { grid-template-columns: repeat(2,1fr); }
.feature-list-3 { grid-template-columns: repeat(3,1fr); }
.feature-item { display: flex; gap: 16px; padding: 24px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--cool-gray); transition: box-shadow var(--dur) var(--ease); }
.feature-item:hover { box-shadow: var(--shadow-md); }
.feature-item .icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--radius-sm); background: rgba(15,188,166,.1); display: flex; align-items: center; justify-content: center; }
.feature-item .icon svg { width: 20px; height: 20px; color: var(--teal); }
.feature-item h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--slate); line-height: 1.62; }

/* ============================================================
   9-STEP PROCESS — animated, staggered
   ============================================================ */
.process-9-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: steps; }

.process-step-card {
  background: var(--white); border: 1px solid var(--cool-gray);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  position: relative; overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.process-step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-teal); transform: scaleX(0); transform-origin: left;
  transition: transform 380ms var(--ease);
}
.process-step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: rgba(15,188,166,.3); }
.process-step-card:hover::before { transform: scaleX(1); }
.process-step-card.coral-accent::before { background: var(--gradient-coral); }
.process-step-card.coral-accent:hover { border-color: rgba(236,130,103,.3); }

.step-num-badge {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--gradient-teal); color: var(--white);
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(15,188,166,.35);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.process-step-card:hover .step-num-badge { transform: scale(1.12); box-shadow: 0 6px 22px rgba(15,188,166,.45); }
.process-step-card.coral-accent .step-num-badge { background: var(--gradient-coral); box-shadow: 0 4px 14px rgba(236,130,103,.35); }
.process-step-card.coral-accent:hover .step-num-badge { box-shadow: 0 6px 22px rgba(236,130,103,.45); }
.step-card-text h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-card-text p { font-size: 13.5px; color: var(--slate); line-height: 1.62; }

/* Reveal animation for process cards */
.reveal-card { opacity: 0; transform: translateY(32px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
.reveal-card.visible { opacity: 1; transform: translateY(0); }
.reveal-card.visible:hover { transform: translateY(-5px) !important; }

/* Simple 5-step for homepage summary */
.process-steps-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.process-steps-5::before { content: ''; position: absolute; top: 28px; left: calc(10% + 28px); right: calc(10% + 28px); height: 2px; background: linear-gradient(90deg,var(--teal),var(--teal-vivid)); opacity: .2; }
.process-step { text-align: center; padding: 0 12px; }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-teal); color: var(--white); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(15,188,166,.35); position: relative; z-index: 1; transition: transform 300ms var(--ease); }
.process-step:hover .step-number { transform: scale(1.1); }
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--cool-gray); border-radius: var(--radius-lg); padding: 32px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: var(--coral); color: var(--coral); }
.testimonial-card blockquote { font-size: 15px; color: var(--slate); line-height: 1.72; font-style: italic; margin-bottom: 20px; quotes: "\201C" "\201D"; }
.testimonial-card blockquote::before { content: open-quote; font-size: 28px; color: var(--teal); line-height: 0; vertical-align: -10px; margin-right: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-teal); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.author-info .name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-info .role { font-size: 12.5px; color: var(--slate); }

/* ============================================================
   CTA BAND — Light brand gradient
   ============================================================ */
.cta-band {
  background: var(--gradient-light-brand);
  padding: 88px 0; text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(15,188,166,.15);
  border-bottom: 1px solid rgba(15,188,166,.1);
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%230FBCA6' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(24px,3vw,40px); font-weight: 800; color: var(--navy); letter-spacing: -.8px; margin-bottom: 16px; }
.cta-band p { font-size: 17px; color: var(--slate); margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.72; }
.cta-band .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Slogan bar */
.slogan-bar { background: var(--off-white); border-top: 1px solid var(--cool-gray); border-bottom: 1px solid var(--cool-gray); padding: 16px 0; }
.slogan-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.slogan-item { font-size: 12px; font-weight: 700; color: var(--slate); letter-spacing: 1.8px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.slogan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ============================================================
   STATS
   ============================================================ */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--cool-gray); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--cool-gray); }
.stat-item { background: var(--white); padding: 36px 24px; text-align: center; }
.stat-num { font-size: 42px; font-weight: 800; color: var(--teal); letter-spacing: -2px; display: block; margin-bottom: 6px; }
.stat-label { font-size: 13.5px; color: var(--slate); font-weight: 500; }

/* ============================================================
   CONTENT BLOCKS (service detail)
   ============================================================ */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--cool-gray); }
.content-block:last-child { border-bottom: none; }
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block-text h2 { font-size: clamp(22px,2.5vw,34px); font-weight: 800; color: var(--navy); letter-spacing: -.6px; margin-bottom: 14px; line-height: 1.22; }
.content-block-text p { font-size: 15.5px; color: var(--slate); line-height: 1.78; margin-bottom: 20px; }
.bullet-list { display: flex; flex-direction: column; gap: 10px; }
.bullet-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.bullet-list li::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: rgba(15,188,166,.12); background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.293 6.293L8 12.586 5.707 10.293 4.293 11.707l4 4 .707.707.707-.707 7-7-1.414-1.414z' fill='%230FBCA6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; margin-top: 1px; }

.content-block-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; position: relative; }
.content-block-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; position: relative; background: linear-gradient(135deg, #1a2d4f 0%, #0e1e38 100%); }
.content-block-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.content-block-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.content-block-img:hover img { transform: scale(1.04); }

/* content-block-media: image panels on QuickBooks / Nonprofit pages */
.content-block-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; background: linear-gradient(145deg, var(--navy) 0%, #0e253e 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.content-block-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); display: block; }
.content-block:hover .content-block-media img { transform: scale(1.04); }

/* ============================================================
   INDUSTRY CARDS — with vibrant images
   ============================================================ */
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.industry-card {
  background: var(--white); border: 1px solid var(--cool-gray);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.industry-card-img { height: 200px; overflow: hidden; position: relative; }
.industry-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.industry-card:hover .industry-card-img img { transform: scale(1.08); }
.industry-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(23,37,66,.55) 100%); }
.industry-card-img-tag { position: absolute; bottom: 12px; left: 16px; z-index: 1; background: rgba(15,188,166,.9); color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 4px 10px; border-radius: var(--radius-pill); }
.industry-card-body { padding: 24px; }
.industry-card-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.industry-card-body p { font-size: 14px; color: var(--slate); line-height: 1.65; }
.industry-card-body .card-link { margin-top: 14px; }

/* ============================================================
   WHY CHOOSE
   ============================================================ */
.why-choose { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-item { background: var(--gradient-light-teal); border-radius: var(--radius-lg); padding: 30px; border: 1px solid rgba(15,188,166,.15); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-item .icon { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--gradient-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-item .icon svg { width: 22px; height: 22px; color: var(--white); }
.why-item h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--slate); line-height: 1.65; }

/* ============================================================
   RESOURCES / CMS Content Hub
   ============================================================ */
.resource-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; align-items: center; }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--cool-gray); color: var(--slate); background: var(--white); cursor: pointer; transition: all var(--dur) var(--ease); }
.filter-btn:hover, .filter-btn.active { border-color: var(--teal); color: var(--teal); background: rgba(15,188,166,.06); }
.filter-btn.active { background: var(--gradient-teal); color: var(--white); border-color: transparent; box-shadow: 0 4px 12px rgba(15,188,166,.3); }

.resources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.resource-card { background: var(--white); border: 1px solid var(--cool-gray); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); display: flex; flex-direction: column; }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.resource-card-header { height: 196px; position: relative; overflow: hidden; flex-shrink: 0; }
.resource-card-header img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.resource-card:hover .resource-card-header img { transform: scale(1.06); }
.resource-card-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(23,37,66,.65) 100%); }
.resource-card-cats { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.resource-cat-tag { background: rgba(15,188,166,.9); backdrop-filter: blur(4px); color: var(--white); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; padding: 4px 10px; border-radius: var(--radius-pill); }
.resource-cat-tag.coral { background: rgba(236,130,103,.9); }
.resource-cat-tag.navy { background: rgba(23,37,66,.85); }
.resource-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.resource-meta { font-size: 12px; color: var(--slate); margin-bottom: 10px; display: flex; gap: 14px; align-items: center; }
.resource-meta span { display: flex; align-items: center; gap: 4px; }
.resource-card-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.38; flex: 1; }
.resource-card-body p { font-size: 14px; color: var(--slate); line-height: 1.65; margin-bottom: 18px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.read-more:hover { gap: 10px; color: var(--teal-vivid); }
.read-more svg { width: 16px; height: 16px; }

/* Featured article */
.featured-article { background: var(--gradient-card); border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 56px; box-shadow: var(--shadow-xl); }
.featured-article-img { position: relative; min-height: 320px; }
.featured-article-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-article-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--teal-vivid); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.featured-article-body h2 { font-size: clamp(20px,2.5vw,28px); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.28; }
.featured-article-body p { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 28px; }

/* Article page */
.article-hero { position: relative; height: 420px; overflow: hidden; margin-top: var(--nav-h); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(23,37,66,.25) 0%, rgba(23,37,66,.85) 100%); }
.article-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 0; }
.article-body { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.article-body h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 40px 0 14px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.article-body p { font-size: 16.5px; color: var(--slate); line-height: 1.82; margin-bottom: 20px; }
.article-body ul { margin: 0 0 24px; }
.article-body ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--slate); line-height: 1.72; margin-bottom: 10px; }
.article-body ul li::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: rgba(15,188,166,.12); background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.293 6.293L8 12.586 5.707 10.293 4.293 11.707l4 4 .707.707.707-.707 7-7-1.414-1.414z' fill='%230FBCA6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; margin-top: 2px; }
.article-callout { background: var(--gradient-light-brand); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 20px 24px; margin: 28px 0; }
.article-callout p { margin: 0; font-size: 15.5px; color: var(--navy); font-weight: 500; font-style: italic; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--cool-gray); border-radius: var(--radius-lg); }
.contact-item .icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-md); background: rgba(15,188,166,.1); display: flex; align-items: center; justify-content: center; }
.contact-item .icon svg { width: 22px; height: 22px; color: var(--teal); }
.contact-item h4 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--slate); line-height: 1.5; }
.contact-form-card { background: var(--white); border: 1px solid var(--cool-gray); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--cool-gray); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.faq-item.open { border-color: rgba(15,188,166,.35); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; font-size: 15.5px; font-weight: 600; color: var(--navy); gap: 16px; user-select: none; }
.faq-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.faq-item.open .faq-icon { background: var(--teal); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; color: var(--slate); }
.faq-item.open .faq-icon svg { color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 380ms var(--ease); }
.faq-answer-inner { padding: 0 24px 22px; font-size: 14.5px; color: var(--slate); line-height: 1.72; }

/* ============================================================
   FOOTER — white logo, no social icons, 2026
   ============================================================ */
.site-footer { background: var(--navy); color: var(--white); }
.footer-inner { padding: 72px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .footer-logo { margin-bottom: 18px; }
.footer-brand .footer-logo img { height: 42px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.72; max-width: 280px; margin-bottom: 20px; }
.footer-trust-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-pill); padding: 4px 12px; }
.footer-col h5 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer-col ul li a:hover { color: var(--teal-vivid); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span, .footer-contact-item a { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer-contact-item a:hover { color: var(--teal-vivid); }
.footer-newsletter-desc { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 10px; line-height: 1.5; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.55); border-radius: var(--radius-pill); padding: 11px 18px; font-size: 14px; color: var(--white); outline: none; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); -webkit-appearance: none; -webkit-text-fill-color: var(--white); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.75); opacity: 1; }
.newsletter-form input:focus { border-color: var(--teal-vivid); background: rgba(255,255,255,.25); }
.newsletter-form button { background: var(--gradient-teal); color: var(--white); border-radius: var(--radius-pill); padding: 10px 20px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; white-space: nowrap; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,188,166,.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.38); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.38); transition: color var(--dur) var(--ease); }
.footer-bottom-links a:hover { color: var(--teal-vivid); }

/* ============================================================
   MODALS — working checkboxes, close behavior, file attach
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(17,24,39,.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity 250ms var(--ease), visibility 250ms var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-xl); padding: 44px 40px;
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl); position: relative;
  transform: scale(.94) translateY(24px);
  transition: transform 280ms var(--ease);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cool-gray); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); border: none;
}
.modal-close:hover { background: var(--navy); transform: rotate(90deg); }
.modal-close svg { width: 16px; height: 16px; color: var(--slate); pointer-events: none; }
.modal-close:hover svg { color: var(--white); }
.modal-header { margin-bottom: 28px; padding-right: 44px; }
.modal-badge { display: inline-block; background: rgba(15,188,166,.1); color: var(--teal); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.modal-badge.coral { background: rgba(236,130,103,.1); color: var(--coral); }
.modal-header h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.4px; }
.modal-header p { font-size: 14.5px; color: var(--slate); line-height: 1.65; }

/* Form elements */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group label .required { color: var(--coral); margin-left: 2px; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--cool-gray); border-radius: var(--radius-md); font-size: 14.5px; color: var(--charcoal); background: var(--white); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); outline: none; }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,188,166,.12); }
.form-control.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
textarea.form-control { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 12px; color: var(--slate); margin-top: 5px; line-height: 1.5; }

/* Service checkboxes — native browser checkboxes + custom styling */
.svc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-check { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1.5px solid var(--cool-gray); border-radius: var(--radius-md); cursor: pointer; font-size: 13.5px; color: var(--slate); transition: all var(--dur) var(--ease); }
.svc-check:hover { border-color: var(--teal); color: var(--navy); background: rgba(15,188,166,.04); }
.svc-check input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--teal); cursor: pointer; flex-shrink: 0; }
.svc-check:has(input:checked) { border-color: var(--teal); background: rgba(15,188,166,.06); color: var(--navy); font-weight: 600; }
.svc-check span { pointer-events: none; }

/* File upload */
.file-upload-wrap { position: relative; }
.file-upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.file-upload-btn { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1.5px dashed var(--cool-gray); border-radius: var(--radius-md); font-size: 14px; color: var(--slate); background: var(--off-white); cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.file-upload-btn:hover { border-color: var(--teal); background: rgba(15,188,166,.04); color: var(--navy); }
.file-upload-btn svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.file-name-display { font-size: 12px; color: var(--teal); margin-top: 6px; font-weight: 500; display: flex; align-items: center; gap: 6px; min-height: 18px; }

.form-submit { width: 100%; margin-top: 22px; }
.form-success { text-align: center; padding: 24px 0; display: none; }
.form-success.show { display: block; }
.success-icon { width: 68px; height: 68px; border-radius: 50%; background: rgba(15,188,166,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.success-icon svg { width: 32px; height: 32px; color: var(--teal); }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.form-success p { font-size: 15px; color: var(--slate); line-height: 1.65; margin-bottom: 8px; }
.ref-id { color: var(--teal); font-size: 17px; display: inline-block; margin: 4px 0; }

/* Track result */
.track-result {
  margin-top: 20px; padding: 24px; background: var(--off-white);
  border-radius: var(--radius-lg); border: 1px solid var(--cool-gray);
  display: none;
}
.track-result.show { display: block; }
.track-result-header { margin-bottom: 20px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.status-badge.pending { background: rgba(245,158,11,.12); color: #b45309; }
.status-badge.in-progress { background: rgba(15,188,166,.12); color: var(--teal); }
.status-badge.completed { background: rgba(34,197,94,.12); color: #15803d; }
.track-result h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.track-result p { font-size: 14px; color: var(--slate); line-height: 1.65; }
.track-progress-bar-wrap { height: 6px; background: var(--cool-gray); border-radius: 3px; margin: 16px 0 6px; overflow: hidden; }
.track-progress-bar { height: 100%; background: var(--gradient-teal); border-radius: 3px; transition: width 600ms var(--ease); }
.track-progress-label { font-size: 12px; font-weight: 600; color: var(--teal); margin-bottom: 16px; }
.track-steps-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.track-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--slate); }
.track-step-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cool-gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--white); }
.track-step.done .track-step-dot { background: var(--teal); border-color: var(--teal); color: var(--white); }
.track-step.active .track-step-dot { border-color: var(--coral); background: rgba(236,130,103,.1); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.5s infinite; }
.track-step.done .track-step-label { color: var(--navy); font-weight: 500; }
.track-step-check { color: var(--teal); font-size: 11px; font-weight: 700; margin-left: auto; }
.track-not-found { margin-top: 20px; text-align: center; padding: 28px; background: var(--off-white); border-radius: var(--radius-lg); border: 1px solid var(--cool-gray); }
.track-nf-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(236,130,103,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.track-nf-icon svg { width: 28px; height: 28px; color: var(--coral); }
.track-not-found h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.track-not-found p { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* Tags */
.tag { display: inline-flex; font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(15,188,166,.1); color: var(--teal); letter-spacing: .3px; }
.tag.coral { background: rgba(236,130,103,.1); color: var(--coral); }
.tag.navy { background: rgba(23,37,66,.1); color: var(--navy); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Admin portal */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--cool-gray); color: var(--slate); vertical-align: middle; }
.admin-table tr:hover td { background: var(--off-white); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-badge { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.admin-badge.new { background: rgba(15,188,166,.12); color: var(--teal); }
.admin-badge.in-progress { background: rgba(59,130,246,.12); color: #2563eb; }
.admin-badge.completed { background: rgba(34,197,94,.12); color: #16a34a; }
.admin-badge.pending { background: rgba(245,158,11,.12); color: #b45309; }

/* Legal pages */
.legal-body { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal-body h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--cool-gray); }
.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body p { font-size: 15.5px; color: var(--slate); line-height: 1.82; margin-bottom: 16px; }
.legal-body ul li { font-size: 15px; color: var(--slate); line-height: 1.72; margin-bottom: 8px; padding-left: 20px; position: relative; }
.legal-body ul li::before { content: '•'; color: var(--teal); position: absolute; left: 0; font-weight: 700; }
.legal-effective { display: inline-flex; align-items: center; gap: 8px; background: rgba(15,188,166,.08); color: var(--teal); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 32px; }

/* ============================================================
   ANIMATE UTILITIES
   ============================================================ */
.animate-fade-up { animation: fadeUp 600ms var(--ease) both; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 320ms; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-cta-btn { display: inline-flex; }
  .btn-track { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-cards-3 { grid-template-columns: repeat(2,1fr); }
  .feature-list-3 { grid-template-columns: repeat(2,1fr); }
  .why-choose { grid-template-columns: repeat(2,1fr); }
  .process-9-grid { grid-template-columns: repeat(2,1fr); }
  .audience-cards { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: auto; }
  .hero-main { padding: 0; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; text-align: center; }
  .hero h1 { font-size: 30px; letter-spacing: -.5px; }
  .hero p { margin: 0 auto 28px; font-size: 15.5px; }
  .hero-actions { justify-content: center; }
  .hero-image { order: -1; }

  .page-hero-bg { min-height: 360px; }
  .page-hero-content { padding: 56px 0 48px; }

  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .audience-cards { grid-template-columns: repeat(2,1fr); }
  .service-cards-2,.service-cards-3 { grid-template-columns: 1fr; }
  .feature-list-2,.feature-list-3 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-choose { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .process-9-grid { grid-template-columns: 1fr; }
  .process-steps-5 { grid-template-columns: 1fr; gap: 24px; }
  .process-steps-5::before { display: none; }
  .content-block { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .content-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .modal { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .svc-checks { grid-template-columns: 1fr; }
  .cta-band .cta-actions { flex-direction: column; align-items: center; }
  .trust-bar-inner { gap: 20px; justify-content: flex-start; }
  .slogan-bar-inner { gap: 16px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article-img { min-height: 220px; }
  .featured-article-body { padding: 28px 24px; }
  .track-steps-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .audience-cards { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-trust-badges { flex-direction: column; }
}

/* ============================================================
   SERVICES PAGE — MOBILE FIXES
   ============================================================ */

/* ── Page hero heading: scale down on small screens ── */
@media (max-width: 768px) {
  .page-hero-content h1 { font-size: 26px; letter-spacing: -.4px; line-height: 1.25; }
  .page-hero-content h1 br { display: none; }
  .page-hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .page-hero-content h1 { font-size: 22px; }
  .page-hero-bg { min-height: 300px; }
  .page-hero-content { padding: 40px 0 36px; }
}

/* ── Service cards: inline padding override → smaller on mobile ── */
@media (max-width: 768px) {
  /* Cards with hardcoded padding:40px inline style */
  .service-card[style*="padding:40px"],
  .service-card[style*="padding: 40px"] {
    padding: 24px !important;
  }

  /* Span-2 card collapses to single column */
  .service-cards-2 [style*="grid-column:span 2"],
  .service-cards-2 [style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }

  /* Nonprofit card inner flex: stack vertically */
  .service-cards-2 [style*="grid-column:span 2"] > [style*="display:flex"],
  .service-cards-2 [style*="grid-column:span 2"] > div[style*="display:flex"] {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Nonprofit card CTA buttons: reset flex-direction to row */
  .service-cards-2 [style*="grid-column:span 2"] > div > div[style*="flex-direction:column"] {
    flex-direction: row !important;
    flex-wrap: wrap;
    padding-top: 0 !important;
  }

  /* Nonprofit card two-column list → single column */
  .service-card ul[style*="columns:2"],
  .service-cards-2 ul[style*="columns:2"] {
    columns: 1 !important;
    gap: 0 !important;
  }

  /* Service card header row (icon + title) on mobile */
  .service-card [style*="display:flex"][style*="align-items:center"][style*="gap:16px"],
  .service-card [style*="display:flex"][style*="align-items:flex-start"][style*="gap:32px"] {
    gap: 14px !important;
  }

  /* Action buttons row inside service cards */
  .service-card [style*="display:flex"][style*="gap:12px"],
  .service-card [style*="display:flex"][style*="gap:10px"] {
    flex-wrap: wrap;
  }
  .service-card [style*="display:flex"][style*="gap:12px"] .btn,
  .service-card [style*="display:flex"][style*="gap:10px"] .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    justify-content: center;
  }

  /* Section header: reduce margin */
  .section-header { margin-bottom: 28px; }
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 14px; }
}

@media (max-width: 480px) {
  .service-card[style*="padding:40px"],
  .service-card[style*="padding: 40px"] {
    padding: 18px !important;
  }
  .service-card h3[style*="font-size:22px"],
  .service-card h3 { font-size: 17px !important; }
  .service-card-icon[style*="width:60px"] {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0;
  }
}

/* ── Content blocks (individual/business/tax/quickbooks/nonprofit pages) ── */
@media (max-width: 768px) {
  .content-block { gap: 28px; }
  .content-block-text h2 { font-size: 20px; }
  .content-block-text [style*="margin-top:24px"] { margin-top: 16px !important; }
  .content-block-text .btn { width: 100%; text-align: center; justify-content: center; }
  .content-block-img { border-radius: 12px; overflow: hidden; }
}

/* ── Process steps ── */
@media (max-width: 768px) {
  .process-steps .process-step { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .process-steps .step-number { flex-shrink: 0; }
}

/* ── Why choose section ── */
@media (max-width: 480px) {
  .why-item { padding: 22px 18px; }
  .why-item h4 { font-size: 15px; }
}

/* ── CTA band ── */
@media (max-width: 480px) {
  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 14px; }
  .cta-band .cta-actions { gap: 10px; }
  .cta-band .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ── Service detail pages: feature list padding ── */
@media (max-width: 480px) {
  .feature-item { padding: 18px 16px; gap: 12px; }
  .feature-item h4 { font-size: 14px; }
}

/* ── Breadcrumb wrapping ── */
@media (max-width: 480px) {
  .breadcrumb { flex-wrap: wrap; gap: 4px; font-size: 12px; }
}
