/* =====================================================================
   QB Solutions Advisor · Website 3 · "Ledger & Teal"
   Deep navy for trust, teal for growth, light grey surfaces and a muted
   gold accent for small highlights. Manrope headings, Inter body text.
   Layout helpers come from Bootstrap 5 (grid, collapse, dropdown).
   ===================================================================== */

:root {
  --navy-950: #071120;
  --navy-900: #0a1628;
  --navy-800: #10223b;
  --navy-700: #16304f;
  --navy-600: #24456b;
  --teal-700: #09665a;
  --teal-600: #0b7a6c;   /* buttons, links, icons on light backgrounds (AA on white) */
  --teal-500: #14a38f;   /* decorative */
  --teal-300: #5eead4;   /* text and icons on navy */
  --teal-100: #d3f1ea;
  --teal-50:  #ecf8f5;
  --gold:     #e9b949;
  --gold-50:  #fdf6e3;
  --red:      #c2412d;
  --ink:      #0f1b2d;
  --body:     #44546a;
  --muted:    #5d6b80;
  --line:     #e2e8f0;
  --bg-soft:  #f5f7fa;
  --white:    #ffffff;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06), 0 2px 8px rgba(10, 22, 40, .04);
  --shadow:    0 12px 32px -12px rgba(10, 22, 40, .18);
  --shadow-lg: 0 30px 60px -24px rgba(7, 17, 32, .45);
  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Base ---------- */
.q3 {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}
.q3 h1, .q3 h2, .q3 h3, .q3 h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.q3 h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); margin-bottom: .9rem; font-weight: 800; }
.q3 h3 { font-size: 1.125rem; margin-bottom: .45rem; }
.q3 .q3-h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); }
.q3 .q3-h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.q3 p { margin-bottom: 1rem; }
.q3 a { color: var(--teal-600); text-underline-offset: 3px; }
.q3 a:hover { color: var(--teal-700); }
.q3 :focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 6px; }
.q3 .container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
/* g-lg-5 rows use 24px negative margins; match them so rows never overhang the viewport */
@media (min-width: 992px) { .q3 .container { padding-left: 24px; padding-right: 24px; } }
.q3 address { margin: 0; font-style: normal; }
.q3-muted { color: var(--muted); }
.q3 [id] { scroll-margin-top: 92px; }

/* ---------- Buttons ---------- */
.q3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem; min-height: 46px;
  font: 600 .95rem/1.2 var(--font-body);
  border: 1.5px solid transparent; border-radius: 12px;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.q3-btn i { font-size: .85em; transition: transform .2s ease; }
.q3-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.q3-btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.q3 .q3-btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 122, 108, .8); }
.q3 .q3-btn-primary:hover { background: var(--teal-700); color: #fff; transform: translateY(-1px); }
.q3 .q3-btn-outline { background: #fff; color: var(--navy-900); border-color: #cbd5e1; }
.q3 .q3-btn-outline:hover { border-color: var(--teal-600); color: var(--teal-700); background: var(--teal-50); }
.q3 .q3-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.q3 .q3-btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------- Eyebrows, icons ---------- */
.q3-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem; padding: .35rem .8rem;
  font: 700 .75rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 999px;
}
.q3-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.q3-eyebrow:has(i)::before { display: none; }
.q3-eyebrow.on-dark { color: var(--teal-300); background: rgba(94, 234, 212, .08); border-color: rgba(94, 234, 212, .22); }
.q3-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--teal-50); color: var(--teal-600); font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px var(--teal-100);
}

