/* ============================================
   LaundrySEO.com — Main Stylesheet
   ============================================ */

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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-navy);
  background: var(--color-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

/* ---- Section spacing ---- */
.section {
  padding: var(--space-24) 0;
}

.section--sm { padding: var(--space-16) 0; }
.section--lg { padding: var(--space-32) 0; }

.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section--light {
  background: var(--color-off-white);
}

.section--accent-glow {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-accent-light) 50%, var(--color-white) 100%);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--leading-tight);
  font-weight: var(--weight-bold);
}

.heading-xl {
  font-size: clamp(2.25rem, 5vw, var(--text-6xl));
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.025em;
}

.heading-lg {
  font-size: clamp(1.875rem, 4vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, var(--text-3xl));
  font-weight: var(--weight-bold);
}

.heading-sm {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}

.text-lg { font-size: var(--text-lg); }
.text-sm { font-size: var(--text-sm); }
.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }

.subheading {
  font-size: var(--text-lg);
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
  max-width: 640px;
}

.section-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section--dark .section-label {
  color: var(--color-teal);
}

.section--dark .subheading {
  color: var(--color-light);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(255, 107, 74, 0.4);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 41, 0.08);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-2xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn--full { width: 100%; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-3) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) 0;
}

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

.nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 82px;
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
  color: var(--color-white);
  transition: color var(--duration-normal) var(--ease-out);
}

.nav__logo-image {
  display: block;
  width: auto;
  height: 60px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.35s ease;
}

/* Dark-bg logo (white+orange) — visible by default */
.nav__logo-dark {
  opacity: 1;
}

/* Light-bg logo (orange on light) — hidden by default, stacked underneath */
.nav__logo-light {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

/* On scroll (white nav) — swap logos */
.nav--scrolled .nav__logo-dark {
  opacity: 0;
}

.nav--scrolled .nav__logo-light {
  opacity: 1;
}

/* Mobile menu open (dark overlay) — keep dark-bg logo */
body.mobile-menu-open .nav__logo-dark {
  opacity: 1;
}

body.mobile-menu-open .nav__logo-light {
  opacity: 0;
}

.nav__logo .nav__logo-wordmark {
  color: inherit;
  line-height: 1;
}

.nav--scrolled .nav__logo {
  color: var(--color-navy);
}

.nav__logo span,
.nav__logo .nav__logo-wordmark strong {
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
}

.nav--scrolled .nav__link {
  color: var(--color-slate);
}

.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link--active {
  color: var(--color-navy);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: var(--space-2) var(--space-5);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
}

.nav__dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__dropdown:hover .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-slate);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__dropdown-item:hover {
  background: var(--color-off-white);
  color: var(--color-navy);
}

/* Mobile nav toggle */
.nav__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--duration-normal) var(--ease-out), background var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.nav__mobile-toggle:hover,
.nav__mobile-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.nav__mobile-toggle:focus-visible {
  outline: 2px solid rgba(255, 107, 74, 0.88);
  outline-offset: 3px;
}

.nav__mobile-toggle:active {
  background: rgba(255, 255, 255, 0.16);
}

.nav--scrolled .nav__mobile-toggle {
  border-color: rgba(16, 20, 18, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(16, 20, 18, 0.1);
}

.nav--scrolled .nav__mobile-toggle:active {
  background: rgba(16, 20, 18, 0.06);
}

.nav__mobile-toggle span {
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: transform 0.4s var(--ease-spring), opacity 0.25s var(--ease-out), background var(--duration-normal) var(--ease-out);
}

.nav__mobile-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav__mobile-toggle span:nth-child(2) { transform: translateY(0); }
.nav__mobile-toggle span:nth-child(3) { transform: translateY(6px); }

/* Hamburger to X */
.nav__mobile-toggle--active span:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}
.nav__mobile-toggle--active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__mobile-toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

.nav--scrolled .nav__mobile-toggle span {
  background: var(--color-navy);
}

body.mobile-menu-open .nav {
  z-index: calc(var(--z-modal) + 2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 20, 18, 0.9);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.mobile-menu-open .nav__logo {
  color: var(--color-white);
}

body.mobile-menu-open .nav__mobile-toggle {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

body.mobile-menu-open .nav__mobile-toggle span {
  background: var(--color-white);
}

/* ---- Mobile overlay menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 20, 18, 0.98) 0%, rgba(29, 36, 31, 0.98) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  transition: opacity 0.34s var(--ease-out), transform 0.34s var(--ease-out), visibility 0.34s;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(255, 107, 74, 0.16), transparent 38%);
  opacity: 0.62;
  pointer-events: none;
}

.mobile-menu::after {
  content: '';
  position: fixed;
  top: 74px;
  left: var(--space-4);
  right: var(--space-4);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.mobile-menu__inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  padding: calc(74px + var(--space-5)) var(--space-4) max(var(--space-8), env(safe-area-inset-bottom));
}

.mobile-menu__inner::before {
  content: '';
  position: absolute;
  inset: calc(74px + var(--space-3)) var(--space-3) var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.mobile-menu__inner > * {
  position: relative;
  z-index: 1;
}

.mobile-menu__item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.36s var(--ease-out), transform 0.36s var(--ease-out);
}

.mobile-menu--open .mobile-menu__item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu--open .mobile-menu__item:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu--open .mobile-menu__item:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu--open .mobile-menu__item:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu--open .mobile-menu__item:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu--open .mobile-menu__item:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu--open .mobile-menu__item:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu--open .mobile-menu__item:nth-child(7) { transition-delay: 0.30s; }

.mobile-menu__link,
.mobile-menu__dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--color-white);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: 0;
  transition: border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible,
.mobile-menu__dropdown-trigger:hover,
.mobile-menu__dropdown-trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.mobile-menu__link:active {
  color: var(--color-accent);
}

.mobile-menu__link svg {
  width: 16px;
  height: 16px;
  color: var(--color-muted);
  transition: transform 0.35s var(--ease-spring), color var(--duration-fast);
}

.mobile-menu__dropdown {
  display: grid;
  gap: 0;
}

.mobile-menu__dropdown-trigger {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.mobile-menu__dropdown-trigger:active {
  color: var(--color-accent);
}

.mobile-menu__dropdown--open .mobile-menu__dropdown-trigger {
  border-color: rgba(255, 107, 74, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu__dropdown-trigger svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.48);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring), color var(--duration-fast);
}

.mobile-menu__dropdown--open .mobile-menu__dropdown-trigger svg {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.mobile-menu__dropdown-body {
  max-height: 0;
  overflow: hidden;
  display: grid;
  gap: var(--space-2);
  opacity: 0;
  padding: 0 var(--space-1);
  transition: max-height 0.42s var(--ease-out), opacity 0.28s var(--ease-out), margin-top 0.28s var(--ease-out);
}

.mobile-menu__dropdown--open .mobile-menu__dropdown-body {
  opacity: 1;
  margin-top: var(--space-2);
}

.mobile-menu__sub-label {
  display: block;
  padding: var(--space-2) var(--space-1) var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-warning);
}

.mobile-menu__sub-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-height: 70px;
  padding: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  transition: border-color var(--duration-fast), background var(--duration-fast), color var(--duration-fast);
}

.mobile-menu__sub-item:hover,
.mobile-menu__sub-item:focus-visible {
  border-color: rgba(31, 143, 98, 0.34);
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-white);
  outline: none;
}

.mobile-menu__sub-item:active {
  border-color: rgba(255, 107, 74, 0.38);
  color: var(--color-white);
}

.mobile-menu__sub-item strong {
  display: block;
  color: var(--color-white);
  font-size: var(--text-sm);
  line-height: 1.25;
}

.mobile-menu__sub-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(31, 143, 98, 0.22);
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.16);
  color: #8be2b7;
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  flex-shrink: 0;
}

.mobile-menu__sub-item small {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  font-weight: var(--weight-normal);
  margin-top: 2px;
}

.mobile-menu__cta {
  margin-top: auto;
  padding: var(--space-5) var(--space-1) 0;
}

.mobile-menu__cta .btn {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
  border-radius: 8px;
  justify-content: center;
}

.mobile-menu__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: var(--space-4) var(--space-1) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
}

.mobile-menu__footer a:hover,
.mobile-menu__footer a:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  outline: none;
}

.mobile-menu__footer a:active {
  color: var(--color-white);
}

body.mobile-menu-open {
  overflow: hidden;
}

/* ---- Callback modal ---- */
body.callback-modal-open {
  overflow: hidden;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 10);
  display: grid;
  place-items: center;
  padding: var(--space-5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s;
}

.callback-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.callback-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.2), transparent 38%),
    linear-gradient(315deg, rgba(255, 107, 74, 0.16), transparent 42%),
    rgba(8, 12, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.callback-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  width: min(100%, 980px);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 44%),
    var(--home-ink);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.42);
  color: var(--home-white);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.34s var(--ease-out);
}

.callback-modal--open .callback-modal__panel {
  transform: translateY(0) scale(1);
}

.callback-modal__content,
.callback-modal__form-wrap {
  padding: var(--space-8);
}

.callback-modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.callback-modal__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.5;
  pointer-events: none;
}

.callback-modal__content > * {
  position: relative;
  z-index: 1;
}

.callback-modal__content .section-label {
  color: var(--home-coral);
  margin-bottom: 0;
}

.callback-modal__content h2 {
  color: var(--home-white);
  font-size: var(--text-4xl);
  line-height: 1.05;
  margin: 0;
}

.callback-modal__content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.callback-modal__promise {
  display: grid;
  gap: var(--space-3);
  margin-top: auto;
}

.callback-modal__promise span {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
}

.callback-modal__promise span::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--home-green);
  box-shadow: 0 0 0 5px rgba(31, 143, 98, 0.16);
  flex-shrink: 0;
}

.callback-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--home-white);
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.callback-modal__close:hover,
.callback-modal__close:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.callback-modal__close svg {
  width: 18px;
  height: 18px;
}

