﻿/* ============================================================
   Litigation Hub — Global Website Stylesheet
   Benchmarked against: Ironclad, Relativity, Everlaw, Anaqua
   ============================================================ */

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

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #1F2937; background: #fff; line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  --navy:   #2f3e4b;
  --blue:   #2f3e4b;
  --gold:   #33a96c;
  --slate:  #6B7280;
  --light:  #F6F7F9;
  --border: #E5E7EB;
  --white:  #FFFFFF;
  --accent: #33a96c;
  --green:  #33a96c;
  --red:    #DC2626;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 50px -12px rgba(47,62,75,0.15);
  --shadow-xl: 0 40px 80px -20px rgba(47,62,75,0.18);
  --max-w: 1280px;
}

/* ---------- Utilities ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section   { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.text-slate { color: var(--slate); }
.text-white { color: var(--white); }
.bg-navy { background: var(--navy); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.font-serif { font-family: 'DM Serif Display', Georgia, serif; }

/* ---------- Typography ---------- */
.headline-xl { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.75rem, 6vw, 4.75rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.headline-lg { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.025em; }
.headline-md { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.headline-sm { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.125rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.body-lg { font-size: 1.25rem; line-height: 1.75; }
.body-md { font-size: 1rem; line-height: 1.75; }
.body-sm { font-size: 0.875rem; line-height: 1.65; }
.label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.875rem; border-radius: 100px;
  padding: 0.875rem 2rem; border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s ease;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
/* .btn-primary:hover { color:#fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-lg); } */
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(51,169,108,0.3); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--light); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); height: 80px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { max-height: 65px; width: auto; display: block; }
.logo-icon {
  width: 80px; height: 80px; background: var(--navy); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; color: var(--white); }
.logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.logo-sub { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #1d6b47; display: block; margin-top: -2px; }

.main-nav { display: flex; align-items: center; gap: 2.5rem; }
.main-nav a, .main-nav .nav-dropdown-trigger {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem; font-weight: 600; ;
  transition: color 0.2s; cursor: pointer; position: relative;
}

.main-nav a:hover, .main-nav .nav-dropdown-trigger:hover { color: var(--green); }
.main-nav a.active { color: var(--navy); font-weight: 700; }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 1px;
}

/* Dropdown */
.nav-dropdown { position: relative; padding-bottom: 24px; margin-bottom: -24px; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; border: none; background: none; font-family: inherit; cursor: pointer; }
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% - 8px); left: -1rem; width: 280px;
  background: var(--white); border-radius: var(--radius-lg); padding: 0.75rem;
  box-shadow: var(--shadow-xl); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s ease; pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
.nav-dropdown-menu a {
  display: block; padding: 0.75rem 1rem; border-radius: var(--radius-sm); transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--light); }
.nav-dropdown-menu a .dd-title { font-weight: 700; color: var(--navy); font-size: 0.875rem; }
.nav-dropdown-menu a .dd-desc { font-size: 0.7rem; color: var(--slate); margin-top: 2px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 28px; height: 28px; color: var(--navy); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 80px; left: 0; right: 0; background: var(--white);
    padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 1px solid var(--border); pointer-events: all; margin-top: 0.5rem;
  }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.8; max-width: 320px; }
.footer-col h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.8125rem; padding: 0.3rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 10rem 0 6rem; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2f3e4b 0%, #374859 50%, #3f5868 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-content.centered { margin: 0 auto; text-align: center; }
.hero .label { color: var(--gold); margin-bottom: 1.25rem; display: inline-block; }
.hero .headline-xl { color: var(--white); margin-bottom: 1.5rem; }
.hero .body-lg { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 580px; }
.hero .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-content.centered .body-lg { margin-left: auto; margin-right: auto; }
.hero-content.centered .hero-actions { justify-content: center; }

