/* =========================================================
   GBP Service Website — style.css
   Single-file stylesheet, no preprocessors
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Variables (Design Tokens)
   --------------------------------------------------------- */
:root {
  --dark:       #0F1C2E;
  --navy:       #1A3A5C;
  --blue:       #1A56A0;
  --blue-light: #D6E4F5;
  --teal:       #0D9488;
  --teal-light: #CCFBF1;
  --grey:       #F4F6F8;
  --border:     #E5E7EB;
  --text:       #1A1A1A;
  --muted:      #6B7280;
  --white:      #FFFFFF;

  --font:         system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.12);
  --max-width:    1100px;
  --section-pad:  80px 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

/* ---------------------------------------------------------
   3. Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

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

.section {
  padding: var(--section-pad);
}

.section--grey { background: var(--grey); }
.section--dark { background: var(--dark); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--blue-light { background: var(--blue-light); }
.section--teal-light { background: var(--teal-light); }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.1rem;
}

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

/* ---------------------------------------------------------
   5. Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: #0b8078; border-color: #0b8078; }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

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

.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.125rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

/* ---------------------------------------------------------
   6. Header & Navigation
   --------------------------------------------------------- */
.site-header {
  background: var(--dark);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active { color: var(--white); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover { background: #0b8078; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------------------------------------------------------
   7. Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 20px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .site-logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand .site-logo img { height: 44px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--teal); }
.footer-contact .btn-primary { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ---------------------------------------------------------
   8. Hero Section
   --------------------------------------------------------- */
.hero {
  background-color: var(--dark);
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  padding: 90px 20px 70px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay — keeps text readable over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,15,28,0.96) 0%, rgba(10,15,28,0.85) 40%, rgba(10,15,28,0.55) 65%, rgba(10,15,28,0.35) 100%),
    radial-gradient(ellipse at 70% 10%, rgba(26,86,160,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 90%, rgba(13,148,136,0.18) 0%, transparent 50%);
  pointer-events: none;
}

/* Dot grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Two-column split layout */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.hero-content { text-align: left; }

.hero-eyebrow {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 0 0 2.25rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
  margin-top: 2.25rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.875rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.hero-trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ---- Mock GBP / Map Pack visual ---- */
.hero-visual { display: flex; flex-direction: column; gap: 0.625rem; }

.mock-map-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.mock-gbp-card {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}

.mock-gbp-card--featured {
  background: rgba(255,255,255,0.24);
  border-color: rgba(13,148,136,0.7);
  box-shadow: 0 0 0 1px rgba(13,148,136,0.45), 0 8px 32px rgba(0,0,0,0.5);
}

/* ---- Pause all hero animations when section leaves viewport ---- */
.hero.hero-paused * {
  animation-play-state: paused !important;
}

/* ---- Pack wrapper: fixed height, two absolutely-positioned cards swap slots ---- */
.mock-pack-wrap {
  position: relative;
  height: 268px; /* two cards (~124px each) + 10px gap + 10px buffer */
  overflow: visible;
}

/* Competitor: slot top → bottom */
.mock-competitor {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  animation: pack-slot-comp 8s ease-in-out infinite;
}

/* Competitor rank badge: shows #1 during "before", #2 during "after" */
.mock-competitor .mock-gbp-rank { position: relative; width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px; }
.mock-rank-badge.mock-comp-rank-before,
.mock-rank-badge.mock-comp-rank-after {
  position: absolute;
  inset: 0;
  margin: 0;
}
.mock-comp-rank-before { animation: card-flip-before 8s ease-in-out infinite; }
.mock-comp-rank-after  { animation: card-flip-after  8s ease-in-out infinite; }

@keyframes pack-slot-comp {
  0%, 40%  { top: 0; }      /* sits at #1 slot */
  52%, 90% { top: 134px; }  /* drops to #2 slot */
  100%     { top: 0; }
}

/* ---- Before/After flip animation ---- */
.mock-card-flip {
  position: absolute;
  left: 0; right: 0;
  animation: pack-slot-feat 8s ease-in-out infinite;
}

@keyframes pack-slot-feat {
  0%, 40%  { top: 134px; }  /* sits at #2 slot */
  52%, 90% { top: 0; }      /* rises to #1 slot */
  100%     { top: 134px; }
}

/* Before-state card: absolute, layered on top, fades out */
.mock-card-state--before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255,255,255,0.13) !important;
  border-color: rgba(239,68,68,0.4) !important;
  box-shadow: none !important;
  animation: card-flip-before 8s ease-in-out infinite;
}

/* After-state card: in flow (defines container height), fades in */
.mock-card-state--after {
  animation: card-flip-after 8s ease-in-out infinite;
}

@keyframes card-flip-before {
  0%, 40%  { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}

@keyframes card-flip-after {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}

/* BEFORE / AFTER ✓ badge labels */
.mock-flip-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  z-index: 10;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  pointer-events: none;
}

.mock-flip-badge--before {
  background: rgba(239,68,68,0.18);
  color: #FCA5A5;
  border: 1px solid rgba(239,68,68,0.4);
  animation: card-flip-before 8s ease-in-out infinite;
}

.mock-flip-badge--after {
  background: rgba(13,148,136,0.25);
  color: #5EEAD4;
  border: 1px solid rgba(13,148,136,0.5);
  animation: card-flip-after 8s ease-in-out infinite;
}

/* Missing-info tags for the before state */
.mock-missing-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  border: 1px solid rgba(239,68,68,0.4);
  color: rgba(252,165,165,0.85);
  cursor: default;
  white-space: nowrap;
}