.callback-modal__form-wrap {
  overflow-y: auto;
  background: var(--home-white);
  color: var(--home-ink);
}

.callback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.callback-form .form-group {
  margin-bottom: 0;
}

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

.callback-form .form-label {
  color: var(--home-ink);
}

.callback-form .form-input,
.callback-form .form-select,
.callback-form .form-textarea {
  width: 100%;
  border-color: rgba(16, 20, 18, 0.12);
  border-radius: 8px;
  background: #f8faf8;
  color: var(--home-ink);
}

.callback-form .form-input:focus,
.callback-form .form-select:focus,
.callback-form .form-textarea:focus {
  border-color: rgba(31, 143, 98, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 143, 98, 0.1);
}

.callback-form__note {
  grid-column: 1 / -1;
  color: var(--home-muted);
  font-size: var(--text-xs);
  line-height: 1.55;
  margin: 0;
}

.callback-form .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.callback-modal .form-success {
  grid-column: 1 / -1;
  margin-top: var(--space-4);
}

@media (max-width: 420px) {
  .mobile-menu__inner {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .mobile-menu__inner::before {
    inset-inline: var(--space-2);
  }

  .mobile-menu__link,
  .mobile-menu__dropdown-trigger {
    min-height: 56px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-lg);
  }

  .mobile-menu__sub-item {
    min-height: 66px;
  }
}

@media (max-width: 820px) {
  .callback-modal {
    align-items: end;
    place-items: end stretch;
    padding: 0;
  }

  .callback-modal__panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100svh - 16px);
    border-radius: 8px 8px 0 0;
    overflow-y: auto;
  }

  .callback-modal__content {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6);
  }

  .callback-modal__form-wrap {
    overflow: visible;
    padding: var(--space-6);
  }

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 50%, var(--color-navy-mid) 100%);
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 50%, var(--color-accent) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--color-teal) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, var(--color-accent) 0%, transparent 30%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: var(--space-32) 0 var(--space-24);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-light);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, var(--text-6xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-accent), #ff8f73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero__stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

/* Hero visual */
.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  opacity: 0.9;
}

.hero__dashboard {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-2xl);
}

.hero__dashboard-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__dashboard-dots {
  display: flex;
  gap: var(--space-2);
}

.hero__dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.hero__dashboard-dots span:nth-child(1) { background: var(--color-error); }
.hero__dashboard-dots span:nth-child(2) { background: var(--color-warning); }
.hero__dashboard-dots span:nth-child(3) { background: var(--color-success); }

.hero__dashboard-title {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--weight-medium);
}

.hero__dashboard-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 120px;
  margin-bottom: var(--space-4);
}

.hero__chart-bar {
  flex: 1;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(255, 107, 74, 0.3) 100%);
  animation: growBar 1.5s var(--ease-out) forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes growBar {
  to { transform: scaleY(1); }
}

.hero__dashboard-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.hero__metric {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.hero__metric-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.hero__metric-value {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-white);
}

.hero__metric-change {
  font-size: var(--text-xs);
  color: var(--color-success);
  font-weight: var(--weight-medium);
}

/* ---- Cards ---- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card--dark {
  background: var(--color-navy-light);
  color: var(--color-white);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: var(--text-2xl);
}

.card__icon--accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.card__icon--teal {
  background: var(--color-teal-light);
  color: var(--color-teal);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
}

.card--dark .card__text {
  color: var(--color-light);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  transition: gap var(--duration-normal) var(--ease-out);
}

.card__link:hover {
  gap: var(--space-3);
}

/* ---- Grid layouts ---- */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

.grid--offset > *:nth-child(even) {
  transform: translateY(var(--space-8));
}

/* ---- Services section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ---- Social proof / logos ---- */
.proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-12) 0;
  flex-wrap: wrap;
}

.proof__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proof__number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-navy);
  line-height: 1;
}

.proof__label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-2);
}

/* ---- Process / Steps ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  counter-reset: process;
}

.process__step {
  position: relative;
  counter-increment: process;
}

.process__number {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-off-white);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.section--dark .process__number {
  color: var(--color-navy-mid);
}

.process__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.process__text {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
}

.section--dark .process__text {
  color: var(--color-muted);
}

/* ---- Testimonials ---- */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
}

.testimonial__quote {
  font-size: var(--text-lg);
  color: var(--color-navy);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  color: var(--color-accent);
}

.testimonial__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 100%);
  border-radius: var(--radius-3xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3.5vw, var(--text-4xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-banner__text {
  font-size: var(--text-lg);
  color: var(--color-light);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-navy);
  color: var(--color-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
  max-width: 300px;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-muted);
  padding: var(--space-1) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  background: var(--color-white);
  border: 1.5px solid rgba(15, 23, 41, 0.12);
  border-radius: var(--radius-xl);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

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

.form-input::placeholder {
  color: var(--color-muted);
}

/* Inline audit form */
.audit-form {
  display: flex;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-2);
}

.audit-form .form-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
}

.audit-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.audit-form .form-input:focus {
  box-shadow: none;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
  padding: var(--space-4) 0;
}

.breadcrumbs__separator {
  color: var(--color-light);
}

.breadcrumbs a:hover {
  color: var(--color-navy);
}

/* ---- Page header ---- */
.page-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-charcoal) 100%);
  padding: var(--space-32) 0 var(--space-16);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-header__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ---- Pricing cards ---- */
.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
}

.pricing-card__price {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-2);
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: var(--weight-normal);
}

.pricing-card__features {
  margin: var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.pricing-card__check {
  color: var(--color-success);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- FAQ ---- */
.faq-section {
  overflow: visible;
}

.faq-section__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.faq-section__header {
  position: sticky;
  top: 120px;
  align-self: start;
  display: block;
  text-align: left !important;
  margin-bottom: 0 !important;
  z-index: 1;
}

.faq-section__header .heading-lg {
  max-width: 460px;
}

.faq-list {
  display: grid;
  gap: 0;
  counter-reset: faq;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 18, 0.12);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 26px 70px rgba(16, 20, 18, 0.1);
}

.faq__item {
  counter-increment: faq;
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(230px, 0.46fr) minmax(0, 1fr);
  gap: var(--space-8);
  padding: var(--space-8);
  border-bottom: 1px solid rgba(16, 20, 18, 0.1);
  background: transparent;
  box-shadow: none;
  transition: background var(--duration-normal) var(--ease-out);
}

.faq__item:nth-child(even) {
  background: rgba(246, 248, 244, 0.62);
}

.faq__item:hover {
  background: rgba(232, 245, 238, 0.48);
}

.faq__item:last-child {
  border-bottom: 0;
}

.faq__item::before {
  content: counter(faq, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 143, 98, 0.18);
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.08);
  color: var(--color-teal);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
}

.faq__question {
  color: var(--color-navy);
  font-size: var(--text-xl);
  line-height: 1.22;
  font-weight: var(--weight-bold);
  margin: 0;
}

.faq__answer {
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
  max-width: 720px;
}

/* ---- Blog cards ---- */
.blog-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}

.blog-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.blog-card__category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
}

.blog-card__body {
  padding: var(--space-6);
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .hero__visual { display: none; }
  .hero__content { max-width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-16) 0; }
  .section--lg { padding: var(--space-20) 0; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .grid--offset > *:nth-child(even) { transform: none; }

  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-6);
  }

  .hero__actions,
  .page-header__actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .page-header__actions .btn {
    width: 100%;
  }

  .cta-banner { padding: var(--space-10) var(--space-6); }

  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }

  .pricing-card--featured { transform: none; }

  .audit-form {
    flex-direction: column;
  }

  .faq-section__inner,
  .inner-page .faq-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .faq-section__header,
  .inner-page .faq-section__header {
    position: static;
  }

  .faq__item {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }

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

  .proof { gap: var(--space-8); }
}

/* ============================================
   Premium Global Refresh
   ============================================ */

body {
  color: var(--color-navy);
  background: var(--color-white);
}

h1,
h2,
h3,
.heading-xl,
.heading-lg,
.heading-md,
.heading-sm,
.nav__logo,
.section-label {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

.heading-xl,
.page-header__title {
  color: inherit;
  font-size: var(--text-6xl);
  line-height: 1.02;
  font-weight: var(--weight-extrabold);
}

.heading-lg {
  color: var(--color-navy);
  font-size: var(--text-5xl);
  line-height: 1.06;
}

.heading-md {
  font-size: var(--text-3xl);
  line-height: 1.15;
}

.body-lg {
  color: var(--color-slate);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.section {
  position: relative;
}

.section--light {
  background: var(--color-off-white);
}

.section--dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--color-navy);
  background-size: 78px 78px;
  color: var(--color-white);
}

.section--accent-glow {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
}

.section-label {
  color: var(--color-accent);
  font-weight: var(--weight-bold);
  letter-spacing: 0;
  text-transform: none;
}

.subheading,
.page-header__subtitle {
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

.section--dark .subheading,
.section--dark .card__text,
.section--dark .process__text {
  color: rgba(255, 255, 255, 0.68);
}

.btn {
  min-height: 44px;
  border-radius: 8px;
}

.btn--primary {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 14px 34px rgba(31, 143, 98, 0.25);
}

.btn--primary:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 16px 38px rgba(31, 143, 98, 0.32);
}

.btn--secondary {
  border: 1px solid rgba(16, 20, 18, 0.12);
  color: var(--color-navy);
}

.btn--outline {
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--color-white);
}

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

.nav__inner {
  position: relative;
}

