/* ========================================================================
   START - Satellite Site Builder Production CSS
   Domain: localseochicago.online
   Visual Language: 2 - Modern SaaS / Agency
   Palette: 5 - Cobalt Spark
   Type Pairing: 4 - Space Grotesk + DM Sans
   Hero: B - Bento Hero
   Service Card: S1 - Iconed Pro
   Section Order: D
   Built: 2026-05-13
   ======================================================================== */

/* === TOKENS === */
:root {
  /* Color tokens - substitute from chosen palette */
  --color-primary: #1e3a8a;
  --color-primary-dark: #172e6b;
  --color-secondary: #3b82f6;
  --color-accent: #fb923c;
  --color-dark: #0f172a;
  --color-light: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-2: #eef2fb;
  --color-surface-3: #dde4f4;
  --color-text: #0f172a;
  --color-text-muted: rgba(15, 23, 42, 0.7);
  --color-text-light: rgba(255, 255, 255, 0.92);
  --color-text-light-muted: rgba(255, 255, 255, 0.7);
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.15);

  /* Type tokens - substitute from chosen type pairing */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.18);
  --shadow-dark: 0 16px 48px rgba(0, 0, 0, 0.3);

  /* Spacing */
  --space-section: clamp(4rem, 8vw, 7rem);
  --space-section-tight: clamp(2.5rem, 5vw, 4rem);
  --space-block: clamp(2rem, 4vw, 3rem);
  --max-width: 1240px;
  --max-width-narrow: 920px;
  --max-width-wide: 1400px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Header heights */
  --header-height: 76px;
  --utility-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + var(--utility-height) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

/* === ICON SIZE GUARDS - CRITICAL === */
/* Every SVG in content is constrained unless explicitly marked otherwise. */
svg {
  flex-shrink: 0;
}

/* Inline-content SVGs default to 20px so they never render at intrinsic size. */
section svg:not([class*="icon-"]):not([data-allow-large]):not([width]) {
  width: 20px;
  height: 20px;
}

.icon-xs { width: 14px !important; height: 14px !important; }
.icon-sm { width: 18px !important; height: 18px !important; }
.icon-md { width: 22px !important; height: 22px !important; }
.icon-lg { width: 28px !important; height: 28px !important; }
.icon-xl { width: 36px !important; height: 36px !important; }
.icon-2xl { width: 48px !important; height: 48px !important; }

/* Icon containers force their child SVGs to a fixed size. */
.icon-circle, .icon-square, .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.icon-circle svg {
  width: 24px !important;
  height: 24px !important;
}
.icon-circle-lg {
  width: 72px;
  height: 72px;
}
.icon-circle-lg svg {
  width: 30px !important;
  height: 30px !important;
}
.icon-square {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
}
.icon-square svg {
  width: 24px !important;
  height: 24px !important;
}
.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}
.icon-badge svg {
  width: 18px !important;
  height: 18px !important;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-text);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-primary);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}
ul:last-child, ol:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

::selection {
  background: var(--color-accent);
  color: var(--color-dark);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
  color: white;
}

/* === CONTAINERS & SECTIONS === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
  padding: var(--space-section) 0;
  position: relative;
}

/* SECTION BACKGROUND VARIANTS - pick a different one for each section in order */
.section--light {
  background: var(--color-surface);
}
.section--surface {
  background: var(--color-surface-2);
}
.section--surface-3 {
  background: var(--color-surface-3);
}
.section--primary {
  background: var(--color-primary);
  color: var(--color-text-light);
}
.section--primary h1, .section--primary h2, .section--primary h3, .section--primary h4 {
  color: white;
}
.section--dark {
  background: var(--color-dark);
  color: var(--color-text-light);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: white;
}
.section--gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}
.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--color-secondary) 0%, transparent 50%);
  opacity: 0.18;
  pointer-events: none;
}
.section--gradient h1, .section--gradient h2, .section--gradient h3, .section--gradient h4 {
  color: white;
}
.section--accent-soft {
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-surface));
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header.left {
  text-align: left;
  margin-left: 0;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}
