/* ============================================================
   Local Boost Lab — Design System
   styles.css v2.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

/* Ardela Edge Variable X01 — place ArdelaEdgeX01.woff2 in /fonts/ to activate */
@font-face {
  font-family: 'Ardela Edge X01';
  src: url('fonts/ArdelaEdgeX01-ExtraBold.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ─── Custom Properties ───────────────────────────────── */
:root {
  --authority-blue:       #1B4FD8;
  --authority-blue-dark:  #1440B0;
  --authority-blue-light: #3B6FE8;
  --signal-amber:         #F59E0B;
  --signal-amber-dark:    #D97706;
  --slate-core:           #0F172A;
  --surface-light:        #EFF6FF;
  --surface-mid:          #DBEAFE;
  --white:                #FFFFFF;
  --success-green:        #10B981;
  --warning-red:          #EF4444;
  --border-color:         #E5E7EB;
  --text-muted:           #6B7280;
  --text-light:           rgba(255,255,255,0.85);

  --shadow-card:     0 2px 12px rgba(0,0,0,0.07);
  --shadow-elevated: 0 8px 32px rgba(0,0,0,0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --font-heading: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --font-logo:    'Ardela Edge X01', 'Inter', sans-serif;

  --container-max:         1200px;
  --section-pad:           80px;
  --section-pad-mobile:    48px;
}

/* ─── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--slate-core);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

/* Skip nav for a11y */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--authority-blue);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 14px;
}
.skip-nav:focus { top: 8px; }

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--authority-blue);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { line-height: 1.7; }

.text-muted  { color: var(--text-muted); }
.text-amber  { color: var(--signal-amber); }
.text-blue   { color: var(--authority-blue); }
.text-green  { color: var(--success-green); }
.text-red    { color: var(--warning-red); }
.text-center { text-align: center; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.mono        { font-family: var(--font-mono); }

/* ─── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}
.section--light  { background: var(--surface-light); }
.section--mid    { background: var(--surface-mid); }
.section--white  { background: var(--white); }
.section--dark   { background: var(--authority-blue); color: white; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.section--dark .section-header h2,
.section--dark h2,
.section--dark h3 { color: white; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8   { gap: 8px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.gap-32  { gap: 32px; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.99); }

.btn-primary {
  background: var(--signal-amber);
  color: var(--slate-core);
}
.btn-primary:hover { background: var(--signal-amber-dark); box-shadow: 0 4px 16px rgba(245,158,11,0.35); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  color: var(--authority-blue);
  border: 2px solid var(--authority-blue);
}
.btn-outline:hover { background: var(--authority-blue); color: white; }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; height: 54px; }
.btn-xl { padding: 18px 40px; font-size: 1.1rem; height: 58px; }
.btn-full { width: 100%; }
.btn-danger { background: var(--warning-red); color: white; }
.btn-danger:hover { background: #DC2626; }

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 300ms ease, padding 300ms ease, transform 300ms ease;
}
.nav.nav--scrolled {
  background: var(--slate-core);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-elevated);
}
.nav.nav--hidden  { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav__logo-icon { flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms ease;
}
.nav__links a:hover { color: white; }

.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--authority-blue);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 300ms ease;
}
.nav__mobile-overlay.open { opacity: 1; }
.nav__mobile-overlay a {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  background: var(--authority-blue);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42,80,128,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__content h1 {
  color: white;
  margin-bottom: 24px;
}
.hero__subheadline {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__trust {
  background: rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0;
  padding: 24px 0 32px;
}
.hero__trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero__trust-item + .hero__trust-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}

/* GBP mockup card */
.hero__mockup {
  position: relative;
}
.gbp-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.gbp-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.gbp-card__avatar {
  width: 48px;
  height: 48px;
  background: var(--surface-mid);
  border-radius: 50%;
  overflow: hidden;
}
.gbp-card__name { font-weight: 700; font-size: 1rem; color: var(--slate-core); }
.gbp-card__rating { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--text-muted); }
.gbp-card__stars { color: #FCD34D; font-size: 0.9rem; letter-spacing: 1px; }
.gbp-card__rating-animate {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--authority-blue);
}
.gbp-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #D1FAE5;
  color: #065F46;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.gbp-card__badge .dot { width: 6px; height: 6px; background: var(--success-green); border-radius: 50%; animation: pulse 1.5s infinite; }