.mock-rating--dim { color: rgba(255,255,255,0.45); }

/* ---- Confetti burst (fires as "After" card reaches top) ---- */
.cp {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 9px;
  border-radius: 2px;
  margin: -4px -3px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  animation: confetti-fly 8s ease-out infinite;
}

@keyframes confetti-fly {
  0%, 48%  { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0); }
  53%      { opacity: 1; transform: translate(calc(var(--tx)*.3), calc(var(--ty)*.3)) rotate(calc(var(--rot)*.4)) scale(1.3); }
  65%      { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1); }
  80%      { opacity: 0.5; transform: translate(var(--tx), calc(var(--ty) + 38px)) rotate(calc(var(--rot)*2)) scale(0.75); }
  90%      { opacity: 0; transform: translate(var(--tx), calc(var(--ty) + 75px)) rotate(calc(var(--rot)*3)) scale(0.3); }
  91%, 100%{ opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0); }
}

.mock-gbp-card--dim {
  opacity: 0.65;
}

.mock-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.mock-rank-badge--dim {
  background: rgba(255,255,255,0.2);
}

.mock-gbp-body { flex: 1; min-width: 0; }

.mock-gbp-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-gbp-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.35rem;
}

.mock-gbp-stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.625rem;
  font-size: 0.78rem;
}

.mock-stars { color: #FBBF24; font-size: 0.85rem; }
.mock-stars--dim { color: rgba(251,191,36,0.5); }
.mock-rating { color: white; font-weight: 700; }
.mock-count { color: rgba(255,255,255,0.45); }

.mock-gbp-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.mock-action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  cursor: default;
  white-space: nowrap;
}

.mock-action--primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

/* Stats row below the cards */
.mock-gbp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.mock-stat {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 0.625rem 0.5rem;
  text-align: center;
}

.mock-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.mock-stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.2;
}

/* ---------------------------------------------------------
   9. Stat Strip
   --------------------------------------------------------- */
.stat-strip {
  background: var(--navy);
  padding: 48px 20px;
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 0 1rem; }

.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.4;
}

/* ---------------------------------------------------------
   10. Problem Cards
   --------------------------------------------------------- */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-header h3 {
  margin-bottom: 0;
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: #FEF2F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------
   11. What We Do (Service Cards)
   --------------------------------------------------------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------
   11b. What We Do (Service Rows — legacy, kept for other templates)
   --------------------------------------------------------- */
.service-rows { display: flex; flex-direction: column; gap: 0; }

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child { border-bottom: none; }

.service-row-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-row-content h3 {
  margin-bottom: 0.4rem;
  font-size: 1.125rem;
}

.service-row-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------------------------------------------------------
   12. Pricing Cards
   --------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13,148,136,0.15);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.pricing-strapline {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.25rem;
}

.pricing-min {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-card .btn { width: 100%; text-align: center; }

/* ---------------------------------------------------------
   13. ROI Scenarios
   --------------------------------------------------------- */
.roi-section {
  background: var(--dark);
  padding: var(--section-pad);
}

.roi-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.roi-section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.roi-section-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.6;
}