.section--dark .section-header p,
.section--primary .section-header p,
.section--gradient .section-header p {
  color: var(--color-text-light-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: color-mix(in srgb, var(--color-secondary) 10%, transparent);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.section--dark .eyebrow,
.section--primary .eyebrow,
.section--gradient .eyebrow {
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--color-secondary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
}
.btn-accent:hover {
  background: var(--color-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--color-dark);
  color: white;
}
.btn-dark:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

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

.section--dark .btn-outline,
.section--primary .btn-outline,
.section--gradient .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.section--dark .btn-outline:hover,
.section--primary .btn-outline:hover,
.section--gradient .btn-outline:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-large {
  font-size: 1.0625rem;
  padding: 1.125rem 2.25rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow svg {
  width: 16px !important;
  height: 16px !important;
  transition: transform var(--transition);
}
.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* === UTILITY BAR (top) === */
.utility-bar {
  background: var(--color-dark);
  color: var(--color-text-light);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(var(--utility-height) - 1rem);
  gap: 1rem;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-light);
}
.utility-item svg {
  width: 14px !important;
  height: 14px !important;
  color: var(--color-accent);
}
.utility-item a {
  color: var(--color-text-light);
  font-weight: 500;
}
.utility-item a:hover {
  color: var(--color-accent);
}
@media (max-width: 768px) {
  .utility-bar { display: none; }
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  font-weight: 500;
}

/* === NAVIGATION (with working dropdown) === */
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color var(--transition);
}
.nav-link:hover {
  color: var(--color-secondary);
}
.nav-link.is-active {
  color: var(--color-secondary);
}

.nav-caret {
  width: 10px !important;
  height: 10px !important;
  transition: transform var(--transition);
}
.nav-item-has-children:hover .nav-caret,
.nav-item-has-children:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* The dropdown panel - uses opacity + visibility so it's animatable */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: -0.75rem;
  min-width: 280px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear var(--transition);
  z-index: 100;
}

.nav-submenu li {
  list-style: none;
  margin: 0;
}

.nav-submenu a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-submenu a:hover {
  background: var(--color-surface-2);
  color: var(--color-secondary);
}

.nav-submenu-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.5rem 0.5rem;
}

.nav-submenu-cta {
  color: var(--color-secondary) !important;
  font-weight: 700 !important;
}

.nav-item-has-children:hover .nav-submenu,
.nav-item-has-children:focus-within .nav-submenu,
.nav-item-has-children.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 0s;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta-phone svg {
  width: 16px !important;
  height: 16px !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px 0;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav-list.is-open {
    display: flex;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-item:last-child { border-bottom: 0; }
  .nav-link {
    padding: 1rem 0;
    width: 100%;
    justify-content: space-between;
  }
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--color-surface-2);
    padding: 0.5rem;
    margin: 0 0 0.75rem 0;
    border-radius: var(--radius-sm);
    display: none;
  }
  .nav-item-has-children.is-open .nav-submenu {
    display: block;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta { display: none; }
}

/* === MOBILE STICKY CALL BAR === */
.mobile-call-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--color-secondary);
    color: white;
    padding: 0.875rem 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  }
  .mobile-call-bar svg {
    width: 18px !important;
    height: 18px !important;
  }
  body {
    padding-bottom: 64px;
  }
}

/* === HERO PATTERNS === */

/* HERO BASE */
.hero {
  position: relative;
  overflow: hidden;
}
.hero h1 {
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 60ch;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Hero D - Trade Confident */
.hero--trade-confident {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
}
.hero--trade-confident::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 65%;
  height: 150%;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 65%);
  opacity: 0.2;
  pointer-events: none;
}
.hero--trade-confident h1 {
  color: white;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  max-width: 20ch;
  letter-spacing: -0.035em;
}
.hero--trade-confident .h1-emphasis {
  display: inline-block;
  position: relative;
  color: var(--color-accent);
}
.hero--trade-confident .h1-emphasis::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 5px;
  width: 100%;
  background: var(--color-secondary);
  border-radius: 3px;
}
.hero--trade-confident .hero-sub {
  color: var(--color-text-light-muted);
}
.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--color-text-light-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.hero-trust-item .icon-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
}