/* ---------- Sections ---------- */
.q3-section { padding: clamp(64px, 5vw + 32px, 108px) 0; }
.q3-bg-soft { background: var(--bg-soft); }
.q3-dark { background: radial-gradient(900px 400px at 85% 0%, rgba(20, 163, 143, .16), transparent 60%), var(--navy-900); color: #b8c4d6; }
.q3-dark h2, .q3-dark h3 { color: #fff; }
.q3-head { margin-bottom: clamp(32px, 3vw, 52px); }
.q3-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.q3-dark .q3-head p { color: #b8c4d6; }
.q3-head-center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.q3-head-split { display: grid; gap: 1rem 3rem; align-items: end; }
.q3-head-split h2 { margin-bottom: 0; }
@media (min-width: 992px) { .q3-head-split { grid-template-columns: 1.1fr .9fr; } }
.q3-sticky { position: sticky; top: 104px; }

/* ---------- Utility bar ---------- */
.q3-topbar { background: var(--navy-950); color: #9fb0c6; font-size: .84rem; }
.q3-topbar .container { display: flex; align-items: center; min-height: 40px; }
.q3-topbar ul { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; margin: 0; padding: .45rem 0; list-style: none; }
.q3-topbar li { display: flex; align-items: center; gap: .5rem; }
.q3-topbar i { color: var(--teal-300); font-size: .8rem; }
.q3-topbar a { color: #dbe4ef; text-decoration: none; }
.q3-topbar a:hover { color: #fff; }
@media (max-width: 575.98px) { .q3-topbar li:nth-child(2) { display: none; } }

/* ---------- Header ---------- */
.q3-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s ease;
}
.q3-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 22, 40, .35); }
.q3-header .navbar { padding: .7rem 0; }
.q3-header .navbar-brand { padding: 0; margin-right: 1.5rem; }
.q3-header .navbar-brand img { display: block; width: auto; height: 46px; }
.q3-header .nav-link {
  position: relative; padding: .55rem .9rem !important; border: 0; background: none;
  font: 600 .94rem/1.2 var(--font-body); color: var(--navy-800); border-radius: 10px;
}
.q3-header .nav-link:hover, .q3-header .nav-link:focus-visible, .q3-header .nav-link.show { color: var(--teal-700); background: var(--teal-50); }
.q3-header .nav-link.active { color: var(--teal-700); }
.q3-header .dropdown-toggle::after { border: 0; content: "\f107"; font: 900 .7rem/1 "Font Awesome 6 Free"; vertical-align: middle; margin-left: .4rem; transition: transform .2s ease; }
.q3-header .dropdown-toggle.show::after { transform: rotate(180deg); }
.q3-nav-cta { margin-left: 1rem; padding: .62rem 1.1rem; min-height: 42px; }
.q3-dropdown {
  border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem;
  box-shadow: var(--shadow); min-width: 300px;
}
.q3-dropdown .dropdown-item {
  display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--navy-800); white-space: normal;
}
.q3-dropdown .dropdown-item .ic { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--teal-50); color: var(--teal-600); font-size: .85rem; }
.q3-dropdown .dropdown-item:hover, .q3-dropdown .dropdown-item:focus { background: var(--bg-soft); color: var(--teal-700); }
.q3-dropdown .dropdown-item.active { background: var(--teal-50); color: var(--teal-700); font-weight: 600; }
.q3-dropdown-all { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--line); }
@media (min-width: 992px) {
  .q3-dropdown { display: none; grid-template-columns: 1fr 1fr; gap: .15rem .3rem; min-width: 560px; margin-top: .6rem !important; }
  .q3-dropdown.show { display: grid; }
  .q3-dropdown-all { grid-column: 1 / -1; }
}
.q3-header .navbar-toggler {
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.q3-header .navbar-toggler:focus { box-shadow: none; }
.q3-header .navbar-toggler span { display: block; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .25s ease, opacity .2s ease; }
.q3-header .navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.q3-header .navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.q3-header .navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .q3-header .navbar-toggler { display: inline-flex; }
  .q3-header .navbar-brand img { height: 36px; }
  .q3-header .navbar-brand { margin-right: .75rem; }
  .q3-header .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; }
  .q3-header .navbar-nav { padding: .8rem 0 .4rem; gap: .15rem; }
  .q3-header .nav-link { width: 100%; text-align: left; padding: .75rem .8rem !important; }
  .q3-dropdown { box-shadow: none; border: 0; background: var(--bg-soft); margin: .2rem 0 .4rem; min-width: 0; }
  .q3-nav-cta { display: flex; width: 100%; margin: .4rem 0 .9rem; }
}

