/* ============================================================
   KB Digital — Redesigned Stylesheet
   Phase 4 Implementation · June 2026
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Color */
  --navy-deep:        #081A33;
  --navy-mid:         #0D2747;
  --blue-primary:     #1A56C4;   /* Used for accents, icons, borders */
  --blue-bright:      #4F7DF3;   /* CTA buttons — softened from prior #2563EB, ~3.8:1 on white (large/bold button text passes WCAG AA) */
  --blue-bright-hover:#3D68D9;   /* Button hover — ~5.0:1 on white, WCAG AA ✓ */
  --blue-soft:        #DCEBFA;   /* Eyebrow fills, icon bg, light accents */
  --bg-pale:          #F4F8FC;   /* Alternate section background */
  --white:            #FFFFFF;
  --text-dark:        #142033;   /* ~16:1 on white */
  --text-muted:       #4E5A6E;   /* ~5.2:1 on white, WCAG AA ✓ */
  --border:           #D7E1EC;
  --success:          #16A34A;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --section-y:   6rem;
  --container:   1200px;
  --container-pad: clamp(1.5rem, 5vw, 5rem);
}

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

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

body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--font-ui); cursor: pointer; }
ul, ol { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue-bright);
  color: var(--white);
  padding: .6rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -.015em;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  flex-shrink: 0;
}
.eyebrow--light { color: var(--blue-soft); }
.eyebrow--light::before { background: var(--blue-soft); }
.eyebrow--dark  { color: var(--blue-primary); }
.eyebrow--dark::before  { background: var(--blue-primary); }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--narrow { max-width: 760px; }

/* ── SCROLL PROGRESS ──────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-bright), var(--blue-primary));
  z-index: 9998;
  pointer-events: none;
  transition: width .08s linear;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--white);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(8,26,51,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: -.01em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: .15em;
  color: var(--white);
  transition: color .2s;
}
.nav-logo .logo-kb {
  font-style: italic;
  color: #5B9CF6; /* Accessible blue on dark bg — logo accent */
}
.nav-logo .logo-digital { font-family: var(--font-ui); font-weight: 300; }
.site-header.scrolled .nav-logo { color: var(--text-dark); }
.site-header.scrolled .nav-logo .logo-kb { color: var(--blue-bright); }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.75);
  transition: color .15s;
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--blue-bright);
}
.site-header.scrolled .nav-links a { color: var(--text-muted); }
.site-header.scrolled .nav-links a:hover { color: var(--text-dark); }
.site-header.scrolled .nav-links a[aria-current="page"] { color: var(--text-dark); }

/* Nav services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .3rem; }
.nav-dropdown > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(8,26,51,.12);
  padding: .5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none;
}
/* Invisible hover bridge — closes the gap between the trigger link and the
   dropdown panel so the cursor doesn't lose hover while moving down into it. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: .55rem 1.25rem;
  font-size: .8125rem;
  color: var(--text-muted) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400;
  transition: color .15s, background .15s;
}
.nav-dropdown-menu a:hover {
  color: var(--text-dark) !important;
  background: var(--bg-pale);
}

/* Nav CTA button */
.nav-cta {
  font-size: .75rem !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: var(--blue-bright);
  padding: .55rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none !important;
  transition: background .18s ease !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-bright-hover) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--white);
}
.site-header.scrolled .nav-hamburger { color: var(--text-dark); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ────────────────────────────────────── */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,26,51,.5);
  z-index: 490;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.nav-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--navy-deep);
  z-index: 495;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.nav-drawer-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .15s;
}
.nav-drawer-close:hover { background: rgba(255,255,255,.12); }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}
.nav-drawer-links a,
.nav-drawer-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem .75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color .15s, background .15s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.nav-drawer-links a:hover,
.nav-drawer-services-toggle:hover { color: var(--white); background: rgba(255,255,255,.05); }

.nav-drawer-services-toggle .toggle-icon {
  font-size: .75rem;
  transition: transform .2s;
  opacity: .6;
}
.nav-drawer-services-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.nav-drawer-submenu {
  display: none;
  flex-direction: column;
  gap: .125rem;
  padding: .25rem 0 .5rem .75rem;
}
.nav-drawer-submenu.open { display: flex; }
.nav-drawer-submenu a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  padding: .6rem .75rem;
}
.nav-drawer-submenu a:hover { color: rgba(255,255,255,.85); }

.nav-drawer-cta {
  margin-top: 2rem;
  display: block;
  text-align: center;
  background: var(--blue-bright);
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  padding: .875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .18s;
}
.nav-drawer-cta:hover { background: var(--blue-bright-hover); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--white);
  background: var(--blue-bright);
  border: none;
  padding: .8125rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-bright-hover); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  background: transparent;
  padding: .8125rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-secondary--light {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-secondary--light:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}
.btn-secondary--dark {
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-primary);
}
.btn-secondary--dark:hover {
  background: rgba(26,86,196,.06);
  border-color: var(--blue-bright);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--blue-bright);
  text-decoration: none;
  transition: gap .2s ease;
}
.link-arrow:hover { gap: .55rem; }
.link-arrow::after { content: '→'; }

/* ── SECTION SHARED ───────────────────────────────────────── */
.section {
  padding-block: var(--section-y);
}
.section--white   { background: var(--white); }
.section--pale    { background: var(--bg-pale); }
.section--dark    { background: var(--navy-deep); }
.section--darkest { background: #06131F; }

.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .eyebrow { justify-content: center; }
.section-header--center .display-lg { margin-inline: auto; }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-top: .75rem;
}
.section--dark .section-sub { color: rgba(220,235,250,.7); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 7rem 5rem;
  padding-inline: var(--container-pad);
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
}
.hero-section {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-left { max-width: 560px; }

.hero-eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .6s .1s var(--ease) forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
}
/* JS reveals it word-by-word */
.h1-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: wordIn .6s var(--ease) both;
}
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(220,235,250,.78);
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .7s .55s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s .7s var(--ease) forwards;
}

/* Hero right — visual composition */
.hero-right {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeRight .9s .45s var(--ease) forwards;
}