.gbp-card__review {
  background: var(--surface-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.gbp-card__review::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--success-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gbp-card__response {
  background: #EFF6FF;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.8rem;
  border-left: 3px solid var(--authority-blue);
  animation: slideUp 0.5s ease 1s both;
}
.gbp-card__post-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Cards ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); }

.card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--authority-blue);
  margin-bottom: 10px;
}
.card__body { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

/* Testimonial card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}
.testimonial-card__stars { color: #FCD34D; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card__text { font-size: 0.975rem; line-height: 1.7; color: var(--slate-core); margin-bottom: 20px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: white;
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; font-size: 0.9rem; color: var(--slate-core); }
.testimonial-card__tag  { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ─── Stats Row ──────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  text-align: center;
}
.stat-row__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--authority-blue);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-row__label { font-size: 0.9rem; color: var(--text-muted); }

/* ─── Pricing ────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.pricing-toggle__label { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.pricing-toggle__label.active { color: var(--slate-core); font-weight: 600; }
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch__track {
  position: absolute;
  inset: 0;
  background: var(--authority-blue);
  border-radius: 28px;
  transition: background 200ms ease;
}
.toggle-switch__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 200ms ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-switch__track { background: var(--signal-amber); }
.toggle-switch input:checked ~ .toggle-switch__thumb { transform: translateX(24px); }
.pricing-badge {
  background: #D1FAE5;
  color: #065F46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.pricing-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-3px); }
.pricing-card--featured {
  border-color: var(--signal-amber);
  box-shadow: 0 8px 32px rgba(245,158,11,0.15);
  position: relative;
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--signal-amber);
  color: var(--authority-blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--authority-blue);
  margin-bottom: 4px;
}
.pricing-card__subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card__price {
  margin-bottom: 8px;
}
.pricing-card__amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--authority-blue);
  line-height: 1;
}
.pricing-card__period { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card__features { flex: 1; margin-bottom: 32px; }
.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--surface-mid);
}
.pricing-card__feature:last-child { border-bottom: none; }
.pricing-card__check { color: var(--success-green); flex-shrink: 0; font-size: 1rem; line-height: 1.4; }

/* ─── How It Works Steps ─────────────────────────────── */
.steps { position: relative; }
.steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps__list::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.6% + 24px);
  right: calc(16.6% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--authority-blue) 0%, var(--signal-amber) 100%);
  opacity: 0.3;
}
.step {
  text-align: center;
}
.step__number {
  width: 64px;
  height: 64px;
  background: var(--authority-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step__title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--authority-blue); }
.step__body  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* Strikethrough list */
.strikethrough-list {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(26,58,92,0.1);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 680px;
  margin: 48px auto 0;
  box-shadow: 0 4px 24px rgba(26,58,92,0.06);
}
.strikethrough-list__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--authority-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.strikethrough-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(26,58,92,0.07);
  font-size: 0.95rem;
  color: var(--slate-core);
  font-weight: 500;
}
.strikethrough-list li:last-child { border-bottom: none; }
.strikethrough-list svg { flex-shrink: 0; margin-top: 2px; }

