/* Harrington Compliance Group — Design System */

:root {
  --navy: #0B1D3A;
  --navy-dark: #081428;
  --blue: #1A4A7A;
  --blue-mid: #1E5F9E;          /* ← primary brand blue (Book a Demo) */
  --blue-mid-hover: #1A4A7A;    /* darker hover for primary */
  --blue-bright: #2B7CC9;
  --blue-light: #4A9BE6;
  --blue-sky: #EFF5FD;           /* muted light blue for hero */
  --blue-ice: #F4F8FC;           /* softest blue-white for hero top */
  --blue-accent: #2B7CC9;
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 45, 92, 0.06);
  --shadow: 0 4px 12px rgba(15, 45, 92, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 45, 92, 0.12);
  --shadow-blue: 0 10px 30px rgba(37, 99, 235, 0.25);
  --max-w: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { color: var(--gray-700); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ==== TOP BAR ==== */
.topbar {
  background: var(--navy);
  color: var(--blue-sky);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--blue-sky); }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==== NAV ==== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--gray-800);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-size: 0.95rem;
}
.nav-links a:hover {
  background: var(--blue-ice);
  color: var(--blue-mid);
}
.nav-links a.current {
  color: var(--blue-mid);
  background: var(--blue-ice);
}
.nav-cta {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(30, 95, 158, 0.3);
}
.nav-cta:hover {
  background: var(--blue-mid-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  border-radius: 8px;
  z-index: 102;
}
.nav-toggle:hover { background: var(--blue-ice); }
.nav-toggle:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 2px; }

/* ==== HERO ==== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.2); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.hero {
  position: relative;
  background: linear-gradient(175deg, var(--blue-ice) 0%, var(--blue-sky) 40%, var(--white) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 124, 201, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43, 124, 201, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-mid);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-sky);
  animation: heroFadeUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  flex-shrink: 0;
  animation: heroPulseDot 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  margin-bottom: 20px;
  color: var(--navy);
  animation: heroFadeUp 0.6s 0.1s ease both;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 560px;
  animation: heroFadeUp 0.6s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 45, 92, 0.1);
  flex-wrap: wrap;
  animation: heroFadeUp 0.6s 0.4s ease both;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat span { font-size: 0.85rem; color: var(--gray-600); font-weight: 500; }

.hero-visual {
  position: relative;
  animation: heroFadeUp 0.8s 0.35s ease both;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--blue-sky);
  position: relative;
}

/* Floating chips drifting over the hero card */
.hero-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--blue-sky);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  animation: heroFloat 4s ease-in-out infinite;
}
.hero-float-1 { top: -16px; right: -22px; animation-delay: 0s; }
.hero-float-2 { bottom: 24px; left: -34px; animation-delay: 1.5s; }
.hero-float-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-icon.green { background: #dcfce7; color: #166534; }
.hero-float-icon.blue  { background: var(--blue-ice); color: var(--blue-mid); }

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero p.lead, .hero-ctas, .hero-stats,
  .hero-visual, .hero-float, .hero-badge::before {
    animation: none !important;
  }
}
.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.hero-card-title { font-weight: 700; color: var(--navy); }
.hero-card-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.hero-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.hero-card-item:last-child { border-bottom: 0; }
.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-mid);
  font-size: 1.1rem;
  font-weight: 700;
}
.hero-card-text { flex: 1; font-size: 0.92rem; color: var(--gray-700); }
.hero-card-text strong { color: var(--navy); display: block; font-weight: 600; }
.hero-card-check { color: var(--success); font-weight: 700; }