.nav--scrolled {
  border-bottom: 1px solid rgba(16, 20, 18, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(16, 20, 18, 0.08);
}

.nav__logo {
  color: var(--color-white);
}

.nav--scrolled .nav__logo {
  color: var(--color-navy);
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__link::after {
  background: var(--color-accent);
}

.nav__dropdown {
  position: static;
}

.nav__mega {
  left: auto;
  right: var(--space-6);
  top: calc(100% + var(--space-3));
  width: min(920px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 18, 0.12);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 30px 80px rgba(16, 20, 18, 0.22);
  transform: translateY(10px);
}

.nav__dropdown:hover .nav__mega,
.nav__dropdown--open .nav__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown--open .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__mega-intro {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    var(--color-navy);
  color: var(--color-white);
}

.nav__mega-intro span {
  color: var(--color-warning);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}

.nav__mega-intro strong {
  display: block;
  font-size: var(--text-2xl);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.nav__mega-intro p {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.nav__mega-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-top: auto;
}

.nav__mega-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: var(--space-3);
  background: rgba(16, 20, 18, 0.08);
}

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

.nav__mega-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--space-4);
  min-height: 132px;
  padding: var(--space-5);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-navy);
  transition: background var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.nav__mega-item:hover {
  background: var(--color-off-white);
  transform: translateY(-2px);
}

.nav__mega-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.1);
  color: var(--color-teal);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
}

.nav__mega-item strong {
  display: block;
  color: var(--color-navy);
  font-size: var(--text-base);
  line-height: 1.25;
  margin-bottom: var(--space-2);
}

.nav__mega-item small {
  display: block;
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.hero,
.page-header,
.cta-banner,
.footer {
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    var(--color-navy);
  background-size: 84px 84px;
}

.hero {
  min-height: 100svh;
}

.hero--sm {
  min-height: auto;
  padding: var(--space-32) 0 var(--space-20);
}

.hero__bg-pattern {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 84px 84px;
}

.hero__grid-lines {
  display: none;
}

.hero__content {
  padding: 0;
}

.hero__title {
  max-width: 900px;
  color: var(--color-white);
  font-size: var(--text-6xl);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xl);
}

.page-header {
  padding: var(--space-32) 0 var(--space-20);
}

.page-header .container,
.cta-banner > *,
.footer .container {
  position: relative;
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.page-header__pattern {
  display: none;
}

.page-header__title {
  max-width: 900px;
  margin-top: var(--space-4);
}

.page-header__subtitle {
  max-width: 720px;
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xl);
}

.breadcrumb,
.breadcrumbs {
  color: rgba(255, 255, 255, 0.62);
  padding: 0;
}

.breadcrumb a,
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumb span,
.breadcrumbs span {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs__separator,
.breadcrumb span:not(:last-child) {
  color: rgba(255, 255, 255, 0.38);
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--color-white);
}

.card,
.pricing-card,
.testimonial,
.blog-card {
  position: relative;
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.card,
.pricing-card,
.testimonial {
  overflow: hidden;
}

.card::before,
.pricing-card::before,
.testimonial::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-warning), var(--color-accent));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.card:hover::before,
.pricing-card:hover::before,
.testimonial:hover::before {
  opacity: 1;
}

.card:hover,
.pricing-card:hover,
.blog-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--color-navy-light);
}

.card__icon {
  border-radius: 8px;
}

.card__icon--accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.card__icon--teal {
  background: var(--color-teal-light);
  color: var(--color-teal);
}

.card__title,
.pricing-card__name,
.blog-card__title {
  color: var(--color-navy);
}

.card__text,
.pricing-card__feature,
.blog-card__excerpt,
.testimonial__role,
.process__text {
  color: var(--color-muted);
}

.card__link {
  color: var(--color-teal);
}

.pricing-card--featured {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(31, 143, 98, 0.2);
}

.pricing-card__badge {
  background: var(--color-teal);
  border-radius: 8px;
  letter-spacing: 0;
}

.pricing-card__check {
  color: var(--color-teal);
}

.testimonial__avatar {
  border-radius: 8px;
  background: var(--color-teal-light);
  color: var(--color-teal);
}

.cta-banner {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 20, 18, 0.16);
}

.cta-banner__glow {
  display: none;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0 var(--space-8);
}

.footer .nav__logo {
  color: var(--color-white);
}

.footer__grid {
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__brand-text,
.footer__link,
.footer__bottom {
  color: rgba(255, 255, 255, 0.58);
}

.footer__heading {
  color: var(--color-white);
  letter-spacing: 0;
}

.footer__link {
  padding: var(--space-2) 0;
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

.footer__bottom {
  border-top: 0;
}

.form-label {
  color: var(--color-navy);
  font-weight: var(--weight-semibold);
}

.form-input,
.form-select,
.form-textarea {
  border-color: rgba(16, 20, 18, 0.14);
  border-radius: 8px;
  background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(31, 143, 98, 0.14);
}

.section--dark .form-label {
  color: rgba(255, 255, 255, 0.82);
}

.section--dark .form-input,
.section--dark .form-select,
.section--dark .form-textarea {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.section--dark .form-input::placeholder,
.section--dark .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.audit-form {
  border-radius: 8px;
}

.proof__number,
.hero__stat-value {
  color: var(--color-navy);
}

.process__number {
  color: rgba(31, 143, 98, 0.16);
}

.faq__question {
  color: var(--color-navy);
}

.faq__answer {
  color: var(--color-muted);
}

.blog-card__image {
  background:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--color-navy);
  background-size: 52px 52px;
}

.blog-card__category {
  border-radius: 8px;
  color: var(--color-navy);
}

.checklist {
  display: grid;
  gap: var(--space-3);
  color: var(--color-slate);
}

.checklist li {
  position: relative;
  padding-left: var(--space-8);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--color-teal);
}

.container--narrow p,
article.section p {
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
}

article.section a,
.container--narrow a:not(.btn) {
  color: var(--color-teal);
  font-weight: var(--weight-semibold);
}

@media (max-width: 1024px) {
  .nav__mega {
    right: var(--space-4);
    width: min(860px, calc(100vw - 32px));
  }
}

@media (max-width: 768px) {
  .heading-xl,
  .page-header__title {
    font-size: var(--text-5xl);
  }

  .heading-lg {
    font-size: var(--text-4xl);
  }

  .page-header {
    padding: var(--space-24) 0 var(--space-14);
  }

  .page-header__subtitle {
    font-size: var(--text-lg);
  }

  .hero--sm {
    padding: var(--space-24) 0 var(--space-14);
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
  }

  .nav__dropdown {
    position: relative;
    width: 100%;
  }

  .nav__dropdown-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .nav__links--open {
    border-top: 1px solid rgba(16, 20, 18, 0.1);
    border-radius: 0 0 8px 8px;
  }

  .nav__links--open .nav__mega {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: var(--space-2);
    border: 1px solid rgba(16, 20, 18, 0.12);
    box-shadow: none;
    transform: none;
  }

  .nav__dropdown:hover .nav__mega {
    transform: none;
  }

  .nav__mega-intro {
    padding: var(--space-5);
  }

  .nav__mega-list,
  .nav__mega-list--industries {
    grid-template-columns: 1fr;
    padding: var(--space-2);
  }

  .nav__mega-item {
    min-height: auto;
  }

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

@media (max-width: 480px) {
  .heading-xl,
  .page-header__title {
    font-size: var(--text-4xl);
  }

  .heading-lg {
    font-size: var(--text-3xl);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }
}

/* ============================================
   Premium Inner Pages
   ============================================ */

.inner-page {
  --home-ink: #101412;
  --home-ink-soft: #1d241f;
  --home-paper: #f6f8f4;
  --home-white: #ffffff;
  --home-line: rgba(16, 20, 18, 0.12);
  --home-muted: #5f6b63;
  --home-green: #1f8f62;
  --home-green-dark: #176c4b;
  --home-coral: #ff6b4a;
  --home-gold: #e9b949;
  --home-blue: #2767c8;
  background: var(--home-paper);
}

.inner-page .page-header,
.inner-page .hero--sm {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  padding: var(--space-32) 0 var(--space-20);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 11, 10, 0.96) 0%, rgba(9, 11, 10, 0.86) 48%, rgba(9, 11, 10, 0.64) 100%),
    linear-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    var(--home-ink);
  background-size: auto, 88px 88px, 88px 88px, auto;
}

.inner-page .page-header::before,
.inner-page .hero--sm::before {
  content: '';
  position: absolute;
  inset: auto var(--space-6) var(--space-6);
  height: 1px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  background: linear-gradient(90deg, var(--home-green), var(--home-gold), transparent);
}

.inner-page .page-header::after,
.inner-page .hero--sm::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 560px);
  height: 72%;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.22), transparent 42%),
    linear-gradient(45deg, transparent 0 48%, rgba(233, 185, 73, 0.14) 48% 52%, transparent 52% 100%);
  opacity: 0.72;
  pointer-events: none;
}

.inner-page .page-header .container,
.inner-page .hero--sm .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-wide);
}

.inner-page .hero__content {
  max-width: 980px;
}

.inner-page .page-header .heading-xl,
.inner-page .page-header__title,
.inner-page .hero__title {
  max-width: 980px;
  color: var(--home-white);
  font-size: 4.35rem;
  line-height: 1;
  letter-spacing: 0;
  margin-top: var(--space-5) !important;
  text-wrap: balance;
}

.inner-page .page-header .subheading,
.inner-page .page-header__subtitle,
.inner-page .hero__subtitle {
  max-width: 760px !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: var(--text-xl);
  line-height: 1.65;
  margin-top: var(--space-5) !important;
}

.inner-page .breadcrumb,
.inner-page .breadcrumbs,
.inner-page .breadcrumb a,
.inner-page .breadcrumbs a {
  color: rgba(255, 255, 255, 0.62) !important;
}

.inner-page .breadcrumb span,
.inner-page .breadcrumbs span {
  color: rgba(255, 255, 255, 0.9) !important;
}

.inner-page .breadcrumbs__separator,
.inner-page .breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.38) !important;
}

.inner-page > .section,
.inner-page > article.section {
  padding: var(--space-24) 0;
  background: var(--home-white);
}