/* ─── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-core);
  margin-bottom: 6px;
}
.form-label .req { color: var(--warning-red); margin-left: 2px; }

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--slate-core);
  background: white;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--authority-blue);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-control.valid {
  border-color: var(--success-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.form-control.invalid {
  border-color: var(--warning-red);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.form-error { font-size: 0.8rem; color: var(--warning-red); margin-top: 5px; display: none; }
.form-error.show { display: block; }

textarea.form-control {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--authority-blue);
}
.form-check label { font-size: 0.875rem; color: var(--slate-core); cursor: pointer; }
.form-check label a { color: var(--authority-blue); text-decoration: underline; }

.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.radio-option:hover { border-color: var(--authority-blue); background: rgba(26,58,92,0.02); }
.radio-option input[type="radio"] { accent-color: var(--authority-blue); flex-shrink: 0; margin-top: 2px; }
.radio-option__label { font-weight: 600; font-size: 0.9rem; }
.radio-option__desc  { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ─── Onboarding progress bar ────────────────────────── */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--surface-mid);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 40px;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--authority-blue), var(--signal-amber));
  border-radius: 4px;
  transition: width 400ms ease;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.progress-step {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 200ms ease;
}
.progress-step.active { color: var(--authority-blue); }
.progress-step.done   { color: var(--success-green); }

/* ─── Dashboard ─────────────────────────────────────── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 240px;
  background: #0F1E30;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  font-family: var(--font-logo);
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar__nav { padding: 12px 0; flex: 1; }
.sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
  border-radius: 6px;
  margin: 2px 8px;
}
.sidebar__nav-item:hover { color: white; background: rgba(255,255,255,0.07); }
.sidebar__nav-item.active { color: white; background: rgba(255,255,255,0.12); }
.sidebar__nav-item .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar__user {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar__user-dot {
  width: 8px; height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-main {
  margin-left: 240px;
  flex: 1;
  background: var(--surface-light);
  min-height: 100vh;
}
.dashboard-header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dashboard-header h1 {
  font-size: 1.35rem;
  color: var(--authority-blue);
}
.dashboard-content { padding: 32px; }

.kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.kpi-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}
.kpi-card__label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.kpi-card__value { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 500; color: var(--authority-blue); line-height: 1; }
.kpi-card__change { font-size: 0.75rem; color: var(--success-green); margin-top: 4px; font-weight: 600; }

.activity-feed {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}
.activity-feed__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--authority-blue);
}
.activity-feed__list { max-height: 320px; overflow-y: auto; }
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--surface-mid);
  font-size: 0.85rem;
}
.activity-item:last-child { border-bottom: none; }
.activity-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.activity-item__dot--green  { background: var(--success-green); }
.activity-item__dot--amber  { background: var(--signal-amber); }
.activity-item__dot--red    { background: var(--warning-red); }
.activity-item__dot--blue   { background: var(--authority-blue); }
.activity-item__time { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.system-health {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}
.system-health__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--authority-blue);
}
.health-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--surface-mid);
  font-size: 0.875rem;
}
.health-item:last-child { border-bottom: none; }
.health-item__name { color: var(--slate-core); }
.health-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.health-dot__circle {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.health-dot--green  .health-dot__circle { background: var(--success-green); }
.health-dot--amber  .health-dot__circle { background: var(--signal-amber); }
.health-dot--red    .health-dot__circle { background: var(--warning-red); }
.health-dot--green  .health-dot__text   { color: var(--success-green); }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--surface-light);
  border-bottom: 2px solid var(--border-color);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--surface-mid);
  vertical-align: middle;
}
.data-table tr:hover td { background: rgba(26,58,92,0.02); }
.data-table .status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}
.status-dot--active::before  { background: var(--success-green); }
.status-dot--alert::before   { background: var(--signal-amber); }
.status-dot--paused::before  { background: var(--text-muted); }
.status-dot--active { color: #065F46; }
.status-dot--alert  { color: #92400E; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge--blue   { background: #DBEAFE; color: #1E40AF; }
.badge--green  { background: #D1FAE5; color: #065F46; }
.badge--amber  { background: #FEF3C7; color: #92400E; }
.badge--red    { background: #FEE2E2; color: #991B1B; }
.badge--gray   { background: var(--surface-mid); color: var(--text-muted); }

/* Dashboard tabs */
.dashboard-tab-content { display: none; }
.dashboard-tab-content.active { display: block; }