/* Three scenario cards */
.roi-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.roi-scenario {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  position: relative;
  transition: border-color 0.2s;
}

.roi-scenario:hover {
  border-color: rgba(255,255,255,0.18);
}

.roi-scenario--featured {
  background: rgba(13,148,136,0.1);
  border-color: var(--teal);
  transform: translateY(-10px);
}

.roi-scenario--featured:hover {
  border-color: #14b8a6;
}

.roi-scenario-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
}

.roi-scenario-tier {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.roi-scenario-revenue {
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.roi-scenario-revenue--featured {
  color: #5eead4;
}

.roi-scenario-period {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: -0.625rem;
}

/* Stat breakdown rows */
.roi-scenario-stats {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.roi-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.roi-stat-val {
  font-size: 0.975rem;
  font-weight: 700;
  color: #fff;
  min-width: 2.5rem;
}

.roi-stat-lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* Comparison bars */
.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.roi-bar-row {
  display: grid;
  grid-template-columns: 3.25rem 1fr 3rem;
  align-items: center;
  gap: 0.5rem;
}

.roi-bar-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
  text-align: right;
}

.roi-bar-track {
  height: 7px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.roi-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.22,1,0.36,1);
  min-width: 3px;
}

.roi-bar-fill--cost {
  background: rgba(255,255,255,0.22);
}

.roi-bar-fill--earn {
  background: linear-gradient(90deg, var(--teal), #5eead4);
}

.roi-bar-amt {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
}

/* ROI multiplier badge */
.roi-multiplier {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  align-self: flex-start;
}

.roi-multiplier--featured {
  background: var(--teal);
  color: #fff;
}

/* Anchor footer line */
.roi-anchor {
  margin-top: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  text-align: center;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.roi-anchor svg {
  flex-shrink: 0;
  stroke: var(--teal);
}

.roi-anchor strong {
  color: #fff;
}

.roi-disclaimer {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  line-height: 1.5;
}

/* ---------------------------------------------------------
   14. Testimonials
   --------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-business { font-size: 0.8rem; color: var(--muted); }

/* ---------------------------------------------------------
   15. CTA Banner
   --------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  padding: 80px 20px;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-banner .btn { margin: 0 0.5rem 0.5rem; }

.cta-trust {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cta-trust-item::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

/* ---------------------------------------------------------
   16. Forms
   --------------------------------------------------------- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid .form-group.full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group label .req { color: #EF4444; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,160,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; padding: 1rem; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}

.form-alert {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.form-success {
  background: var(--teal-light);
  border: 1px solid var(--teal);
  color: #065F46;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.form-success h3 { color: #065F46; margin-bottom: 0.75rem; }

/* ---------------------------------------------------------
   17. Page Header (inner pages)
   --------------------------------------------------------- */
.page-header {
  background: var(--dark);
  padding: 64px 20px 56px;
  text-align: center;
}

.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }

.page-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   18. How It Works Timeline
   --------------------------------------------------------- */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--blue));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: var(--teal);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal);
}

.step-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------
   19. FAQ Page
   --------------------------------------------------------- */

/* Header */
.faq-page-header { padding: 80px 20px; }

.faq-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.faq-header-label {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.faq-header-content h1 { margin-bottom: 0.75rem; }
.faq-header-content p  { color: var(--muted); max-width: 480px; }

.faq-header-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  min-width: 200px;
}

.faq-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.faq-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Body */
.faq-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sidebar */
.faq-sidebar-inner {
  position: sticky;
  top: 100px;
}

.faq-sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.faq-nav { display: flex; flex-direction: column; gap: 0.2rem; }

.faq-nav-link {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.faq-nav-link:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.faq-nav-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
  letter-spacing: 0.04em;
}

/* Accordion Cards */
.faq-accordion { display: flex; flex-direction: column; gap: 0.625rem; }

.faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-card:hover { box-shadow: var(--shadow); }

.faq-card.faq-open {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}

.faq-card-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--dark);
}

.faq-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.faq-card.faq-open .faq-card-num { background: var(--teal); color: white; }

