/* ==========================================================================
   Digistruct Consulting | Digital Growth Partner
   Design: quiet editorial, not startup template
   ========================================================================== */

:root {
  --ink: #0a1f3c;
  --ink-deep: #061428;
  --ink-90: #13294a;
  --accent: #3d5a4c;          /* deep sage */
  --accent-2: #527a68;        /* lighter sage highlight */
  --accent-soft: rgba(61, 90, 76, 0.08);
  --accent-line: rgba(61, 90, 76, 0.28);
  --star-gold: #f4b400;
  /* legacy aliases kept so nothing breaks */
  --orange: var(--accent);
  --orange-soft: var(--accent-soft);
  --orange-hover: var(--accent-hover);
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --bone: #f8f9fb;
  --white: #ffffff;
  --paper: #ffffff;
  --card-border: #e5e7eb;
  --hairline: #e5e7eb;
  --muted: #5c6472;
  --muted-2: #8a8f9a;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', 'IBM Plex Sans', monospace;
  --radius: 0.75rem;
  --radius-lg: 1.15rem;
  --radius-sm: 0.4rem;
  --shadow-card: 0 1px 2px rgba(10, 31, 60, 0.04), 0 8px 30px -18px rgba(10, 31, 60, 0.28);
  --shadow-lift: 0 2px 6px rgba(10, 31, 60, 0.06), 0 26px 60px -28px rgba(10, 31, 60, 0.4);
  --shadow-cta: 0 10px 30px -12px rgba(10, 31, 60, 0.5);
  --header-h: 4.25rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  /* Signature dotted-grid backdrop */
  --grid-dot: rgba(10, 31, 60, 0.05);
  --bit-color: rgba(61, 90, 76, 0.14);
  --bit-color-strong: rgba(61, 90, 76, 0.22);

  /* Spacing scale */
  --space-section: clamp(3.25rem, 6.5vw, 5.5rem);
  --space-section-sm: clamp(2.25rem, 4.5vw, 3.5rem);
  --space-block: clamp(1.5rem, 3vw, 2.25rem);
  --space-stack: clamp(0.85rem, 2vw, 1.25rem);
  --space-split: clamp(2rem, 4vw, 3rem);
  --aspect-media: 16 / 10;
  --media-bg: #eef1f5;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

figure { margin: 0; }

.section-actions { margin: var(--space-stack) 0 0; }
.section-actions:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
ul { padding-left: 1.25rem; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.shell {
  max-width: 72rem;
  margin-inline: auto;
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) {
  .shell {
    padding-left: max(2rem, env(safe-area-inset-left, 0px));
    padding-right: max(2rem, env(safe-area-inset-right, 0px));
  }
}
@media (min-width: 1024px) {
  .shell {
    padding-left: max(2.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(2.5rem, env(safe-area-inset-right, 0px));
  }
}

.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-section-sm); }

.section > .shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-block);
}

.section > .shell > * {
  min-width: 0;
}

.section--stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-block);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--accent-line);
}
.section-head--center .eyebrow::before { display: none; }

.section-head { max-width: 46rem; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { text-align: center; }
.section-head:not(.section-head--center) { max-width: 40rem; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; line-height: 1.65; }
.section-head h2 { margin-bottom: 0.45em; }
.section-head p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn svg { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn:active { transform: translateY(1px); }
/* arrow-forward buttons: nudge the arrow on hover */
.btn:hover svg:last-child { transform: translateX(3px); }

.btn--cta {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-cta);
}
.btn--cta:hover {
  background: var(--ink-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(10, 31, 60, 0.6);
}

.btn--ghost { border: 1px solid var(--hairline); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn--outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--hairline);
  box-shadow: 0 10px 34px -22px rgba(10, 31, 60, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink-deep);
  white-space: nowrap;
}
.brand__mark {
  flex-shrink: 0;
  line-height: 0;
}
.brand__logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand__name em { font-style: italic; color: inherit; opacity: 0.72; }
.site-footer .brand__mark {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.2rem;
}
.site-footer .brand__logo { width: 2rem; height: 2rem; }

.main-nav { display: none; }
@media (min-width: 960px) {
  .main-nav { display: flex; align-items: center; gap: 0.25rem; }
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a, .main-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav button:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-item--dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 21rem;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.25);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-item--dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
}
.nav-dropdown a:hover { background: var(--orange-soft); color: var(--ink); }
.nav-dropdown a span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.nav-dropdown__all { border-top: 1px solid var(--card-border); margin-top: 0.35rem; padding-top: 0.35rem; }
.nav-dropdown__all a { color: var(--ink); font-weight: 600; }
.nav-caret { transition: transform 0.15s ease; }
.nav-item--dropdown:hover .nav-caret, .nav-item--dropdown.is-open .nav-caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
.header-phone svg { color: var(--muted); }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }

.header-cta { display: none; padding: 0.65rem 1.35rem; min-height: 44px; font-size: 0.95rem; }
@media (min-width: 960px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--ink-deep);
  cursor: pointer;
}
@media (min-width: 960px) { .menu-toggle { display: none; } }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(100dvh - var(--header-h));
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.98);
  max-height: none;
  overflow: hidden;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { display: block; }
.mobile-menu > .shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.mobile-menu ul {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 1rem;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}
.mobile-menu .mobile-menu__sub a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.6rem 0 0.6rem 1rem;
  border-bottom: 0;
}
.mobile-menu .mobile-menu__sub a:hover { color: var(--ink); }
.mobile-menu__cta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.9rem 0 calc(1rem + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 18%),
    rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}
.mobile-menu__cta .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-bottom: 0;
}
.mobile-menu__cta .btn--cta {
  color: var(--paper);
  background: var(--ink);
}
.mobile-menu__cta .btn--outline {
  color: var(--ink);
  background: var(--white);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--card-border);
  padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3rem));
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

/* Homepage hero */
.hero--home {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 90% at 100% -10%, rgba(10, 31, 60, 0.07), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(61, 90, 76, 0.06), transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 38%, #ffffff 100%);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
/* Signature dotted grid backdrop */
.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

/* Faint circuit lines */
.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(61, 90, 76, 0.06) calc(100% - 1px)) 0 0 / 33% 100% no-repeat,
    linear-gradient(180deg, transparent calc(100% - 1px), rgba(61, 90, 76, 0.05) calc(100% - 1px)) 0 0 / 100% 40% no-repeat;
  pointer-events: none;
  opacity: 0.7;
}

.hero--home > .shell { position: relative; z-index: 2; }

.hero--home > .shell.hero__grid {
  width: 100%;
  flex: 1;
  display: grid;
  align-content: center;
  min-height: 0;
  padding-top: clamp(1.25rem, 3.5vw, 1.75rem);
  padding-bottom: clamp(1.25rem, 3.5vw, 1.75rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.35rem, 4.5vw, 2rem);
  align-items: center;
  flex: 1;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2.5vw, 1.1rem);
  padding: 0;
  min-width: 0;
  min-height: 0;
}

.hero--home .hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem 0.4rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-90);
}
.hero--home .hero__pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(61, 90, 76, 0.5);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61, 90, 76, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(61, 90, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 90, 76, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--home .hero__pill::before { animation: none; }
}

