/* === QBHelpDesk — Professional Financial Design === */
/* Design: Clean corporate, chart-inspired, structured grids, professional green accents */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  --p: #2d8c3c;
  --pd: #1e6b2a;
  --a: #f59e0b;
  --bg: #f9fbf9;
  --bg2: #f0f7f1;
  --bg-card: #ffffff;
  --tx: #1a2e1a;
  --tx2: #5a7a5a;
  --bd: #dce8dc;
  --su: #10b981;
  --r: 4px;
  --r-lg: 8px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', system-ui, sans-serif; color: var(--tx);
  background: var(--bg); line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   HEADER — Clean corporate bar
   ============================================ */
.site-header {
  background: #fff; border-bottom: 3px solid var(--p);
  position: sticky; top:0; z-index:100;
}
.site-header .container {
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 28px;
}
.site-logo {
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem; font-weight:700; color: var(--p);
  text-decoration: none; letter-spacing: -.2px;
}
.site-nav { display:flex; align-items:center; gap: 24px; }
.site-nav a {
  color: var(--tx2); text-decoration: none; font-size: .88rem;
  font-weight: 500; transition: color .2s;
}
.site-nav a:hover { color: var(--p); }

/* ============================================
   HERO — Structured two-column with chart feel
   ============================================ */
.hero-section {
  background: linear-gradient(180deg, #f0f7f1 0%, #f9fbf9 100%);
  padding: 80px 0 90px; position: relative;
  border-bottom: 1px solid var(--bd);
}
.hero-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 60px;
  background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(45,140,60,.03) 40px, rgba(45,140,60,.03) 41px);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 50px; align-items: center; position: relative; z-index: 1;
}
.hero-left h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.8rem; font-weight:700; line-height: 1.12;
  margin-bottom: 16px; letter-spacing: -.5px;
}
.hero-left h1 .hlt { color: var(--p); }
.hero-desc { font-size: 1.05rem; color: var(--tx2); max-width: 500px; margin-bottom: 28px; line-height: 1.7; }
.hero-stats { display: flex; gap: 0; }
.stat-item {
  padding: 16px 24px; border: 1px solid var(--bd);
  border-right: none; text-align: center; background: #fff;
}
.stat-item:last-child { border-right: 1px solid var(--bd); border-radius: 0 var(--r) var(--r) 0; }
.stat-item:first-child { border-radius: var(--r) 0 0 var(--r); }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--p); display: block; font-family: 'Work Sans', sans-serif; }
.stat-label { font-size: .75rem; color: var(--tx2); display: block; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

/* Lead Card — Structured form */
.lead-card {
  background: #fff; color: var(--tx); padding: 30px 26px;
  border-radius: var(--r-lg); border: 1px solid var(--bd);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.lead-badge {
  display: inline-block; background: var(--p); color: #fff;
  padding: 5px 12px; border-radius: 3px; font-size: .72rem;
  font-weight: 700; margin-bottom: 16px; text-transform: uppercase;
  letter-spacing: .5px;
}
.lead-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.lead-sub { color: var(--tx2); font-size: .86rem; margin-bottom: 22px; }
.field-group { margin-bottom: 10px; }
.field-group input, .field-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--bd); border-radius: var(--r);
  font-size: .9rem; font-family: inherit; color: var(--tx);
  transition: border .2s; background: var(--bg);
}
.field-group input:focus, .field-group textarea:focus {
  outline: none; border-color: var(--p);
  box-shadow: 0 0 0 2px rgba(45,140,60,.1);
}
.btn-main {
  width: 100%; padding: 12px;
  background: var(--p); color: #fff; border: none;
  border-radius: var(--r); font-size: .95rem;
  font-weight: 700; cursor: pointer; transition: all .2s;
  text-transform: uppercase; letter-spacing: .3px;
}
.btn-main:hover { background: var(--pd); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(45,140,60,.25); }
.btn-lg { width: auto; padding: 15px 40px; font-size: 1.05rem; display: inline-block; text-decoration: none; }
.success-card { text-align:center; padding:18px; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:var(--r); }
.success-card h3 { color: var(--su); margin-bottom: 4px; }

/* Bottom CTA button fix */
.cta-section .btn-main,
.cta-section .btn-lg,
.cta-section .btn-large {
  width: auto !important; display: inline-block !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90vw;
}

/* ============================================
   FEATURES — Dashboard-style 2x3 table grid
   ============================================ */