/* Dashboard password gate */
.auth-gate {
  position: fixed;
  inset: 0;
  background: var(--authority-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.auth-gate__card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 400px;
  width: 100%;
  margin: 0 24px;
  text-align: center;
}
.auth-gate__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 1rem;
  font-weight: 800;
  color: var(--authority-blue);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.auth-gate__subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-gate__error { color: var(--warning-red); font-size: 0.85rem; margin-top: 12px; display: none; }

/* ─── Blog ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.post-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-3px); }
.post-card__img { width: 100%; height: 180px; object-fit: cover; background: var(--surface-mid); }
.post-card__img-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, var(--authority-blue) 0%, var(--authority-blue-light) 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 2rem; }
.post-card__body { padding: 20px; }
.post-card__category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cat--review-mgmt { background: #FEE2E2; color: #991B1B; }
.cat--gbp-tips    { background: #DBEAFE; color: #1E40AF; }
.cat--local-seo   { background: #D1FAE5; color: #065F46; }
.cat--industry    { background: #FEF3C7; color: #92400E; }
.post-card__title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--authority-blue); margin-bottom: 8px; line-height: 1.3; }
.post-card__excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }
.post-card__author { display: flex; align-items: center; gap: 6px; }

.blog-sidebar__card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.blog-sidebar__card h4 { font-size: 0.95rem; color: var(--authority-blue); margin-bottom: 14px; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.article-body { max-width: 700px; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.2rem; margin: 28px 0 12px; }
.article-body p  { margin-bottom: 20px; line-height: 1.8; font-size: 1rem; }
.article-body ul, .article-body ol { margin: 16px 0 24px 20px; }
.article-body li { margin-bottom: 8px; font-size: 0.975rem; line-height: 1.7; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.pull-quote {
  border-left: 4px solid var(--signal-amber);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--surface-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--authority-blue);
  font-weight: 500;
}
.callout-box {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px 0;
}
.callout-box p { margin-bottom: 8px; font-size: 0.9rem; }
.callout-box a { color: var(--authority-blue); font-weight: 600; text-decoration: underline; }
.article-cta-box {
  background: var(--signal-amber);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 40px 0;
}
.article-cta-box p { color: var(--authority-blue-dark); font-weight: 500; margin-bottom: 16px; font-size: 0.95rem; }
.article-cta-box a.btn { background: var(--authority-blue); color: white; }

.article-sticky-sidebar { position: sticky; top: 100px; height: fit-content; }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: #0F172A;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.footer__tagline { font-size: 0.875rem; margin-bottom: 16px; color: rgba(255,255,255,0.5); }
.footer__email { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer__email a:hover { color: white; }
.footer__col-title { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 150ms; }
.footer__links a:hover { color: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: rgba(255,255,255,0.8); }

/* ─── Chat Widget ────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  font-family: var(--font-body);
}
.chat-bubble {
  width: 56px; height: 56px;
  background: var(--signal-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
}
.chat-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(245,158,11,0.5); }
.chat-bubble__icon { font-size: 1.4rem; }
.chat-bubble__online {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  background: var(--success-green);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}
.chat-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 440px;
}
.chat-window.open { display: flex; animation: slideUp 200ms ease; }
.chat-header {
  background: var(--authority-blue);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header__info { display: flex; align-items: center; gap: 10px; }
.chat-header__avatar { width: 32px; height: 32px; background: var(--signal-amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; color: var(--authority-blue-dark); }
.chat-header__name { font-size: 0.9rem; font-weight: 700; color: white; }
.chat-header__status { font-size: 0.72rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 4px; }
.chat-header__status::before { content: ''; width: 6px; height: 6px; background: var(--success-green); border-radius: 50%; display: inline-block; }
.chat-header__close { color: rgba(255,255,255,0.6); font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 4px; }
.chat-header__close:hover { color: white; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F9FAFB; }
.chat-msg {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chat-msg--agent { background: white; color: var(--slate-core); box-shadow: var(--shadow-card); align-self: flex-start; border-radius: 4px 12px 12px 12px; }
.chat-msg--user  { background: var(--authority-blue); color: white; align-self: flex-end; border-radius: 12px 4px 12px 12px; }
.chat-typing { display: none; align-items: center; gap: 4px; padding: 10px 12px; }
.chat-typing.show { display: flex; }
.typing-dot { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typing 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
.chat-input-area { padding: 12px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; background: white; }
.chat-input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.875rem; font-family: var(--font-body); }
.chat-input:focus { outline: none; border-color: var(--authority-blue); }
.chat-send { background: var(--signal-amber); color: var(--authority-blue-dark); border: none; padding: 0 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem; cursor: pointer; }

/* ─── Cookie Consent ─────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F172A;
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 7000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 300ms ease;
}
.cookie-bar.hidden { transform: translateY(100%); }
.cookie-bar__text { font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.cookie-bar__text a { color: var(--signal-amber); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── Animations ─────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
@keyframes ratingUp {
  from { content: '4.1'; }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Photo Upload Zone ──────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
  background: var(--surface-light);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--authority-blue);
  background: rgba(26,58,92,0.03);
}
.upload-zone__icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-zone__text { font-size: 0.95rem; color: var(--text-muted); }
.upload-zone__text strong { color: var(--authority-blue); }
.upload-zone__hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.photo-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb__remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
}
.photo-thumb__success {
  position: absolute;
  inset: 0;
  background: rgba(16,185,129,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success-green);
  font-size: 1.5rem;
}

/* ─── Utilities ──────────────────────────────────────── */
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.divider { border: none; border-top: 1px solid var(--border-color); margin: 32px 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface-mid);
  color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .kpi-bar { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .blog-grid { grid-template-columns: 1fr; }
  .article-sticky-sidebar { position: static; }
  .blog-sidebar__card:not(:first-child) { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: var(--section-pad-mobile); }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__mockup { display: none; }
  .hero__trust-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero__trust-item + .hero__trust-item { border-left: none; padding-left: 0; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list::before { display: none; }
  .stat-row { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .post-grid { grid-template-columns: 1fr 1fr; }

  .dashboard-layout { flex-direction: column; }
  .sidebar { width: 100%; position: static; flex-direction: row; overflow-x: auto; }
  .dashboard-main { margin-left: 0; }
  .sidebar__nav { display: flex; padding: 8px; }
  .sidebar__user { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .chat-window { width: calc(100vw - 48px); }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .post-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   FABRICA®-INSPIRED DESIGN UPLIFT
   Added to elevate visual sophistication while preserving
   LocalPresence AI brand (Authority Blue + Signal Amber).
   ═══════════════════════════════════════════════════════════ */

/* ─── Frosted Glass Nav ──────────────────────────────── */
.nav--frosted {
  background: rgba(10, 18, 30, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav--frosted.nav--scrolled {
  background: rgba(15, 23, 42, 0.97);
  border-bottom-color: rgba(255,255,255,0.06);
}

/* ─── Dark Ink Section ───────────────────────────────── */
.section--ink {
  background: #0D1117;
  color: rgba(255,255,255,0.85);
}
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: #FFFFFF; }
.section--ink .section-header p { color: rgba(255,255,255,0.55); }
.section--ink p { color: rgba(255,255,255,0.7); }

/* ─── Display-Scale Hero Typography ─────────────────── */
.display-xl {
  font-size: clamp(2.75rem, 7.5vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  display: block;
}

/* ─── Overline Label ─────────────────────────────────── */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-amber);
  margin-bottom: 20px;
}
.overline::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─── Tag Chips ──────────────────────────────────────── */
.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.tag-chip--light {
  border-color: var(--border-color);
  color: var(--text-muted);
  background: var(--surface-light);
}
.tag-chip--amber {
  border-color: rgba(245,158,11,0.45);
  color: var(--signal-amber);
  background: rgba(245,158,11,0.09);
}

/* ─── Bento Grid ─────────────────────────────────────── */
.bento-grid {
  display: grid;
  gap: 16px;
}
.bento-grid--3col {
  grid-template-columns: 1.5fr 1fr 1fr;
}
.bento-grid--2col {
  grid-template-columns: 1fr 1fr;
}
.bento-grid--4stat {
  grid-template-columns: repeat(4, 1fr);
}

/* Dark bento cells (for .section--ink) */
.bento-cell {
  background: #13191F;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 250ms ease, background 250ms ease;
  position: relative;
  overflow: hidden;
}
.bento-cell:hover {
  border-color: rgba(255,255,255,0.16);
  background: #161D25;
}
.bento-cell--span2 { grid-column: span 2; }
.bento-cell--amber {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.06);
}
.bento-cell--blue {
  background: var(--authority-blue);
  border-color: transparent;
}

/* Light bento cells (for white/light sections) */
.bento-cell--light {
  background: white;
  border-color: var(--border-color);
}
.bento-cell--light:hover {
  background: white;
  border-color: var(--authority-blue);
  box-shadow: var(--shadow-elevated);
}
.bento-cell--light h3,
.bento-cell--light h4 { color: var(--authority-blue); }
.bento-cell--light p  { color: var(--text-muted); }

/* Bento cell step number */
.bento-step-num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--authority-blue);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}
.bento-cell--light .bento-step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--authority-blue);
  margin-bottom: 10px;
}
.bento-cell--light .bento-step-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Stat Mega Blocks ───────────────────────────────── */
.stat-mega {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-mega__number {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #FFFFFF;
}
.stat-mega__number--amber { color: var(--signal-amber); }
.stat-mega__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.45;
  font-weight: 400;
  max-width: 160px;
}

/* ─── Service Accordion ──────────────────────────────── */
.service-accordion {
  border-top: 1px solid var(--border-color);
}
.service-accordion__item {
  border-bottom: 1px solid var(--border-color);
}
.section--ink .service-accordion,
.section--dark .service-accordion {
  border-top-color: rgba(255,255,255,0.1);
}
.section--ink .service-accordion__item,
.section--dark .service-accordion__item {
  border-bottom-color: rgba(255,255,255,0.1);
}
.service-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.service-accordion__trigger:hover .service-accordion__title {
  color: var(--signal-amber);
}
.service-accordion__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 28px;
  flex-shrink: 0;
}
.service-accordion__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--slate-core);
  flex: 1;
  transition: color 200ms ease;
  text-align: left;
}
.service-accordion__arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 350ms ease, color 200ms ease;
  flex-shrink: 0;
  line-height: 1;
}
.service-accordion__item.open .service-accordion__arrow {
  transform: rotate(45deg);
  color: var(--signal-amber);
}
.service-accordion__item.open .service-accordion__title {
  color: var(--authority-blue);
}
/* Dark section overrides */
.section--ink .service-accordion__index,
.section--dark .service-accordion__index { color: rgba(255,255,255,0.25); }
.section--ink .service-accordion__title,
.section--dark .service-accordion__title { color: rgba(255,255,255,0.9); }
.section--ink .service-accordion__arrow,
.section--dark .service-accordion__arrow { color: rgba(255,255,255,0.35); }
.section--ink .service-accordion__item.open .service-accordion__title,
.section--dark .service-accordion__item.open .service-accordion__title { color: white; }
.service-accordion__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  max-height: 0;
  overflow: hidden;
  transition: max-height 450ms cubic-bezier(0.4,0,0.2,1),
              padding 450ms cubic-bezier(0.4,0,0.2,1),
              opacity 300ms ease;
  opacity: 0;
}
.service-accordion__item.open .service-accordion__body {
  max-height: 260px;
  padding-bottom: 32px;
  opacity: 1;
}
.service-accordion__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  padding-left: 48px;
}
.section--ink .service-accordion__desc,
.section--dark .service-accordion__desc { color: rgba(255,255,255,0.6); }
.service-accordion__thumb {
  width: 110px;
  height: 72px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

/* ─── Enhanced Card Hover ────────────────────────────── */
.card--lift {
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.card--lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.14);
}