.inner-page > .section:nth-of-type(even),
.inner-page > article.section:nth-of-type(even) {
  background: var(--home-paper);
}

.inner-page .section--light {
  background: var(--home-paper);
}

.inner-page .section--dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--home-ink);
  background-size: 84px 84px;
}

.inner-page .section .container > .fade-up:first-child:not(.text-center) {
  max-width: 860px;
}

.inner-page .section-label {
  color: var(--home-coral);
}

.inner-page .heading-lg {
  color: var(--home-ink);
  max-width: 940px;
  text-wrap: balance;
}

.inner-page .subheading {
  color: var(--home-muted);
}

.inner-page p,
.inner-page li {
  color: var(--home-muted);
}

.inner-page .text-center .subheading {
  margin-left: auto;
  margin-right: auto;
}

.inner-page .grid {
  gap: var(--space-5);
}

.inner-page .grid--2 {
  gap: var(--space-6);
}

.inner-page .card,
.inner-page .pricing-card,
.inner-page .testimonial,
.inner-page .blog-card {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.98) 100%),
    var(--home-white);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.08);
}

.inner-page .card,
.inner-page .pricing-card {
  display: flex;
  flex-direction: column;
}

.inner-page .card {
  min-height: 250px;
}

.inner-page .card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(31, 143, 98, 0.16);
  background: var(--color-teal-light);
  color: var(--home-green);
}

.inner-page .card__title {
  color: var(--home-ink);
  font-size: var(--text-xl);
}

.inner-page .card__text {
  color: var(--home-muted);
}

.inner-page .card__link {
  color: var(--home-green);
  margin-top: auto;
}

.inner-page .pricing-card {
  min-height: 100%;
}

.inner-page .pricing-card--featured {
  border-color: rgba(31, 143, 98, 0.46);
  background:
    linear-gradient(180deg, rgba(31, 143, 98, 0.08) 0%, rgba(255, 255, 255, 0.98) 34%),
    var(--home-white);
}

.inner-page .pricing-card__badge {
  background: var(--home-green);
  color: var(--home-white);
}

.inner-page .pricing-card__price {
  color: var(--home-ink);
}

.inner-page .pricing-card .btn--outline {
  border-color: var(--home-line);
  color: var(--home-ink);
}

.inner-page .pricing-card .btn--outline:hover {
  border-color: var(--home-green);
  background: rgba(31, 143, 98, 0.08);
}

.inner-page .blog-card__image {
  height: 240px;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.2), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    var(--home-ink);
  background-size: auto, 58px 58px, 58px 58px, auto;
}

.inner-page .blog-card__category {
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
}

.inner-page article.section .container {
  max-width: 860px;
}

.inner-page article.section h2,
.inner-page article.section h3 {
  color: var(--home-ink);
}

.inner-page article.section h2 {
  padding-top: var(--space-8);
  border-top: 1px solid var(--home-line);
}

.inner-page article.section p,
.inner-page article.section li {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.inner-page article.section ul,
.inner-page article.section ol {
  display: grid;
  gap: var(--space-3);
}

.inner-page article.section a {
  color: var(--home-green) !important;
  font-weight: var(--weight-semibold);
}

.inner-page .faq-section__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.inner-page .faq-section__header {
  position: sticky;
  top: 120px;
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin-bottom: 0;
}

.inner-page .faq-section__header .section-label {
  grid-column: auto;
  margin-bottom: var(--space-4);
}

.inner-page .faq-list {
  border-color: var(--home-line);
  background: var(--home-white);
}

.inner-page .faq__item {
  border-color: var(--home-line);
}

.inner-page .faq__question {
  color: var(--home-ink);
}

.inner-page .faq__answer {
  color: var(--home-muted);
}

.inner-page .form-input,
.inner-page .form-select,
.inner-page .form-textarea {
  min-height: 52px;
}

.inner-page .section--dark .testimonial {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none;
}

.inner-page .section--dark .testimonial__quote {
  color: rgba(255, 255, 255, 0.9) !important;
}

.inner-page .section--dark .testimonial__avatar {
  background: var(--home-green) !important;
  color: var(--home-white);
}

.inner-page .section--dark .testimonial__name {
  color: var(--home-white) !important;
}

.inner-page .section--dark .testimonial__role {
  color: rgba(255, 255, 255, 0.58) !important;
}

.inner-page .home-footer {
  margin-top: 0;
}

/* ============================================
   Premium Local SEO Service Page
   ============================================ */

.local-seo-page,
.content-page {
  background: var(--home-paper);
}

.local-seo-page .page-header.local-hero,
.content-page .page-header.local-hero {
  align-items: flex-start;
  min-height: auto;
  padding: var(--space-32) 0 var(--space-12);
}

.local-seo-page .local-hero .container,
.content-page .local-hero .container {
  width: 100%;
}

.local-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr);
  gap: var(--space-16);
  align-items: center;
  margin-top: var(--space-10);
}

.local-hero__copy {
  max-width: 820px;
}

.local-seo-page .local-hero .section-label,
.content-page .local-hero .section-label {
  color: var(--home-coral);
}

.local-seo-page .local-hero .page-header__title,
.content-page .local-hero .page-header__title {
  max-width: 840px;
  font-size: 4.65rem;
}

.local-seo-page .local-hero .page-header__subtitle,
.content-page .local-hero .page-header__subtitle {
  max-width: 760px !important;
}

.local-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.local-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.local-hero__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.local-hero__panel {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.local-hero__panel > img {
  position: absolute;
  top: -72px;
  left: 50%;
  width: min(760px, 142%);
  max-width: none;
  opacity: 0.18;
  filter: saturate(1.08) contrast(1.04);
  transform: translateX(-50%);
  pointer-events: none;
}

.local-search-card {
  position: absolute;
  z-index: 1;
  left: var(--space-6);
  right: var(--space-6);
  bottom: var(--space-6);
  display: grid;
  gap: var(--space-4);
  max-height: calc(100% - var(--space-12));
  overflow-y: auto;
  padding: var(--space-5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.local-search-card__bar {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-height: 46px;
  padding: 0 var(--space-4);
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
  background: var(--home-white);
}

.local-search-card__bar span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--home-coral);
}

.local-search-card__bar strong {
  color: var(--home-ink);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.local-map-pack {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(16, 20, 18, 0.08) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(16, 20, 18, 0.07) 49% 51%, transparent 51%),
    linear-gradient(135deg, rgba(31, 143, 98, 0.16), transparent 46%),
    var(--home-paper);
  background-size: 88px 88px, 88px 88px, auto, auto;
}

.local-map-pack::before,
.local-map-pack::after {
  content: '';
  position: absolute;
  background: rgba(16, 20, 18, 0.1);
}

.local-map-pack::before {
  top: 26%;
  left: -8%;
  width: 116%;
  height: 16px;
  transform: rotate(-8deg);
}

.local-map-pack::after {
  top: -12%;
  left: 47%;
  width: 14px;
  height: 128%;
  transform: rotate(17deg);
}

.local-map-pack__pin {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--home-white);
  border-radius: 8px;
  background: var(--home-green);
  color: var(--home-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-extrabold);
  box-shadow: 0 16px 34px rgba(16, 20, 18, 0.2);
}

.local-map-pack__pin--one {
  top: 36%;
  left: 43%;
  background: var(--home-coral);
}

.local-map-pack__pin--two {
  top: 18%;
  right: 21%;
}

.local-map-pack__pin--three {
  bottom: 17%;
  left: 18%;
  background: var(--home-gold);
  color: var(--home-ink);
}

.local-ranking-list {
  display: grid;
  gap: var(--space-2);
}

.local-ranking-list__item {
  display: grid;
  grid-template-columns: minmax(42px, auto) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  min-height: 72px;
  padding: var(--space-3);
  border: 1px solid rgba(16, 20, 18, 0.08);
  border-radius: 8px;
  background: var(--home-white);
}

.local-ranking-list__item--active {
  border-color: rgba(31, 143, 98, 0.24);
  background: rgba(232, 245, 238, 0.74);
}

.local-ranking-list__item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  width: auto;
  height: 38px;
  padding: 0 var(--space-2);
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.11);
  color: var(--home-green);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  white-space: nowrap;
}

.local-ranking-list__item--active > span {
  background: var(--home-green);
  color: var(--home-white);
}

.local-ranking-list__item strong {
  display: block;
  color: var(--home-ink);
  font-size: var(--text-sm);
  line-height: 1.25;
}

.local-ranking-list__item small {
  display: block;
  color: var(--home-muted);
  font-size: var(--text-xs);
  line-height: 1.45;
  margin-top: 2px;
}

.local-hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: var(--space-10);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.local-hero__metrics div {
  min-height: 132px;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.045);
}

.local-hero__metrics strong {
  display: block;
  color: var(--home-white);
  font-size: var(--text-3xl);
  line-height: 1.05;
  margin-bottom: var(--space-3);
}

.local-hero__metrics span {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.local-section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.local-section-copy {
  position: sticky;
  top: 120px;
  display: grid;
  gap: var(--space-6);
}

.local-section-copy .heading-lg,
.local-section-header .heading-lg,
.local-process__intro .heading-lg,
.local-proof__story .heading-lg {
  margin-bottom: 0;
}

.local-section-copy .body-lg {
  margin: 0;
}

.local-section-header {
  display: grid;
  gap: var(--space-5);
  max-width: 980px;
  margin-bottom: var(--space-12);
}

.local-section-header .subheading {
  max-width: 760px;
}

.local-reality__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.local-reality__card,
.local-system__card,
.local-process__steps article,
.local-fit__grid a {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-white);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.08);
}

.local-reality__card {
  min-height: 260px;
  padding: var(--space-6);
}

.local-reality__card span,
.local-system__card span,
.local-process__steps span,
.local-fit__grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 var(--space-3);
  border: 1px solid rgba(31, 143, 98, 0.18);
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.08);
  color: var(--home-green);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-6);
}