/* Browser frame placeholder composition */
.hero-visual {
  position: relative;
}
.browser-frame {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(47,128,237,.12);
}
.browser-chrome {
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.browser-dots {
  display: flex;
  gap: .375rem;
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.browser-url {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 .5rem;
}
.browser-url-text {
  font-size: .625rem;
  color: rgba(255,255,255,.3);
  font-family: var(--font-ui);
}
.browser-body {
  padding: 1.25rem;
}

/* Mockup layout blocks inside browser */
.mockup-header {
  height: 36px;
  background: var(--navy-deep);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  gap: .5rem;
}
.mockup-logo-block { width: 60px; height: 10px; background: rgba(91,156,246,.4); border-radius: 2px; }
.mockup-nav-dots { display: flex; gap: .35rem; margin-left: auto; }
.mockup-nav-dot { width: 28px; height: 6px; background: rgba(255,255,255,.1); border-radius: 2px; }

.mockup-hero-block {
  height: 80px;
  background: linear-gradient(135deg, rgba(26,86,196,.25), rgba(13,39,71,.6));
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 .75rem;
  gap: .375rem;
}
.mockup-headline-line { height: 8px; width: 70%; background: rgba(255,255,255,.5); border-radius: 2px; }
.mockup-sub-line { height: 5px; width: 50%; background: rgba(255,255,255,.2); border-radius: 2px; }
.mockup-sub-line-2 { height: 5px; width: 35%; background: rgba(255,255,255,.15); border-radius: 2px; }
.mockup-cta-block { height: 18px; width: 80px; background: rgba(79, 125, 243,.7); border-radius: 3px; margin-top: .25rem; }

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: .75rem;
}
.mockup-card {
  height: 52px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: .5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.mockup-card-icon { width: 14px; height: 14px; background: rgba(91,156,246,.35); border-radius: 3px; }
.mockup-card-line-1 { height: 5px; width: 80%; background: rgba(255,255,255,.2); border-radius: 1px; }
.mockup-card-line-2 { height: 4px; width: 55%; background: rgba(255,255,255,.1); border-radius: 1px; }

.mockup-strip { height: 28px; background: rgba(79, 125, 243,.12); border-radius: var(--radius-sm); display: flex; align-items: center; padding: 0 .75rem; gap: .4rem; }
.mockup-strip-dot { width: 6px; height: 6px; background: var(--blue-bright); border-radius: 50%; opacity: .7; }
.mockup-strip-line { height: 5px; width: 55%; background: rgba(255,255,255,.15); border-radius: 1px; }

/* Second frame behind */
.browser-frame-behind {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 82%;
  z-index: -1;
  opacity: .45;
  transform: rotate(2deg);
}

.hero-visual-placeholder-note {
  font-size: .6875rem;
  color: rgba(220,235,250,.3);
  text-align: center;
  margin-top: .75rem;
  font-family: var(--font-ui);
}

/* ── PROBLEM BRIDGE ───────────────────────────────────────── */
.problem-bridge {
  background: var(--white);
  padding-block: 5rem;
}
.problem-bridge-inner {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
  text-align: center;
}
.problem-bridge-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--text-dark);
}
.problem-bridge-text strong {
  font-weight: 400;
  font-style: italic;
  color: var(--blue-primary);
}