/* ---------- Hero Screenshot ---------- */
.hero-screenshot {
  margin-top: 4rem; position: relative; z-index: 2;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-screenshot img {
  width: 100%; display: block; border-radius: var(--radius-xl);
}

/* ---------- App Mockup ---------- */
.app-mockup {
  background: var(--navy); border-radius: var(--radius-xl); padding: 0.75rem;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.35); margin-top: 4rem; position: relative; z-index: 2;
}
.app-mockup-inner {
  background: #F6F7F9; border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden; display: flex; min-height: 420px;
}
.app-sidebar {
  width: 220px; background: var(--navy); padding: 1.5rem 1rem;
  display: flex; flex-direction: column; gap: 0.25rem; flex-shrink: 0;
}
.app-sidebar-item {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.45);
  transition: all 0.15s;
}
.app-sidebar-item:hover { color: rgba(255,255,255,0.7); }
.app-sidebar-item.active { background: rgba(255,255,255,0.08); color: var(--white); }
.app-sidebar-item .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.app-main { flex: 1; padding: 2rem; overflow: hidden; }

@media (max-width: 768px) {
  .app-sidebar { display: none; }
  .app-mockup-inner { min-height: 280px; }
}

/* ---------- Stats Bar ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.5rem; border: 1px solid var(--border); transition: all 0.3s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card .stat-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); }
.stat-card .stat-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); margin-top: 0.25rem; letter-spacing: -0.02em; }
.stat-card .stat-change { font-size: 0.8125rem; font-weight: 600; margin-top: 0.375rem; }
.stat-card .stat-change.up { color: var(--green); }
.stat-card .stat-change.down { color: var(--red); }
@media (max-width: 768px) { .stats-bar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats-bar { grid-template-columns: 1fr; } }

/* ---------- Feature Grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  transition: all 0.3s ease;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.feature-icon {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--slate); font-size: 0.875rem; line-height: 1.7; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Two-Column Section ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 3rem; } }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #2f3e4b 0%, #374859 100%); border-radius: var(--radius-xl);
  padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -25%; width: 150%; height: 150%;
  background: radial-gradient(ellipse at center, rgba(51,169,108,0.1) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; font-size: 1.0625rem; line-height: 1.7; }

/* ---------- App Screenshot Cards ---------- */
.screenshot-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all 0.3s;
}
.screenshot-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.screenshot-header {
  display: flex; gap: 6px; padding: 0.75rem 1rem;
  background: var(--light); border-bottom: 1px solid var(--border);
}
.screenshot-header span { width: 10px; height: 10px; border-radius: 50%; }
.screenshot-body { padding: 1.5rem; }

/* ---------- Workflow Steps ---------- */
.workflow-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.workflow-step {
  text-align: center; padding: 2rem 1.25rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all 0.3s ease;
}
.workflow-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: flex;
  align-items: center; justify-content: center; font-weight: 800;
  font-size: 1rem; margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(47,62,75,0.2);
}
.workflow-step h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.workflow-step p { font-size: 0.8125rem; color: var(--slate); line-height: 1.6; }
@media (max-width: 1024px) {
  .workflow-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .workflow-steps { grid-template-columns: 1fr; }
}

/* ---------- Testimonial / Quote ---------- */
.quote-block {
  background: var(--light); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2.5rem; margin: 3rem 0;
}
.quote-block p { font-size: 1.125rem; font-style: italic; color: var(--navy); line-height: 1.8; }
.quote-block cite { display: block; margin-top: 1rem; font-size: 0.8125rem; color: var(--slate); font-style: normal; font-weight: 600; }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.875rem;
  transition: border-color 0.2s; outline: none; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.6875rem; font-weight: 700; padding: 0.375rem 0.75rem;
  border-radius: 100px; background: var(--light); color: var(--navy);
}
.badge-gold { background: rgba(51,169,108,0.1); color: var(--gold); }

/* ---------- Page Header ---------- */
.page-header { padding: 9rem 0 4rem; background: var(--light); }
.page-header .label { color: var(--gold); margin-bottom: 1rem; display: inline-block; }
.page-header .headline-lg { color: var(--navy); margin-bottom: 1rem; }
.page-header .body-lg { color: var(--slate); max-width: 640px; }
.page-header.centered { text-align: center; }
.page-header.centered .body-lg { margin: 0 auto; }