/* ==== BUTTONS ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(30, 95, 158, 0.3);
}
.btn-primary:hover {
  background: var(--blue-mid-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 95, 158, 0.35);
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-secondary:hover {
  border-color: var(--blue-mid);
  color: var(--blue-mid);
}
.btn-outline {
  background: transparent;
  color: var(--blue-mid);
  border: 2px solid var(--blue-mid);
}
.btn-outline:hover { background: var(--blue-mid); color: var(--white); }
.btn-large { padding: 18px 36px; font-size: 1.05rem; }

/* ==== TRUSTBAR ==== */
.trustbar {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
}
.trustbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.trustbar-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.trustbar-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  color: var(--gray-400);
  font-weight: 600;
  font-size: 1.1rem;
}
.trustbar-logos span { white-space: nowrap; }

/* ==== SECTIONS ==== */
section { padding: 90px 0; }
.section-ice { background: var(--blue-ice); }
.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--blue-sky); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255, 255, 255, 0.85); }

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--gray-600); }

/* ==== COURSE CARDS ==== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--blue-sky);
}
.course-card:hover::before { transform: scaleX(1); }
.course-tag {
  display: inline-block;
  background: var(--blue-ice);
  color: var(--blue-mid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.course-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow-blue);
}
.course-card h3 { margin-bottom: 12px; }
.course-card p { color: var(--gray-600); margin-bottom: 22px; font-size: 0.95rem; }
.course-features { list-style: none; margin-bottom: 28px; }
.course-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  color: var(--gray-700);
  font-size: 0.92rem;
}
.course-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}
.course-link {
  color: var(--blue-mid);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.course-link:hover { gap: 12px; }

/* ==== SECTOR CARDS ==== */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.sector-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.sector-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.sector-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--blue-ice);
  color: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.sector-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.sector-card p { font-size: 0.92rem; color: var(--gray-600); margin-bottom: 18px; }
.sector-link {
  color: var(--blue-mid);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.sector-link:hover { gap: 12px; }

/* ==== FEATURE GRID ==== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  text-align: left;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-ice), var(--blue-sky));
  color: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { font-size: 0.95rem; }

/* ==== CTA STRIP ==== */
.cta-strip {
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent 70%);
  border-radius: 50%;
}
.cta-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-strip h2 { color: var(--white); margin-bottom: 14px; }
.cta-strip p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-primary {
  background: var(--white);
  color: var(--navy);
}
.cta-strip .btn-primary:hover { background: var(--blue-ice); color: var(--navy); }
.cta-strip .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-strip .btn-outline:hover { background: var(--white); color: var(--navy); }

/* ==== PAGE HEADER ==== */
.page-header {
  background: linear-gradient(135deg, var(--blue-ice) 0%, var(--blue-sky) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
  border-radius: 50%;
}
.page-header-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue-mid); }
.breadcrumb span { color: var(--gray-400); }
.page-header h1 { margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; max-width: 680px; margin: 0 auto; color: var(--gray-700); }

/* ==== CONTENT BLOCKS ==== */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.content h2 { margin: 40px 0 18px; }
.content h3 { margin: 32px 0 12px; }
.content p { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.75; }
.content ul, .content ol { margin: 0 0 20px 20px; }
.content li { margin-bottom: 8px; line-height: 1.7; }
.content blockquote {
  border-left: 4px solid var(--blue-mid);
  background: var(--blue-ice);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-800);
}
.content a { color: var(--blue-mid); text-decoration: underline; }

/* ==== INFO BOXES ==== */
.info-box {
  background: var(--blue-ice);
  border-left: 4px solid var(--blue-mid);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 28px 0;
}
.info-box h4 { color: var(--navy); margin-bottom: 10px; }