/* ── THREE OUTCOMES ───────────────────────────────────────── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.outcome-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .2s ease;
}
.outcome-card:hover { border-color: rgba(26,86,196,.35); }

.outcome-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.outcome-icon svg { width: 22px; height: 22px; color: var(--blue-primary); }

.outcome-card h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}
.outcome-card p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ── AUTHORITY WEBSITE ────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: center;
}
.two-col--reversed { grid-template-columns: 7fr 5fr; }
.two-col--reversed .two-col-text { order: 2; }
.two-col--reversed .two-col-visual { order: 1; }

.two-col-text { display: flex; flex-direction: column; gap: 1.25rem; }
.two-col-text .display-md { color: var(--text-dark); }
.section--dark .two-col-text .display-md { color: var(--white); }

.two-col-body {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.section--dark .two-col-body { color: rgba(220,235,250,.72); }

/* Website showcase placeholder */
.showcase-wrap {
  position: relative;
}
.showcase-frame-primary {
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(8,26,51,.1), 0 0 0 1px rgba(8,26,51,.04);
}
.showcase-chrome {
  background: #e9edf2;
  padding: .5rem .875rem;
  display: flex;
  align-items: center;
  gap: .625rem;
  border-bottom: 1px solid #dde2e8;
}
.sc-dot { width: 9px; height: 9px; border-radius: 50%; }
.sc-dot-r { background: #fc6a5d; }
.sc-dot-y { background: #fdbc40; }
.sc-dot-g { background: #34c84a; }
.showcase-chrome-url {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,.8);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 .5rem;
}
.showcase-chrome-url span { font-size: .625rem; color: #7a8a9a; }

.showcase-body { padding: 1rem; background: white; }

/* Light mockup for showcase */
.lmockup-nav { height: 32px; background: #0D2747; border-radius: 4px; margin-bottom: .75rem; display: flex; align-items: center; padding: 0 .75rem; gap: .5rem; }
.lmockup-logo { width: 50px; height: 8px; background: rgba(91,156,246,.5); border-radius: 2px; }
.lmockup-nav-items { display: flex; gap: .35rem; margin-left: auto; }
.lmockup-nav-item { width: 30px; height: 6px; background: rgba(255,255,255,.2); border-radius: 1px; }
.lmockup-hero { height: 72px; background: linear-gradient(120deg, #f0f4ff, #e6eefb); border-radius: 4px; margin-bottom: .75rem; display: flex; flex-direction: column; justify-content: center; padding: 0 .75rem; gap: .35rem; }
.lmockup-h1 { height: 9px; width: 65%; background: #1A2F50; border-radius: 2px; opacity: .7; }
.lmockup-sub { height: 6px; width: 45%; background: #4E5A6E; border-radius: 2px; opacity: .5; }
.lmockup-btn { height: 16px; width: 70px; background: #4F7DF3; border-radius: 3px; }
.lmockup-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.lmockup-col { height: 44px; background: #f4f8fc; border-radius: 4px; border: 1px solid #D7E1EC; padding: .4rem; display: flex; flex-direction: column; gap: .25rem; }
.lmockup-col-head { height: 6px; width: 60%; background: #1A56C4; border-radius: 1px; opacity: .5; }
.lmockup-col-line { height: 4px; width: 85%; background: #D7E1EC; border-radius: 1px; }
.lmockup-col-line2 { height: 4px; width: 65%; background: #D7E1EC; border-radius: 1px; }

.showcase-frame-behind {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 80%;
  opacity: .35;
  z-index: -1;
  transform: rotate(1.5deg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8,26,51,.08);
}

.showcase-placeholder-note {
  font-size: .6875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .875rem;
  opacity: .6;
}

/* ── LOCAL AUTHORITY SYSTEM ───────────────────────────────── */
.lauth-visual {
  position: relative;
}

/* GBP placeholder card */
.gbp-frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
}
.gbp-map-area {
  height: 100px;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2747 60%, #162f4a 100%);
  position: relative;
  overflow: hidden;
}
.gbp-map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.gbp-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 28px; height: 28px;
  background: var(--blue-bright);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 4px 12px rgba(79, 125, 243,.5);
}
.gbp-pin::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: white;
  border-radius: 50%;
}

.gbp-info {
  padding: 1.25rem;
}
.gbp-label {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9aa0a6;
  margin-bottom: .625rem;
}
.gbp-biz-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #202124;
  margin-bottom: .25rem;
}
.gbp-biz-type { font-size: .8125rem; color: #4d5156; margin-bottom: .625rem; }
/* "Illustrative Example" badge inside the card */
.gbp-illustrative-badge {
  display: inline-block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: .2rem .55rem;
  margin-bottom: .625rem;
}
.gbp-stars { display: flex; align-items: center; gap: .35rem; font-size: .8125rem; color: #202124; font-weight: 600; margin-bottom: .875rem; }
/* Dimmed placeholder stars — no rating number shown */
.gbp-stars--placeholder { font-weight: 400; color: #6b7280; }
.gbp-star { color: #f29900; }
.gbp-star--dim { color: #d1d5db; }
.gbp-review-count { color: var(--blue-primary); font-weight: 400; font-size: .8125rem; }
.gbp-review-placeholder { font-size: .8125rem; color: #9ca3af; font-weight: 400; }
.gbp-actions { display: flex; gap: .5rem; }
.gbp-action-btn {
  flex: 1;
  height: 32px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: white;
  font-size: .75rem;
  font-weight: 500;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}
.gbp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
}
.gbp-stat-item {
  background: rgba(13,39,71,.6);
  padding: .875rem;
  text-align: center;
}
/* Neutral dash placeholder — replaces fictional stat numbers */
.gbp-stat-dash {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(220,235,250,.25);
  display: block;
  margin-bottom: .2rem;
  letter-spacing: .05em;
}
.gbp-stat-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  margin-bottom: .2rem;
}
.gbp-stat-label { font-size: .6875rem; color: rgba(220,235,250,.5); line-height: 1.3; }

.gbp-example-note {
  font-size: .6875rem;
  color: rgba(220,235,250,.3);
  text-align: center;
  margin-top: .75rem;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin: 1rem 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: rgba(220,235,250,.78);
  line-height: 1.5;
}
.feature-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: .125rem;
  color: var(--blue-bright);
}

/* ── THREE-STEP PROCESS ───────────────────────────────────── */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3.5rem;
}
.process-steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 1px;
  background: var(--border);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 2rem 0 0;
  position: relative;
}
.process-step:last-child { padding-right: 0; }

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(26,86,196,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(26,86,196,.6);
  background: var(--bg-pale);
  margin-bottom: 1.5rem;
  transition: border-color .3s, color .3s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-step:hover .step-num {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.step-title {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.step-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.process-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ── CREDIBILITY — HIDDEN UNTIL ASSETS APPROVED ───────────── */
/* 
   This section is intentionally commented out pending real proof assets.
   Uncomment and populate with verified data before publishing.
   DO NOT populate with placeholder text in production.
*/
.credibility-section {
  display: none; /* Hidden — see implementation notes */
}

/* ── LOCAL LIFT + LEAD GROWTH ─────────────────────────────── */
.paired-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 3rem;
}
.paired-service {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.paired-service:first-child {
  border-right: 1px solid var(--border);
}

.paired-service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.paired-service-icon svg { width: 24px; height: 24px; color: var(--blue-primary); }

.paired-service-eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
}
.paired-service h3 {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}
.paired-service p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* ── INDUSTRIES ───────────────────────────────────────────── */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 2rem;
}
.industry-pill {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .5rem 1rem;
  transition: border-color .2s, background .2s;
  cursor: default;
  text-decoration: none;
  display: inline-block;
}
.industry-pill[href] { cursor: pointer; }
.industry-pill:hover { border-color: rgba(26,86,196,.4); background: #eaf1fc; }

.industries-close {
  font-size: .9375rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ── GROWTH AUDIT FORM ────────────────────────────────────── */
.audit-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

.audit-left { color: var(--white); }
.audit-left .display-lg { color: var(--white); margin-bottom: 1rem; }
.audit-left .section-sub { color: rgba(220,235,250,.72); margin-bottom: 1.75rem; }

.audit-deliverables {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-top: .25rem;
}
.audit-deliverable {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: rgba(220,235,250,.78);
}
.audit-deliverable .chk {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: .125rem;
  color: var(--blue-bright);
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 4px 32px rgba(0,0,0,.22);
}
.form-card-heading {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .375rem;
}
.form-card-sub {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.form-optional {
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  margin-left: .25rem;
}

.form-input {
  width: 100%;
  height: 44px;
  background: var(--bg-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 .875rem;
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 400;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-muted); opacity: .65; }
.form-input:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(79, 125, 243,.1);
  background: var(--white);
}

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234E5A6E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  margin-top: 1.25rem;
  justify-content: center;
}

.form-note-text {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

/* Form honeypot */
.form-pot { display: none; }

/* Form success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1rem 0;
}
.form-success.visible { display: flex; }
.form-success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}
.form-success h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-success p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #06131F;
  padding-block: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr .8fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo-link {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: .15em;
  margin-bottom: .75rem;
}
.footer-logo-link .logo-kb { font-style: italic; color: #5B9CF6; }
.footer-logo-link .logo-digital { font-family: var(--font-ui); font-weight: 300; }
.footer-tagline {
  font-size: .8125rem;
  color: #7E8AA0;
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 1rem;
}
.footer-location {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.footer-location svg { width: 12px; height: 12px; color: rgba(91,156,246,.5); }

.footer-col-heading {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(91,156,246,.7);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .8125rem;
  color: #A9B3C4;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,.75); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .8125rem;
  color: #A9B3C4;
  text-decoration: none;
  margin-bottom: .625rem;
  transition: color .15s;
  line-height: 1.45;
}
.footer-contact-item:hover { color: rgba(255,255,255,.7); }
.footer-contact-icon { color: rgba(91,156,246,.6); flex-shrink: 0; font-style: normal; }

.footer-audit-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
  transition: color .15s;
}
.footer-audit-cta:hover { color: #5B9CF6; }
.footer-audit-cta::after { content: '→'; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .6875rem;
  color: #8B96A8;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: .6875rem;
  color: #8B96A8;
  text-decoration: none;
  transition: color .15s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.5); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes shimmerBar {
  0%   { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── REVEAL — progressive enhancement ────────────────────── */
/* Default: content visible (no-JS, bots, screenshot tools)  */
.reveal {
  opacity: 1;
  transform: none;
}

/* Only apply hidden state when JS has loaded and added .js   */
.js .reveal {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays — only meaningful when JS is active         */
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
.js .reveal-d4 { transition-delay: .32s; }

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: .875rem;
  background: var(--bg-pale);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.marquee-dot { color: var(--blue-primary); font-size: .4375rem; }

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  /* Ensure reveal content always immediately visible */
  .reveal, .js .reveal, .js .reveal.visible { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-right { opacity: 1; transform: none; animation: none; }
  .hero-headline { opacity: 1; }
  .h1-word { opacity: 1; transform: none; animation: none; }
  #scroll-progress { display: none; }
  .marquee-track { animation: none; }
}

/* ── RESPONSIVE 1100px ────────────────────────────────────── */
@media (max-width: 1100px) {
  .two-col, .two-col--reversed { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .audit-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ── RESPONSIVE 960px ─────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --section-y: 4.5rem; }

  .nav-links, .nav-dropdown-menu { display: none; }
  .nav-hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; gap: 3rem; padding-block: 6rem 4rem; }
  .hero-left { max-width: 100%; }
  .hero-right { max-width: 520px; }
  .browser-frame-behind { display: none; }

  .outcomes-grid { grid-template-columns: 1fr 1fr; }

  .two-col, .two-col--reversed { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col--reversed .two-col-text { order: 0; }
  .two-col--reversed .two-col-visual { order: 1; }

  .process-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps-grid::before { display: none; }
  .process-step { flex-direction: row; align-items: flex-start; gap: 1.25rem; padding: 0; }
  .step-num { margin-bottom: 0; flex-shrink: 0; }

  .audit-layout { grid-template-columns: 1fr; gap: 3rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── RESPONSIVE 640px ─────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-y: 3.5rem; }

  .outcomes-grid { grid-template-columns: 1fr; }
  .paired-services { grid-template-columns: 1fr; }
  .paired-service:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary--light { width: 100%; justify-content: center; }

  .audit-layout { grid-template-columns: 1fr; }
  .form-card { padding: 1.75rem 1.25rem; }
}

/* ── RESPONSIVE 480px ─────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(32px, 9vw, 44px); }
  .problem-bridge-text { font-size: clamp(18px, 5vw, 22px); }
}

/* ============================================================
   VISUAL UPGRADE — June 2026
   Three-layer hero · Premium website showcase · Sarasota map
   ============================================================ */

/* ── HERO COMPOSITION — three-layer system ──────────────────── */
.hv-composition {
  position: relative;
  width: 100%;
  height: 400px;
}

/* Shared panel label */
.hv-panel-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(91,156,246,.5);
  white-space: nowrap;
}
.hv-panel-label--browser { bottom: -20px; }

/* Layer 1: Map panel (background) */
.hv-map-panel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 72%;
  height: 210px;
  background: #06111F;
  border: 1px solid rgba(79, 125, 243,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.hv-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Layer 2: Browser frame (foreground left) */
.hv-browser-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
  background: #0D1E35;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(79, 125, 243,.1);
}

.hv-browser-chrome {
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .5rem .875rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
.hv-bc-dots { display: flex; gap: .3rem; }
.hv-bc-dot  { width: 9px; height: 9px; border-radius: 50%; display: block; }
.hv-bc-url  {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 .5rem;
  gap: .35rem;
}
.hv-bc-url-text {
  font-size: .5625rem;
  color: rgba(255,255,255,.3);
  font-family: var(--font-ui);
}

.hv-browser-body { padding: .625rem; }

/* Nav bar inside browser */
.hvb-nav {
  height: 26px;
  background: rgba(8,26,51,.8);
  border-radius: 4px;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  padding: 0 .625rem;
  justify-content: space-between;
}
.hvb-logo-bar   { display: flex; align-items: center; gap: .3rem; }
.hvb-logo-dot   { width: 16px; height: 16px; border-radius: 3px; background: rgba(79, 125, 243,.5); }
.hvb-logo-text  { width: 44px; height: 7px; background: rgba(255,255,255,.25); border-radius: 2px; }
.hvb-nav-links  { display: flex; align-items: center; gap: .375rem; }
.hvb-nav-link   { width: 24px; height: 6px; background: rgba(255,255,255,.15); border-radius: 1px; }
.hvb-cta-btn    { width: 44px; height: 16px; background: rgba(79, 125, 243,.6); border-radius: 3px; }

/* Hero area inside browser */
.hvb-hero {
  background: linear-gradient(135deg, rgba(13,30,58,.95), rgba(6,17,31,.95));
  border-radius: 4px;
  padding: .75rem .75rem .625rem;
  margin-bottom: .5rem;
  position: relative;
  overflow: hidden;
}
.hvb-hero::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(79, 125, 243,.15) 0%, transparent 70%);
}
.hvb-eyebrow { width: 60px; height: 5px; background: rgba(79, 125, 243,.5); border-radius: 1px; margin-bottom: .375rem; }
.hvb-h1 { height: 8px; background: rgba(255,255,255,.55); border-radius: 2px; margin-bottom: .25rem; }
.hvb-h1--wide { width: 90%; }
.hvb-h1--mid  { width: 72%; margin-bottom: .375rem; }
.hvb-sub { height: 5px; background: rgba(255,255,255,.2); border-radius: 1px; margin-bottom: .2rem; }
.hvb-sub--short { width: 55%; margin-bottom: .5rem; }
.hvb-btn-row { display: flex; gap: .35rem; }
.hvb-btn { height: 16px; border-radius: 3px; }
.hvb-btn--primary { width: 62px; background: rgba(79, 125, 243,.75); }
.hvb-btn--ghost   { width: 52px; background: none; border: 1px solid rgba(255,255,255,.25); }

/* Three cards inside browser */
.hvb-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .375rem;
  margin-bottom: .5rem;
}
.hvb-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  padding: .375rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.hvb-card--active {
  background: rgba(79, 125, 243,.08);
  border-color: rgba(79, 125, 243,.25);
}
.hvb-card-icon        { width: 14px; height: 14px; background: rgba(255,255,255,.12); border-radius: 3px; }
.hvb-card-icon--blue  { background: rgba(79, 125, 243,.4); }
.hvb-card-title       { height: 5px; width: 65%; background: rgba(255,255,255,.2); border-radius: 1px; }
.hvb-card-title--blue { background: rgba(91,156,246,.45); }
.hvb-card-line        { height: 4px; background: rgba(255,255,255,.1); border-radius: 1px; }
.hvb-card-line--short { width: 60%; }

/* Contact strip at bottom of browser mockup */
.hvb-strip {
  display: flex;
  align-items: center;
  gap: .375rem;
  background: rgba(79, 125, 243,.12);
  border-radius: 3px;
  padding: .3rem .5rem;
}
.hvb-strip-phone  { width: 50px; height: 6px; background: rgba(255,255,255,.2); border-radius: 1px; }
.hvb-strip-spacer { flex: 1; }
.hvb-strip-cta    { width: 50px; height: 16px; background: rgba(79, 125, 243,.55); border-radius: 3px; }

/* Layer 3: Follow-up card */
.hv-fu-card {
  position: absolute;
  bottom: 18px;
  right: 0;
  width: 58%;
  background: var(--navy-mid);
  border: 1px solid rgba(79, 125, 243,.25);
  border-radius: var(--radius-md);
  padding: .875rem 1rem;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(79, 125, 243,.08);
}
.hv-fu-header {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .625rem;
}
.hv-fu-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 6px rgba(40,200,64,.6);
  flex-shrink: 0;
}
.hv-fu-title {
  font-size: .6875rem;
  font-weight: 600;
  color: rgba(220,235,250,.85);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hv-fu-rows { display: flex; flex-direction: column; gap: .4rem; }
.hv-fu-row  { display: flex; align-items: center; gap: .5rem; }
.hv-fu-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .625rem;
}
.hv-fu-icon--check {
  background: rgba(40,200,64,.12);
  border: 1px solid rgba(40,200,64,.3);
  color: #28c840;
}
.hv-fu-icon--check::after { content: '✓'; color: #28c840; font-size: .6875rem; font-weight: 700; }
.hv-fu-icon--clock {
  background: rgba(79, 125, 243,.12);
  border: 1px solid rgba(79, 125, 243,.3);
}
.hv-fu-icon--clock::after { content: '◷'; color: rgba(91,156,246,.8); font-size: .75rem; }
.hv-fu-text { display: flex; flex-direction: column; gap: .1rem; }
.hv-fu-label { font-size: .7rem; font-weight: 500; color: rgba(220,235,250,.8); }
.hv-fu-sub   { font-size: .6rem; color: rgba(220,235,250,.4); }

/* Hero composition responsive */
@media (max-width: 960px) {
  .hv-composition { height: auto; }
  .hv-map-panel, .hv-fu-card { display: none; }
  .hv-browser-wrap { position: static; width: 100%; }
  .hv-panel-label--browser { display: none; }
}

/* ── WEBSITE SHOWCASE COMPOSITION ────────────────────────── */
.ws-composition {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Desktop browser frame */
.ws-desktop-frame {
  flex: 1;
  background: #F5F7FA;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0,0,0,.05),
    0 20px 60px rgba(8,26,51,.15),
    0 0 0 1px rgba(8,26,51,.06);
}

.ws-chrome {
  background: #E8ECF1;
  padding: .5rem .75rem;
  display: flex;
  align-items: center;
  gap: .625rem;
  border-bottom: 1px solid #CBD5E1;
}
.ws-chrome-dots { display: flex; gap: .3rem; }
.ws-chrome-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.ws-chrome-bar { flex: 1; }
.ws-chrome-url {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.8);
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  height: 20px;
  padding: 0 .5rem;
  font-size: .5625rem;
  color: #4A5568;
  font-family: var(--font-ui);
  width: 65%;
  margin: 0 auto;
}

.ws-body { background: white; }

/* Website mockup nav */
.ws-nav {
  background: #0D2747;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  justify-content: space-between;
}
.ws-nav-brand { display: flex; align-items: center; }
.ws-nav-logo  { width: 52px; height: 8px; background: rgba(91,156,246,.6); border-radius: 2px; }
.ws-nav-items { display: flex; align-items: center; gap: .3rem; }
.ws-nav-item  { width: 28px; height: 6px; background: rgba(255,255,255,.2); border-radius: 1px; }
.ws-nav-btn   { width: 42px; height: 18px; background: rgba(79, 125, 243,.7); border-radius: 3px; }

/* Website mockup hero */
.ws-hero-area {
  background: linear-gradient(160deg, #0D2747 0%, #1a3a5c 60%, #0D2747 100%);
  padding: 1rem .875rem .875rem;
  position: relative;
  overflow: hidden;
}
.ws-hero-area::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(79, 125, 243,.2) 0%, transparent 70%);
}
.ws-hero-badge  { width: 80px; height: 7px; background: rgba(79, 125, 243,.5); border-radius: 2px; margin-bottom: .5rem; }
.ws-hero-h1     { height: 10px; background: rgba(255,255,255,.65); border-radius: 2px; margin-bottom: .3rem; }
.ws-hero-h1--a  { width: 88%; }
.ws-hero-h1--b  { width: 66%; margin-bottom: .5rem; }
.ws-hero-sub    { height: 6px; background: rgba(255,255,255,.25); border-radius: 1px; margin-bottom: .25rem; width: 75%; }
.ws-hero-actions { display: flex; gap: .375rem; margin-top: .625rem; }
.ws-btn-solid   { width: 72px; height: 20px; background: rgba(79, 125, 243,.85); border-radius: 4px; }
.ws-btn-outline { width: 60px; height: 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; }

/* Floating review badge */
.ws-review-badge {
  position: absolute;
  bottom: 10px; right: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: .3rem .5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.ws-rb-stars { font-size: .5rem; color: #F59E0B; letter-spacing: .5px; }
.ws-rb-text  { width: 40px; height: 5px; background: rgba(255,255,255,.3); border-radius: 1px; }

/* Services cards row */
.ws-services-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .375rem;
  padding: .625rem .625rem .625rem;
  background: #F8FAFC;
}
.ws-svc {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: .5rem .4rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.ws-svc--highlight { border-color: rgba(79, 125, 243,.3); background: rgba(79, 125, 243,.03); }
.ws-svc-icon       { width: 18px; height: 18px; background: #EEF2FF; border-radius: 4px; margin-bottom: .125rem; }
.ws-svc--highlight .ws-svc-icon { background: rgba(79, 125, 243,.15); }
.ws-svc-line       { height: 5px; background: #E2E8F0; border-radius: 1px; }
.ws-svc-line--h    { width: 75%; }
.ws-svc-line--s    { width: 55%; }

/* Mobile frame companion */
.ws-mobile-frame {
  width: 88px;
  flex-shrink: 0;
  background: #0D1E35;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  align-self: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ws-mobile-chrome { background: #081A33; height: 16px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.06); }
.ws-mobile-notch  { width: 24px; height: 7px; background: rgba(0,0,0,.4); border-radius: 3px; }
.ws-mobile-body   { padding: .375rem; }

.ws-m-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .375rem; }
.ws-m-logo { width: 28px; height: 6px; background: rgba(91,156,246,.5); border-radius: 1px; }
.ws-m-hamburger { display: flex; flex-direction: column; gap: 2px; }
.ws-m-hamburger span { display: block; width: 12px; height: 1.5px; background: rgba(255,255,255,.3); border-radius: 1px; }

.ws-m-hero { background: rgba(13,39,71,.8); border-radius: 4px; padding: .375rem; margin-bottom: .375rem; }
.ws-m-h1  { height: 7px; background: rgba(255,255,255,.5); border-radius: 1px; margin-bottom: .25rem; width: 85%; }
.ws-m-sub { height: 5px; background: rgba(255,255,255,.2); border-radius: 1px; margin-bottom: .3rem; width: 70%; }
.ws-m-btn { height: 14px; background: rgba(79, 125, 243,.7); border-radius: 3px; width: 60%; }

.ws-m-cards { display: flex; flex-direction: column; gap: .25rem; }
.ws-m-card  { display: flex; align-items: center; gap: .25rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 3px; padding: .25rem; }
.ws-m-card-icon { width: 10px; height: 10px; background: rgba(79, 125, 243,.35); border-radius: 2px; flex-shrink: 0; }
.ws-m-card-line { flex: 1; height: 4px; background: rgba(255,255,255,.15); border-radius: 1px; }

.ws-mobile-bar { height: 12px; background: #081A33; display: flex; align-items: center; justify-content: center; border-top: 1px solid rgba(255,255,255,.06); }
.ws-mobile-bar::after { content: ''; display: block; width: 28px; height: 3px; background: rgba(255,255,255,.2); border-radius: 2px; }

/* Showcase responsive */
@media (max-width: 768px) {
  .ws-mobile-frame { display: none; }
}

/* ── SARASOTA MAP — Local Authority section ─────────────────── */
.lv-map-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(79, 125, 243,.2);
  box-shadow: 0 20px 56px rgba(0,0,0,.5), 0 0 0 1px rgba(79, 125, 243,.08);
  height: 340px;
}
.lv-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Pulse animation on main pin ring */
@keyframes lv-pulse {
  0%, 100% { opacity: .4; r: 14; }
  50%       { opacity: .1; r: 22; }
}
@media (prefers-reduced-motion: no-preference) {
  .lv-pin-pulse { animation: lv-pulse 2.5s ease-in-out infinite; }
}

.lv-attribution {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: .55rem;
  color: rgba(220,235,250,.2);
  font-family: var(--font-ui);
  pointer-events: none;
}

/* Local Visibility System info card */
.lv-info-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(8,26,51,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79, 125, 243,.28);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  min-width: 175px;
}
.lv-info-header {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .5rem;
}
.lv-info-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(79, 125, 243,.7);
  flex-shrink: 0;
}
.lv-info-title {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(91,156,246,.9);
}
.lv-info-rows { display: flex; flex-direction: column; gap: .3rem; }
.lv-info-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  color: rgba(220,235,250,.65);
  font-family: var(--font-ui);
}
.lv-info-row svg { color: var(--blue-bright); flex-shrink: 0; }

/* ── AUDIT SCAN VISUAL ───────────────────────────────────────── */
.audit-scan-visual {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.asv-card {
  display: flex;
  align-items: center;
  gap: .625rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  padding: .625rem .875rem;
}
.asv-card--done   { border-color: rgba(40,200,64,.18); }
.asv-card--active { border-color: rgba(79, 125, 243,.3); background: rgba(79, 125, 243,.06); }

.asv-card-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.asv-card--done .asv-card-icon   { background: rgba(40,200,64,.1); border: 1px solid rgba(40,200,64,.2); }
.asv-card--active .asv-card-icon { background: rgba(79, 125, 243,.12); border: 1px solid rgba(79, 125, 243,.25); }

.asv-card-text  { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.asv-card-label { font-size: .8rem; font-weight: 500; color: rgba(220,235,250,.8); }
.asv-card-sub   { font-size: .6875rem; color: rgba(220,235,250,.4); }

.asv-card-status {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .2rem .6rem;
  flex-shrink: 0;
}
.asv-card-status--done   { background: rgba(40,200,64,.12); color: #4ade80; border: 1px solid rgba(40,200,64,.25); }
.asv-card-status--active { background: rgba(79, 125, 243,.15); color: #93C5FD; border: 1px solid rgba(79, 125, 243,.3); }

/* Reduced motion: no map pin pulse */
@media (prefers-reduced-motion: reduce) {
  .lv-pin-pulse { animation: none; opacity: .25; }
}

/* ============================================================
   MAPBOX GL JS — Local Authority section
   June 2026
   ============================================================ */

/* ── Outer container — reserves space, prevents layout shift ── */
.lv-map-outer {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(79, 125, 243,.2);
  box-shadow: 0 20px 56px rgba(0,0,0,.5), 0 0 0 1px rgba(79, 125, 243,.08);
  background: #06111F; /* matches map background while loading */
}

/* ── Mapbox GL canvas wrapper ────────────────────────────── */
#lauth-map {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  z-index: 1;
}
#lauth-map.lv-map-ready { opacity: 1; }

/* ── CSS/SVG fallback ────────────────────────────────────── */
.lv-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;          /* above mapbox until it's ready */
  transition: opacity .7s ease, z-index 0s .7s;
}
.lv-map-fallback.lv-hidden {
  opacity: 0;
  z-index: 0;          /* drop behind mapbox after fade */
  pointer-events: none;
}
.lv-map-fallback .lv-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Info card — always on top ───────────────────────────── */
.lv-info-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 10;         /* above both map and fallback */
  background: rgba(8,26,51,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79, 125, 243,.28);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  min-width: 175px;
  pointer-events: none; /* don't block map interaction */
}

/* ── Custom Mapbox marker elements ───────────────────────── */
.lv-mb-pin-main {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4F7DF3;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow:
    0 0 0 5px rgba(79, 125, 243,.3),
    0 0 18px rgba(79, 125, 243,.7),
    0 2px 8px rgba(0,0,0,.5);
  cursor: default;
}

.lv-mb-pin-secondary {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #60A5FA;
  border: 2px solid rgba(255,255,255,.65);
  box-shadow:
    0 0 0 3px rgba(96,165,250,.25),
    0 0 10px rgba(96,165,250,.45);
  cursor: default;
}

/* ── Mapbox attribution — keep required attribution legible ── */
#lauth-map .mapboxgl-ctrl-attrib {
  background: rgba(8,26,51,.75) !important;
  border-radius: 4px !important;
}
#lauth-map .mapboxgl-ctrl-attrib a {
  color: rgba(220,235,250,.55) !important;
}
#lauth-map .mapboxgl-ctrl-logo {
  opacity: .6;
  filter: brightness(1.4);
}

/* Mapbox GL CSS override — no scroll-zoom indicator */
#lauth-map .mapboxgl-ctrl-top-right { display: none; }

/* ── Mobile — shorter container, disable 3D pitch ─────────── */
@media (max-width: 768px) {
  .lv-map-outer { height: 300px; }
}

/* ── Reduced motion — skip transition on fallback/map ─────── */
@media (prefers-reduced-motion: reduce) {
  #lauth-map, .lv-map-fallback { transition: none; }
}

/* ============================================================
   LOCAL GROWTH SYSTEM COMPOSITION — Hero visual
   Get Found → Look Credible → Convert & Book
   June 2026
   ============================================================ */

/* ── Outer wrapper ───────────────────────────────────────── */
.lgs-wrap {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  width: 100%;
  max-width: 500px;
  animation: fadeRight .9s .45s var(--ease) both;
}

/* ── Shared eyebrow labels ───────────────────────────────── */
.lgs-eyebrow {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(220,235,250,.45);
  margin-bottom: .5rem;
}
.lgs-eyebrow--sm { font-size: .5rem; margin-bottom: .375rem; }
.lgs-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lgs-eyebrow-dot--blue  { background: #4F7DF3; box-shadow: 0 0 6px rgba(79, 125, 243,.7); }
.lgs-eyebrow-dot--green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.7); }

/* ── PRIMARY: Google/Maps result card ───────────────────── */
.lgs-primary {
  position: relative;
}

.lgs-maps-card {
  display: flex;
  gap: 0;
  background: rgba(13,28,52,.95);
  border: 1px solid rgba(79, 125, 243,.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(79, 125, 243,.1),
    0 8px 32px rgba(0,0,0,.55),
    0 0 60px rgba(79, 125, 243,.08);
}

/* Map thumbnail — left panel */
.lgs-map-thumb {
  width: 110px;
  flex-shrink: 0;
  position: relative;
  border-right: 1px solid rgba(79, 125, 243,.15);
}
.lgs-map-thumb svg {
  display: block;
  width: 110px;
  height: 110px;
}

/* Business info — right panel */
.lgs-biz {
  flex: 1;
  padding: .75rem .875rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.lgs-biz-name {
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lgs-biz-type {
  font-size: .7rem;
  color: rgba(220,235,250,.45);
  font-weight: 400;
}
.lgs-biz-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .1rem;
}
.lgs-stars {
  font-size: .625rem;
  color: #FBBF24;
  letter-spacing: .5px;
}
.lgs-rating-num {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.lgs-review-ct {
  font-size: .6875rem;
  color: rgba(91,156,246,.8);
}
.lgs-open-badge {
  font-size: .5625rem;
  font-weight: 600;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
  padding: .15rem .4rem;
  border-radius: 999px;
  letter-spacing: .04em;
}

/* Action buttons row */
.lgs-biz-actions {
  display: flex;
  gap: .375rem;
  margin-top: .25rem;
}
.lgs-biz-btn {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .625rem;
  font-weight: 500;
  color: rgba(91,156,246,.9);
  background: rgba(79, 125, 243,.1);
  border: 1px solid rgba(79, 125, 243,.2);
  border-radius: 999px;
  padding: .25rem .6rem;
  white-space: nowrap;
  cursor: default;
  transition: background .15s, border-color .15s;
}
.lgs-biz-btn svg { flex-shrink: 0; }

/* ── LOWER ROW: website preview + follow-up ──────────────── */
.lgs-lower {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: .75rem;
  align-items: start;
}

/* ── Step 2: Mobile website phone ────────────────────────── */
.lgs-site-wrap {}

.lgs-phone {
  background: #0D1E35;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(79, 125, 243,.08);
}
.lgs-phone-top {
  background: #081A33;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.lgs-phone-notch {
  width: 22px;
  height: 5px;
  background: rgba(0,0,0,.5);
  border-radius: 999px;
}
.lgs-phone-screen {
  padding: .35rem;
}

/* Tiny nav */
.lgsp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .3rem;
}
.lgsp-logo {
  display: block;
  width: 28px;
  height: 6px;
  background: rgba(91,156,246,.45);
  border-radius: 2px;
}
.lgsp-burger {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lgsp-burger span {
  display: block;
  width: 10px;
  height: 1.5px;
  background: rgba(255,255,255,.3);
  border-radius: 1px;
}

/* Phone hero */
.lgsp-hero {
  background: linear-gradient(140deg, rgba(13,39,71,.9), rgba(8,22,48,.95));
  border-radius: 4px;
  padding: .375rem .4rem .3rem;
  margin-bottom: .3rem;
  display: flex;
  flex-direction: column;
  gap: .225rem;
}
.lgsp-h1 { height: 7px; width: 85%; background: rgba(255,255,255,.5); border-radius: 1px; }
.lgsp-h2 { height: 5px; width: 65%; background: rgba(255,255,255,.25); border-radius: 1px; }
.lgsp-cta { height: 13px; width: 55%; background: rgba(79, 125, 243,.65); border-radius: 3px; margin-top: .125rem; }

/* Service cards */
.lgsp-cards {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: .3rem;
}
.lgsp-card {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 3px;
  padding: .25rem;
}
.lgsp-card-icon { width: 9px; height: 9px; background: rgba(79, 125, 243,.4); border-radius: 2px; flex-shrink: 0; }
.lgsp-card-line { flex: 1; height: 4px; background: rgba(255,255,255,.15); border-radius: 1px; }

/* CTA strip */
.lgsp-strip { background: rgba(79, 125, 243,.12); border-radius: 3px; padding: .3rem .35rem; display: flex; justify-content: center; }
.lgsp-strip-btn { width: 50%; height: 11px; background: rgba(79, 125, 243,.5); border-radius: 2px; }

.lgs-phone-bar {
  height: 10px;
  background: #081A33;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lgs-phone-bar::after {
  content: '';
  display: block;
  width: 24px;
  height: 2.5px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
}

/* ── Step 3: Follow-up timeline card ─────────────────────── */
.lgs-fu-wrap {}

.lgs-fu-card {
  background: rgba(13,28,52,.95);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(34,197,94,.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Timeline row */
.lgs-fu-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
}
.lgs-fu-row--booked {
  padding-bottom: 0;
}

/* Status icon */
.lgs-fu-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lgs-fu-icon--done {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
}
.lgs-fu-icon--booked {
  background: rgba(34,197,94,.2);
  border: 1px solid rgba(34,197,94,.5);
  color: #22c55e;
}

/* Vertical connector line */
.lgs-fu-line {
  width: 1px;
  height: 10px;
  background: rgba(34,197,94,.2);
  margin-left: 8px;
}

/* Text */
.lgs-fu-body {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex: 1;
  min-width: 0;
}
.lgs-fu-label {
  font-size: .7rem;
  font-weight: 500;
  color: rgba(220,235,250,.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lgs-fu-label--booked { color: #4ade80; font-weight: 600; }
.lgs-fu-sub {
  font-size: .6rem;
  color: rgba(220,235,250,.38);
}

/* Booked badge */
.lgs-fu-badge {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  color: #4ade80;
  padding: .15rem .45rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Responsive — collapse cleanly on mobile ─────────────── */
@media (max-width: 960px) {
  .lgs-wrap { max-width: 100%; animation: none; opacity: 1; }
  .lgs-maps-card { flex-direction: column; }
  .lgs-map-thumb { width: 100%; border-right: none; border-bottom: 1px solid rgba(79, 125, 243,.15); }
  .lgs-map-thumb svg { width: 100%; height: 80px; }
}
@media (max-width: 640px) {
  .lgs-lower { grid-template-columns: 1fr; }
  .lgs-site-wrap { display: none; } /* hide phone at small mobile — follow-up is the key message */
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lgs-wrap { animation: none; opacity: 1; }
}

/* ============================================================
   POLISH PASS — June 2026
   Contrast lift · Phone preview · Hierarchy · Headline · Mobile
   ============================================================ */

/* ── 1. Lift card brightness ~12% ────────────────────────── */
/* Primary Google/Maps card: brighter base + stronger glow    */
.lgs-maps-card {
  background: rgba(22,42,78,.98);
  border: 1px solid rgba(79, 125, 243,.38);
  box-shadow:
    0 0 0 1px rgba(79, 125, 243,.18),
    0 12px 40px rgba(0,0,0,.55),
    0 0 80px rgba(79, 125, 243,.14);
}
.lgs-map-thumb { border-right-color: rgba(79, 125, 243,.28); }
.lgs-biz-name  { color: rgba(255,255,255,.97); }

/* Follow-up card: brighter base + green glow accent          */
.lgs-fu-card {
  background: rgba(18,36,68,.98);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    0 10px 28px rgba(0,0,0,.45),
    0 0 0 1px rgba(34,197,94,.1),
    0 0 24px rgba(34,197,94,.05);
}

/* Phone frame: brighter surface                              */
.lgs-phone {
  background: #172847;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 10px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(79, 125, 243,.14);
}
.lgs-phone-top { background: #0D1E35; }

/* ── 2. Phone preview — premium service site feel ───────────*/
/* Richer nav bar with actual logo weight                     */
.lgsp-logo {
  width: 32px;
  height: 7px;
  background: rgba(255,255,255,.55);
  border-radius: 2px;
}
.lgsp-burger span { background: rgba(255,255,255,.45); }

/* Hero area: deeper gradient, brighter headline bars,
   more realistic service-business feel                       */
.lgsp-hero {
  background: linear-gradient(150deg, #0D2747 0%, #162F52 60%, #0A1E38 100%);
  padding: .5rem .45rem .4rem;
  gap: .275rem;
  position: relative;
  overflow: hidden;
}
/* Subtle top-right glow to suggest a photo/background */
.lgsp-hero::after {
  content: '';
  position: absolute;
  top: -8px; right: -8px;
  width: 40px; height: 40px;
  background: radial-gradient(circle, rgba(79, 125, 243,.25) 0%, transparent 70%);
  pointer-events: none;
}
.lgsp-h1 {
  height: 8px;
  width: 88%;
  background: rgba(255,255,255,.72);
  border-radius: 2px;
}
.lgsp-h2 {
  height: 5px;
  width: 70%;
  background: rgba(255,255,255,.38);
  border-radius: 1px;
}
.lgsp-cta {
  height: 14px;
  width: 58%;
  background: rgba(79, 125, 243,.85);
  border-radius: 3px;
  margin-top: .175rem;
  box-shadow: 0 2px 8px rgba(79, 125, 243,.4);
}

/* Service cards: slightly more contrast                      */
.lgsp-card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}
.lgsp-card-icon { background: rgba(79, 125, 243,.55); }
.lgsp-card-line { background: rgba(255,255,255,.22); }

/* CTA strip: brighter                                        */
.lgsp-strip     { background: rgba(79, 125, 243,.18); }
.lgsp-strip-btn { background: rgba(79, 125, 243,.7); box-shadow: 0 1px 6px rgba(79, 125, 243,.35); }

/* ── 3. Strengthen hierarchy — "Appointment booked" payoff ─ */
/* Booked row: full-width highlight background                */
.lgs-fu-row--booked {
  background: rgba(34,197,94,.06);
  border-radius: var(--radius-sm);
  padding: .35rem .375rem;
  margin: .1rem -.375rem 0;
}
/* Larger booked icon                                         */
.lgs-fu-icon--booked {
  width: 22px;
  height: 22px;
  background: rgba(34,197,94,.25);
  border: 1px solid rgba(34,197,94,.6);
  box-shadow: 0 0 10px rgba(34,197,94,.25);
}
/* Bolder booked label                                        */
.lgs-fu-label--booked {
  font-size: .75rem;
  font-weight: 700;
  color: #4ade80;
}
/* Brighter badge                                             */
.lgs-fu-badge {
  background: rgba(34,197,94,.22);
  border-color: rgba(34,197,94,.55);
  color: #86efac;
  box-shadow: 0 0 8px rgba(34,197,94,.2);
}

/* ── 4. Headline — cleaner desktop line break ───────────────*/
/* Target line break: 
   "Get Found. Look Credible."
   "Turn More Leads Into Booked Work."
   The <br> element .hero-br is hidden on mobile.            */
.hero-br { display: none; }
@media (min-width: 960px) {
  .hero-br { display: block; }
  /* Slightly constrain width to discourage orphan last word  */
  .hero-headline { max-width: 660px; }
}

/* ── 5. Mobile — tighter hero, sub-text trim ────────────────*/
@media (max-width: 768px) {
  /* Reduce top padding so visual appears sooner              */
  .hero { padding-block: 5rem 3rem; gap: 2rem; }

  /* Clamp supporting paragraph to 3 lines on mobile          */
  .hero-sub {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2rem;
  }

  /* Tighten gap between headline and sub on small screens    */
  .hero-headline { margin-bottom: 1rem; }
}
@media (max-width: 480px) {
  /* Even tighter on small phones                             */
  .hero { padding-block: 4.5rem 2.5rem; }
  .hero-sub {
    -webkit-line-clamp: 2;
    font-size: .9375rem;
  }
}

/* ══════════════════════════════════════════════════════════
   INDUSTRY PAGE COMPONENTS
   Shared across roofing/hvac/plumbing/electrical/remodeling/etc.
═══════════════════════════════════════════════════════════ */

/* Trust badge strip */
.kbd-trust-strip { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.75rem 0 0; }
.kbd-trust-badge {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-ui); font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: .55rem 1rem;
}
.kbd-trust-badge svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue-soft); }
.kbd-trust-strip--light .kbd-trust-badge {
  color: var(--text-dark); background: var(--bg-pale); border-color: var(--border);
}
.kbd-trust-strip--light .kbd-trust-badge svg { color: var(--blue-primary); }

/* Generic feature/service card grid */
.kbd-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.kbd-feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}
.kbd-feature-card--dark { background: var(--navy-deep); border-color: rgba(255,255,255,.08); }
.kbd-feature-icon {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--bg-pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--blue-primary);
}
.kbd-feature-card--dark .kbd-feature-icon { background: rgba(79,125,243,.12); color: var(--blue-soft); }
.kbd-feature-icon svg { width: 18px; height: 18px; }
.kbd-feature-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-dark); margin-bottom: .5rem; }
.kbd-feature-card--dark .kbd-feature-title { color: var(--white); }
.kbd-feature-text { font-family: var(--font-ui); font-size: .85rem; font-weight: 300; color: var(--text-muted); line-height: 1.65; }
.kbd-feature-card--dark .kbd-feature-text { color: rgba(255,255,255,.6); }

/* Before / After visual card (CSS-only, no photo asset needed) */
.kbd-ba-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.kbd-ba-panels { display: grid; grid-template-columns: 1fr 1fr; }
.kbd-ba-panel { position: relative; aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: .85rem; }
.kbd-ba-panel--before { background: linear-gradient(135deg, #2A3442, #1A2330); }
.kbd-ba-panel--after  { background: linear-gradient(135deg, var(--blue-primary), #1E3FA8); }
.kbd-ba-tag {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.92); background: rgba(0,0,0,.28); border-radius: var(--radius-sm); padding: .3rem .6rem;
}
.kbd-ba-caption { padding: 1rem 1.1rem; font-family: var(--font-ui); font-size: .85rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; }
.kbd-ba-caption strong { color: var(--text-dark); font-weight: 600; }

/* Urgent / emergency CTA banner */
.kbd-urgent-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #B91C1C, #7F1D1D);
  border-radius: var(--radius-lg); padding: 1.5rem 1.85rem; margin-top: 2rem;
}
.kbd-urgent-text { font-family: var(--font-ui); font-size: .92rem; font-weight: 500; color: var(--white); display: flex; align-items: center; gap: .6rem; }
.kbd-urgent-text svg { width: 18px; height: 18px; flex-shrink: 0; color: #FCA5A5; }
.kbd-urgent-cta {
  font-family: var(--font-ui); font-size: .85rem; font-weight: 600; color: #7F1D1D; background: var(--white);
  border-radius: var(--radius-md); padding: .65rem 1.25rem; white-space: nowrap; text-decoration: none;
}

/* Star rating badge */
.kbd-stars-badge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-ui); }
.kbd-stars-badge .stars { color: #FBBF24; font-size: .95rem; letter-spacing: .05em; }
.kbd-stars-badge .stars-num { font-weight: 600; color: var(--text-dark); font-size: .85rem; }
.kbd-stars-badge .stars-ct { color: var(--text-muted); font-size: .8rem; }

/* Hub page service link card (Home Services) */
.kbd-hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kbd-hub-card {
  display: flex; flex-direction: column; gap: .65rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1.35rem; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.kbd-hub-card:hover { border-color: var(--blue-primary); box-shadow: 0 8px 24px rgba(50,102,227,.1); }
.kbd-hub-card-icon { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--bg-pale); display: flex; align-items: center; justify-content: center; color: var(--blue-primary); }
.kbd-hub-card-icon svg { width: 17px; height: 17px; }
.kbd-hub-card-title { font-family: var(--font-display); font-size: .98rem; color: var(--text-dark); }
.kbd-hub-card-arrow { font-family: var(--font-ui); font-size: .78rem; font-weight: 600; color: var(--blue-primary); margin-top: auto; }

@media (max-width: 800px) {
  .kbd-feature-grid { grid-template-columns: 1fr !important; }
  .kbd-hub-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .kbd-hub-grid { grid-template-columns: 1fr !important; }
}