/* ─── Hero Dot-Grid Overlay ──────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle,
    rgba(255,255,255,0.04) 1px,
    transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.hero__inner  { position: relative; z-index: 1; }
.hero__trust  { position: relative; z-index: 1; }

/* ─── Responsive: Bento Grids ────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid--3col { grid-template-columns: 1fr 1fr; }
  .bento-grid--4stat { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--span2 { grid-column: span 1; }
}
@media (max-width: 768px) {
  .bento-grid--3col,
  .bento-grid--2col,
  .bento-grid--4stat { grid-template-columns: 1fr; }
  .display-xl { letter-spacing: -0.04em; }
  .service-accordion__body { grid-template-columns: 1fr; }
  .service-accordion__thumb { display: none; }
  .service-accordion__desc { padding-left: 0; }
}

/* ─── LBL Brand Icon Cells ───────────────────────────── */
.bento-icon {
  background: #F59E0B;
  border-radius: 10px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ─── 24/7 AI Advantage Section ─────────────────────── */
.ai-advantage-section {
  background: var(--authority-blue);
  padding: var(--section-pad) 0;
}
.ai-advantage__layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: center;
}
.ai-advantage__text h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.ai-advantage__text p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
  line-height: 1.75;
}
.ai-advantage__features {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-advantage__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.ai-badge-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}
.ai-badge-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-amber);
  margin-bottom: 12px;
}
.ai-badge-card__number {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 500;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.ai-badge-card__sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-bottom: 28px;
}
.ai-badge-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.ai-badge-card__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ai-badge-card__stat:last-child { border-bottom: none; }
.ai-badge-card__stat-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--signal-amber);
}
.ai-badge-card__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
  max-width: 130px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .ai-advantage__layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── Stat bento 3-column ────────────────────────────── */
