/*
 * QB Accounting Help – Global Stylesheet
 * Domain: qbacchelp.com
 * Version: 1.0
 *
 * HOW TO USE IN WORDPRESS:
 * 1. Upload this file to your theme's /css/ folder (or use a child theme)
 * 2. Enqueue it in functions.php:
 *      wp_enqueue_style('qbah-style', get_template_directory_uri() . '/css/qbah-style.css', [], '1.0');
 * 3. OR: Paste it into Appearance → Customize → Additional CSS (for simpler setups)
 * 4. All other pages created with this system will reuse this same file — no duplication needed.
 *
 * ─────────────────────────────────────────────
 * FILE MAP
 * ─────────────────────────────────────────────
 * 1. CSS Custom Properties (Design Tokens)
 * 2. Reset & Base
 * 3. Typography Scale
 * 4. Layout Utilities
 * 5. Component: Nav / Header
 * 6. Component: Buttons
 * 7. Component: Cards
 * 8. Component: Section Wrappers
 * 9. Component: Trust Strip
 * 10. Component: Forms & CTAs
 * 11. Component: Footer
 * 12. Utility Classes
 * 13. Animations
 * 14. Media Queries
 * ─────────────────────────────────────────────
 */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --clr-navy:       #0A1F44;
  --clr-navy-mid:   #102754;
  --clr-gold:       #D4A843;
  --clr-gold-light: #F0CD7A;
  --clr-white:      #FFFFFF;
  --clr-slate-bg:   #F5F7FA;
  --clr-slate-mid:  #E8ECF4;
  --clr-text:       #1A2B4A;
  --clr-text-muted: #6B7A99;
  --clr-border:     #D6DCE8;
  --clr-success:    #1A7A4A;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width:        1200px;
  --max-width-narrow: 760px;
  --container-px:     clamp(1rem, 5vw, 2rem);

  /* Radius */
  --radius-sm:  0.375rem;
  --radius-md:  0.75rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(10,31,68,0.08), 0 1px 2px rgba(10,31,68,0.06);
  --shadow-md:  0 4px 16px rgba(10,31,68,0.10), 0 2px 6px rgba(10,31,68,0.06);
  --shadow-lg:  0 10px 40px rgba(10,31,68,0.14), 0 4px 12px rgba(10,31,68,0.08);
  --shadow-gold: 0 4px 20px rgba(212,168,67,0.30);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast:   150ms var(--ease-out);
  --transition-base:   250ms var(--ease-out);
  --transition-slow:   400ms var(--ease-out);
}


/* ─── 2. RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }

p { line-height: 1.7; }

.qbah-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-4);
}

.qbah-text-muted { color: var(--clr-text-muted); }
.qbah-text-white { color: var(--clr-white); }
.qbah-text-gold  { color: var(--clr-gold); }


/* ─── 4. LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.qbah-container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.qbah-container--narrow {
  max-width: var(--max-width-narrow);
}

.qbah-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.qbah-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.qbah-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.qbah-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qbah-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qbah-text-center { text-align: center; }


/* ─── 5. NAV / HEADER ───────────────────────────────────────────────────────── */
.qbah-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
  padding-block: var(--space-5);
}

.qbah-nav.qbah-nav--scrolled {
  background: var(--clr-navy);
  box-shadow: 0 2px 20px rgba(10,31,68,0.25);
  padding-block: var(--space-3);
}

.qbah-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.qbah-nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.qbah-nav__logo span {
  color: var(--clr-gold);
}

.qbah-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.qbah-nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.qbah-nav__link:hover {
  color: var(--clr-gold);
}

.qbah-nav__cta {
  flex-shrink: 0;
}

/* Mobile hamburger */
.qbah-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.qbah-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.qbah-nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.qbah-nav__toggle.active span:nth-child(2) { opacity: 0; }
.qbah-nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.qbah-nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--clr-navy);
  padding: var(--space-6) var(--container-px);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-direction: column;
  gap: var(--space-4);
}

.qbah-nav__mobile.open {
  display: flex;
}