.local-reality__card h3,
.local-system__card h3,
.local-process__steps h3 {
  color: var(--home-ink);
  font-size: var(--text-2xl);
  line-height: 1.12;
  margin-bottom: var(--space-4);
}

.local-reality__card p,
.local-system__card p,
.local-process__steps p,
.local-fit__grid strong,
.local-proof__story p {
  color: var(--home-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.local-system__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4);
}

.local-system__card {
  grid-column: span 3;
  min-height: 270px;
  padding: var(--space-6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 1)),
    var(--home-white);
}

.local-system__card--wide,
.local-system__card--accent {
  grid-column: span 6;
}

.local-system__card--wide {
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.12), transparent 58%),
    var(--home-white);
}

.local-system__card--accent {
  background:
    linear-gradient(135deg, rgba(255, 107, 74, 0.14), transparent 56%),
    var(--home-white);
}

.local-system__card--accent span {
  border-color: rgba(255, 107, 74, 0.24);
  background: rgba(255, 107, 74, 0.1);
  color: var(--home-coral);
}

.location-page .local-system__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-5);
}

.location-page .local-system__card,
.location-page .local-system__card--wide,
.location-page .local-system__card--accent {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: auto;
  min-height: 320px;
  padding: var(--space-8);
  overflow: hidden;
  border-color: rgba(16, 20, 18, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 244, 0.92)),
    var(--home-white);
  box-shadow: 0 18px 46px rgba(16, 20, 18, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.location-page .local-system__card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--home-green), rgba(31, 143, 98, 0.12));
  pointer-events: none;
}

.location-page .local-system__card:hover,
.location-page .local-system__card:focus-within {
  border-color: rgba(31, 143, 98, 0.22);
  box-shadow: 0 26px 64px rgba(16, 20, 18, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-4px);
}

.location-page .local-system__card--accent::before {
  background: linear-gradient(90deg, var(--home-coral), rgba(255, 107, 74, 0.12));
}

.location-page .local-system__card h3 {
  font-size: var(--text-2xl);
}

.case-study-bento {
  grid-auto-rows: minmax(210px, auto);
  align-items: stretch;
}

.case-study-bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.case-study-bento__card::after {
  content: '';
  position: absolute;
  inset: auto var(--space-6) var(--space-6) auto;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(16, 20, 18, 0.12);
  border-bottom: 1px solid rgba(16, 20, 18, 0.12);
  pointer-events: none;
}

.case-study-bento__card--feature {
  grid-column: span 6;
  grid-row: span 2;
  padding: var(--space-8);
}

.case-study-bento__card--feature h3 {
  max-width: 660px;
  font-size: clamp(var(--text-3xl), 2.6vw, var(--text-4xl));
}

.case-study-bento__card--feature p {
  max-width: 680px;
  font-size: var(--text-lg);
}

.case-study-bento__card--result,
.case-study-bento__card--site {
  grid-column: span 3;
}

.case-study-bento__card--compact {
  grid-column: span 2;
  padding: var(--space-5);
}

.case-study-bento__card--compact h3 {
  font-size: var(--text-xl);
}

.case-study-bento__card--compact p {
  font-size: var(--text-sm);
}

.case-study-bento__card--site {
  color: var(--home-white);
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.24), transparent 58%),
    var(--home-ink);
}

.case-study-bento__card--site span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: var(--home-gold);
}

.case-study-bento__card--site h3,
.case-study-bento__card--site p {
  color: var(--home-white);
}

.case-study-bento__card--site p {
  color: rgba(255, 255, 255, 0.7);
}

.case-study-bento__card--site::after {
  border-color: rgba(255, 255, 255, 0.18);
}

.case-study-bento__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-8);
}

.case-study-bento__actions .card__link {
  margin-top: 0;
}

.case-study-bento__visit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  color: var(--home-gold);
  font-size: var(--text-sm);
  line-height: 1;
}

.local-process {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--home-ink) !important;
  background-size: 84px 84px;
}

.local-process__intro {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
  max-width: 920px;
  margin-bottom: var(--space-12);
}

.local-process .heading-lg {
  visibility: visible;
  opacity: 1;
  color: var(--home-white) !important;
}

.local-process .subheading,
.local-process__steps p {
  color: rgba(255, 255, 255, 0.66);
}

.local-seo-page .local-process .subheading,
.content-page .local-process .subheading {
  visibility: visible;
  opacity: 1;
  color: rgba(255, 255, 255, 0.72) !important;
}

.local-process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.local-process__steps article {
  display: block;
  min-height: 320px;
  padding: var(--space-6);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: none;
}

.local-process__steps span {
  border-color: rgba(233, 185, 73, 0.28);
  background: rgba(233, 185, 73, 0.1);
  color: var(--home-gold);
}

.local-process__steps h3 {
  display: block;
  visibility: visible;
  opacity: 1;
  color: var(--home-white) !important;
}

.local-seo-page .local-process__steps p,
.content-page .local-process__steps p {
  display: block;
  visibility: visible;
  opacity: 1;
  color: rgba(255, 255, 255, 0.72) !important;
}

.local-fit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.local-fit__grid a {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: var(--space-6);
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.local-fit__grid a:hover,
.local-fit__grid a:focus-visible {
  border-color: rgba(31, 143, 98, 0.32);
  box-shadow: 0 24px 56px rgba(16, 20, 18, 0.12);
  transform: translateY(-3px);
  outline: none;
}

.local-fit__grid span {
  justify-content: flex-start;
  width: fit-content;
  color: var(--home-coral);
  border-color: rgba(255, 107, 74, 0.2);
  background: rgba(255, 107, 74, 0.08);
}

.local-fit__grid strong {
  display: block;
  color: var(--home-ink);
  font-size: var(--text-xl);
  line-height: 1.32;
}

.local-proof__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 0.48fr);
  gap: var(--space-12);
  align-items: center;
}

.local-proof__story {
  display: grid;
  gap: var(--space-5);
}

.local-proof__numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-line);
  box-shadow: 0 24px 60px rgba(16, 20, 18, 0.1);
}

.local-proof__numbers div {
  min-height: 180px;
  padding: var(--space-6);
  background: var(--home-white);
}

.local-proof__numbers strong {
  display: block;
  color: var(--home-ink);
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.local-proof__numbers span {
  color: var(--home-muted);
  line-height: 1.55;
}

.local-faq,
.content-faq {
  background: var(--home-white);
}

.local-close,
.content-close {
  margin-top: 0;
}

/* Legal / policy page content */
.legal-content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
  text-align: left;
}

.legal-content h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: var(--space-4);
}

.legal-content ul {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Content marketing hero panel */
.content-calendar {
  position: absolute;
  z-index: 1;
  inset: var(--space-5);
  display: grid;
  gap: var(--space-3);
  align-content: start;
  max-height: calc(100% - var(--space-10));
  overflow-y: auto;
  padding: var(--space-5);
  border-radius: 8px;
  background: var(--home-white);
  box-shadow: 0 16px 48px rgba(16, 20, 18, 0.14);
}

.content-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--home-line);
}

.content-calendar__header strong {
  font-size: var(--text-base);
  color: var(--home-ink);
}

.content-calendar__header small {
  font-size: var(--text-sm);
  color: var(--home-muted);
}

.content-calendar__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  border-radius: 8px;
  background: var(--home-paper);
  border: 1px solid var(--home-line);
}

.content-calendar__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.content-calendar__type--service {
  background: rgba(31, 143, 98, 0.1);
  color: var(--home-green);
}

.content-calendar__type--location {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.content-calendar__type--blog {
  background: rgba(233, 185, 73, 0.1);
  color: var(--home-gold);
}

.content-calendar__type--faq {
  background: rgba(255, 107, 74, 0.1);
  color: var(--home-coral);
}

.content-calendar__item strong {
  font-size: var(--text-sm);
  color: var(--home-ink);
  line-height: 1.35;
}

.content-calendar__item small {
  font-size: var(--text-xs);
  color: var(--home-muted);
  white-space: nowrap;
}

/* Audit conversion panel */
.audit-hero-form {
  position: absolute;
  z-index: 1;
  inset: var(--space-5);
  display: grid;
  gap: var(--space-3);
  align-content: start;
  max-height: calc(100% - var(--space-10));
  overflow-y: auto;
  padding: var(--space-6);
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.audit-hero-form__header {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--home-line);
}

.audit-hero-form__header h2 {
  color: var(--home-ink);
  font-size: var(--text-2xl);
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.audit-hero-form__header p,
.audit-hero-form__note {
  color: var(--home-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0;
}

.audit-hero-form .form-group {
  margin-bottom: 0;
}

.audit-hero-form .form-label {
  color: var(--home-ink);
}

.audit-hero-form .form-input,
.audit-hero-form .form-select,
.audit-hero-form .form-textarea {
  border-radius: 8px;
  background: var(--home-white);
}

.audit-hero-form .btn {
  width: 100%;
  border-radius: 8px;
}

.audit-scope-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-line);
}

.audit-scope-strip div {
  min-height: 120px;
  padding: var(--space-5);
  background: var(--home-white);
}

.audit-scope-strip strong {
  display: block;
  color: var(--home-ink);
  font-size: var(--text-lg);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.audit-scope-strip span {
  color: var(--home-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Article authority blocks */
.article-authority,
.article-sources {
  background: var(--home-white);
}

.article-authority {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--home-line);
}

.article-authority__bar {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-6);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.1), transparent 54%),
    var(--home-white);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.08);
}

.article-authority__bar h2 {
  color: var(--home-ink);
  font-size: var(--text-2xl);
  line-height: 1.18;
  margin: 0;
}

.article-authority__bar p:not(.section-label) {
  color: var(--home-muted);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-3);
}

.article-authority__meta {
  display: grid;
  gap: var(--space-2);
}