/* ---------- Home hero ---------- */
.q3-hero, .q3-v-payables .q3-shero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(700px 420px at 92% 10%, rgba(20, 163, 143, .28), transparent 62%),
    radial-gradient(600px 360px at 0% 100%, rgba(36, 69, 107, .7), transparent 70%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #c3cfde;
}
.q3-hero::before, .q3-v-payables .q3-shero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.q3-hero { padding: clamp(56px, 5vw + 24px, 96px) 0 clamp(120px, 8vw + 70px, 160px); }
.q3-hero h1, .q3-v-payables .q3-shero h1 { color: #fff; font-weight: 800; }
.q3-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.25rem; }
.q3-accent { color: var(--teal-300); background: linear-gradient(90deg, var(--teal-300), #a7f3d0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.q3-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.65; max-width: 560px; }
.q3-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.q3-hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.q3-hero-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; color: #dbe4ef; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.q3-hero-chips i { color: var(--gold); font-size: .8rem; }
@media (max-width: 575.98px) { .q3-actions .q3-btn { width: 100%; } }

/* ---------- Illustrations (HTML/SVG sample panels) ---------- */
.q3-ill { position: relative; max-width: 540px; margin: 0 auto; padding: 8px; }
.q3-mock {
  position: relative; background: #fff; color: var(--body); border-radius: 18px; padding: 20px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(226, 232, 240, .9); font-size: .86rem;
}
.q3-ill-home { padding: 24px 8px 56px; }
.q3-ill-home .q3-mock-main { transform: rotate(-1.2deg); }
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 14px; }
.mk-head b { font: 700 .98rem/1.2 var(--font-head); color: var(--ink); }
.mk-tag { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mk-kpis div { padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); min-width: 0; }
.mk-kpis small { display: block; font-size: .72rem; color: var(--muted); }
.mk-kpis b { font: 700 1rem/1.3 var(--font-head); color: var(--ink); white-space: nowrap; }
.q3-mock .up { color: var(--teal-600) !important; }
.q3-chart { display: block; width: 100%; height: auto; }
.q3-chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.q3-chart .bar { fill: #d6e3f0; }
.q3-chart .bar.hi { fill: var(--teal-500); }
.q3-chart .trend { fill: none; stroke: var(--navy-700); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.q3-chart .trend.dash { stroke: var(--teal-500); stroke-dasharray: 6 5; }
.q3-chart .budget { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 2 4; stroke-linecap: round; }
.q3-chart .dot { fill: #fff; stroke: var(--teal-600); stroke-width: 3; }
.mk-months { display: flex; justify-content: space-around; font-size: .7rem; color: var(--muted); margin-top: 4px; }
.q3-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  max-width: 250px; animation: q3-float 6s ease-in-out infinite;
}
.q3-float b { display: block; font: 700 .84rem/1.25 var(--font-head); color: var(--ink); }
.q3-float small { display: block; font-size: .74rem; color: var(--muted); }
.q3-float.f-a { left: -6px; bottom: 6px; }
.q3-float.f-b { right: -12px; top: -22px; animation-delay: -3s; }
@keyframes q3-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mk-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; font-size: .85rem; }
.mk-ic.ok { background: var(--teal-50); color: var(--teal-600); }
.mk-ic.teal { background: var(--gold-50); color: #9a6b00; }
.mk-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mk-table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mk-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.mk-table td:last-child { text-align: right; font-weight: 600; }
.mk-table td:first-child { color: var(--muted); }
.mk-table td.ok { color: var(--teal-600); }
.mk-pill { font-size: .7rem; padding: .12rem .5rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); }
.mk-foot { display: flex; align-items: center; gap: .45rem; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); font-size: .78rem; font-weight: 600; }
.mk-age { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .8rem; color: var(--ink); }
.mk-track { height: 12px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.mk-track i { display: block; height: 100%; border-radius: inherit; background: var(--teal-500); }
.mk-track i.warn { background: var(--gold); }
.mk-track i.late { background: #e08a6b; }
.mk-lines { margin: 0 0 12px; }
.mk-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mk-lines dt { font-weight: 400; color: var(--muted); }
.mk-lines dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mk-lines .tot { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 2px; }
.mk-lines .tot dt { color: var(--ink); font-weight: 700; }
.mk-recon { list-style: none; margin: 0; padding: 0; }
.mk-recon li { display: grid; grid-template-columns: 1fr auto 20px; gap: 10px; align-items: center; padding: 9px 10px; margin-bottom: 6px; border-radius: 10px; background: var(--bg-soft); color: var(--ink); }
.mk-recon b { font-weight: 600; }
.mk-recon .ok i { color: var(--teal-600); }
.mk-recon .flag { background: var(--gold-50); }
.mk-recon .flag i { color: #b7791f; }
.mk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.mk-steps li { counter-increment: s; position: relative; padding-top: 30px; text-align: center; font-size: .72rem; color: var(--muted); }
.mk-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; color: var(--muted); }
.mk-steps .done::before { content: "\2713"; background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.mk-steps .now::before { background: var(--gold-50); border-color: var(--gold); color: #8a5a00; }
.mk-steps .done, .mk-steps .now { color: var(--ink); font-weight: 600; }
.mk-sched { list-style: none; margin: 0; padding: 0; }
.mk-sched li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mk-date { font-size: .72rem; font-weight: 700; color: var(--teal-700); background: var(--teal-50); padding: .25rem .5rem; border-radius: 8px; }
.mk-person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; background: var(--bg-soft); }
.mk-person b { display: block; color: var(--ink); font-weight: 600; }
.mk-person small { color: var(--muted); }
.mk-av { width: 38px; height: 38px; border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 38%, #fff 0 22%, transparent 23%), radial-gradient(circle at 50% 100%, #fff 0 42%, transparent 43%), linear-gradient(135deg, var(--teal-500), var(--navy-700)); }
.mk-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .74rem; color: var(--muted); margin-top: 8px; }
.mk-legend span::before { content: ""; display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.mk-legend .l-act::before { background: var(--navy-700); }
.mk-legend .l-fc::before { background: var(--teal-500); }
.mk-legend .l-bud::before { background: var(--gold); }
@media (max-width: 575.98px) {
  .q3-mock { padding: 16px; }
  .q3-float { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; margin-top: 10px; max-width: none; animation: none; }
  .q3-ill-home { padding: 8px 0 0; }
  .q3-ill-home .q3-mock-main { transform: none; }
  .mk-kpis { gap: 6px; }
  .mk-kpis div { padding: 8px; }
  .mk-kpis b { font-size: .86rem; }
  .mk-table td { white-space: normal; }
}
@media (max-width: 399.98px) { .mk-table:not(.mk-grid) td:nth-child(3) { display: none; } }

/* ---------- Trust highlights (overlap the hero) ---------- */
.q3-trust { position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 4vw + 40px, 96px)); }
.q3-trust ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0;
  margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.q3-trust li { display: flex; gap: 14px; padding: 20px 22px; }
.q3-trust li + li { border-left: 1px solid var(--line); }
.q3-trust .ic { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--navy-900); color: var(--teal-300); }
.q3-trust b { display: block; font: 700 1rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 2px; }
.q3-trust span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1199.98px) {
  .q3-trust ul { grid-template-columns: 1fr 1fr; }
  .q3-trust li + li { border-left: 0; }
  .q3-trust li:nth-child(even) { border-left: 1px solid var(--line); }
  .q3-trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .q3-trust ul { grid-template-columns: 1fr; }
  .q3-trust li:nth-child(even) { border-left: 0; }
  .q3-trust li + li { border-top: 1px solid var(--line); }
  .q3-trust li { padding: 16px; }
}
.q3-trust { background: linear-gradient(transparent 0 50%, var(--bg-soft) 50%); }
.q3-home #services { padding-top: clamp(48px, 4vw + 24px, 80px); }

/* ---------- Services grid + filter ---------- */
.q3-filter { display: none; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.ax-js .q3-filter { display: flex; }
.q3-filter button {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; min-height: 42px;
  font: 600 .9rem/1.2 var(--font-body); color: var(--navy-800);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.q3-filter button span { font-size: .75rem; padding: .1rem .45rem; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.q3-filter button:hover { border-color: var(--teal-600); color: var(--teal-700); }
.q3-filter button.is-on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.q3-filter button.is-on span { background: rgba(255, 255, 255, .14); color: #fff; }
.q3-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.q3-svc {
  position: relative; display: flex; flex-direction: column; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.q3-svc[hidden] { display: none; }
.q3-svc::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--teal-500), var(--gold)); opacity: 0; transition: opacity .25s ease; }
.q3-svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.q3-svc:hover::before { opacity: 1; }
.q3-svc:hover .q3-icon { background: var(--teal-600); color: #fff; box-shadow: none; }
.q3-svc .q3-icon { transition: background-color .25s ease, color .25s ease; }
.q3-svc-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.q3-svc-group { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: right; }
.q3-svc h3 { font-size: 1.2rem; }
.q3-svc h3 a { color: var(--ink); text-decoration: none; }
.q3-svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.q3-svc h3 a:focus-visible { outline: 0; }
.q3-svc:has(h3 a:focus-visible) { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.q3-svc p { font-size: .95rem; color: var(--muted); }
.q3-svc-benefit { display: flex; gap: .55rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .9rem !important; color: var(--body) !important; }
.q3-svc-benefit i { color: var(--teal-600); margin-top: .3rem; font-size: .85rem; }
.q3-more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--teal-600); }
.q3-more i { font-size: .78rem; transition: transform .2s ease; }
.q3-svc:hover .q3-more i { transform: translateX(4px); }

/* ---------- Why choose us ---------- */
.q3-why-panel { margin-top: 1.6rem; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-900); color: #c3cfde; }
.q3-why-panel-title { display: flex; align-items: center; gap: .6rem; font: 700 1rem/1.3 var(--font-head); color: #fff; margin-bottom: .9rem !important; }
.q3-why-panel-title i { color: var(--gold); }
.q3-why-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.q3-why-panel li { display: flex; gap: .65rem; font-size: .93rem; line-height: 1.5; }
.q3-why-panel li i { color: var(--teal-300); margin-top: .3rem; font-size: .8rem; }
.q3-why-panel b { color: #fff; font-weight: 600; }
.q3-why-list { display: grid; gap: 16px; }
.q3-why {
  position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.q3-why:hover { border-color: var(--teal-100); box-shadow: var(--shadow); }
.q3-why-num { position: absolute; right: 24px; top: 18px; font: 800 2.2rem/1 var(--font-head); color: var(--bg-soft); -webkit-text-stroke: 1px var(--line); }
.q3-why h3 { font-size: 1.15rem; padding-right: 48px; }
.q3-why p { margin: 0; color: var(--muted); font-size: .95rem; }
.q3-why > div { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 575.98px) {
  .q3-why { gap: 14px; padding: 22px 18px; }
  .q3-why h3 { padding-right: 36px; }
  .q3-why-num { right: 16px; font-size: 1.8rem; }
}
@media (min-width: 992px) { .q3-why:nth-child(2) { margin-left: 32px; } .q3-why:nth-child(3) { margin-left: 64px; } }

/* ---------- Process flow ---------- */
.q3-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.q3-flow::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(94, 234, 212, .45) 0 8px, transparent 8px 16px); }
.q3-flow li { position: relative; text-align: center; padding: 0 8px; }
.q3-flow-ic {
  position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.1rem;
  border-radius: 20px; font-size: 1.25rem; color: var(--navy-900);
  background: linear-gradient(135deg, var(--teal-300), #99f6e4); box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 9px rgba(94, 234, 212, .25);
}
.q3-flow-ic b { font: 800 1.3rem/1 var(--font-head); }
.q3-flow-step { margin-bottom: .3rem !important; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.q3-flow p:last-child { font-size: .94rem; margin: 0; }
.q3-flow-light::before { background: repeating-linear-gradient(90deg, var(--teal-100) 0 8px, transparent 8px 16px); }
.q3-flow-light .q3-flow-ic { color: #fff; background: var(--teal-600); box-shadow: 0 0 0 8px var(--bg-soft), 0 0 0 9px var(--teal-100); }
.q3-flow-light .q3-flow-step { color: var(--teal-700); }
.q3-flow-light p:last-child { color: var(--muted); }
.q3-flow-cards::before { display: none; }
.q3-flow-cards li { text-align: left; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.q3-flow-cards .q3-flow-ic { width: 52px; height: 52px; border-radius: 16px; box-shadow: none; background: var(--navy-900); color: var(--teal-300); }
@media (max-width: 991.98px) {
  .q3-flow { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .q3-flow::before { display: none; }
}
@media (max-width: 575.98px) {
  .q3-flow { grid-template-columns: 1fr; }
  .q3-flow:not(.q3-flow-cards) li { text-align: left; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 0; }
  .q3-flow:not(.q3-flow-cards) .q3-flow-ic { grid-row: span 3; margin: 0; }
}

/* ---------- About + industries ---------- */
.q3-mission { position: relative; margin: 1.6rem 0 0; padding: 20px 22px 20px 56px; border-radius: var(--radius); background: var(--gold-50); border-left: 4px solid var(--gold); font: 600 1.02rem/1.55 var(--font-head); color: var(--ink); }
.q3-mission i { position: absolute; left: 20px; top: 22px; color: #b7791f; }
.q3-ind-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.q3-ind-card h3 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.q3-ind-card h3 small { display: block; margin-top: .3rem; font: 500 .9rem/1.4 var(--font-body); color: var(--muted); letter-spacing: 0; }
.q3-ind { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.q3-ind li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .94rem; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.q3-ind li:hover { border-color: var(--teal-500); transform: translateY(-2px); }
.q3-ind .ic { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--navy-900); color: var(--teal-300); font-size: .9rem; }
.q3-ind-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px dashed var(--teal-500); }
.q3-ind-foot .ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); flex: none; }
.q3-ind-foot p { flex: 1 1 220px; margin: 0; font-size: .94rem; }
.q3-ind-foot b { color: var(--ink); }

/* ---------- Benefits + ways to work ---------- */
.q3-ben-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.q3-ben { position: relative; overflow: hidden; padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.q3-ben-word { position: absolute; right: 22px; top: 30px; font: 800 1.5rem/1 var(--font-head); letter-spacing: -.03em; color: #e8edf3; pointer-events: none; }
.q3-ben .q3-icon { margin-bottom: 1.1rem; }
.q3-ben h3, .q3-ben p { position: relative; }
.q3-ben p { margin: 0; color: var(--muted); font-size: .95rem; }
.q3-ben:nth-child(even) .q3-icon { background: var(--gold-50); color: #9a6b00; box-shadow: inset 0 0 0 1px #f5e3b3; }
.q3-engage { margin-top: clamp(56px, 6vw, 88px); }
.q3-engage-head { max-width: 720px; margin-bottom: 1.8rem; }
.q3-engage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.q3-plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: border-color .25s ease, box-shadow .25s ease; }
.q3-plan:hover { border-color: var(--teal-500); box-shadow: var(--shadow); }
.q3-plan-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.q3-plan-head h3 { margin: 0; font-size: 1.2rem; }
.q3-plan > p { color: var(--muted); font-size: .95rem; }
.q3-plan ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.q3-plan li { display: flex; align-items: center; gap: .55rem; font-size: .94rem; }
.q3-plan li i { color: var(--teal-600); font-size: .85rem; }
.q3-plan li a { color: var(--ink); text-decoration: none; font-weight: 500; }
.q3-plan li a:hover { color: var(--teal-700); text-decoration: underline; }
.q3-plan-price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.q3-plan-price b { display: block; font: 800 1.3rem/1.3 var(--font-head); color: var(--navy-900); }

/* ---------- Match table ---------- */
.q3-table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.q3-table { width: 100%; border-collapse: collapse; background: #fff; }
.q3-table thead th { padding: 16px 24px; background: var(--navy-900); color: #fff; font: 700 .8rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.q3-table tbody th, .q3-table td { padding: 14px 24px; border-top: 1px solid var(--line); vertical-align: middle; }
.q3-table tbody th { font-weight: 500; color: var(--ink); }
.q3-table tbody tr:nth-child(even) { background: #fafbfd; }
.q3-table tbody tr:hover { background: var(--teal-50); }
.q3-table td a { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--teal-700); text-decoration: none; }
.q3-table td a .ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--teal-50); color: var(--teal-600); font-size: .82rem; flex: none; }
.q3-table td a .go { font-size: .75rem; opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.q3-table tr:hover .go, .q3-table td a:focus-visible .go { opacity: 1; transform: none; }
.q3-table td a:hover { text-decoration: underline; }
@media (max-width: 575.98px) {
  .q3-table thead { display: none; }
  .q3-table tr { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  .q3-table tbody tr:first-child { border-top: 0; }
  .q3-table tbody th, .q3-table td { display: block; padding: 0; border: 0; }
  .q3-table tbody th { margin-bottom: .45rem; }
}

/* ---------- FAQ ---------- */
.q3-help { margin-top: 1.5rem; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.q3-bg-soft .q3-help { box-shadow: var(--shadow-sm); }
.q3-help h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.q3-help p { font-size: .92rem; color: var(--muted); margin-bottom: .9rem; }
.q3-help a { display: flex; align-items: center; gap: .65rem; padding: .55rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none; }
.q3-help a i { width: 18px; text-align: center; color: var(--teal-600); }
.q3-help a:hover { color: var(--teal-700); }
.q3-faq { display: grid; gap: 12px; }
.q3-faq-item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease; }
.q3-faq-item:has(.collapse.show) { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.q3-faq-item h3 { margin: 0; font-size: 1rem; }
.q3-faq-item button {
  display: flex; align-items: center; gap: 1rem; width: 100%; padding: 20px 22px; text-align: left;
  background: none; border: 0; border-radius: var(--radius); font: 600 1.02rem/1.45 var(--font-head); color: var(--ink);
}
.q3-faq-item button:hover { color: var(--teal-700); }
.q3-faq-item .q { flex: 1; }
.q3-faq-item .pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--teal-50); }
.q3-faq-item .pm::before, .q3-faq-item .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--teal-600); transition: transform .25s ease; }
.q3-faq-item .pm::after { transform: rotate(90deg); }
.q3-faq-item button:not(.collapsed) .pm { background: var(--teal-600); }
.q3-faq-item button:not(.collapsed) .pm::before, .q3-faq-item button:not(.collapsed) .pm::after { background: #fff; }
.q3-faq-item button:not(.collapsed) .pm::after { transform: rotate(0); }
.q3-faq-item .collapse p, .q3-faq-item .collapsing p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

/* ---------- Consultation CTA + form ---------- */
.q3-quote-wrap { background: #fff; }
.q3-quote {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden;
  border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.q3-quote-side {
  position: relative; padding: clamp(28px, 4vw, 52px); color: #c3cfde;
  background: radial-gradient(500px 300px at 100% 0%, rgba(20, 163, 143, .3), transparent 60%), linear-gradient(165deg, var(--navy-900), var(--navy-700));
}
.q3-quote-side h2 { color: #fff; }
.q3-next-title { margin: 1.8rem 0 .9rem !important; font: 700 .78rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.q3-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.q3-next li { display: flex; gap: 14px; }
.q3-next li > span { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: rgba(94, 234, 212, .12); color: var(--teal-300); font-weight: 700; font-size: .88rem; border: 1px solid rgba(94, 234, 212, .25); }
.q3-next b { display: block; color: #fff; font-weight: 600; }
.q3-next div { font-size: .93rem; line-height: 1.5; }
.q3-quote-contact { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 2rem 0 0 !important; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.q3-quote-contact a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.q3-quote-contact a i { color: var(--teal-300); }
.q3-quote-contact a:hover { color: var(--teal-300); }
.q3-form { padding: clamp(24px, 4vw, 48px); }
.q3-form-title { font: 800 1.35rem/1.3 var(--font-head); color: var(--ink); letter-spacing: -.02em; margin-bottom: 1.2rem !important; }
.q3-form label, .q3-form legend { display: block; margin-bottom: .35rem; font-size: .86rem; font-weight: 600; color: var(--navy-800); }
.q3-form legend { float: none; width: auto; padding: 0; margin-bottom: .6rem; }
.q3-form input:not([type="checkbox"]), .q3-form select, .q3-form textarea {
  display: block; width: 100%; padding: .72rem .9rem; min-height: 48px;
  font: 400 .97rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.q3-form select { appearance: none; padding-right: 2.4rem; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316304f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .95rem center; }
.q3-form input:focus, .q3-form select:focus, .q3-form textarea:focus { outline: 0; background-color: #fff; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(20, 163, 143, .15); }
.q3-form textarea { min-height: 96px; resize: vertical; }
.q3-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.q3-checks label { position: relative; margin: 0; cursor: pointer; font-weight: 500; }
.q3-checks input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.q3-checks span { display: flex; align-items: center; gap: .5rem; height: 100%; padding: .55rem .75rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: .86rem; color: var(--body); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.q3-checks span::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 5px; border: 1.5px solid #b6c2d2; background: #fff center / 10px no-repeat; transition: background-color .2s ease, border-color .2s ease; }
.q3-checks label:hover span { border-color: var(--teal-500); }
.q3-checks input:checked + span { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-700); font-weight: 600; }
.q3-checks input:checked + span::before { border-color: var(--teal-600); background-color: var(--teal-600); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.q3-checks input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.q3-form-note { display: flex; align-items: flex-start; gap: .5rem; margin: .8rem 0 0 !important; font-size: .82rem; color: var(--muted); }
.q3-form-note i { margin-top: .25rem; color: var(--teal-600); }
@media (max-width: 991.98px) { .q3-quote { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.q3-foot { background: var(--navy-950); color: #9fb0c6; font-size: .93rem; padding-top: clamp(48px, 5vw, 72px); }
.q3-foot-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
  padding: clamp(24px, 3vw, 36px); margin-bottom: clamp(40px, 5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); border: 1px solid rgba(255, 255, 255, .08);
}
.q3-foot-cta-title { font: 800 clamp(1.2rem, 1rem + .8vw, 1.55rem)/1.3 var(--font-head); color: #fff; margin-bottom: .3rem !important; letter-spacing: -.02em; }
.q3-foot-cta p:last-child { margin: 0; }
.q3-foot-cta-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.q3-foot-logo { display: inline-block; padding: 12px 16px; margin-bottom: 1.2rem; border-radius: 14px; background: #fff; }
.q3-foot-logo img { display: block; width: auto; height: 40px; max-width: 100%; }
.q3-foot h2 { margin-bottom: 1.1rem; font: 700 .8rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.q3-foot ul { list-style: none; margin: 0; padding: 0; }
.q3-foot nav li { margin-bottom: .55rem; }
.q3-foot a { color: #c3cfde; text-decoration: none; }
.q3-foot a:hover { color: var(--teal-300); }
.q3-foot-svc { columns: 1; }
@media (min-width: 576px) { .q3-foot-svc { columns: 2; column-gap: 1.5rem; } .q3-foot-svc li { break-inside: avoid; } }
.q3-foot-contact li { display: flex; gap: .7rem; margin-bottom: .6rem; }
.q3-foot-contact i { width: 16px; margin-top: .3rem; text-align: center; color: var(--teal-300); font-size: .85rem; flex: none; }
.q3-foot-contact a, .q3-foot-contact address { overflow-wrap: anywhere; }
.q3-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: clamp(32px, 4vw, 52px); padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.q3-foot-bottom p { margin: 0; }
.q3-foot-bottom i { margin-right: .5rem; color: var(--gold); }

/* =====================================================================
   Service pages
   ===================================================================== */
.q3-shero { position: relative; padding: 28px 0 clamp(56px, 5vw + 24px, 96px); }
.q3-shero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1.1rem; }
.q3-shero .q3-lead { color: var(--body); }
.q3-shero-tag { display: flex; align-items: flex-start; gap: .55rem; margin: 0 !important; font-size: .93rem; font-weight: 500; color: var(--navy-800); }
.q3-shero-tag i { color: var(--teal-600); margin-top: .3rem; }
.q3-crumbs { margin-bottom: clamp(24px, 3vw, 44px); }
.q3-crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.q3-crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.q3-crumbs a { color: var(--navy-700); text-decoration: none; font-weight: 500; }
.q3-crumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.q3-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Core: light teal wash, illustration on the right */
.q3-v-core .q3-shero { background: radial-gradient(800px 420px at 90% 20%, var(--teal-100), transparent 65%), linear-gradient(180deg, var(--teal-50), #fff); }
.q3-v-core .q3-shero .q3-ill .q3-mock { box-shadow: var(--shadow); }
.q3-v-core .q3-shero .q3-ill::before { content: ""; position: absolute; inset: 30px -14px -14px 30px; z-index: -1; border-radius: 22px; background: var(--navy-900); }
.q3-v-core .q3-shero .q3-ill { isolation: isolate; }

/* Payables: navy hero (shares the home hero background) */
.q3-v-payables .q3-shero { color: #c3cfde; padding-bottom: clamp(72px, 6vw + 32px, 120px); }
.q3-v-payables .q3-shero .q3-lead, .q3-v-payables .q3-shero-tag { color: #c3cfde; }
.q3-v-payables .q3-shero-tag i { color: var(--teal-300); }
.q3-v-payables .q3-crumbs ol { color: #9fb0c6; }
.q3-v-payables .q3-crumbs a { color: #dbe4ef; }
.q3-v-payables .q3-crumbs [aria-current] { color: #fff; }

/* Support: soft grey with a gold accent block, illustration on the left */
.q3-v-support .q3-shero { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.q3-v-support .q3-shero .q3-ill { isolation: isolate; }
.q3-v-support .q3-shero .q3-ill::before { content: ""; position: absolute; z-index: -1; width: 62%; height: 70%; right: -10px; top: -10px; border-radius: 22px; background: var(--gold-50); border: 1px solid #f3e1ad; }
.q3-v-support .q3-shero .q3-ill::after { content: ""; position: absolute; z-index: -1; width: 46%; height: 44%; left: -12px; bottom: -12px; border-radius: 22px; background: var(--teal-600); opacity: .14; }
.q3-v-support .q3-eyebrow { color: #8a5a00; background: var(--gold-50); border-color: #f3e1ad; }
.q3-v-support .q3-eyebrow i { color: #b7791f; }

/* Problems strip */
.q3-problems { position: relative; z-index: 2; }
.q3-problems-box {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center;
  padding: 24px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.q3-v-payables .q3-problems-box { margin-top: -56px; }
.q3-problems h2 { margin: 0; font-size: 1.2rem; white-space: nowrap; }
.q3-problems ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.q3-problems li { display: flex; gap: .55rem; font-size: .93rem; color: var(--ink); line-height: 1.5; }
.q3-problems li i { color: var(--red); margin-top: .25rem; font-size: .9rem; }
.q3-problems-fix { grid-column: 1 / -1; display: flex; gap: .6rem; margin: 0 !important; padding: 12px 16px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); font-weight: 600; font-size: .95rem; }
.q3-problems-fix i { margin-top: .3rem; font-size: .85rem; }
@media (max-width: 991.98px) {
  .q3-problems-box { grid-template-columns: 1fr; }
  .q3-problems ul { grid-template-columns: 1fr; }
}

/* Deliverables */
.q3-deliver-card { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: #c3cfde; box-shadow: var(--shadow); }
.q3-deliver-card h3 { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.q3-deliver-card h3 i { color: var(--gold); }
.q3-deliver { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .7rem; }
.q3-deliver li { display: flex; gap: .7rem; font-size: .95rem; line-height: 1.5; }
.q3-deliver li i { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; background: rgba(94, 234, 212, .14); color: var(--teal-300); font-size: .65rem; }

/* Included: core = cards, payables = numbered list, support = featured + compact */
.q3-inc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.q3-inc-cards li { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.q3-inc-cards li:hover { border-color: var(--teal-100); transform: translateY(-3px); box-shadow: var(--shadow); }
.q3-inc-cards .ck { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: .9rem; border-radius: 10px; background: var(--teal-600); color: #fff; font-size: .8rem; }
.q3-inc-cards h3 { font-size: 1.02rem; }
.q3-inc-cards p, .q3-inc-list p, .q3-inc-compact p, .q3-inc-feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.q3-inc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; padding: 8px 32px; list-style: none; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.q3-inc-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.q3-inc-list li:nth-last-child(-n+2) { border-bottom: 0; }
.q3-inc-list .n { font: 800 1.5rem/1 var(--font-head); color: var(--teal-600); min-width: 40px; }
.q3-inc-list h3 { font-size: 1.04rem; }
@media (max-width: 767.98px) {
  .q3-inc-list { grid-template-columns: 1fr; padding: 4px 20px; }
  .q3-inc-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
.q3-inc-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.q3-inc-feature article { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: #c3cfde; }
.q3-inc-feature article:nth-child(2) { background: linear-gradient(140deg, var(--teal-700), var(--teal-600)); }
.q3-inc-feature h3 { color: #fff; font-size: 1.2rem; margin-top: 1rem; }
.q3-inc-feature p { color: inherit; }
.q3-inc-feature article:nth-child(2) p { color: #e6fffa; }
.q3-inc-feature .q3-icon { background: rgba(255, 255, 255, .1); color: var(--teal-300); box-shadow: none; }
.q3-inc-feature article:nth-child(2) .q3-icon { color: #fff; background: rgba(255, 255, 255, .16); }
.q3-inc-compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.q3-inc-compact li { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.q3-inc-compact li > i { color: var(--teal-600); margin-top: .25rem; }
.q3-inc-compact h3 { font-size: 1rem; }
@media (max-width: 767.98px) { .q3-inc-feature { grid-template-columns: 1fr; } }

/* Benefits: three variants */
.q3-sben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.q3-sben article { padding: 28px; border-radius: var(--radius-lg); }
.q3-sben h3 { font-size: 1.15rem; }
.q3-sben p { margin: 0; font-size: .95rem; }
.q3-sben-core article { background: var(--bg-soft); border: 1px solid var(--line); }
.q3-sben-core .q3-icon { margin-bottom: 1rem; background: #fff; }
.q3-sben-core p { color: var(--muted); }
.q3-sben-payables article { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.q3-sben-payables .q3-icon { margin-bottom: 1rem; background: rgba(94, 234, 212, .1); color: var(--teal-300); box-shadow: none; }
.q3-sben-support { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; gap: 14px; }
.q3-sben-support article { display: flex; gap: 20px; align-items: flex-start; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); box-shadow: var(--shadow-sm); }
.q3-sben-support p { color: var(--muted); }
@media (max-width: 991.98px) { .q3-sben:not(.q3-sben-support) { grid-template-columns: 1fr; } }

/* Vertical timeline (payables) */
.q3-vline { position: relative; margin: 0; padding: 0; list-style: none; }
.q3-vline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--teal-500), var(--teal-100)); }
.q3-vline li { position: relative; display: flex; gap: 22px; padding-bottom: 20px; }
.q3-vline li:last-child { padding-bottom: 0; }
.q3-vline .dot { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--navy-900); color: var(--teal-300); font: 800 1.05rem/1 var(--font-head); box-shadow: 0 0 0 6px #fff; }
.q3-vline li > div { flex: 1; padding: 20px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.q3-vline p { margin: 0; color: var(--muted); font-size: .95rem; }

/* =====================================================================
   Policy pages (Terms of Service, Privacy Policy)
   ===================================================================== */
.q3-legal-hero { padding-bottom: clamp(56px, 5vw + 24px, 88px) !important; }
.q3-legal-hero h1 { max-width: 760px; }
.q3-legal-hero .q3-lead { margin-bottom: 1.2rem; }
.q3-legal-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.q3-legal-side { position: sticky; top: 104px; display: grid; gap: 18px; }
.q3-legal-box { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.q3-legal-box-title { margin-bottom: .8rem !important; font: 700 .75rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); }
.q3-legal-toc { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; gap: 2px; }
.q3-legal-toc li { counter-increment: toc; }
.q3-legal-toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.q3-legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--teal-600); font-size: .75rem; font-weight: 800; padding-top: .15rem; }
.q3-legal-toc a:hover { background: #fff; color: var(--teal-700); }
.q3-legal-other { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.q3-legal-other a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.q3-legal-other .ic { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--teal-50); color: var(--teal-600); font-size: .82rem; }
.q3-legal-other a:hover { background: #fff; color: var(--teal-700); }
.q3-legal-other a[aria-current] { background: var(--navy-900); color: #fff; }
.q3-legal-other a[aria-current] .ic { background: rgba(94, 234, 212, .14); color: var(--teal-300); }
.q3-legal-body { max-width: 780px; }
.q3-legal-body > section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.q3-legal-body h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin-bottom: .9rem; }
.q3-legal-body h2 span { font-size: .9rem; font-weight: 800; color: var(--teal-600); letter-spacing: 0; }
.q3-legal-body p { margin-bottom: .9rem; }
.q3-legal-body ul { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .55rem; }
.q3-legal-body ul li { position: relative; padding-left: 26px; }
.q3-legal-body ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); }
.q3-legal-body > section.q3-legal-contact { margin: 0; padding: 30px; border: 0; border-radius: var(--radius-lg); background: var(--navy-900); color: #c3cfde; }
.q3-legal-contact h2 { color: #fff; }
.q3-legal-contact ul li { display: flex; gap: 12px; padding-left: 0; overflow-wrap: anywhere; }
.q3-legal-contact ul li::before { display: none; }
.q3-legal-contact i { width: 16px; margin-top: .3rem; color: var(--teal-300); text-align: center; flex: none; }
.q3-legal-contact a:not(.q3-btn) { color: #fff; font-weight: 600; text-decoration: none; }
.q3-legal-contact a:not(.q3-btn):hover { color: var(--teal-300); }
.q3-legal-contact .q3-btn { margin-top: .6rem; }
@media (max-width: 991.98px) {
  .q3-legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .q3-legal-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 767.98px) {
  .q3-legal-side { grid-template-columns: 1fr; }
  .q3-legal-body > section.q3-legal-contact { padding: 24px 20px; }
}