.qbah-nav__mobile .qbah-nav__link {
  font-size: var(--text-base);
  padding-block: var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.qbah-nav__mobile .qbah-btn {
  margin-top: var(--space-2);
  text-align: center;
}


/* ─── 6. BUTTONS ────────────────────────────────────────────────────────────── */
.qbah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.qbah-btn:hover {
  transform: translateY(-1px);
}

.qbah-btn:active {
  transform: translateY(0);
}

/* Gold / Primary */
.qbah-btn--gold {
  background: var(--clr-gold);
  color: var(--clr-navy);
  box-shadow: var(--shadow-gold);
}

.qbah-btn--gold:hover {
  background: var(--clr-gold-light);
  box-shadow: 0 6px 28px rgba(212,168,67,0.45);
}

/* Navy / Secondary */
.qbah-btn--navy {
  background: var(--clr-navy);
  color: var(--clr-white);
  box-shadow: var(--shadow-md);
}

.qbah-btn--navy:hover {
  background: var(--clr-navy-mid);
}

/* Outline on dark bg */
.qbah-btn--outline-white {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.qbah-btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
}

/* Large size modifier */
.qbah-btn--lg {
  font-size: var(--text-base);
  padding: 0.9rem 2rem;
}

/* Full width */
.qbah-btn--full {
  width: 100%;
}


/* ─── 7. CARDS ──────────────────────────────────────────────────────────────── */
.qbah-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.qbah-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--clr-slate-mid);
}

.qbah-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  flex-shrink: 0;
}

.qbah-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--space-3);
}

.qbah-card__text {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.qbah-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-gold);
  transition: gap var(--transition-fast);
}

.qbah-card__link:hover { gap: var(--space-3); }

/* Software logo card */
.qbah-software-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.qbah-software-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-gold);
}

.qbah-software-card__logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.qbah-software-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-navy);
}

.qbah-software-card__desc {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
}


/* ─── 8. SECTION WRAPPERS ───────────────────────────────────────────────────── */
.qbah-section {
  padding-block: var(--space-20);
}

.qbah-section--sm {
  padding-block: var(--space-12);
}

.qbah-section--lg {
  padding-block: clamp(var(--space-16), 8vw, 7rem);
}

.qbah-section--slate {
  background: var(--clr-slate-bg);
}

.qbah-section--navy {
  background: var(--clr-navy);
}

.qbah-section__header {
  margin-bottom: var(--space-12);
}

.qbah-section__header p {
  max-width: 600px;
  margin-inline: auto;
  color: var(--clr-text-muted);
  font-size: var(--text-lg);
  margin-top: var(--space-4);
}

/* ─── 9. TRUST / STATS STRIP ────────────────────────────────────────────────── */
.qbah-trust-strip {
  background: var(--clr-navy);
  padding-block: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.qbah-trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  flex-wrap: wrap;
}

.qbah-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}

.qbah-trust-item__icon {
  color: var(--clr-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.qbah-stat {
  text-align: center;
}

.qbah-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.qbah-stat__number span {
  color: var(--clr-gold);
}

.qbah-stat__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

.qbah-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}


/* ─── 10. FORMS & CTAs ──────────────────────────────────────────────────────── */
.qbah-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.qbah-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.qbah-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.qbah-form__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-navy);
}

.qbah-form__input,
.qbah-form__select,
.qbah-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.qbah-form__input:focus,
.qbah-form__select:focus,
.qbah-form__textarea:focus {
  outline: none;
  border-color: var(--clr-navy);
  box-shadow: 0 0 0 3px rgba(10,31,68,0.10);
}

.qbah-form__textarea {
  resize: vertical;
  min-height: 110px;
}

.qbah-form__select {
  background-image: 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' stroke='%236B7A99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.qbah-cta-box {
  background: linear-gradient(135deg, var(--clr-navy) 0%, #0D2860 100%);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-12), 5vw, var(--space-16));
  position: relative;
  overflow: hidden;
}

.qbah-cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
  pointer-events: none;
}


/* ─── 11. FOOTER ────────────────────────────────────────────────────────────── */
.qbah-footer {
  background: #060F22;
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.qbah-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.qbah-footer__brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 280px;
}

.qbah-footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.qbah-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.qbah-footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.qbah-footer__link:hover {
  color: var(--clr-gold);
}

.qbah-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.qbah-footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.qbah-footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.qbah-footer__bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

.qbah-footer__bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}