.article-authority__meta span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
  background: var(--home-paper);
  color: var(--home-ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.article-sources__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.article-sources__grid a {
  display: grid;
  align-content: start;
  min-height: 160px;
  padding: var(--space-5);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-white);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.08);
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.article-sources__grid a:hover,
.article-sources__grid a:focus-visible {
  border-color: rgba(31, 143, 98, 0.32);
  box-shadow: 0 24px 56px rgba(16, 20, 18, 0.12);
  transform: translateY(-3px);
  outline: none;
}

.article-sources__grid span {
  color: var(--home-coral);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-4);
}

.article-sources__grid strong {
  color: var(--home-ink);
  font-size: var(--text-lg);
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .local-hero__grid,
  .local-section-grid,
  .local-proof__grid {
    grid-template-columns: 1fr;
  }

  .local-section-copy {
    position: static;
    max-width: 880px;
  }

  .local-hero__panel {
    min-height: 540px;
  }

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

  .audit-scope-strip,
  .article-sources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-authority__bar {
    grid-template-columns: 1fr;
  }

  .local-system__card,
  .local-system__card--wide,
  .local-system__card--accent {
    grid-column: span 6;
  }

  .location-page .local-system__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-page .local-system__grid > .local-system__card,
  .location-page .local-system__grid > .local-system__card--wide,
  .location-page .local-system__grid > .local-system__card--accent {
    grid-column: auto !important;
    min-height: 210px;
  }

  .case-study-bento__card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .case-study-bento__card--result,
  .case-study-bento__card--site,
  .case-study-bento__card--compact {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .local-seo-page .page-header.local-hero,
  .content-page .page-header.local-hero {
    padding: var(--space-24) 0 var(--space-10);
  }

  .local-hero__grid {
    gap: var(--space-10);
    margin-top: var(--space-8);
  }

  .local-seo-page .local-hero .page-header__title,
  .content-page .local-hero .page-header__title {
    font-size: 3.05rem;
  }

  .local-hero__actions,
  .local-hero__actions .btn {
    width: 100%;
  }

  .local-hero__actions {
    flex-direction: column;
  }

  .local-hero__panel {
    min-height: 500px;
  }

  .local-search-card {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    padding: var(--space-4);
  }

  .local-hero__metrics,
  .local-reality__grid,
  .local-proof__numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-system__grid {
    grid-template-columns: 1fr;
  }

  .local-system__card,
  .local-system__card--wide,
  .local-system__card--accent {
    grid-column: auto;
  }

  .location-page .local-system__grid > .local-system__card,
  .location-page .local-system__grid > .local-system__card--wide,
  .location-page .local-system__grid > .local-system__card--accent {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: auto;
  }

  .local-process__steps,
  .local-fit__grid {
    grid-template-columns: 1fr;
  }

  .audit-scope-strip,
  .article-sources__grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .local-seo-page .local-hero .page-header__title,
  .content-page .local-hero .page-header__title {
    font-size: 2.42rem;
  }

  .local-hero__panel {
    min-height: 560px;
  }

  .audit-page .local-hero__panel,
  .contact-page .local-hero__panel {
    min-height: 740px;
  }

  .local-hero__panel > img {
    top: -34px;
    left: 50%;
    width: min(680px, 178%);
  }

  .local-hero__metrics,
  .local-reality__grid,
  .local-proof__numbers {
    grid-template-columns: 1fr;
  }

  .local-hero__metrics div,
  .local-proof__numbers div {
    min-height: auto;
  }

  .local-reality__card,
  .local-system__card,
  .local-process__steps article,
  .local-fit__grid a,
  .article-authority__bar,
  .article-sources__grid a,
  .audit-hero-form {
    min-height: auto;
    padding: var(--space-5);
  }

  .local-proof__numbers strong {
    font-size: 2.6rem;
  }
}

@media (max-width: 1200px) {
  .inner-page .page-header .heading-xl,
  .inner-page .page-header__title,
  .inner-page .hero__title {
    font-size: 3.45rem;
  }
}

@media (max-width: 768px) {
  .inner-page .page-header,
  .inner-page .hero--sm {
    min-height: 480px;
    padding: var(--space-24) 0 var(--space-14);
  }

  .inner-page .page-header::after,
  .inner-page .hero--sm::after {
    width: 88vw;
    opacity: 0.44;
  }

  .inner-page .page-header .heading-xl,
  .inner-page .page-header__title,
  .inner-page .hero__title {
    font-size: 2.75rem;
  }

  .inner-page .page-header .subheading,
  .inner-page .page-header__subtitle,
  .inner-page .hero__subtitle,
  .inner-page article.section p,
  .inner-page article.section li {
    font-size: var(--text-base);
  }

  .inner-page > .section,
  .inner-page > article.section {
    padding: var(--space-16) 0;
  }
}

/* ============================================
   Homepage Premium System
   ============================================ */

.home-page {
  --home-ink: #101412;
  --home-ink-soft: #1d241f;
  --home-paper: #f6f8f4;
  --home-white: #ffffff;
  --home-line: rgba(16, 20, 18, 0.12);
  --home-muted: #5f6b63;
  --home-green: #1f8f62;
  --home-green-dark: #176c4b;
  --home-coral: #ff6b4a;
  --home-gold: #e9b949;
  --home-blue: #2767c8;
  background: var(--home-white);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .heading-lg,
.home-page .nav__logo,
.home-page .section-label {
  letter-spacing: 0;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  overflow-wrap: break-word;
}

.home-page .heading-lg {
  font-size: 3.35rem;
  line-height: 1.02;
  color: var(--home-ink);
}

.home-page .section-label,
.home-eyebrow {
  color: var(--home-coral);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  text-transform: none;
}

.home-page .subheading {
  color: var(--home-muted);
  max-width: 720px;
}

.home-page .btn {
  border-radius: 8px;
  min-height: 44px;
}

.home-page .btn--primary {
  background: var(--home-green);
  box-shadow: 0 14px 34px rgba(31, 143, 98, 0.25);
}

.home-page .btn--primary:hover {
  background: var(--home-green-dark);
  box-shadow: 0 16px 38px rgba(31, 143, 98, 0.32);
}

.home-page .btn--outline {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--home-white);
}

.home-page .nav__inner {
  position: relative;
}

.home-page .nav__dropdown {
  position: static;
}

.home-page .nav__mega {
  left: auto;
  right: var(--space-6);
  top: calc(100% + var(--space-3));
  width: min(920px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 18, 0.12);
  border-radius: 8px;
  background: var(--home-white);
  box-shadow: 0 30px 80px rgba(16, 20, 18, 0.22);
  transform: translateY(10px);
}

.home-page .nav__dropdown:hover .nav__mega {
  transform: translateY(0);
}

.home-page .nav__dropdown--open .nav__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-page .nav__dropdown--open .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.home-page .nav__mega-intro {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    var(--home-ink);
  color: var(--home-white);
}

.home-page .nav__mega-intro span {
  color: var(--home-gold);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}

.home-page .nav__mega-intro strong {
  display: block;
  font-size: var(--text-2xl);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.home-page .nav__mega-intro p {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.home-page .nav__mega-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--home-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-top: auto;
}

.home-page .nav__mega-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: var(--space-3);
  background: rgba(16, 20, 18, 0.08);
}

.home-page .nav__mega-list--industries {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .nav__mega-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--space-4);
  min-height: 132px;
  padding: var(--space-5);
  border-radius: 8px;
  background: var(--home-white);
  color: var(--home-ink);
  transition: background var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.home-page .nav__mega-item:hover {
  background: var(--home-paper);
  transform: translateY(-2px);
}

.home-page .nav__mega-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.1);
  color: var(--home-green);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
}

.home-page .nav__mega-item strong {
  display: block;
  color: var(--home-ink);
  font-size: var(--text-base);
  line-height: 1.25;
  margin-bottom: var(--space-2);
}

.home-page .nav__mega-item small {
  display: block;
  color: var(--home-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.home-hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--home-ink);
  color: var(--home-white);
}

.home-hero__image,
.home-hero__scrim,
.home-hero__texture {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.home-hero__scrim {
  background:
    linear-gradient(90deg, rgba(9, 11, 10, 0.94) 0%, rgba(9, 11, 10, 0.74) 42%, rgba(9, 11, 10, 0.2) 100%),
    linear-gradient(180deg, rgba(9, 11, 10, 0.28) 0%, rgba(9, 11, 10, 0.74) 100%);
}

.home-hero__texture {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: var(--space-16);
  min-height: 92svh;
  padding-top: var(--space-32);
  padding-bottom: var(--space-16);
}

.home-hero__copy {
  max-width: 820px;
}

.home-hero__title {
  color: var(--home-white);
  font-size: 5.75rem;
  line-height: 0.96;
  font-weight: var(--weight-extrabold);
  max-width: 900px;
  margin-bottom: var(--space-6);
  text-wrap: balance;
}

.home-hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-xl);
  line-height: 1.65;
  max-width: 660px;
  margin-bottom: var(--space-8);
}

.home-hero__actions,
.home-close__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.home-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  max-width: 760px;
}

.home-hero__proof div {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-hero__proof dt {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  line-height: 1;
  color: var(--home-white);
}

.home-hero__proof dd {
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--text-sm);
  line-height: 1.45;
  margin-top: var(--space-2);
}

.home-hero__console {
  justify-self: end;
  width: 100%;
  max-width: 430px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(12, 17, 14, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  padding: var(--space-6);
}

.home-console__topline,
.home-console__metric,
.home-console__queries div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.home-console__topline {
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--text-sm);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-console__topline strong {
  color: var(--home-white);
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.home-console__metric {
  margin: var(--space-6) 0 var(--space-5);
}

.home-console__metric span {
  color: rgba(255, 255, 255, 0.68);
}

.home-console__metric strong {
  color: var(--home-gold);
  font-size: var(--text-5xl);
  line-height: 1;
}

.home-console__chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: var(--space-2);
  height: 145px;
  padding: var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.05);
  background-size: 100% 33.33%;
}