.faq-card-q {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.faq-card-btn:hover .faq-card-q  { color: var(--teal); }
.faq-card.faq-open .faq-card-q   { color: var(--teal); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.2s;
}

.faq-card.faq-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq-card-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-card-answer-inner {
  padding: 1.125rem 1.5rem 1.25rem 4.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* CTA card */
.faq-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 0.375rem;
  color: white;
}

.faq-cta-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.faq-cta-card h3 { color: white; margin-bottom: 0.5rem; }
.faq-cta-card p  { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ---------------------------------------------------------
   20. Results — Before / After Page
   --------------------------------------------------------- */

/* Keep legacy classes for any future dynamic case studies */
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.result-card:hover { box-shadow: var(--shadow-md); }
.result-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.result-tag { background: var(--blue-light); color: var(--blue); font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 20px; }
.result-tag.location { background: var(--teal-light); color: var(--teal); }
.score-comparison { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; padding: 1.25rem; background: var(--grey); border-radius: var(--radius); }
.score-box { text-align: center; flex: 1; }
.score-number { font-size: 2rem; font-weight: 800; line-height: 1; }
.score-box.before .score-number { color: #EF4444; }
.score-box.after  .score-number { color: var(--teal); }
.score-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; }
.score-arrow { font-size: 1.5rem; color: var(--muted); }
.result-quote { font-style: italic; color: var(--muted); font-size: 0.9rem; border-left: 3px solid var(--teal); padding-left: 1rem; margin-top: 1rem; }

/* Before / After Grid */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
}

.ba-col {
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ba-col--before {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.ba-col--after {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.ba-col-header { margin-bottom: 1.5rem; }
.ba-col-header h2 { font-size: 1.25rem; margin: 0.5rem 0 0.4rem; }
.ba-col-header p  { font-size: 0.875rem; color: var(--muted); margin: 0; }

.ba-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.ba-badge--before { background: #FEE2E2; color: #DC2626; }
.ba-badge--after  { background: #DCFCE7; color: #16A34A; }

.ba-items { display: flex; flex-direction: column; gap: 0.875rem; flex: 1; }

.ba-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.ba-item-icon {
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  margin-top: 0.1rem;
  line-height: 1;
}

.ba-item-icon--before { color: #DC2626; }
.ba-item-icon--after  { color: #16A34A; }

.ba-item-title { font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.2rem; }
.ba-item-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

.ba-score {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.ba-score-num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
.ba-score-num span { font-size: 1.25rem; font-weight: 600; opacity: 0.6; }
.ba-score-num--low  { color: #DC2626; }
.ba-score-num--high { color: #16A34A; }
.ba-score-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; }

.ba-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.ba-arrow-wrap {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.ba-divider-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* Timeline */
.ba-timeline { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }

.ba-phase {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-phase-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 2rem 1.5rem;
  background: var(--grey);
  border-bottom: 1px solid var(--border);
}

.ba-phase-header h3 { margin: 0 0 0.4rem; font-size: 1.125rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.ba-phase-sub { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

.ba-phase-num {
  width: 3rem;
  height: 3rem;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ba-phase-num--teal { background: var(--teal); }

.ba-phase-price {
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

.ba-phase-price--teal {
  background: var(--teal-light);
  color: var(--teal);
}

.ba-phase-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  padding: 1.5rem 2rem;
}

.ba-step {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

.ba-step svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--blue); }
.ba-step--teal svg { color: var(--teal); }

/* Metrics */
.ba-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.ba-metric {
  background: var(--grey);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.ba-metric-value {
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.ba-metric-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.ba-metric-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.ba-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------
   21. Service Detail Page
   --------------------------------------------------------- */
.service-detail-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
  padding: 80px 20px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-detail-content h1 { color: var(--white); margin-bottom: 0.5rem; }
.service-detail-content .lead { color: rgba(255,255,255,0.75); }

.service-detail-price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.service-price-display {
  text-align: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.service-price-display .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.service-price-display .period { color: var(--muted); font-size: 1rem; }
.service-price-display .minimum { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.features-list li:last-child { border-bottom: none; }
.features-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   22. Trust Strip
   --------------------------------------------------------- */
.trust-strip {
  background: var(--grey);
  padding: 40px 20px;
}

.trust-items {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.trust-item svg,
.trust-item .trust-icon {
  color: var(--teal);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   23. Next Steps (audit page)
   --------------------------------------------------------- */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.next-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.next-step-num {
  width: 3rem;
  height: 3rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.next-step h4 { margin-bottom: 0.5rem; }
.next-step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------
   24. Audit intro / what you get
   --------------------------------------------------------- */
.audit-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.audit-benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.audit-benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.audit-benefit h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.audit-benefit p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------
   25. Breadcrumb
   --------------------------------------------------------- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--border); }

/* ---------------------------------------------------------
   26. Contact
   --------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail a { color: var(--blue); font-weight: 600; }

.sab-note {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  color: var(--navy);
  margin-top: 1rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   27. Utilities
   --------------------------------------------------------- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none !important; }

/* ---------------------------------------------------------
   28. Insights — Blog listing & article pages
   --------------------------------------------------------- */

/* ── Shared: category pill ── */
.insight-category {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  width: fit-content;
}

.insight-category--hero {
  background: rgba(13,148,136,0.9);
  backdrop-filter: blur(6px);
  margin-bottom: 1rem;
}

/* ── Shared: card grid ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.insights-grid--narrow {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0;
}

/* ── Individual card ── */
.insight-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  color: var(--text);
  text-decoration: none;
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  text-decoration: none;
}

/* Cover area */
.insight-card-cover {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.125rem;
  flex-shrink: 0;
}

.insight-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.6) 0%, rgba(10,20,40,0.1) 55%, transparent 100%);
  pointer-events: none;
}

/* ── Compact variant (homepage teaser) ── */
.insights-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.insights-grid--compact .insight-card-cover {
  height: 150px;
}
.insights-grid--compact .insight-card-body {
  padding: 1rem 1.125rem 1.25rem;
  gap: 0.4rem;
}
.insights-grid--compact .insight-title {
  font-size: 0.9375rem;
}
.insights-grid--compact .insight-excerpt {
  font-size: 0.8125rem;
}
.insights-grid--compact .insight-meta {
  font-size: 0.73rem;
}

/* Placeholder gradient colours when no photo */
.insight-card:nth-child(3n+1) .insight-card-cover { background-color: #1A3A5C; }
.insight-card:nth-child(3n+2) .insight-card-cover { background-color: #0c5f5a; }
.insight-card:nth-child(3n+3) .insight-card-cover { background-color: #1e3a8a; }

/* Subtle diagonal texture on placeholder covers */
.insight-card-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 24px
  );
  pointer-events: none;
}

.insight-card-cover .insight-category { position: relative; z-index: 1; }

/* Card body */
.insight-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.375rem 1.625rem 1.625rem;
  gap: 0.6rem;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.insight-meta span + span::before {
  content: '·';
  margin-right: 0.5rem;
  color: var(--border);
}

.insight-title {
  font-size: 1.075rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin: 0;
  transition: color 0.15s;
}

.insight-card:hover .insight-title { color: var(--teal); }

.insight-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.insight-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 0.375rem;
  letter-spacing: 0.01em;
  transition: gap 0.15s;
}

.insight-card:hover .insight-read-more { gap: 0.55rem; }

/* ── Section header row ── */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}

/* ── Insights listing page header ── */
.insights-header {
  background: var(--dark);
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 120%, rgba(13,148,136,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% -10%, rgba(26,86,160,0.2) 0%, transparent 65%);
  padding: 5rem 20px 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.insights-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 64px
  );
  pointer-events: none;
}

.insights-header .hero-eyebrow {
  position: relative;
}

.insights-header h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.insights-header-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── Featured article ── */
.insights-featured {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  margin: 3rem 0 0;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.insights-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  text-decoration: none;
}

.insights-featured-cover {
  min-height: 380px;
  background-color: var(--navy);
  background-image: radial-gradient(ellipse at 30% 70%, rgba(13,148,136,0.3) 0%, transparent 60%);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 1.75rem;
}

.insights-featured-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.3) 0%, rgba(10,20,40,0) 60%);
}

/* Same diagonal texture */
.insights-featured-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 28px
  );
  z-index: 0;
  pointer-events: none;
}

.insights-featured-cover .insight-category { position: relative; z-index: 1; }

.insights-featured-body {
  background: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-left: 1px solid var(--border);
}

.insights-featured-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.insights-featured-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin: 0;
  transition: color 0.15s;
}

.insights-featured:hover .insights-featured-title { color: var(--teal); }

.insights-featured-excerpt {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Article single page ── */

.article-hero {
  background: var(--dark);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(13,148,136,0.12) 0%, transparent 60%);
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.article-hero--photo { min-height: 580px; }

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,20,40,0.92) 0%,
    rgba(10,20,40,0.55) 50%,
    rgba(10,20,40,0.25) 100%
  );
}

.article-hero .container { position: relative; z-index: 1; width: 100%; }

.article-hero-inner {
  padding: 4rem 0 4.5rem;
  max-width: 780px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  transition: color 0.15s;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.article-back:hover { color: var(--white); text-decoration: none; }

.article-title {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  margin: 0.5rem 0 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-weight: 500;
}

.article-byline-sep { color: rgba(255,255,255,0.25); }

/* Article body */
.article-layout {
  padding: 4rem 20px 5rem;
}

.article-body-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.article-body-wrap h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--dark);
  margin: 2.75rem 0 0.75rem;
  line-height: 1.25;
}

.article-body-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.5rem;
}

.article-body-wrap p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2d3748;
  margin-bottom: 1rem;
}

.article-body-wrap ul,
.article-body-wrap ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body-wrap li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2d3748;
  margin-bottom: 0.4rem;
}