/* Hero A - Magazine Split */
.hero--magazine {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--color-light);
}
.hero--magazine .hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero--magazine h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1.02;
}
.hero-feature-card {
  background: var(--color-primary);
  color: white;
  padding: clamp(2rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.hero-feature-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 72px;
  height: 72px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  z-index: -1;
}
.hero-feature-stat {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.25rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.hero-feature-stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light-muted);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .hero--magazine .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero E - Gradient Mesh */
.hero--gradient {
  background:
    radial-gradient(at 20% 30%, color-mix(in srgb, var(--color-secondary) 35%, transparent) 0%, transparent 50%),
    radial-gradient(at 80% 20%, color-mix(in srgb, var(--color-accent) 30%, transparent) 0%, transparent 45%),
    radial-gradient(at 60% 90%, color-mix(in srgb, var(--color-primary) 40%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-light) 0%, var(--color-surface-2) 100%);
  padding: clamp(5rem, 9vw, 7rem) 0;
  text-align: center;
}
.hero--gradient h1 {
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}
.hero--gradient .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hero--gradient .hero-cta-row {
  justify-content: center;
}

/* Hero H - Floating Card */
.hero--floating {
  background: var(--color-primary);
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 9rem);
  color: var(--color-text-light);
}
.hero--floating::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--color-surface);
}
.hero--floating .hero-floating-card {
  position: relative;
  background: white;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-top: 2rem;
  color: var(--color-text);
}
.hero--floating .hero-floating-card h1 {
  color: var(--color-text);
}

/* Hero F - Stats Hero */
.hero--stats {
  background: var(--color-light);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}
.hero-stat-block {
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  color: var(--color-secondary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.hero-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === SERVICE CARDS === */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.services-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

/* Card S1 - Iconed Pro (default) */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .icon-circle {
  background: color-mix(in srgb, var(--color-secondary) 12%, var(--color-surface-2));
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  margin-bottom: 0.625rem;
}
.service-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.service-card-link {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
}
.service-card-link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-card:hover .service-card-link::after {
  transform: translateX(4px);
}

/* Card S2 - Border Accent */
.service-card--border-accent {
  background: white;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}
.service-card--border-accent .card-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.service-card--border-accent .card-icon {
  color: var(--color-secondary);
}
.service-card--border-accent ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.service-card--border-accent ul li {
  font-size: 0.875rem;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}
.service-card--border-accent ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* Card S3 - Dark Reverse */
.service-card--dark {
  background: var(--color-dark);
  color: var(--color-text-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition);
}
.service-card--dark:hover {
  transform: translateY(-4px);
}
.service-card--dark h3 {
  color: white;
}
.service-card--dark p {
  color: var(--color-text-light-muted);
}
.service-card--dark .icon-circle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.service-card--dark .arrow-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  transition: transform var(--transition);
}
.service-card--dark:hover .arrow-btn {
  transform: rotate(-45deg);
}

/* Card S5 - Photo Mimic (image-free) */
.service-card--photo-mimic {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card--photo-mimic:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card--photo-mimic .card-banner {
  height: 140px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card--photo-mimic .card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18) 0%, transparent 50%);
}
.service-card--photo-mimic .card-banner svg {
  width: 48px !important;
  height: 48px !important;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}
.service-card--photo-mimic .card-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* === BENEFITS / WHY US === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.benefit-card .icon-square {
  background: var(--color-secondary);
  color: white;
}
.section--dark .benefit-card .icon-square,
.section--primary .benefit-card .icon-square,
.section--gradient .benefit-card .icon-square {
  background: var(--color-accent);
  color: var(--color-dark);
}
.benefit-card h3 {
  font-size: 1.125rem;
}
.benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}
.section--dark .benefit-card p,
.section--primary .benefit-card p,
.section--gradient .benefit-card p {
  color: var(--color-text-light-muted);
}

/* === STAT BAND === */
.stat-band {
  background: var(--color-surface-2);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.stat-band--primary {
  background: var(--color-primary);
  color: var(--color-text-light);
}
.stat-band--dark {
  background: var(--color-dark);
  color: var(--color-text-light);
}
.stat-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.stat-block .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: var(--color-secondary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.stat-band--primary .stat-num,
.stat-band--dark .stat-num {
  color: var(--color-accent);
}
.stat-block .stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.stat-band--primary .stat-label,
.stat-band--dark .stat-label {
  color: var(--color-text-light-muted);
}

/* === PROCESS STEPS === */
.process-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.process-step .step-number {
  position: absolute;
  top: -20px;
  left: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
}
.process-step h3 {
  margin-top: 1rem;
  margin-bottom: 0.625rem;
}
.process-step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* === FAQ ACCORDION === */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--color-text);
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--color-surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text);
  transition: all var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--color-secondary);
  color: white;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item .faq-answer {
  padding: 0 0 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}