.home-console__chart span {
  display: block;
  min-height: 16px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--home-green) 0%, rgba(31, 143, 98, 0.38) 100%);
}

.home-console__queries {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.home-console__queries div {
  min-height: 48px;
  padding: 0 var(--space-4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-sm);
}

.home-console__queries strong {
  color: var(--home-white);
}

.home-signal {
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
}

.home-signal__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line);
  border-left: 1px solid var(--home-line);
  border-right: 1px solid var(--home-line);
}

.home-signal__rail p {
  display: flex;
  align-items: center;
  min-height: 94px;
  padding: var(--space-6);
  background: var(--home-paper);
  color: var(--home-ink);
  font-weight: var(--weight-semibold);
}

.home-section {
  padding: var(--space-24) 0;
  background: var(--home-white);
}

.home-section--paper {
  background: var(--home-paper);
}

.home-section--ink,
.home-case,
.home-close {
  background: var(--home-ink);
  color: var(--home-white);
}

.home-section--ink .heading-lg,
.home-section--ink .subheading,
.home-case .heading-lg {
  color: var(--home-white);
}

.home-section--ink .subheading {
  color: rgba(255, 255, 255, 0.68);
}

.home-section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: var(--space-6) var(--space-12);
  align-items: end;
  margin-bottom: var(--space-12);
}

.home-section__header .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.home-section__header h2 {
  max-width: 780px;
}

.home-split,
.home-case__grid,
.home-location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: var(--space-16);
  align-items: center;
}

.home-split__media,
.home-case__visual {
  position: relative;
}

.home-split__media img,
.home-case__visual img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(16, 20, 18, 0.16);
}

.home-media__caption {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 74px;
  padding: var(--space-4) var(--space-5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--home-ink);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.16);
}

.home-media__caption span {
  color: var(--home-muted);
  font-size: var(--text-sm);
}

.home-media__caption strong {
  max-width: 260px;
  text-align: right;
}

.home-checklist {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.home-checklist div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--home-line);
}

.home-checklist span {
  color: var(--home-green);
  font-weight: var(--weight-extrabold);
}

.home-checklist p {
  color: var(--home-ink-soft);
  line-height: var(--leading-relaxed);
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--home-line);
}

.home-service {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: var(--space-8);
  border-right: 1px solid var(--home-line);
  color: var(--home-ink);
  transition: background var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.home-service:last-child {
  border-right: 0;
}

.home-service:hover {
  background: var(--home-paper);
  transform: translateY(-4px);
}

.home-service__number {
  color: var(--home-coral);
  font-weight: var(--weight-extrabold);
  margin-bottom: auto;
}

.home-service h3 {
  font-size: var(--text-2xl);
  margin: var(--space-16) 0 var(--space-4);
}

.home-service p {
  color: var(--home-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.home-link {
  color: var(--home-green);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-top: auto;
}

.home-case {
  padding: var(--space-24) 0;
}

.home-case__content p:not(.section-label) {
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-bottom: var(--space-8);
}

.home-case__visual img {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.home-case__metrics {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.home-case__metrics div {
  padding: var(--space-4);
  background: rgba(16, 20, 18, 0.82);
}

.home-case__metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-xs);
  margin-bottom: var(--space-2);
}

.home-case__metrics strong {
  color: var(--home-white);
  font-size: var(--text-3xl);
  line-height: 1;
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-industry {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    var(--home-ink-soft);
  color: var(--home-white);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out);
}

.home-industry::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.2), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(233, 185, 73, 0.2), transparent 34%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.home-industry:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 185, 73, 0.62);
}

.home-industry:hover::before {
  opacity: 1;
}

.home-industry > * {
  position: relative;
}

.home-industry--feature {
  grid-column: span 6;
}

.home-industry--standard {
  grid-column: span 3;
}

.home-industry__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.home-industry__meta span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--home-gold);
}

.home-industry h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  margin-top: 0;
}

.home-industry p {
  color: rgba(255, 255, 255, 0.66);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.home-industry__queries {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  margin-bottom: var(--space-6);
}

.home-industry__queries span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xs);
}

.home-industry__link {
  color: var(--home-green);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-top: 0;
}

.home-process {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.home-process__intro {
  position: sticky;
  top: 120px;
}

.home-process__steps {
  display: grid;
  gap: var(--space-5);
}

.home-process__steps div {
  padding: var(--space-8);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-white);
}

.home-process__steps span {
  color: var(--home-coral);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.home-process__steps h3 {
  font-size: var(--text-2xl);
  margin: var(--space-3) 0 var(--space-3);
}

.home-process__steps p {
  color: var(--home-muted);
  line-height: var(--leading-relaxed);
}

.home-location-layout {
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1fr);
}

.home-location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.home-location-grid a {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: var(--space-5);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  color: var(--home-ink);
  font-weight: var(--weight-bold);
  transition: background var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.home-location-grid a:hover {
  background: var(--home-paper);
  transform: translateY(-3px);
}

.home-page .faq__question {
  color: var(--home-ink);
}

.home-page .faq__answer {
  color: var(--home-muted);
}

.home-page .faq-section__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.home-page .faq-section__header {
  position: sticky;
  top: 120px;
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin-bottom: 0;
}

.home-page .faq-section__header .section-label {
  grid-column: auto;
  margin-bottom: var(--space-4);
}

.home-page .faq-list {
  border-color: var(--home-line);
  background: var(--home-white);
}

.home-close {
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.home-close::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 78px 78px;
}

.home-close__inner {
  position: relative;
  max-width: 900px;
}

.home-close h2 {
  color: var(--home-white);
  font-size: 4.4rem;
  line-height: 1;
  margin-bottom: var(--space-6);
  text-wrap: balance;
}

.home-close p:not(.home-eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xl);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: var(--space-8);
}

.home-footer {
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-8);
  background: #090c0a;
  color: var(--home-white);
}

.home-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 84px 84px;
}

.home-footer .container {
  position: relative;
}

.home-footer .nav__logo {
  display: inline-flex;
  color: var(--home-white);
  margin-bottom: var(--space-8);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-8);
}

.footer__logo-image {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

.home-footer__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: var(--space-16);
  align-items: end;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-footer__brand h2 {
  max-width: 860px;
  color: var(--home-white);
  font-size: 4rem;
  line-height: 1;
  margin-bottom: var(--space-6);
  text-wrap: balance;
}

.home-footer__brand p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.home-footer__audit {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.home-footer__audit span {
  color: var(--home-gold);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.home-footer__audit strong {
  color: var(--home-white);
  font-size: var(--text-xl);
  line-height: 1.35;
}

.home-footer__audit .btn {
  justify-self: start;
}

.home-footer__nav {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(140px, 0.7fr));
  gap: var(--space-10);
  padding: var(--space-16) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-footer__column h3 {
  color: var(--home-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}

.home-footer__column a {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.home-footer__column a:hover,
.home-footer__bottom a:hover {
  color: var(--home-white);
  transform: translateX(3px);
}

.home-footer__signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home-footer__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.home-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  color: rgba(255, 255, 255, 0.52);
  font-size: var(--text-sm);
}

.home-footer__bottom div {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.home-footer__bottom a {
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.footer__credit {
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: var(--text-xs);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-6);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.52);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__credit a:hover {
  color: var(--color-white);
}

@media (max-width: 1200px) {
  .home-hero__title {
    font-size: 4.55rem;
  }

  .home-page .heading-lg,
  .home-close h2 {
    font-size: 2.8rem;
  }

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

  .home-industry-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-industry--feature,
  .home-industry--standard {
    grid-column: span 3;
  }

  .home-footer__brand h2 {
    font-size: 3.2rem;
  }

  .home-footer__nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-footer__column--wide {
    grid-column: 1 / -1;
  }

  .home-service:nth-child(2) {
    border-right: 0;
  }

  .home-service:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }
}

@media (max-width: 1024px) {
  .home-hero__inner,
  .home-split,
  .home-case__grid,
  .home-process,
  .home-location-layout,
  .home-section__header {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    align-items: center;
    padding-bottom: var(--space-12);
  }

  .home-hero__console {
    justify-self: start;
    max-width: 620px;
  }

  .home-section__header .section-label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .home-process__intro {
    position: static;
  }

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

  .home-footer__lead {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 88svh;
  }

  .home-hero__inner {
    min-height: 88svh;
    padding-top: var(--space-24);
    gap: var(--space-8);
    justify-items: center;
    text-align: center;
  }

  .home-hero__copy,
  .home-hero__title,
  .home-hero__subtitle,
  .home-hero__proof {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__title {
    font-size: 3.25rem;
  }

  .home-hero__subtitle,
  .home-close p:not(.home-eyebrow) {
    font-size: var(--text-lg);
  }

  .home-hero__actions,
  .home-close__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions {
    align-items: center;
  }

  .home-hero__proof {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-8);
  }

  .home-hero__console {
    display: none;
  }

  .home-signal__rail,
  .home-service-grid,
  .home-industry-grid,
  .home-case__metrics {
    grid-template-columns: 1fr;
  }

  .home-industry,
  .home-industry--feature,
  .home-industry--standard {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .home-industry h3 {
    margin-top: 0;
  }

  .home-service {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-service:last-child {
    border-bottom: 0;
  }

  .home-page .heading-lg,
  .home-close h2 {
    font-size: 2.25rem;
  }

  .home-page .faq-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .home-page .faq-section__header {
    position: static;
  }

  .home-section,
  .home-case,
  .home-close {
    padding: var(--space-16) 0;
  }

  .home-media__caption {
    position: static;
    display: grid;
    margin-top: var(--space-4);
  }

  .home-media__caption strong {
    max-width: none;
    text-align: left;
  }

  .home-case__metrics {
    position: static;
    margin-top: var(--space-4);
  }

  .home-page .nav__dropdown {
    position: relative;
    width: 100%;
  }

  .home-page .nav__dropdown-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .home-page .nav__mega {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: var(--space-2);
    border: 1px solid var(--home-line);
    box-shadow: none;
    transform: none;
  }

  .home-page .nav__dropdown:hover .nav__mega {
    transform: none;
  }

  .home-page .nav__mega-intro {
    padding: var(--space-5);
  }

  .home-page .nav__mega-list {
    grid-template-columns: 1fr;
    padding: var(--space-2);
  }

  .home-page .nav__mega-item {
    min-height: auto;
  }

  .home-footer {
    padding-top: var(--space-16);
  }

  .home-footer__brand h2 {
    font-size: 2.35rem;
  }

  .home-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    padding: var(--space-12) 0;
  }

  .home-footer__column--wide {
    grid-column: 1 / -1;
  }

  .home-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .home-hero__title {
    font-size: 2.55rem;
  }

  .home-page .heading-lg,
  .home-close h2 {
    font-size: 2rem;
  }

  .home-location-grid {
    grid-template-columns: 1fr;
  }

  .home-checklist div {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .home-footer__nav {
    grid-template-columns: 1fr;
  }

  .home-footer__bottom div {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-3);
  }
}

/* ============================================
   Blog Library Cards + Mobile Responsive Pass
   ============================================ */

.blog-library {
  background: var(--home-paper);
}

.blog-library__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.blog-guide-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: var(--space-6);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1)),
    var(--home-white);
  box-shadow: 0 18px 42px rgba(16, 20, 18, 0.08);
  transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.blog-guide-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--home-green), var(--home-gold), var(--home-coral));
}