.article-intro {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.75;
  border-left: 4px solid var(--teal);
  padding: 0.25rem 0 0.25rem 1.375rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* Article content typography */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2d3748;
}

.article-content > * + * { margin-top: 1.4rem; }

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 3.25rem;
  margin-bottom: 0.875rem;
  color: var(--dark);
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--border);
  line-height: 1.2;
}

.article-content h3 {
  font-size: 1.175rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.article-content p { margin-bottom: 0; }

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  padding-left: 0.25rem;
}

.article-content strong { font-weight: 700; color: var(--dark); }
.article-content em { font-style: italic; color: inherit; }

.article-content a { color: var(--teal); font-weight: 500; }
.article-content a:hover { text-decoration: underline; }

.article-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 3rem 0;
}

.article-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 0.5rem 0 0.5rem 1.375rem;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}

/* Article CTA box */
.article-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(214,228,245,0.4) 100%);
  border: 1px solid rgba(13,148,136,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-top: 3.5rem;
}

.article-cta-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.article-cta-text p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.article-cta-box .btn { flex-shrink: 0; white-space: nowrap; }

/* Related articles */
.article-related {
  background: var(--grey);
  padding: 4rem 20px 5rem;
  border-top: 1px solid var(--border);
}

.article-related .container { max-width: var(--max-width); margin: 0 auto; }