.bento-grid--3stat {
  grid-template-columns: repeat(3, 1fr);
}
.stat-mega__number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--authority-blue);
}
.stat-mega__number--amber { color: var(--signal-amber); }
.stat-mega__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ─── Final CTA Section ──────────────────────────────── */
.lbl-cta-section {
  background: var(--authority-blue);
  padding: var(--section-pad) 0;
  text-align: center;
}
.lbl-cta-block {
  max-width: 680px;
  margin: 0 auto;
}
.lbl-cta-block h2 {
  color: white;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.lbl-cta-block p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.75;
}
.lbl-cta-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.lbl-cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ─── Amber Button ───────────────────────────────────── */
.btn-amber {
  background: var(--signal-amber);
  color: var(--slate-core);
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: background 200ms ease, transform 200ms ease;
}
.btn-amber:hover {
  background: var(--signal-amber-dark);
  transform: translateY(-2px);
  color: var(--slate-core);
}

/* ─── Hero trust item icon alignment ────────────────── */
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ─── Mobile: stat and bento collapse ───────────────── */
@media (max-width: 768px) {
  .bento-grid--3stat { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   2026 UX / Accessibility Layer
   ═══════════════════════════════════════════════════════ */

/* ─── Branded focus-visible rings ─────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--signal-amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 2.5px solid var(--signal-amber);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(245,158,11,0.2);
}
.form-control:focus-visible {
  outline: none;
  border-color: var(--authority-blue);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.15);
}
a:focus-visible { outline: 2.5px solid var(--signal-amber); outline-offset: 3px; border-radius: 3px; }

/* ─── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up, .fade-in { opacity: 1 !important; transform: none !important; }
}

/* ─── Nav active state class ───────────────────────────── */
.nav__links a.nav__active,
.nav__links a[aria-current="page"] { color: white !important; }

/* ─── Improved card hover lifts ───────────────────────── */
.card:hover,
.bento-cell:hover,
.testimonial-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.pricing-card--featured:hover { transform: translateY(-6px); }

/* ─── Touch targets — minimum 44px ───────────────────── */
.nav__links a,
.btn,
.radio-option,
.form-check label {
  min-height: 44px;
}
.nav__links a { display: flex; align-items: center; }

/* ─── Smooth image loading ────────────────────────────── */
img { transition: opacity 300ms ease; }
img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].loaded { opacity: 1; }

/* ─── Better scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-light); }
::-webkit-scrollbar-thumb { background: var(--surface-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── Sticky mobile CTA ────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: var(--slate-core);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 900;
    display: flex;
    justify-content: center;
  }
  .mobile-sticky-cta .btn { width: 100%; max-width: 400px; }
}

/* ─── Section divider accent ──────────────────────────── */
.section-accent {
  width: 40px;
  height: 3px;
  background: var(--signal-amber);
  border-radius: 2px;
  margin: 0 auto 32px;
}
.section-header .section-accent { margin-bottom: 20px; }

/* ─── Stat callout inline ──────────────────────────────── */
.stat-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--signal-amber);
  color: var(--slate-core);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 14px;
  line-height: 1.4;
}

