/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #F7F9FC;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== GRAIN OVERLAY ========== */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 1rem;
  display: inline-block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #0B1426;
  margin-bottom: 1.25rem;
}
.section-desc {
  font-size: 1.05rem;
  color: #555;
  max-width: 700px;
  line-height: 1.7;
}

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible, .no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: if JS hasn't run after 3s, show everything */
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
.reveal { animation: revealFallback 0s 3s forwards; }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }
.reveal-delay-5 { transition-delay: 0.3s; }

/* FAQ rows carry no delay class in markup; cascade them so the list
   resolves row by row instead of all seven arriving at once. */
.faq-item.reveal:nth-child(2) { transition-delay: 0.05s; }
.faq-item.reveal:nth-child(3) { transition-delay: 0.10s; }
.faq-item.reveal:nth-child(4) { transition-delay: 0.15s; }
.faq-item.reveal:nth-child(5) { transition-delay: 0.20s; }
.faq-item.reveal:nth-child(6) { transition-delay: 0.25s; }
.faq-item.reveal:nth-child(7) { transition-delay: 0.30s; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.hidden { transform: translateY(-100%); }
.navbar .logo img { height: 44px; width: auto; object-fit: contain; display: block; filter: invert(1) brightness(2); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 10px 24px !important;
  background: #0B1426 !important;
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: #162244 !important; transform: translateY(-1px); }
.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  /* 44px target; the negative margin keeps the bars on the nav's optical edge. */
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -7px;
}
.mobile-toggle span {
  width: 22px; height: 2px;
  /* Was #0B1426 — the same value as the navbar background, so the only mobile
     nav control rendered invisible against it. */
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
/* setMenuOpen() maintains aria-expanded, so the open state needs no extra class. */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: #0B1426;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  text-align: center;
}
.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* #3B82F6 measured 4.44:1 on the hero gradient — just under AA for this size. */
  color: #93C5FD;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.3s forwards;
}
.hero-headline {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  color: #fff;
  line-height: 1.08;
  margin: 0 auto 1.5rem;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.9s 0.5s forwards;
}
.hero-headline em {
  font-style: normal;
  color: #3B82F6;
}
.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(25px);
  animation: heroFadeUp 0.9s 0.7s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #2563EB;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.3);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
/* Was a whole-element bounce running forever. The signal now lives in the rule
   itself: a light traces down the hairline, so nothing in the hero moves and
   the CTA keeps the eye. */
.hero-scroll-hint .scroll-line {
  position: relative;
  overflow: hidden;
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.14);
}
.hero-scroll-hint .scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.75), transparent);
  animation: scrollTrace 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollTrace {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ========== TRUST STRIP ========== */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid rgba(11,20,38,0.06);
  padding: 32px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}