.article-related-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--dark);
}

/* ── Responsive — tablet
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { text-align: center; }
  .hero-sub { margin: 0 auto 2.25rem; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-cards { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .roi-scenarios { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .roi-scenario--featured { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .simple-pricing { flex-direction: column; max-width: 440px; }
  .simple-pricing-divider { flex-direction: row; padding: 1rem 0; }
  .simple-pricing-divider span { padding: 0.35rem 1rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-timeline { grid-template-columns: 1fr 1fr; }
  .steps-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .audit-benefits { grid-template-columns: 1fr 1fr; }
  .next-steps { grid-template-columns: 1fr; }
  .stat-strip .container { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; }

  /* FAQ page */
  .faq-header-grid { grid-template-columns: 1fr; }
  .faq-header-stats { flex-direction: row; justify-content: space-around; min-width: unset; }
  .faq-body { grid-template-columns: 1fr; }
  .faq-sidebar { display: none; }
  .faq-card-answer-inner { padding-left: 1.5rem; }

  /* Results page */
  .ba-grid { grid-template-columns: 1fr; }
  .ba-divider { flex-direction: row; padding: 0.75rem 0; gap: 1rem; }
  .ba-divider-label { white-space: nowrap; }
  .ba-arrow-wrap { transform: rotate(90deg); }
  .ba-metrics { grid-template-columns: 1fr 1fr; }
  .ba-phase-steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   29. Simple Pricing Layout
   --------------------------------------------------------- */
.simple-pricing {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 820px;
  margin: 2rem auto 0;
}

.simple-pricing-card {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.simple-pricing-card--monthly {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13,148,136,0.15);
}