/* ─── 12. UTILITY CLASSES ───────────────────────────────────────────────────── */
.qbah-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.25rem 0.75rem;
  background: rgba(212,168,67,0.12);
  color: var(--clr-gold);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qbah-badge--green {
  background: rgba(26,122,74,0.10);
  color: var(--clr-success);
  border-color: rgba(26,122,74,0.25);
}

.qbah-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.qbah-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.qbah-check-item__icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(212,168,67,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.65rem;
  color: var(--clr-gold);
}

.qbah-divider {
  width: 48px;
  height: 3px;
  background: var(--clr-gold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.qbah-divider--center {
  margin-inline: auto;
}


/* ─── 13. HERO SPECIFIC ─────────────────────────────────────────────────────── */
.qbah-hero {
  min-height: 100svh;
  background: linear-gradient(150deg, var(--clr-navy) 0%, #0D2860 55%, #0A1F44 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: var(--space-20);
}

.qbah-hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212,168,67,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 85%, rgba(212,168,67,0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid dot pattern */
.qbah-hero__bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.qbah-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
}

.qbah-hero__content {}

.qbah-hero__pre-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.qbah-hero__h1 {
  color: var(--clr-white);
  margin-bottom: var(--space-6);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.qbah-hero__h1 em {
  font-style: normal;
  color: var(--clr-gold);
}

.qbah-hero__sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  max-width: 520px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.qbah-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.qbah-hero__trust-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.qbah-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.qbah-hero__trust-item span {
  color: var(--clr-gold);
}

/* Consultation Card (right side of hero) */
.qbah-consult-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
}

.qbah-consult-card__header {
  margin-bottom: var(--space-6);
}

.qbah-consult-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--space-1);
}

.qbah-consult-card__sub {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.qbah-consult-card__badge {
  position: absolute;
  top: -12px;
  right: var(--space-6);
}


/* ─── 14. ANIMATIONS ────────────────────────────────────────────────────────── */
@keyframes qbah-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes qbah-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.qbah-animate {
  opacity: 0;
}

.qbah-animate.is-visible {
  animation: qbah-fade-up 0.55s var(--ease-out) forwards;
}

.qbah-animate--delay-1 { animation-delay: 0.1s; }
.qbah-animate--delay-2 { animation-delay: 0.2s; }
.qbah-animate--delay-3 { animation-delay: 0.3s; }
.qbah-animate--delay-4 { animation-delay: 0.4s; }


/* ─── 15. MEDIA QUERIES ─────────────────────────────────────────────────────── */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .qbah-hero__inner {
    grid-template-columns: 1fr;
    max-width: var(--max-width-narrow);
    margin-inline: auto;
  }

  .qbah-consult-card {
    max-width: 480px;
    margin-inline: auto;
  }

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

  .qbah-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  .qbah-nav__links,
  .qbah-nav__cta {
    display: none;
  }

  .qbah-nav__toggle {
    display: flex;
  }

  .qbah-grid-2,
  .qbah-grid-3 {
    grid-template-columns: 1fr;
  }

  .qbah-form__row {
    grid-template-columns: 1fr;
  }

  .qbah-trust-strip__inner {
    gap: var(--space-6);
  }

  .qbah-stat-divider {
    display: none;
  }

  .qbah-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .qbah-footer__brand {
    grid-column: 1 / -1;
  }

  .qbah-footer__brand p {
    max-width: 100%;
  }

  .qbah-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .qbah-cta-box {
    text-align: center;
  }

  .qbah-hero {
    padding-top: 90px;
    min-height: auto;
    padding-bottom: var(--space-16);
  }

  .qbah-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .qbah-section {
    padding-block: var(--space-16);
  }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .qbah-grid-4 {
    grid-template-columns: 1fr;
  }

  .qbah-consult-card {
    padding: var(--space-6);
  }
}