/* Dark page header */
.page-header.dark { background: linear-gradient(160deg, #2f3e4b 0%, #374859 100%); }
.page-header.dark .headline-lg { color: var(--white); }
.page-header.dark .body-lg { color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
  .page-header-img { display: none; }
  .page-header .two-col { grid-template-columns: 1fr !important; }
  .page-header .two-col > div:first-child { padding-bottom: 0 !important; }
}

/* ============================================================
   ENHANCED UI/UX — Added March 2026
   ============================================================ */

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(135deg, #33a96c 0%, #27895a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Glow effects on hover ---------- */
.feature-card:hover {
  box-shadow: 0 20px 60px -10px rgba(47,62,75,0.13), 0 0 0 1px rgba(51,169,108,0.15) !important;
}

/* ---------- Icon Badge ---------- */
.icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.feature-card:hover .icon-badge { transform: scale(1.08) rotate(-3deg); }

/* ---------- Premium Stat Strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.stat-strip-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem; font-weight: 900;
  color: var(--gold); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-strip-label { font-size: 0.8125rem; color: rgba(255,255,255,0.6); line-height: 1.4; }
@media (max-width: 768px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr; }
}

/* ---------- Workflow Timeline ---------- */
.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  position: relative;
}
.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 27px; left: calc(100%/14); right: calc(100%/14);
  height: 2px;
  background: linear-gradient(to right, rgba(51,169,108,0.15), rgba(51,169,108,0.7), rgba(51,169,108,0.15));
  z-index: 0;
}
.wtl-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.875rem; padding: 0 0.375rem; position: relative; z-index: 1;
}
.wtl-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 800;
  border: 3px solid rgba(51,169,108,0.25);
  transition: all 0.3s ease; flex-shrink: 0;
}
.wtl-step:hover .wtl-num {
  border-color: var(--gold); background: var(--gold);
  transform: scale(1.1);
}
.wtl-step.active .wtl-num { background: var(--gold); border-color: var(--gold); }
.wtl-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.25rem;
}
.wtl-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem; font-weight: 700; color: var(--navy);
  text-align: center; line-height: 1.3; max-width: 80px;
}
.wtl-desc {
  font-size: 0.6rem; color: var(--slate); text-align: center;
  line-height: 1.4; max-width: 90px; display: none;
}
.wtl-step:hover .wtl-desc { display: block; }
@media (max-width: 1024px) {
  .workflow-timeline { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .workflow-timeline::before { display: none; }
}
@media (max-width: 600px) {
  .workflow-timeline { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ---------- Premium Quote Card ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border-left: 5px solid var(--gold);
  box-shadow: 0 8px 40px rgba(47,62,75,0.08);
  position: relative; overflow: hidden;
}
.quote-card::before {
  content: '\201C';
  position: absolute; top: -1.5rem; left: 1.5rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 10rem; color: var(--navy); opacity: 0.04;
  line-height: 1; pointer-events: none;
}
.quote-card blockquote {
  font-size: 1.125rem; line-height: 1.8;
  color: var(--navy); font-style: italic;
  margin-bottom: 1.75rem; position: relative;
}
.quote-card .quote-author { display: flex; align-items: center; gap: 1rem; }
.quote-card .quote-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #3f5868);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 0.875rem; color: white; flex-shrink: 0;
}
.quote-card .quote-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.9375rem; color: var(--navy);
}
.quote-card .quote-title { font-size: 0.8125rem; color: var(--slate); margin-top: 0.125rem; }

/* ---------- Tax Regime Card ---------- */
.regime-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.regime-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  text-align: center; transition: all 0.3s ease;
}
.regime-card:hover {
  border-color: rgba(51,169,108,0.4);
  box-shadow: 0 8px 30px rgba(51,169,108,0.1);
  transform: translateY(-3px);
}
.regime-icon {
  width: 52px; height: 52px;
  background: rgba(47,62,75,0.06); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; transition: background 0.3s;
}
.regime-card:hover .regime-icon { background: rgba(51,169,108,0.1); }
.regime-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.regime-desc { font-size: 0.75rem; color: var(--slate); line-height: 1.5; }
@media (max-width: 768px) { .regime-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Who We Serve Card ---------- */
.serve-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem 2rem;
  text-align: center; transition: all 0.3s ease;
}
.serve-card:hover {
  border-color: rgba(51,169,108,0.3);
  box-shadow: 0 16px 48px rgba(47,62,75,0.1);
  transform: translateY(-4px);
}
.serve-icon {
  width: 72px; height: 72px;
  background: rgba(47,62,75,0.06); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; transition: all 0.3s;
}
.serve-card:hover .serve-icon { background: rgba(51,169,108,0.1); }