.simple-pricing-step {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.simple-pricing-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.simple-pricing-amount {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.simple-pricing-card--monthly .simple-pricing-amount { color: var(--teal); }

.simple-pricing-per {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

.simple-pricing-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.simple-pricing-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  flex-shrink: 0;
}

.simple-pricing-divider span {
  background: var(--grey);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.simple-pricing-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.simple-pricing-footer svg { color: var(--teal); flex-shrink: 0; }

/* ---------------------------------------------------------
   30. Towns Grid
   --------------------------------------------------------- */
.towns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

.town-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.town-tag:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------------------------------------------------------
   31. Responsive — 375px (mobile)
   --------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --section-pad: 56px 16px; }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 1rem; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.875rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  .site-nav .nav-cta { margin: 0.75rem 0 0; border-radius: var(--radius); text-align: center; }
  .nav-toggle { display: flex; }

  .header-inner { position: relative; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .problem-cards { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .roi-scenarios { max-width: 100%; }
  .steps-timeline { grid-template-columns: 1fr; }
  .ba-metrics { grid-template-columns: 1fr; }
  .faq-header-stats { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .audit-benefits { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-trust { gap: 1rem; flex-direction: column; align-items: center; }
  .form-wrap { padding: 1.5rem; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-grid--narrow { grid-template-columns: 1fr; }
  .insights-featured { grid-template-columns: 1fr; }
  .insights-featured-cover { height: 240px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .section-header-row { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .article-hero-inner { padding: 2rem 0 2rem; }
  .article-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .article-body-wrap { max-width: 100%; padding: 0; }
  .article-cta-box { flex-direction: column; }
}

/* =========================================================
   29. CARD MODALS
   ========================================================= */

/* Service card CTA variant */
.service-card--cta {
  background: linear-gradient(145deg, var(--navy) 0%, #0f3460 100%);
  color: white;
  display: flex;
  flex-direction: column;
}
.service-card--cta h3 { color: white; }
.service-card--cta p  { color: rgba(255,255,255,0.82); }
.service-card--cta .service-card-icon { filter: none; }

/* Clickable card base */
[data-modal] {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
[data-modal]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.problem-card[data-modal]:hover,
.problem-card[data-modal]:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10,20,40,0.13);
}
.service-card[data-modal]:hover,
.service-card[data-modal]:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10,20,40,0.13);
}
.card-more {
  display: block;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.01em;
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Dialog box */
.modal-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  max-width: 600px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 24px 60px rgba(10,20,40,0.25);
}
.modal-overlay.is-open .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Close button */
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.modal-close-btn:hover {
  background: var(--grey);
  color: var(--dark);
}

/* Content */
.modal-icon {
  font-size: 2.25rem;
  margin-bottom: 0.625rem;
  line-height: 1;
}
.modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.875rem;
  padding-right: 2rem;
  line-height: 1.3;
}
.modal-desc {
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}

/* Before / After panels */
.modal-before-after {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.modal-example-box {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.875rem 1.125rem;
}
.modal-example-box--before {
  background: #fff7ed;
  border-left: 3px solid #f97316;
}
.modal-example-box--after {
  background: #f0fdf9;
  border-left: 3px solid var(--teal);
}
.modal-example-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.4rem;
}
.modal-example-box--before .modal-example-label { color: #c2410c; }
.modal-example-box--after  .modal-example-label { color: var(--teal); }
.modal-example-text {
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  font-size: 0.9rem;
}

/* Footer CTA */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

/* ---------------------------------------------------------
   Prose / Privacy Policy
   --------------------------------------------------------- */
.prose-page {
  max-width: 720px;
  margin: 0 auto;
}

.prose-meta {
  font-size: 0.825rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.prose-page h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.prose-page h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.prose-page p,
.prose-page ul,
.prose-page ol {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose-page ul,
.prose-page ol {
  padding-left: 1.5rem;
}

.prose-page li { margin-bottom: 0.4rem; }

.prose-page a {
  color: var(--teal);
  text-decoration: underline;
}

.prose-page strong { color: var(--dark); }

/* Responsive */
@media (max-width: 480px) {
  .modal-dialog {
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-dialog {
    max-height: 85vh;
    width: 100%;
    max-width: 100%;
  }
}