.trust-item .trust-icon {
  width: 20px; height: 20px;
  color: #2563EB;
  flex-shrink: 0;
}
.trust-item strong { color: #0B1426; font-weight: 600; }

/* ========== SERVICES ========== */
.services { background: #F7F9FC; }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-desc { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(11,20,38,0.06);
  border-radius: 12px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #3B82F6);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11,20,38,0.08);
  border-color: rgba(37,99,235,0.15);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #2563EB;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0B1426;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

/* ========== RESULTS ========== */
.results {
  background: linear-gradient(180deg, #0e1a30 0%, #0B1426 100%);
  position: relative;
  overflow: hidden;
}
.results::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.08) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(37,99,235,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.results .section-label { color: #3B82F6; }
.results .section-title { color: #fff; }
.results .section-desc { color: rgba(255,255,255,0.5); }
.results-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 12px;
  padding: 36px 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.3);
}
.result-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3B82F6;
  margin-bottom: 16px;
}
.result-metric {
  font-family: 'Inter', sans-serif;
  font-size: 3.25rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.result-context {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.result-details {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.result-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.result-detail span:first-child { color: rgba(255,255,255,0.4); }
.result-detail span:last-child { color: rgba(255,255,255,0.7); font-weight: 500; }

/* ========== WHY BMG ========== */
.why-bmg { background: #F7F9FC; }
.why-bmg-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-bmg-content .section-title { margin-bottom: 1.5rem; }
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: rgba(37,99,235,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  margin-top: 2px;
}
.why-icon svg { width: 18px; height: 18px; }
.why-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0B1426;
  margin-bottom: 4px;
}
.why-item p { font-size: 0.875rem; color: #666; line-height: 1.6; }
.why-comparison {
  background: #fff;
  border: 1px solid rgba(11,20,38,0.06);
  border-radius: 16px;
  padding: 40px;
  position: relative;
}
.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11,20,38,0.06);
}
.comparison-header span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.comparison-header span:first-child { color: #999; }
.comparison-header span:last-child { color: #2563EB; }
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11,20,38,0.03);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row span {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-row span:first-child { color: #999; }
.comparison-row span:last-child { color: #0B1426; font-weight: 500; }
.check-icon { color: #2563EB; width: 16px; height: 16px; flex-shrink: 0; }
.x-icon { color: #ccc; width: 16px; height: 16px; flex-shrink: 0; }

/* ========== INDUSTRIES ========== */
.industries { background: #fff; }
.industries-header { text-align: center; margin-bottom: 64px; }
.industries-header .section-desc { margin: 0 auto; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.industry-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(11,20,38,0.06);
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: #F7F9FC;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11,20,38,0.06);
  border-color: rgba(37,99,235,0.2);
}
.industry-icon {
  width: 56px; height: 56px;
  background: rgba(37,99,235,0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #2563EB;
  font-size: 1.5rem;
}
.industry-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0B1426;
}

/* ========== FAQ ========== */
.faq { background: #F7F9FC; }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header .section-desc { margin: 0 auto; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(11,20,38,0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0B1426;
  transition: color 0.2s;
  gap: 16px;
}
.faq-question:hover { color: #2563EB; }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: #999;
  transition: transform 0.3s, color 0.3s;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #2563EB;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
}
.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 0.975rem;
  color: #555;
  line-height: 1.7;
}

/* ========== FINAL CTA ========== */
.final-cta {
  background: #0B1426;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.08), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
}
.final-cta h2 em { font-style: normal; color: #3B82F6; }
.final-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  background: #070d1a;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand { max-width: 420px; }
.footer-brand-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93C5FD;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-logo img { height: 48px; width: auto; display: block; filter: invert(1) brightness(2); margin-bottom: 16px; }
.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-contact a {
  display: inline;
  margin-bottom: 0;
  color: #93C5FD;
}
.footer-contact a:hover { color: #3B82F6; }
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  /* Was margin-bottom:10px on a 22px line — a 22px touch target. Trading the
     margin for padding gives a 44px row without changing the list's pitch. */
  padding: 11px 0;
  margin-bottom: 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #3B82F6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-badges {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ========== SIDEBAR PANEL ========== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,20,38,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.sidebar-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 460px;
  max-width: 100vw;
  background: #fff;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}
.sidebar-panel.active { transform: translateX(0); }
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(11,20,38,0.06);
}
.sidebar-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: #0B1426;
}
.sidebar-close {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #666;
  transition: background 0.2s, color 0.2s;
}
.sidebar-close:hover { background: rgba(11,20,38,0.05); color: #0B1426; }
.sidebar-close svg { width: 20px; height: 20px; }
.sidebar-body {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}
.sidebar-body .sidebar-intro {
  font-size: 0.925rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}
.hs-form-frame { min-height: 400px; }

/* ========== COOKIE CONSENT ========== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 440px;
  background: #fff;
  border: 1px solid rgba(11,20,38,0.08);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}
.cookie-banner p a { color: #2563EB; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-accept {
  padding: 10px 20px;
  background: #0B1426;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
}
.cookie-accept:hover { background: #162244; }
.cookie-decline {
  padding: 10px 20px;
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s;
}
.cookie-decline:hover { color: #0B1426; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid .result-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-bmg-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(11,20,38,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }
  .mobile-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .results-grid .result-card:last-child { grid-column: auto; max-width: 100%; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { gap: 24px; }
  .trust-item { font-size: 0.78rem; }
  .hero-headline { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .sidebar-panel { width: 100vw; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .comparison-header, .comparison-row { gap: 16px; }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ========== UX REFRESH OVERRIDES ========== */
:root {
  --canvas: #f7f9fc;
  --surface: #ffffff;
  --surface-strong: #0b1426;
  --surface-muted: rgba(255, 255, 255, 0.08);
  --text: #0b1426;
  --text-soft: #526072;
  --line: rgba(11, 20, 38, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #2563EB;
  --accent-strong: #1D4ED8;
  --shadow-soft: 0 24px 60px rgba(9, 16, 32, 0.08);
}

body {
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.08), transparent 30%),
    var(--canvas);
  color: var(--text);
}

body.ui-locked {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20000;
  padding: 10px 14px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.navbar {
  height: 76px;
  padding: 0 40px;
  background: rgba(11, 20, 38, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.navbar .nav-links a { color: rgba(255,255,255,0.7); }
.navbar .nav-links a:hover { color: #fff; }
.navbar .nav-cta { background: #2563EB; color: #fff; }

.logo {
  display: inline-flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  border-radius: 999px;
  padding: 11px 22px !important;
}

.hero {
  min-height: 100svh;
  padding: 136px 0 72px;
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.18), transparent 24%),
    linear-gradient(135deg, #091223 0%, #0b1426 58%, #102038 100%);
}

.hero::before {
  top: -15%;
  right: -12%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 65%);
}

.hero-inner {
  max-width: 1200px;
  padding: 0 24px;
  text-align: left;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-label {
  margin-bottom: 1.25rem;
}

/* The headline is three sentences and is meant to set as three lines. At the
   old 5.5vw/4.5rem the longest ("Cleaner reporting.") needed 601px against a
   593px column, so it wrapped to four lines and orphaned "reporting." at every
   width past the 1200px container cap. 5.3vw/4.25rem clears it with room. */
.hero-headline {
  margin: 0 0 1.25rem;
  max-width: none;
  font-size: clamp(2.75rem, 5.3vw, 4.25rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-sub {
  margin: 0 0 2rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.hero-actions {
  justify-content: flex-start;
  /* The contact links below now carry their own 10px vertical padding for a
     44px target, so this margin drops to keep the optical gap unchanged. */
  margin-bottom: 0.5rem;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
}

.btn-primary {
  padding: 16px 26px;
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.hero-inline-link:hover {
  color: #fff;
}

.hero-inline-link::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.14);
}

.hero-rail {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(15, 25, 45, 0.65);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-rail-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93C5FD;
}

/* Supporting panel, not a second headline: the h1 is the only display-scale
   statement in the hero. This stays a lede so the two columns read in order. */
.hero-rail-lead {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero-steps {
  display: grid;
  gap: 14px;
}

.hero-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-step:first-child {
  padding-top: 0;
  border-top: none;
}

.hero-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #93C5FD;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.hero-step p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Ruled columns rather than cards: these sit inside .hero-rail, and a card
   nested in a card reads as a seam instead of a hierarchy. */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric {
  padding: 0 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metric:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-metric:last-child {
  padding-right: 0;
}

.hero-metric strong {
  display: block;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
}

.hero-metric span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.trust-strip {
  position: relative;
  z-index: 1;
  margin-top: -32px;
  background: transparent;
  border: none;
  padding: 0 0 36px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  white-space: normal;
}

.trust-item span {
  line-height: 1.45;
}

/* ========== PARTNER BADGES ========== */
/* Mirrors the badge row on us.bmgww.com so the regional sites present the same
   credentials the same way. Assets are self-hosted in /partners — never
   hotlinked, per the logo incident in CLAUDE.md. */
.partners {
  background: var(--canvas);
  padding: 4px 0 68px;
}

.partners-eyebrow {
  text-align: center;
  margin-bottom: 26px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Identical tiles, marks scaled to fit. The badge artwork was trimmed to its
   content bounds and stripped of its own backgrounds and frames, so this tile
   is the only card — Google and Meta previously shipped their own bordered
   card, which sat inside this one as a visible box-in-box. */
.partner-badge {
  flex: 0 0 auto;
  width: 168px;
  height: 104px;
  padding: 14px 16px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.06),
    0 18px 36px rgba(37, 99, 235, 0.04);
}

.services {
  padding-top: 84px;
}

.services-header,
.results-header,
.faq-header,
.industries-header {
  margin-bottom: 52px;
}

.service-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-lane {
  padding: 34px 30px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.service-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-lane h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 12px;
}

.service-lane p {
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
}

.results {
  padding: 108px 0;
}

.results-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.results-story,
.results-proof {
  padding: 34px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.results-story h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 14px;
}

.results-story p,
.results-bullets li,
.result-stat p {
  color: rgba(255, 255, 255, 0.7);
}

.results-bullets {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.results-bullets li {
  position: relative;
  padding-left: 20px;
  line-height: 1.65;
}

.results-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #93C5FD;
}

.results-proof {
  display: grid;
  gap: 16px;
}

.result-stat {
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.result-stat:first-child {
  padding-top: 0;
  border-top: none;
}

.result-stat strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  color: #fff;
  line-height: 0.95;
  margin-bottom: 10px;
}

.result-stat p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.process {
  background: #fff;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.process-track {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-soft);
  line-height: 1.65;
}

.process-aside {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0f1f39, #0b1426);
  color: #fff;
}

.process-aside h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.process-aside p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  margin-bottom: 20px;
}

.process-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.process-list li {
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.process-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93C5FD;
}

.process-note {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
}

/* ========== RETENTION (KLAVIYO) ========== */
.retention {
  background: #fff;
}

.retention-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.retention-copy .section-desc {
  margin-bottom: 28px;
}

.retention-partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.retention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.retention-chip {
  padding: 20px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(9, 16, 32, 0.05);
}

.retention-chip h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.retention-chip p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ========== ADEQO ========== */
.adeqo {
  background: var(--canvas);
  padding: 84px 0;
}

.adeqo-panel {
  padding: 48px 44px;
  border-radius: 28px;
  background: linear-gradient(180deg, #0f1f39, #0b1426);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.adeqo-panel::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 65%);
  pointer-events: none;
}

.adeqo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.adeqo-panel .section-label { color: #93C5FD; }

.adeqo-panel h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: #fff;
  margin-bottom: 14px;
}

.adeqo-panel h2 em { font-style: normal; color: #3B82F6; }

.adeqo-panel > .adeqo-inner p,
.adeqo-lead {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.adeqo-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.adeqo-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 500;
}

.adeqo-source::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93C5FD;
  flex-shrink: 0;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  min-width: 180px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 10px 26px rgba(9, 16, 32, 0.05);
}

.industries-note {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--text-soft);
}

.final-cta {
  padding: 108px 0;
}

.final-cta-shell {
  max-width: 820px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 600px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.final-cta-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.sidebar-panel {
  border-left: 1px solid rgba(11, 20, 38, 0.06);
}

.sidebar-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.sidebar-meta-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f1f5f9;
  border: 1px solid rgba(11, 20, 38, 0.06);
}

.sidebar-meta-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 6px;
}

.sidebar-meta-item span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-soft);
}

@media (max-width: 1024px) {
  .hero-grid,
  .results-feature,
  .process-layout,
  .trust-inner,
  .service-lanes,
  .retention-layout,
  .adeqo-inner {
    grid-template-columns: 1fr;
  }

  .retention-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    max-width: none;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 28px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-links.open {
    top: 76px;
    min-height: calc(100svh - 76px);
    justify-content: flex-start;
    padding: 28px 20px 32px;
    background: rgba(247, 249, 252, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  /* Menu rows are 22px of text on desktop; on touch they need a real target. */
  .nav-links.open a:not(.nav-cta) {
    padding: 11px 0;
    width: 100%;
  }

  .nav-links.open .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 118px 0 56px;
  }

  .hero-headline {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-contact-row {
    flex-direction: column;
    gap: 12px;
  }

  .hero-rail,
  .service-lane,
  .results-story,
  .results-proof,
  .process-step,
  .process-aside,
  .adeqo-panel {
    padding: 24px 22px;
    border-radius: 22px;
  }

  .retention-grid,
  .adeqo-sources {
    grid-template-columns: 1fr;
  }

  .partners {
    padding-bottom: 48px;
  }

  .partners-row {
    gap: 12px;
  }

  .partner-badge {
    width: 146px;
    height: 90px;
    padding: 10px 12px;
  }

  .hero-metrics,
  .sidebar-meta {
    grid-template-columns: 1fr;
  }

  /* Stacked, the column rules would read as stray accent bars — rule between
     rows instead. */
  .hero-metrics {
    padding-top: 16px;
  }

  .hero-metric {
    padding: 12px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-metric:first-child {
    padding-top: 0;
    border-top: none;
  }

  .industry-pill {
    min-width: 0;
    width: calc(50% - 7px);
  }

  .final-cta-link {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  .industry-pill {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== MULTI-PAGE CHROME ========== */
/* Sub-pages have no hero, so this clears the fixed navbar and carries the
   breadcrumb; the section below it drops its top padding to compensate. */
.page-head {
  background: var(--canvas);
  padding: 116px 0 0;
}

.page-head + section {
  padding-top: 36px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(11, 20, 38, 0.28); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }

/* Current page keeps the nav underline that hover would otherwise draw. */
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:not(.nav-cta)[aria-current="page"]::after { transform: scaleX(1); }

/* Home-page lanes are links to the sub-pages, so they need affordance. */
.service-lane-link {
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-lane-link:hover,
.service-lane-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 44px rgba(9, 16, 32, 0.1);
}

.lane-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.lane-more::after {
  content: '\2192';
  transition: transform 0.2s ease;
}

.service-lane-link:hover .lane-more::after { transform: translateX(4px); }

@media (max-width: 768px) {
  .page-head { padding-top: 100px; }
}

/* ========== PROOF-LED HERO RAIL (/google-ads) ========== */
/* Same rail shell as the home page, but carrying credentials instead of
   process steps — ruled columns, consistent with .hero-metrics. */
.hero-rail-proof .proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.proof-stat {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-stat:nth-child(1),
.proof-stat:nth-child(2) { border-top: none; }
.proof-stat:nth-child(odd) { padding-left: 0; }
.proof-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-right: 0; }

.proof-stat strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 8px;
}

.proof-stat span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 768px) {
  .hero-rail-proof .proof-grid { grid-template-columns: 1fr; }
  .proof-stat { padding: 14px 0 0; border-left: none !important; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .proof-stat:nth-child(1) { padding-top: 0; border-top: none; }
  .proof-stat:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
}

/* Service pages trade headline scale for visible proof: the h1 clamp on the
   home page is sized for a three-sentence statement and wraps to four lines
   here, pushing the CTA onto the fold line. */
.hero-compact { min-height: 0; padding: 128px 0 72px; }
.hero-compact .hero-headline { font-size: clamp(2.2rem, 4vw, 3.15rem); }
.hero-compact .hero-sub { font-size: 1.02rem; margin-bottom: 1.75rem; }

@media (max-width: 768px) {
  .hero-compact { padding: 108px 0 52px; }
}

/* ========== INLINE AUDIT REQUEST (/google-ads) ========== */
.audit-request {
  background: #fff;
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.audit-copy .section-desc {
  margin-bottom: 24px;
}

.audit-scope {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.audit-scope li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.6;
}

.audit-scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.audit-form-panel {
  padding: 32px 30px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.audit-form-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.audit-form-panel > p {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.audit-form-panel .hs-form-frame {
  min-height: 360px;
}

@media (max-width: 1024px) {
  .audit-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .audit-form-panel {
    padding: 24px 20px;
  }

  .audit-scope {
    grid-template-columns: 1fr;
  }
}