/* ---------- Team Card ---------- */
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem 2rem;
  text-align: center; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.team-card:hover { box-shadow: 0 16px 48px rgba(47,62,75,0.1); transform: translateY(-4px); }
.team-card:hover::before { opacity: 1; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #3f5868 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(51,169,108,0.2);
  transition: border-color 0.3s;
}
.team-card:hover .team-avatar { border-color: var(--gold); }

/* ---------- Dark page header with dot grid ---------- */
.page-header.dark { position: relative; overflow: hidden; }
.page-header.dark .container { position: relative; z-index: 2; }

/* ---------- Chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(51,169,108,0.1); color: #1d6b47;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem; font-weight: 700;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.chip.chip-navy { background: rgba(47,62,75,0.08); color: var(--navy); }
.chip.chip-red { background: rgba(220,38,38,0.08); color: #DC2626; }

/* ---- Scroll Reveal Script (included once) ---- */

/* ============================================================
   RESPONSIVE UTILITIES & MOBILE IMPROVEMENTS
   ============================================================ */

/* ---------- Responsive Grid Utilities ---------- */
/* Apply these classes to containers in place of inline grid-template-columns */
.rg-4  { display: grid; grid-template-columns: repeat(4, 1fr); }
.rg-3  { display: grid; grid-template-columns: repeat(3, 1fr); }
.rg-2  { display: grid; grid-template-columns: 1fr 1fr; }
.rg-1-2 { display: grid; grid-template-columns: 1fr 2fr; }

/* Proof bar items */
.proof-bar-item { padding: 2rem 1.75rem; border-right: 1px solid var(--border); text-align: center; }
.proof-bar-item:last-child { border-right: none; }

/* FAQ sticky sidebar — desktop only */
.faq-sticky { position: sticky; top: 100px; }

/* ---- Tablet (≤ 1200px) ---- */
@media (max-width: 1200px) {
  .rg-4 { grid-template-columns: repeat(2, 1fr); }
  .proof-bar-item:nth-child(2n) { border-right: none; }
  .proof-bar-item:nth-child(1),
  .proof-bar-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  /* Grid utilities → single column */
  .rg-4, .rg-3, .rg-2, .rg-1-2 { grid-template-columns: 1fr; }

  /* Proof bar: stack vertically with bottom divider */
  .proof-bar-item { border-right: none !important; border-bottom: 1px solid var(--border); padding: 1.5rem 1.25rem; }
  .proof-bar-item:last-child { border-bottom: none !important; }
  .proof-bar-item:nth-child(1),
  .proof-bar-item:nth-child(2) { border-bottom: 1px solid var(--border) !important; }

  /* Unstick FAQ sidebar */
  .faq-sticky { position: static; }

  /* Reduce section padding */
  .section    { padding: 4rem 0; }
  .section-lg  { padding: 5rem 0; }
  .container  { padding: 0 1.25rem; }

  /* Hero */
  .hero { padding: 7rem 0 4rem; }

  /* Page header */
  .page-header { padding: 7rem 0 3rem; }

  /* CTA banner */
  .cta-banner { padding: 3rem 1.75rem; }
  .cta-banner p { max-width: 100%; }

  /* Footer */
  .site-footer { padding: 4rem 0 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom > span:last-child { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 1rem !important; }

  /* Body text */
  .body-lg { font-size: 1.0625rem; }
}

/* ---- Small Mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  .container  { padding: 0 1rem; }
  .section    { padding: 3rem 0; }
  .hero       { padding: 5.5rem 0 3rem; }
  .cta-banner { padding: 2.5rem 1.25rem; }
  .btn-lg     { padding: 0.875rem 1.75rem; font-size: 0.9375rem; }
}

/* 3-column workflow-steps variant */
.workflow-steps.wf-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .workflow-steps.wf-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .workflow-steps.wf-3 { grid-template-columns: 1fr; } }