.features-section { padding: 80px 0; background: #fff; }
.features-section .section-header { margin-bottom: 44px; }
.section-header h2 { font-family: 'Source Serif 4', serif; font-size: 2.2rem; font-weight: 700; color: var(--tx); }
.section-header p { color: var(--tx2); margin-top: 6px; font-size: 1.05rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--bd); border-radius: var(--r-lg);
  overflow: hidden;
}
.fet-card {
  padding: 28px 24px; background: #fff;
  border-right: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
  transition: background .2s;
}
.fet-card:nth-child(3n) { border-right: none; }
.fet-card:nth-child(n+4) { border-bottom: none; }
.fet-card:hover { background: var(--bg2); }
.fet-icon { font-size: 1.6rem; margin-bottom: 10px; }
.fet-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; color: var(--p); }
.fet-card p { color: var(--tx2); font-size: .82rem; line-height: 1.5; }

/* ============================================
   BRANDS — Clean table-style
   ============================================ */
.browse-section { padding: 70px 0; background: var(--bg); }
.browse-section .section-header { margin-bottom: 36px; }
.browse-grid {
  display: flex; flex-wrap: wrap; gap: 2px; background: var(--bd);
  border-radius: var(--r-lg); overflow: hidden;
}
.browse-card {
  flex: 1; min-width: 160px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: #fff; text-decoration: none;
  color: var(--tx); font-weight: 600; font-size: .92rem;
  transition: all .2s;
}
.browse-card:hover { background: var(--bg2); color: var(--p); }

/* ============================================
   ISSUES — Tag list with borders
   ============================================ */