/* ─── GBP stat strip ───────────────────────────────────── */
.gbp-stat-strip {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.gbp-stat-strip__item {
  text-align: center;
}
.gbp-stat-strip__num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--signal-amber);
  line-height: 1;
}
.gbp-stat-strip__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  max-width: 120px;
}

/* ─── Animated gradient hero underline ────────────────── */
.gradient-underline {
  background: linear-gradient(90deg, var(--signal-amber) 0%, var(--authority-blue-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@media (prefers-reduced-motion: reduce) {
  .gradient-underline { animation: none; background-position: 0% center; }
}

/* ─── Selection color ──────────────────────────────────── */
::selection { background: rgba(245,158,11,0.25); color: var(--slate-core); }

/* ─── Print styles ─────────────────────────────────────── */
@media print {
  .nav, .chat-widget, .cookie-bar, .mobile-sticky-cta { display: none; }
  body { font-size: 12pt; color: black; }
}

/* ─── Form validation — contact page ──────────────────── */
.form-group.has-error .form-control {
  border-color: var(--warning-red);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.form-group.has-error .form-error { display: block; }
.form-group.has-success .form-control {
  border-color: var(--success-green);
}

/* ─── Pricing card featured — frosted highlight ─────────── */
.pricing-card--featured {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--signal-amber);
  box-shadow: 0 8px 32px rgba(245,158,11,0.12), 0 1px 0 rgba(255,255,255,0.9) inset;
}

/* ─── Hero badge pulse ─────────────────────────────────── */
.gbp-card__badge .dot {
  width: 8px; height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ─── Skip nav improved ─────────────────────────────────── */
.skip-nav:focus {
  top: 8px;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.5);
}

/* ─── Responsive typography improvements ──────────────── */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .display-xl { font-size: clamp(2.2rem, 10vw, 3.5rem) !important; }
  .btn-xl { padding: 16px 24px; font-size: 1rem; height: auto; }
  .stat-mega__number { font-size: 3.5rem !important; }
}

/* ─── Improved footer layout ───────────────────────────── */
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Nav gap on larger screens ────────────────────────── */
@media (min-width: 1200px) {
  .nav__links { gap: 36px; }
}

/* ─── Smooth section transitions ───────────────────────── */
.section { position: relative; }

/* ─── Industry block responsive ────────────────────────── */
@media (max-width: 768px) {
  .industry-block { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-block { grid-template-columns: 1fr; gap: 32px; }
  .ai-advantage__layout { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