.hero__banner {
  margin: 0 0 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.hero__banner img {
  display: block;
  width: 100%;
  height: clamp(11rem, 32vw, 14rem);
  object-fit: cover;
  object-position: center 18%;
}

.hero--home h1 {
  font-size: clamp(1.85rem, 7vw, 2.45rem);
  margin-bottom: 0;
  max-width: 22ch;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero--home h1 em { font-style: italic; }

.hero__digital {
  display: inline-block;
  font-family: 'IBM Plex Mono', var(--font-mono);
  font-style: italic;
  font-weight: 500;
  font-size: 0.94em;
  letter-spacing: 0.06em;
  color: inherit;
  transform: skewX(-10deg);
  text-transform: lowercase;
  font-variant-numeric: tabular-nums;
}

.hero--home .hero__sub {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  margin-bottom: 0;
  line-height: 1.62;
  color: var(--muted);
  max-width: 34rem;
}

.hero__media {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  height: 100%;
}

.hero--home .hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(0.35rem, 1.5vw, 0.65rem);
  margin-bottom: 0;
}

.hero--home .hero__ctas .btn {
  width: auto;
  flex: 1 1 auto;
  font-size: 0.92rem;
  min-height: 46px;
  padding-inline: 1.15rem;
}

.hero--home .hero__ctas .btn--ghost {
  flex: 0 1 auto;
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: clamp(0.35rem, 1.5vw, 0.65rem);
  padding-top: clamp(1rem, 3vw, 1.25rem);
  border-top: 1px solid rgba(10, 31, 60, 0.08);
}

.hero__trust-google {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.hero__google-stars {
  color: var(--star-gold);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.hero__google-on {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}

.hero__google-wordmark {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__trust-local {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.hero__trust-avatars {
  display: flex;
  align-items: center;
  padding-left: 0.15rem;
}

.hero__trust-avatar {
  width: 2.35rem;
  height: 2.35rem;
  margin-left: -0.5rem;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(10, 31, 60, 0.12);
}

.hero__trust-avatar:first-child { margin-left: 0; }

.hero__trust-avatar--wide {
  object-fit: contain;
  padding: 0.15rem;
  background: #1a2744;
}

.hero__trust-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.hero__photo--hero {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 18rem;
  margin-inline: auto;
  aspect-ratio: 5 / 4;
  max-height: min(30svh, 14.5rem);
  max-height: min(30dvh, 14.5rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--white);
  box-shadow: 0 20px 50px -24px rgba(10, 31, 60, 0.35);
}

.hero__photo--hero::before,
.hero__photo--hero::after {
  content: "";
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(61, 90, 76, 0.42);
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.hero__photo--hero::before {
  top: 0.65rem;
  left: 0.65rem;
  border-right: 0;
  border-bottom: 0;
}

.hero__photo--hero::after {
  bottom: 0.65rem;
  right: 0.65rem;
  border-left: 0;
  border-top: 0;
}

.hero__photo--hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 42%;
}

.hero__photo--render {
  aspect-ratio: 16 / 10;
  background: var(--media-bg);
  margin-inline: 0 auto;
}

.hero__photo--render img {
  object-fit: contain;
  object-position: left center;
}

.hero__banner { display: none; }
.hero__meta { display: none; }
.hero--home .hero__pill { display: none; }

.hero__google-wordmark .g-blue { color: #4285f4; }
.hero__google-wordmark .g-red { color: #ea4335; }
.hero__google-wordmark .g-yellow { color: #fbbc04; }
.hero__google-wordmark .g-green { color: #34a853; }

@media (max-width: 767px) {
  .hero__media { order: -1; }

  .hero__grid {
    gap: clamp(1.5rem, 4vw, 2rem);
  }

  .hero__content {
    gap: clamp(1rem, 3vw, 1.25rem);
  }
}

@media (max-height: 740px) and (max-width: 767px) {
  .hero__photo--hero {
    max-height: min(26svh, 12.5rem);
    max-height: min(26dvh, 12.5rem);
    max-width: 16rem;
  }

  .hero--home h1 {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
  }

  .hero--home .hero__sub {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 0.92fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }

  .hero__media {
    order: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .hero--home h1 {
    max-width: 20ch;
  }

  .hero--home .hero__ctas .btn {
    flex: 0 1 auto;
  }

  .hero__photo--hero {
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
    aspect-ratio: 5 / 4;
    max-height: min(62vh, 28rem);
    height: auto;
  }

  .hero__photo--render {
    margin-inline: 0;
  }

  .hero__photo--hero img {
    height: 100%;
    object-position: center 40%;
  }
}

@media (min-width: 1024px) {
  .hero--home {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: var(--header-h);
    padding-bottom: 0;
    display: flex;
    align-items: stretch;
  }

  .hero--home > .shell.hero__grid {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .hero--home h1 {
    font-size: clamp(2.5rem, 4.2vw, 3.65rem);
    margin-bottom: 0;
    max-width: 18ch;
  }

  .hero--home .hero__sub {
    font-size: clamp(1.02rem, 1.35vw, 1.15rem);
    max-width: 34rem;
  }

  .hero--home .hero__ctas {
    gap: 0.85rem;
    margin-top: clamp(0.75rem, 2vw, 1.25rem);
  }

  .hero--home .hero__ctas .btn {
    font-size: 0.95rem;
    min-height: 48px;
    padding-inline: 1.45rem;
  }

  .hero__trust {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    padding-top: 1.75rem;
    gap: 1rem;
  }

  .hero__google-stars { font-size: 0.95rem; }
  .hero__google-on { font-size: 0.88rem; }
  .hero__google-wordmark { font-size: 1.15rem; }

  .hero__trust-avatar {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: -0.55rem;
  }

  .hero__trust-label { font-size: 0.88rem; }

  .hero__trust-local { flex-wrap: nowrap; }

  .hero__photo--hero {
    aspect-ratio: 5 / 4;
    max-height: min(68vh, 34rem);
    height: auto;
  }

  .hero__photo--hero img {
    max-height: none;
    object-position: center 38%;
    transition: transform 0.9s var(--ease);
  }

  .hero__photo--hero:hover img { transform: scale(1.03); }
}

.service-hero-media {
  margin-top: calc(var(--space-section-sm) * -0.35);
  margin-bottom: calc(var(--space-section-sm) * -0.15);
}

.service-hero-media .section-visual {
  width: min(100%, 44rem);
}

@media (min-width: 900px) {
  .service-hero-media .section-visual {
    width: min(58%, 46rem);
  }
}

/* ---- Floating digital bits ---- */
.digital-bits {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.digital-bit {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.1vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--bit-color);
  opacity: 0.55;
  user-select: none;
  white-space: nowrap;
  animation: bit-drift 7s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}

.digital-bit--hex {
  letter-spacing: 0.08em;
  color: var(--bit-color-strong);
}

.digital-bit--tag {
  font-size: clamp(0.58rem, 1vw, 0.7rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.digital-bit--bracket {
  letter-spacing: 0.22em;
}

@keyframes bit-drift {
  0%, 100% {
    opacity: 0.35;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.72;
    transform: translate3d(0, -5px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .digital-bit { animation: none; opacity: 0.4; }
}

@media (max-width: 767px) {
  .digital-bit:nth-child(n+9) { display: none; }
}

/* ---- Digital scope band ---- */
.digital-scope {
  position: relative;
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
  background:
    linear-gradient(180deg, rgba(61, 90, 76, 0.03) 0%, transparent 100%),
    var(--white);
  border-block: 1px solid var(--hairline);
  overflow: hidden;
}

.digital-bits--band .digital-bit {
  font-size: 0.68rem;
  opacity: 0.45;
}

.digital-scope > .shell {
  position: relative;
  z-index: 1;
}

.digital-scope__lead {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.digital-scope__lead::before {
  content: "// ";
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.digital-scope__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.digital-scope__grid li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
}

.digital-scope__grid li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.digital-scope__grid li a:hover {
  color: var(--ink);
  background: var(--white);
}

.digital-scope__grid li::before {
  content: "01";
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.85;
  flex-shrink: 0;
}

.digital-scope__grid li:nth-child(2)::before { content: "10"; }
.digital-scope__grid li:nth-child(3)::before { content: "11"; }
.digital-scope__grid li:nth-child(4)::before { content: "00"; }
.digital-scope__grid li:nth-child(5)::before { content: "01"; }

@media (min-width: 768px) {
  .digital-scope {
    padding: 1.5rem 0 1.65rem;
  }

  .digital-scope .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .digital-scope__lead {
    margin: 0;
    flex: 0 0 auto;
    max-width: 22ch;
  }

  .digital-scope__grid {
    justify-content: flex-end;
    flex: 1 1 auto;
  }
}

/* SEO internal link lists */
.internal-links {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .internal-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
  }
}

.internal-links a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.internal-links a:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-card);
}

.section-foot a {
  font-weight: 500;
  color: var(--ink-90);
}

.section-foot a:hover {
  color: var(--accent);
}

/* Pain points grid */
.pain-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 1.5rem);
    align-items: stretch;
  }
}

.pain-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.pain-card__media {
  margin: 0;
  aspect-ratio: var(--aspect-media);
  background: var(--media-bg);
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.pain-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pain-card:hover .pain-card__media img {
  transform: none;
}

.pain-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.65rem;
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
}

.pain-card__body h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.2rem);
  line-height: 1.2;
}

.pain-card__body p {
  margin: 0;
  flex: 1 1 auto;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.pain-card__link {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--accent-line);
}

.pain-card__link:hover {
  color: var(--accent);
}

.hero__layout { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero__layout { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

.hero__pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.hero__pill-dot { display: none; }

.hero h1 { color: var(--ink); margin-bottom: 1rem; max-width: 18ch; }
.hero h1 em { font-style: italic; color: inherit; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 36rem; margin-bottom: 1.75rem; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.88rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { color: var(--muted); flex-shrink: 0; }
.hero__meta a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero__meta a:hover { text-decoration: underline; }

.hero--page {
  padding-top: calc(var(--header-h) + clamp(1.75rem, 4vw, 2.75rem));
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
}
.hero--page .hero__sub { margin-bottom: 1.5rem; }
.hero--page h1 { max-width: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.82rem; color: var(--muted); }
.breadcrumbs a { color: var(--ink); text-decoration: none; opacity: 0.7; }
.breadcrumbs a:hover { opacity: 1; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--card-border); }

.hero__visual { position: relative; }
.hero__photo:not(.hero__photo--hero) { margin: 0; max-width: 22rem; margin-inline: auto; }
.hero__photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}
.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.hero__image img { width: 100%; display: block; aspect-ratio: var(--aspect-media); object-fit: cover; }

.section-split {
  display: grid;
  gap: var(--space-split);
  align-items: center;
  margin: 0;
}
@media (min-width: 900px) {
  .section-split { grid-template-columns: 1.05fr 0.95fr; }
  .section-split--reverse { direction: rtl; }
  .section-split--reverse > * { direction: ltr; }
}

.section-visual,
figure.section-visual {
  position: relative;
  margin: 0;
  aspect-ratio: var(--aspect-media);
  background: var(--media-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  line-height: 0;
}

.section-visual:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.section-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.section-visual:hover img { transform: none; }

.section-visual--wide { margin: 0; }

.section-split .section-visual { margin: 0; }

@media (max-width: 899px) {
  .section-split {
    gap: var(--space-block);
  }

  .section-split .section-visual {
    max-width: 36rem;
    margin-inline: auto;
    width: 100%;
  }
}

.card--cartoon {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
  overflow: hidden;
}

.card__illustration {
  margin: 0;
  aspect-ratio: var(--aspect-media);
  overflow: hidden;
  background: var(--media-bg);
  border-bottom: 1px solid var(--hairline);
  line-height: 0;
}

.card__illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card--cartoon h3,
.card--cartoon p {
  padding-inline: clamp(1.5rem, 3vw, 2rem);
}

.card--cartoon h3 {
  margin-top: clamp(1.15rem, 2.5vw, 1.35rem);
}

.card--cartoon p {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0;
}

.section-split .faq-list {
  margin: 0;
  max-width: none;
  width: 100%;
}

.section-split .section-head {
  max-width: none;
}


.card__media { display: none; }

/* Hero visual card (legacy tile grid fallback) */
.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-card__title { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.hero-card__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.hero-card__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: var(--orange-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.hero-card__tile svg { color: var(--orange); }
.hero-card__note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border: 1.5px dashed rgba(17, 17, 17, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Placeholder blocks (unfabricated content slots)
   -------------------------------------------------------------------------- */
.placeholder-slot {
  border: 2px dashed rgba(17, 17, 17, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--card-border); }
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
  padding-block: 1.5rem;
}
.trust-bar .placeholder-slot { padding: 0.85rem 1.5rem; font-size: 0.85rem; background: transparent; flex: 1 1 16rem; max-width: 24rem; }

/* --------------------------------------------------------------------------
   Sector & point lists (replacing pill/card grids on homepage)
   -------------------------------------------------------------------------- */
.sector-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
}
.sector-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.15rem;
}
.sector-list a:hover { border-color: var(--ink); }
.sector-list .is-muted { color: var(--muted); border: 0; }

.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  max-width: 42rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .point-list { grid-template-columns: 1fr 1fr; max-width: none; gap: 2rem 3rem; } }
.point-list li { position: relative; padding-top: 0.85rem; border-top: 1px solid var(--hairline); transition: border-color 0.3s var(--ease); }
.point-list li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.point-list li:hover::before { transform: scaleX(1); }
.point-list strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.point-list span { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.service-list { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); margin: 0; }
.service-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.65rem 1.25rem 1.65rem 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
}
/* accent edge indicator that grows on hover */
.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.service-row:hover {
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  padding-left: 1.15rem;
}
.service-row:hover::before { transform: scaleY(1); }
.service-row__body { flex: 1; min-width: 0; }
.service-row h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.service-row p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 38rem; line-height: 1.6; }
.service-row__arrow { flex-shrink: 0; color: var(--muted-2); font-size: 1.2rem; transition: transform 0.35s var(--ease), color 0.35s var(--ease); }
.service-row:hover .service-row__arrow { color: var(--accent); transform: translateX(5px); }

.section-icon,
.page-icon,
.card__icon,
.service-row__icon { display: none !important; }

.section--alt {
  position: relative;
  background: var(--surface-2);
  border-block: 1px solid var(--hairline);
}
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}
.section--alt > .shell { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  a.card:hover, .card--hover:hover {
    border-color: var(--card-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card .card__link svg { transition: transform var(--dur) var(--ease); }
a.card:hover .card__link svg { transform: translateX(3px); }

.card h3 { margin-bottom: 0.55rem; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; line-height: 1.6; }
.card__link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; font-weight: 600; font-size: 0.9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); margin: 0; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.section-foot { margin: 0; text-align: center; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials-marquee {
  overflow: hidden;
  width: 100%;
  margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonials-marquee__track {
  display: flex;
  width: max-content;
  animation: testimonials-marquee 50s linear infinite;
  will-change: transform;
}

.testimonials-marquee:hover .testimonials-marquee__track,
.testimonials-marquee:focus-within .testimonials-marquee__track {
  animation-play-state: paused;
}

.testimonials-marquee__group {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  padding-right: 0.85rem;
  flex-shrink: 0;
}

@keyframes testimonials-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonials-marquee__track {
    animation: none;
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: max(1.5rem, env(safe-area-inset-left, 0px)) max(1.5rem, env(safe-area-inset-right, 0px));
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.25rem);
  }

  .testimonials-marquee__group[aria-hidden="true"] { display: none; }

  .testimonials-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .testimonial__quote p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
}

.testimonial {
  display: flex;
  flex-direction: column;
  flex: 0 0 15rem;
  width: 15rem;
  height: 15.5rem;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .testimonial {
    flex-basis: 16.5rem;
    width: 16.5rem;
    height: 16.5rem;
    padding: 1.1rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial {
    flex: 1 1 15rem;
    width: auto;
    max-width: 16.5rem;
    height: auto;
    min-height: 15.5rem;
  }
}

.section--alt .testimonial { background: var(--white); }

.testimonial__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 2.25rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.testimonial__logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 6.5rem;
  height: 2.25rem;
  flex: 0 0 6.5rem;
  min-width: 0;
  text-decoration: none;
}

.testimonial__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}

.testimonial__logo--wide {
  max-width: 100%;
  max-height: 100%;
}

.testimonial__stars {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--star-gold);
}

.testimonial__quote {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.testimonial__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-90);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial__quote p::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.testimonial__author strong {
  font-weight: 600;
  color: var(--ink);
}

.testimonial__author span {
  color: var(--muted);
}

.testimonial__author a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--accent-line);
}

.testimonial__author a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Stat / proof banner
   -------------------------------------------------------------------------- */
.proof-banner {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(61, 90, 76, 0.22), transparent 60%),
    linear-gradient(140deg, var(--ink-90) 0%, var(--ink-deep) 100%);
  color: var(--white);
  border-radius: 1.5rem;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.proof-banner h2 { color: var(--white); }
.proof-banner p { color: rgba(255, 255, 255, 0.7); max-width: 38rem; margin-inline: auto; }
.proof-banner .placeholder-slot { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.65); max-width: 34rem; margin: 1.5rem auto 0; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; margin: 0 auto; width: 100%; }
details.faq-item {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
details.faq-item:hover { border-color: var(--card-border); }
details.faq-item[open] { border-color: var(--accent-line); box-shadow: var(--shadow-lift); }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .faq-q { flex: 1 1 auto; min-width: 0; }
.faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}
details.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { padding: 0 1.65rem 1.5rem; color: var(--muted); font-size: 0.97rem; line-height: 1.65; }
.faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  background: linear-gradient(160deg, var(--ink-90), var(--ink-deep));
  color: var(--paper);
  text-align: left;
  border-top: 0;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000, transparent 70%);
  mask-image: radial-gradient(120% 100% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.final-cta > .shell { position: relative; z-index: 1; }
.final-cta h2 { color: var(--paper); font-size: clamp(2rem, 4.5vw, 3rem); max-width: 18ch; }
.final-cta p { color: rgba(255, 255, 255, 0.72); max-width: 38rem; margin-inline: 0; font-size: 1.075rem; }
.final-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.25rem; }
.final-cta .btn--cta { background: var(--paper); color: var(--ink-deep); box-shadow: none; }
.final-cta .btn--cta:hover { background: var(--white); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6); }
.final-cta__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--paper); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--accent-line); }
.final-cta__phone:hover { color: #b8cfc0; }
.final-cta__phone svg { display: none; }

/* --------------------------------------------------------------------------
   Content / prose sections (service pages)
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 4.5rem); } }

.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist li svg { flex-shrink: 0; color: var(--accent); margin-top: 0.2rem; }
.checklist li strong { display: block; }
.checklist li span { color: var(--muted); font-size: 0.95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* --------------------------------------------------------------------------
   About / headshot
   -------------------------------------------------------------------------- */
.headshot {
  display: block;
  width: min(100%, 32rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: none;
}
.headshot--sm { width: 64px; height: 64px; border-radius: 50%; box-shadow: none; border: 1px solid var(--card-border); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--card-border); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-grid { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label:not(.wizard-option) { font-weight: 700; font-size: 0.9rem; }
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--card-border);
  background: var(--bone);
  color: var(--ink);
  width: 100%;
}
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field--full { grid-column: 1 / -1; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; }
.form-status.is-ok { display: block; background: rgba(34, 160, 84, 0.1); color: #1c7a43; }
.form-status.is-err { display: block; background: rgba(214, 64, 25, 0.1); color: #b23a12; }

/* --------------------------------------------------------------------------
   Contact wizard
   -------------------------------------------------------------------------- */
.wizard {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 251, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(1.1rem, 3vw, 1.5rem);
  padding: clamp(1.35rem, 4vw, 2.35rem);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 30px 80px -36px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.wizard::before {
  content: "Quick fit check";
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 31, 60, 0.08);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 30%;
  height: 12rem;
  background: radial-gradient(circle, rgba(61, 90, 76, 0.14), transparent 65%);
  pointer-events: none;
}
.wizard__head { margin-bottom: 1.5rem; }
.wizard__head h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.wizard__head p { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.6; }

.wizard__progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}
.wizard__progress-bar {
  flex: 1;
  height: 0.55rem;
  background: rgba(10, 31, 60, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.wizard__progress-bar span {
  display: block;
  height: 100%;
  width: var(--wizard-progress, 0%);
  background: linear-gradient(90deg, var(--accent), #25d366);
  transition: width 0.25s ease;
}
.wizard__progress-label {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.wizard .field,
.wizard .form-note,
.wizard legend {
  color: var(--ink);
}

.wizard .form-note {
  color: var(--muted);
}

.wizard__step { display: none; }
.wizard__step.is-active {
  display: block;
  position: relative;
  z-index: 1;
}
.wizard__step > .field:first-child { margin-top: 0; }

.wizard__question {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 3.5vw, 1.7rem);
  font-weight: 500;
  margin: 0 0 1.2rem;
  line-height: 1.15;
  color: var(--ink);
  max-width: 18ch;
}

.wizard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.wizard-chip {
  cursor: pointer;
  margin: 0;
}
.wizard-chip input[type="checkbox"],
.wizard-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: auto;
  padding: 0;
  border: 0;
}
.wizard-chip span {
  display: inline-block;
  padding: 0.68rem 0.9rem;
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px -18px rgba(10, 31, 60, 0.3);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.wizard-chip input:checked + span,
.wizard-chip input:focus-visible + span {
  border-color: rgba(10, 31, 60, 0.7);
  background: var(--ink);
  color: var(--white);
  outline: 2px solid rgba(37, 211, 102, 0.35);
  outline-offset: 2px;
  box-shadow: 0 14px 28px -18px rgba(10, 31, 60, 0.65);
}
.wizard-chip:hover span { border-color: var(--ink); transform: translateY(-1px); }

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.wizard-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid rgba(10, 31, 60, 0.1);
  border-radius: 0.85rem;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 8px 22px -20px rgba(10, 31, 60, 0.35);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.wizard-option input[type="radio"],
.wizard-option input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--accent);
}
.wizard-option:has(input:checked) {
  border-color: rgba(37, 211, 102, 0.6);
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 16px 30px -24px rgba(10, 31, 60, 0.55);
}

.wizard-option:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 31, 60, 0.34);
}

.wizard__preview {
  padding: 1rem;
  background: #eef1f5;
  border: 1px solid rgba(10, 31, 60, 0.12);
  border-radius: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--ink);
  max-height: 14rem;
  overflow-y: auto;
}

.wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 31, 60, 0.1);
  position: relative;
  z-index: 1;
}
.wizard__nav .btn { flex: 1 1 auto; min-width: 7rem; }
.wizard__nav .btn--ghost { flex: 0 1 auto; }

@media (max-width: 767px) {
  #qualify .section-head {
    margin-bottom: 1rem;
  }

  #qualify .section-head h2 {
    font-size: clamp(1.65rem, 9vw, 2.25rem);
  }

  #qualify .section-head p {
    font-size: 0.9rem;
  }

  .qualify-panel__form {
    padding: 0.45rem;
  }

  #qualify .wizard {
    min-height: min(34rem, calc(100svh - var(--header-h) - 1.5rem));
    max-height: calc(100svh - var(--header-h) - 1.5rem);
    padding: 1rem;
  }

  .wizard::before {
    margin-bottom: 0.7rem;
    padding: 0.38rem 0.58rem;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .wizard__progress {
    flex: 0 0 auto;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .wizard__progress-bar {
    height: 0.35rem;
  }

  .wizard__progress-label {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  .wizard__step.is-active {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.2rem;
  }

  .wizard__question {
    max-width: none;
    margin-bottom: 0.8rem;
    font-size: clamp(1.05rem, 5vw, 1.25rem);
    line-height: 1.18;
  }

  .wizard .field {
    gap: 0.4rem;
  }

  .wizard .field + .field,
  .wizard fieldset + fieldset {
    margin-top: 0.75rem !important;
  }

  .wizard .form-note {
    margin-top: 0.45rem;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .wizard .field input:not([type="radio"]):not([type="checkbox"]),
  .wizard .field select,
  .wizard .field textarea {
    padding: 0.72rem 0.85rem;
    font-size: 0.92rem;
  }

  .wizard-chips {
    gap: 0.45rem;
  }

  .wizard-chip span {
    padding: 0.52rem 0.68rem;
    font-size: 0.8rem;
  }

  .wizard-options {
    gap: 0.48rem;
  }

  .wizard-option {
    gap: 0.55rem;
    padding: 0.68rem 0.75rem;
    border-radius: 0.72rem;
    font-size: 0.82rem;
  }

  .wizard-option input[type="radio"],
  .wizard-option input[type="checkbox"] {
    width: 0.95rem;
    height: 0.95rem;
  }

  .wizard__preview {
    max-height: 16rem;
    padding: 0.75rem;
    font-size: 0.78rem;
  }

  .wizard__error {
    flex: 0 0 auto;
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
  }

  .wizard__nav {
    flex: 0 0 auto;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    background: linear-gradient(180deg, rgba(248, 249, 251, 0), rgba(248, 249, 251, 0.98) 32%);
  }

  .wizard__nav .btn {
    min-width: 0;
    min-height: 42px;
    padding: 0.68rem 0.9rem;
    font-size: 0.82rem;
  }

  .wizard__nav .btn--ghost {
    flex: 0 1 5.25rem;
  }

  .wizard__back[hidden] {
    display: inline-flex !important;
    visibility: hidden;
    pointer-events: none;
  }

  .wizard > .form-note {
    flex: 0 0 auto;
    margin-top: 0.55rem;
    font-size: 0.7rem;
    line-height: 1.35;
  }
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn--whatsapp:hover { background: #1fb855; }

.wizard__error {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #b23a12;
}
.wizard__error.is-visible { display: block; }

.contact-aside { position: sticky; top: calc(var(--header-h) + 1rem); }

.contact-address {
  margin-top: 0;
  font-style: normal;
  line-height: 1.6;
}
.contact-address p { margin-bottom: 0.75rem; }
.contact-address a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.map-embed {
  margin-top: 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(14rem, 42vw, 18rem);
  border: 0;
}
.map-embed--footer iframe {
  height: clamp(12rem, 36vw, 16rem);
}

#qualify {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(255, 255, 255, 0.12), transparent 62%),
    radial-gradient(700px 420px at 100% 38%, rgba(37, 211, 102, 0.12), transparent 58%),
    linear-gradient(145deg, var(--ink-90), var(--ink-deep));
  color: var(--white);
  border-block: 0;
  overflow: hidden;
}

#qualify::before {
  opacity: 0.2;
  -webkit-mask-image: none;
  mask-image: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
}

#qualify .section-head h2 {
  color: var(--white);
}

#qualify .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

#qualify .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.qualify-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(1.25rem, 3vw, 1.85rem);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 36px 100px -55px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.qualify-panel__media {
  display: none;
  min-width: 0;
  background:
    radial-gradient(420px 260px at 50% 24%, rgba(255, 255, 255, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.04);
}

.qualify-panel__media .section-visual {
  display: block;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.qualify-panel__media .section-visual img {
  padding: clamp(1rem, 4vw, 2rem);
}

.qualify-panel__form {
  min-width: 0;
  padding: clamp(0.75rem, 2vw, 1rem);
}

@media (min-width: 900px) {
  .qualify-panel {
    grid-template-columns: minmax(0, 0.88fr) minmax(24rem, 1fr);
    align-items: stretch;
  }

  .qualify-panel__media {
    display: block;
  }
}

#qualify .wizard {
  max-width: none;
  min-height: 100%;
  margin: 0;
}

#qualify .wizard__preview { max-height: 16rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.68);
  padding-block: clamp(3.25rem, 6vw, 5rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
.site-footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; transition: color 0.25s var(--ease); }
.site-footer a:hover { color: var(--white); }
.footer-col ul a { position: relative; }
.footer-col ul a:hover { color: #b8cfc0; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-map {
  margin-bottom: 2.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-map .map-embed {
  margin-top: 1.5rem;
  border-color: rgba(255, 255, 255, 0.12);
}
.footer-map__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}
.footer-map__links a { text-decoration: underline; text-underline-offset: 0.15em; }
.footer-brand .brand { color: var(--white); display: inline-flex; margin-bottom: 0.75rem; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-brand .footer-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--white); margin-top: 0.75rem; }
.footer-brand .footer-phone svg { color: var(--muted); }
.footer-col h4 { color: rgba(255,255,255,0.55); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.92rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: max(1.15rem, env(safe-area-inset-right, 0px));
  bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  text-decoration: none;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, 0.35),
    0 8px 28px -6px rgba(10, 31, 60, 0.25);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-fab:hover {
  background: #1fb855;
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 6px 18px rgba(37, 211, 102, 0.42),
    0 12px 32px -8px rgba(10, 31, 60, 0.3);
}

.whatsapp-fab:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { transition: background 0.25s var(--ease); }
  .whatsapp-fab:hover { transform: none; }
}

@media (min-width: 960px) {
  .whatsapp-fab {
    right: max(1.5rem, env(safe-area-inset-right, 0px));
    bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    width: 3.75rem;
    height: 3.75rem;
  }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
/* Reveal only when JS is present (fails open otherwise) */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
/* gentle stagger for grid/list children */
.js .grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 0.5rem; }