.testimonial-attr {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
}
.testimonial-attr-location {
  font-weight: 500;
  color: var(--color-text-muted);
}
.testimonials-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
  font-style: italic;
}

/* === CTA BAND === */
.cta-band {
  background: var(--color-primary);
  color: white;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band--dark {
  background: var(--color-dark);
}
.cta-band--gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}
.cta-band h2 {
  color: white;
  margin-bottom: 1rem;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-band p {
  color: var(--color-text-light-muted);
  max-width: 56ch;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-band .hero-cta-row {
  justify-content: center;
  position: relative;
}

/* === PRIMARY OFFICE BLOCK === */
.primary-office-feature {
  background: var(--color-surface-2);
  padding: var(--space-section) 0;
}
.po-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}
.po-feature-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.po-feature-info h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0;
}
.po-address-block {
  font-size: 1.0625rem;
  line-height: 1.5;
}
.po-feature-map iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
@media (max-width: 768px) {
  .po-feature-grid { grid-template-columns: 1fr; }
}

.primary-office-strip {
  background: var(--color-primary);
  border-top: 3px solid var(--color-accent);
  padding: 1.5rem 0;
  color: white;
}
.po-strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  font-size: 0.9375rem;
}
.po-strip-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 700;
}
.po-strip-name a {
  color: white;
  font-weight: 700;
}
.po-strip-name a:hover {
  color: var(--color-accent);
}
.po-strip-disclosure {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.75rem;
  max-width: 80ch;
  line-height: 1.5;
}

/* === ADDRESS BLOCKS with See Location === */
.address-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.see-location-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  width: max-content;
  margin-top: 0.25rem;
}
.see-location-link::after {
  content: '→';
  transition: transform var(--transition);
}
.see-location-link:hover {
  color: var(--color-primary);
}
.see-location-link:hover::after {
  transform: translateX(3px);
}

/* === BREADCRUMBS === */
.breadcrumbs {
  background: var(--color-surface-2);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--color-text-muted);
}
.breadcrumbs a {
  color: var(--color-text-muted);
}
.breadcrumbs a:hover {
  color: var(--color-secondary);
}
.breadcrumbs li[aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

/* === FOOTER === */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text-light-muted);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
}
.site-footer h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.site-footer h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li {
  margin-bottom: 0.625rem;
}
.site-footer a {
  color: var(--color-text-light-muted);
  font-size: 0.9375rem;
}
.site-footer a:hover {
  color: var(--color-accent);
}
.footer-tagline {
  margin-bottom: 1rem;
  line-height: 1.55;
  max-width: 40ch;
}
.footer-copyright {
  font-size: 0.8125rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-address-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.55;
}
.site-footer .see-location-link {
  color: var(--color-accent);
}
.site-footer .see-location-link:hover {
  color: white;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* === RICH CONTENT BLOCKS === */
.rich-content > * + * {
  margin-top: 1rem;
}
.rich-content ul, .rich-content ol {
  padding-left: 1.5rem;
}
.rich-content ul li, .rich-content ol li {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

/* Coverage / sub-services grid */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.coverage-item {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.coverage-item .icon-square {
  background: color-mix(in srgb, var(--color-secondary) 12%, transparent);
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.coverage-item h3 {
  margin-bottom: 0.625rem;
}
.coverage-item p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Brand tags / pills */
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.brand-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: white;
  color: var(--color-text);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
}

/* City grid for service area */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.city-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  color: var(--color-text);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
}

/* Industries / use cases */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.industry-block {
  padding: 1.5rem;
  background: white;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
}
.industry-block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.industry-block p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.related-card {
  display: block;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition);
}
.related-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.related-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Page hero (smaller than homepage hero, for interior pages) */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background: var(--color-light);
}
.page-hero h1 {
  margin-bottom: 1rem;
}
.page-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 60ch;
  color: var(--color-text-muted);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 60;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-secondary);
  color: white;
}
.scroll-top svg {
  width: 20px !important;
  height: 20px !important;
}
@media (max-width: 768px) {
  .scroll-top {
    bottom: 80px;
  }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up {
    animation: fadeInUp 600ms ease-out forwards;
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  section { padding: var(--space-section-tight) 0; }
}

/* ========================================================================
   END - Site-specific overrides may be added below this line
   ======================================================================== */