/* ==== SPLIT LAYOUT ==== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-image {
  background: linear-gradient(135deg, var(--blue-ice), var(--blue-sky));
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checklist { list-style: none; }
.checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.98rem;
  color: var(--gray-700);
  align-items: flex-start;
}
.checklist li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-ice);
  color: var(--blue-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.8rem;
  background-image: linear-gradient(135deg, var(--blue-mid), var(--blue-accent));
  background-size: cover;
}
.checklist li::before { content: '✓'; color: var(--white); }

/* ==== FAQ ==== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--blue-sky); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 26px;
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: inherit;
}
.faq-q::after {
  content: '+';
  color: var(--blue-mid);
  font-size: 1.5rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 26px;
  color: var(--gray-700);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 26px 22px; }

/* ==== BLOG ==== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-sky);
}
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.5rem;
  position: relative;
}
.blog-thumb.v2 { background: linear-gradient(135deg, var(--blue-accent), var(--blue-mid)); }
.blog-thumb.v3 { background: linear-gradient(135deg, var(--navy), var(--blue-accent)); }
.blog-thumb.v4 { background: linear-gradient(135deg, var(--blue-bright), var(--navy)); }
.blog-thumb.v5 { background: linear-gradient(135deg, var(--blue-mid), var(--blue-accent)); }
.blog-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-category {
  background: var(--blue-ice);
  color: var(--blue-mid);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue-mid); }
.blog-card p { font-size: 0.92rem; color: var(--gray-600); margin-bottom: 18px; flex: 1; }
.blog-read {
  color: var(--blue-mid);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap 0.2s;
}
.blog-read:hover { gap: 12px; }

/* ==== FORMS ==== */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--white);
  color: var(--gray-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: #dcfce7;
  color: #166534;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: none;
  border-left: 4px solid var(--success);
}
.form-success.show { display: block; }

/* ==== FOOTER ==== */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand img { height: 48px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-bottom: 20px; max-width: 340px; }
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-list a:hover { color: var(--blue-light); }
.footer-contact {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.7); }

/* ==== STATS STRIP ==== */
.stats-strip {
  background: var(--white);
  padding: 0;
}
.stats-strip-inner {
  max-width: var(--max-w);
  margin: -50px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.stats-row {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  border: 1px solid var(--gray-100);
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }

/* ==== TESTIMONIAL ==== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 5rem;
  color: var(--blue-ice);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-body {
  position: relative;
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-size: 1rem;
}
.testimonial-author {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--navy); font-size: 0.95rem; }
.testimonial-author span { color: var(--gray-500); font-size: 0.85rem; }

/* ==== PRICING ==== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-blue);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-mid);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-card h3 { margin-bottom: 6px; }
.pricing-card > p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 24px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price strong { font-size: 2.5rem; color: var(--navy); font-weight: 800; }
.pricing-price span { color: var(--gray-500); }
.pricing-features { list-style: none; margin-bottom: 30px; }
.pricing-features li {
  padding: 10px 0;
  color: var(--gray-700);
  font-size: 0.93rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }
.pricing-card .btn { width: 100%; }

/* ==== SOCIAL PROOF ROW ==== */
.social-proof {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.social-proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.social-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-500);
}
.social-proof-item strong {
  color: var(--gray-700);
  font-weight: 600;
}
.social-proof-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-ice);
  color: var(--blue-mid);
  flex-shrink: 0;
}
.social-proof-icon svg { display: block; }

/* Soften hero badge to match old muted look */
.hero-badge {
  background: var(--white);
  color: var(--blue);
  border: 1px solid #cfe0f5;
  box-shadow: 0 1px 2px rgba(11, 29, 58, 0.05);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-logo img { height: 46px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 12px 16px 16px;
    gap: 4px;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 101;
    align-items: stretch;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    width: 100%;
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .nav-links .nav-cta {
    margin-top: 6px;
    text-align: center;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 28px; }
  .topbar-info { gap: 12px; font-size: 0.78rem; }
  .hero-stats { gap: 20px; }
  .stats-row { padding: 28px 20px; }
  .stat-item strong { font-size: 1.8rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .container, .container-narrow { padding: 0 20px; }
  .topbar { display: none; }
  .social-proof-inner { gap: 20px; }
  .social-proof-item { font-size: 13px; }
  .nav-logo img { height: 42px; }
  .nav-inner { padding: 10px 16px; }
}