.browse-section.alt { background: #fff; }
.browse-section.alt .browse-grid {
  display: flex; flex-wrap: wrap; gap: 8px; background: transparent;
}
.browse-section.alt .browse-card {
  flex: none; min-width: auto; padding: 10px 18px;
  border: 1.5px solid var(--bd); border-radius: var(--r);
  font-size: .84rem; font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { padding: 80px 0; background: var(--bg2); }
.testimonials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.test-card {
  background: #fff; padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--bd); position: relative;
}
.test-card::before {
  content: ''; position: absolute; top: 0; left: 20px; right: 20px;
  height: 3px; background: var(--a);
}
.test-quote { font-size: .98rem; line-height: 1.7; color: var(--tx); margin-bottom: 12px; padding-top: 8px; }
.test-author { color: var(--p); font-weight: 700; font-size: .85rem; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #1e6b2a, #2d8c3c);
  color: #fff; padding: 80px 0; text-align: center;
}
.cta-section h2 { font-family: 'Source Serif 4', serif; font-size: 2.2rem; font-weight: 700; margin-bottom: 14px; }
.cta-section p { font-size: 1.05rem; opacity: .85; max-width: 520px; margin: 0 auto 28px; }
.cta-section .btn-main {
  background: #fff; color: #2d8c3c; width: auto; display: inline-block;
}
.cta-section .btn-main:hover { background: #f0f7f1; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #1a2e1a; color: #8aa88a; padding: 60px 0 30px; border-top: 4px solid var(--p); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-col a { display: block; color: #6a9a6a; text-decoration: none; font-size: .85rem; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.footer-brands a { background: #243624; color: #8aa88a; padding: 4px 12px; border-radius: 3px; font-size: .78rem; text-decoration: none; border: 1px solid #3a5a3a; }
.footer-brands a:hover { color: #fff; border-color: var(--p); }
.footer-bottom { border-top: 1px solid #243624; padding-top: 24px; text-align: center; font-size: .8rem; color: #5a7a5a; }

/* ============================================
   CONTENT PAGES
   ============================================ */
.content-page { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.content-page h1 { font-family: 'Source Serif 4', serif; font-size: 2rem; color: var(--p); margin-bottom: 8px; font-weight: 700; }
.content-page .breadcrumb { color: var(--tx2); font-size: .84rem; margin-bottom: 24px; padding: 10px 0; }
.content-page .breadcrumb a { color: var(--p); text-decoration: none; font-weight: 500; }
.content-page h2 { font-size: 1.4rem; margin: 36px 0 14px; font-weight: 700; }
.content-page h3 { font-size: 1.1rem; margin: 24px 0 8px; font-weight: 700; }
.content-page p { margin-bottom: 16px; line-height: 1.75; color: #2a3a2a; }
.content-page ul, .content-page ol { margin: 16px 0 16px 24px; color: #2a3a2a; }
.content-page li { margin-bottom: 8px; }
.content-page a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; }
.content-page .step {
  background: var(--bg); padding: 18px 22px;
  border-left: 4px solid var(--p); margin: 14px 0;
  border-radius: 0 var(--r) var(--r) 0; display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--bd); border-left: 4px solid var(--p);
}
.content-page .step-number {
  background: var(--p); color: #fff; min-width: 30px; height: 30px;
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.content-page .step-content { flex: 1; }
.content-page .step-content strong { display: block; margin-bottom: 4px; }
.content-page .warning {
  background: #fefce8; border: 1px solid #fde68a; padding: 16px 20px;
  border-radius: var(--r); margin: 20px 0; border-left: 4px solid var(--a);
}
.content-page .warning strong { display: block; margin-bottom: 4px; color: #854d0e; }
.content-page .inline-cta {
  background: linear-gradient(135deg, #f0f7f1, #fefce8);
  padding: 28px; border-radius: var(--r-lg); text-align: center;
  margin: 36px 0; border: 2px solid var(--p);
}
.content-page .inline-cta h3 { margin-top: 0; color: var(--p); font-size: 1.2rem; }
.content-page .inline-cta .btn-main { display: inline-block; width: auto; white-space: nowrap; text-decoration: none; font-size: .95rem; padding: 12px 30px; }
/* Universal inline-cta button fix — covers static, hub, about, contact pages */
.inline-cta .btn-main {
  display: inline-block !important; width: auto !important;
  white-space: nowrap; text-decoration: none;
}
.content-page .faq-section { margin: 40px 0; padding: 24px; background: var(--bg); border-radius: var(--r-lg); border: 1px solid var(--bd); }
.content-page .faq-section h2 { margin-top: 0; padding-bottom: 12px; border-bottom: 2px solid rgba(45,140,60,.12); }
.content-page .faq-item { padding: 14px 0; border-bottom: 1px solid var(--bd); }
.content-page .faq-item:last-child { border-bottom: none; }
.content-page .faq-item h3 { font-size: .95rem; color: var(--p); }
.content-page .faq-item p { color: var(--tx2); font-size: .88rem; }
.content-page .related-issues { margin: 40px 0; padding: 24px; background: #fff; border: 1px solid var(--bd); border-radius: var(--r-lg); }
.content-page .related-issues h2 { margin-top: 0; font-size: 1.15rem; }
.content-page .related-issues ul { list-style: none; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.content-page .related-issues a { color: var(--p); text-decoration: none; font-weight: 600; font-size: .86rem; }
.content-page .related-issues a:hover { text-decoration: underline; }

/* STATIC & HUB */
.static-page { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.static-page h1 { font-family: 'Source Serif 4', serif; font-size: 2rem; color: var(--p); margin-bottom: 20px; font-weight: 700; }
.static-page h2 { font-size: 1.4rem; margin: 30px 0 14px; font-weight: 700; }
.hub-page { padding: 60px 0; max-width: 1000px; margin: 0 auto; }
.hub-page h1 { font-family: 'Source Serif 4', serif; font-size: 2rem; color: var(--p); margin-bottom: 8px; font-weight: 700; }
.hub-page .hub-desc { color: var(--tx2); margin-bottom: 32px; font-size: 1.05rem; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.hub-link { display: block; padding: 14px 18px; background: var(--bg); border-radius: var(--r); color: var(--tx); text-decoration: none; font-size: .9rem; border: 1px solid var(--bd); transition: all .2s; }
.hub-link:hover { border-color: var(--p); background: #fff; transform: translateX(4px); }
.hub-link strong { color: var(--p); }


/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-intro { color: var(--tx2); font-size: 1rem; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--bd); }
.sitemap-section { margin-bottom: 40px; }
.sitemap-section h2 { font-size: 1.3rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--bd); }
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li { margin-bottom: 4px; }
.sitemap-list a { color: var(--p); text-decoration: none; font-size: .9rem; display: block; padding: 6px 10px; border-radius: 6px; transition: all .15s; }
.sitemap-list a:hover { background: var(--bg2); text-decoration: underline; }
.sitemap-main .sitemap-main-link { display: inline-block; margin-right: 16px; margin-bottom: 8px; }
.sitemap-main .sitemap-main-link a { font-weight: 700; font-size: .95rem; padding: 8px 16px; background: var(--bg2); border-radius: 8px; }
.sitemap-main .sitemap-main-link a:hover { background: var(--p); color: #fff; text-decoration: none; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; }
@media (max-width: 768px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* RESPONSIVE */
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } .hero-right { max-width: 400px; margin: 0 auto; } .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .hero-left h1 { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .fet-card:nth-child(n) { border-right: none; border-bottom: 1px solid var(--bd); }
  .fet-card:last-child { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .content-page .related-issues ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-section { padding: 50px 0 60px; }
  .hero-left h1 { font-size: 1.5rem; }
  .lead-card { padding: 22px 18px; }
  .hero-stats { flex-direction: column; }
  .stat-item { border-right: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
  .stat-item:last-child { border-bottom: none; }
}

/* Aliases */
.breadcrumb-item, .step-container, .support-content, .lsi, .current, .active, .-content, .-step-content, .-step-number { }
.btn-primary, .btn-large { display: inline-block; width: auto; padding: 14px 32px; background: var(--p); color: #fff; border: none; border-radius: var(--r); font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: all .2s; text-transform: uppercase; letter-spacing: .3px; }
.btn-primary:hover { background: var(--pd); }
.hero-right { min-width: 0; } .hero-right .lead-card { height: 100%; }
.features-section, .testimonials-section, .cta-section { scroll-margin-top: 80px; }