.blog-guide-card:hover,
.blog-guide-card:focus-visible {
  border-color: rgba(31, 143, 98, 0.34);
  box-shadow: 0 28px 64px rgba(16, 20, 18, 0.13);
  transform: translateY(-4px);
  outline: none;
}

.blog-guide-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 576px;
  align-content: space-between;
  background:
    linear-gradient(135deg, rgba(31, 143, 98, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 1)),
    var(--home-white);
}

.blog-guide-card--accent {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(255, 107, 74, 0.14), transparent 56%),
    var(--home-white);
}

.blog-guide-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.blog-guide-card__top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  border: 1px solid rgba(31, 143, 98, 0.2);
  border-radius: 8px;
  background: rgba(31, 143, 98, 0.08);
  color: var(--home-green);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
}

.blog-guide-card--accent .blog-guide-card__top span {
  border-color: rgba(255, 107, 74, 0.24);
  background: rgba(255, 107, 74, 0.1);
  color: var(--home-coral);
}

.blog-guide-card__top small {
  color: var(--home-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.blog-guide-card h3 {
  color: var(--home-ink);
  font-size: var(--text-2xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.blog-guide-card--feature h3 {
  max-width: 620px;
  font-size: var(--text-4xl);
}

.blog-guide-card p {
  color: var(--home-muted);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-6);
}

.blog-guide-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  margin-bottom: var(--space-6);
}

.blog-guide-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 var(--space-3);
  border: 1px solid rgba(16, 20, 18, 0.1);
  border-radius: 8px;
  background: var(--home-paper);
  color: var(--home-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.blog-guide-card > strong {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--home-green);
  font-size: var(--text-sm);
  font-weight: var(--weight-extrabold);
}

.blog-guide-card > strong::after {
  content: '→';
  transition: transform var(--duration-normal) var(--ease-out);
}

.blog-guide-card:hover > strong::after,
.blog-guide-card:focus-visible > strong::after {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .blog-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-guide-card,
  .blog-guide-card--feature,
  .blog-guide-card--accent {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .blog-guide-card--feature h3 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container,
  .container--wide,
  .container--narrow,
  .nav__inner {
    max-width: 100%;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .section,
  .section--lg,
  .home-section,
  .home-case,
  .home-close,
  .faq-section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .page-header,
  .hero,
  .hero--sm,
  .local-hero,
  .section,
  .home-section,
  .home-case,
  .home-close,
  .footer,
  .home-footer {
    text-align: center;
  }

  .heading-xl,
  .heading-lg,
  .heading-md,
  .page-header__title,
  .hero__title,
  .home-hero__title {
    letter-spacing: 0;
    text-wrap: balance;
  }

  .subheading,
  .page-header__subtitle,
  .hero__subtitle,
  .home-hero__subtitle,
  .home-close p:not(.home-eyebrow),
  .local-section-header .subheading,
  .local-process__intro .subheading,
  .article-authority__bar p:not(.section-label),
  .faq__answer,
  .footer__brand-text,
  .home-footer__brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .grid,
  .grid--2,
  .grid--3,
  .grid--4,
  .services-grid,
  .process,
  .local-hero__grid,
  .local-section-grid,
  .local-reality__grid,
  .local-system__grid,
  .local-process__steps,
  .local-fit__grid,
  .local-proof__grid,
  .local-proof__numbers,
  .article-sources__grid,
  .blog-library__grid,
  .home-split,
  .home-process,
  .home-service-grid,
  .home-industry-grid,
  .home-case__grid,
  .home-case__metrics,
  .home-location-layout,
  .home-location-grid,
  .home-checklist div,
  .home-footer__lead,
  .home-footer__nav,
  .footer__grid,
  .faq-section__inner,
  .inner-page .faq-section__inner,
  .callback-modal__panel,
  .callback-form {
    grid-template-columns: 1fr !important;
  }

  .local-system__card,
  .local-system__card--wide,
  .local-system__card--accent,
  .blog-guide-card,
  .blog-guide-card--feature,
  .blog-guide-card--accent,
  .home-industry,
  .home-industry--feature,
  .home-industry--standard,
  .home-footer__column--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .local-hero__copy,
  .local-section-header,
  .local-section-copy,
  .local-process__intro,
  .home-section__header,
  .home-split__copy,
  .home-case__content,
  .home-process__intro,
  .home-close__inner,
  .home-location-layout > *,
  .article-authority__bar,
  .faq-section__header,
  .inner-page .faq-section__header,
  .home-footer__brand,
  .home-footer__audit,
  .home-footer__column,
  .footer__grid > *,
  .footer__bottom {
    justify-items: center;
    text-align: center;
  }

  .card,
  .pricing-card,
  .testimonial,
  .blog-card,
  .local-reality__card,
  .local-system__card,
  .local-process__steps article,
  .local-fit__grid a,
  .article-sources__grid a,
  .blog-guide-card,
  .home-service,
  .home-industry,
  .home-case__metrics div,
  .home-process__steps div,
  .home-location-grid a,
  .faq__item {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-items: center;
  }

  .card__icon,
  .card__link,
  .local-reality__card span,
  .local-system__card span,
  .local-process__steps span,
  .local-fit__grid span,
  .blog-guide-card__top,
  .blog-guide-card__meta,
  .home-footer__signals,
  .home-industry__meta,
  .home-industry__queries,
  .home-media__caption,
  .footer__bottom-links,
  .home-close__actions,
  .hero__actions,
  .page-header__actions,
  .local-hero__actions,
  .home-hero__actions {
    justify-content: center;
  }

  .card__icon {
    margin-left: auto;
    margin-right: auto;
  }

  .blog-guide-card {
    min-height: auto;
  }

  .blog-guide-card__top {
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .blog-guide-card--feature h3 {
    font-size: var(--text-3xl);
  }

  .blog-guide-card__meta {
    justify-content: center;
  }

  .blog-guide-card > strong {
    justify-content: center;
  }

  .local-section-copy,
  .local-process__intro,
  .home-process__intro,
  .inner-page .faq-section__header {
    position: static;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .local-hero__signals,
  .local-hero__metrics,
  .home-hero__proof,
  .home-checklist,
  .home-footer__signals {
    justify-content: center;
    justify-items: center;
  }

  .home-footer__audit .btn {
    justify-self: center;
  }

  .home-media__caption {
    position: static;
    flex-direction: column;
    margin-top: var(--space-4);
  }

  .home-media__caption strong {
    max-width: none;
    text-align: center;
  }

  .home-checklist div,
  .home-process__steps div {
    justify-items: center;
  }

  .home-footer__bottom,
  .home-footer__bottom div,
  .footer__bottom,
  .footer__bottom-links {
    align-items: center;
    flex-direction: column;
    gap: var(--space-3);
  }

  .form-group,
  .audit-hero-form,
  .callback-form,
  .contact-form,
  form[data-form] {
    text-align: left;
    justify-items: stretch;
  }

  .audit-hero-form__header,
  .callback-modal__content {
    text-align: center;
  }

  article.section .container,
  .inner-page article.section .container {
    max-width: 720px;
  }

  article.section ul,
  article.section ol,
  .inner-page .container--narrow ul,
  .inner-page .container--narrow ol {
    padding-left: 0 !important;
    list-style-position: inside;
  }

  p,
  li,
  a,
  span,
  strong,
  small,
  h1,
  h2,
  h3 {
    overflow-wrap: break-word;
  }
}

@media (max-width: 520px) {
  .container,
  .container--wide,
  .container--narrow,
  .nav__inner {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .btn,
  .btn--lg {
    width: 100%;
    max-width: 360px;
    white-space: normal;
    border-radius: 8px;
  }

  .audit-hero-form .btn,
  .callback-form .btn,
  .contact-form .btn,
  form[data-form] .btn {
    max-width: none;
  }

  .blog-guide-card,
  .card,
  .pricing-card,
  .testimonial,
  .blog-card,
  .local-reality__card,
  .local-system__card,
  .local-process__steps article,
  .local-fit__grid a,
  .article-sources__grid a {
    padding: var(--space-5);
  }

  .home-footer__brand h2,
  .home-close h2,
  .page-header__title,
  .local-seo-page .local-hero .page-header__title,
  .content-page .local-hero .page-header__title {
    font-size: var(--text-4xl);
  }
}
