/* Zeal Family Services — premium healthcare-luxury system */
:root {
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;

  --background: #f6f3ee;
  --foreground: #243040;
  --ink: #1a2433;
  --sand: #efe8dc;
  --card: #fffcf8;
  --card-foreground: #243040;

  --primary: oklch(0.55 0.19 254);
  --primary-hover: oklch(0.47 0.185 254);
  --primary-foreground: #ffffff;

  --secondary: #efe8dc;
  --secondary-foreground: #1a2433;

  --muted: #f3ede4;
  --muted-foreground: #5c6570;

  --accent: #9a734c;
  --accent-soft: #c4a574;
  --accent-foreground: #f7f4ef;

  --destructive: #9b3d32;
  --destructive-foreground: #fff8f4;

  --border: #e4dcd0;
  --input: #d9d0c3;
  --ring: oklch(0.55 0.19 254);

  --deep: oklch(0.52 0.185 254);
  --deep-foreground: #ffffff;

  --font-display: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4.5rem;
  --space-12: 6.5rem;
  --section-y: clamp(2.75rem, 5vw, 4.5rem);

  --shadow-soft: 0 1px 2px rgba(26, 36, 51, 0.04), 0 12px 28px -16px rgba(26, 36, 51, 0.12);
  --shadow-lift: 0 2px 6px rgba(26, 36, 51, 0.05), 0 22px 44px -24px rgba(26, 36, 51, 0.22);
  --shadow-glow: 0 10px 24px -14px oklch(0.55 0.19 254 / 0.5);

  --brand-surface: var(--primary);
  --gradient-brand: linear-gradient(140deg, var(--primary), var(--primary));
  --gradient-tile: linear-gradient(140deg, oklch(0.94 0.045 245), oklch(0.97 0.025 230));
  --gradient-hero:
    radial-gradient(56rem 36rem at 88% -8%, oklch(0.58 0.185 254 / 0.14), transparent 58%),
    radial-gradient(42rem 30rem at -8% 18%, oklch(0.64 0.17 246 / 0.12), transparent 60%);
  --gradient-deep: var(--gradient-brand);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.site {
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

img:not(.logo-img):not(.footer-logo):not(.hero-badge) {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p { margin: 0; }

figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-page {
  width: 100%;
  max-width: 86rem;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 2.4vw, 1.75rem);
  min-width: 0;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.surface-mesh { background-image: var(--gradient-hero); }

.surface-deep {
  background-image: var(--gradient-deep);
  color: var(--deep-foreground);
}

.surface-deep h1,
.surface-deep h2,
.surface-deep h3 {
  color: var(--deep-foreground);
}

.section-tint {
  background-color: color-mix(in oklab, var(--primary) 7%, var(--background));
}

.section-dots,
.section-fade {
  background-color: var(--background);
}

.card-elevated {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.card-elevated:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  box-shadow: var(--shadow-lift);
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: var(--gradient-tile);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, var(--border));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.card-elevated:hover .icon-tile,
.trust-point:hover .icon-tile {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
}

.icon-tile.square {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
  object-fit: contain;
}

.icon-tile .brand-icon {
  color: var(--primary);
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.92) contrast(1.02);
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  box-shadow: var(--shadow-lift);
}

.photo-card:hover img { transform: scale(1.04); }

.photo-caption {
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(12px) saturate(120%);
  color: #f7f4ef;
  padding: 0.85rem 1rem;
}

.photo-caption .note {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  opacity: 0.84;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active { transform: none; }

.btn-secondary,
.btn-ghost {
  border: 1px solid color-mix(in srgb, var(--ink) 18%, var(--border));
  background: var(--card);
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  background: color-mix(in srgb, var(--primary) 5%, var(--card));
  box-shadow: var(--shadow-soft);
}

.surface-deep .btn-primary,
.cta-band .btn-primary {
  background: #f4efe6;
  color: var(--ink);
  border-color: #f4efe6;
}

.surface-deep .btn-primary:hover,
.cta-band .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.4);
}

.surface-deep .btn-secondary,
.surface-deep .btn-ghost,
.cta-band .btn-secondary,
.cta-band .btn-ghost {
  background: transparent;
  color: var(--deep-foreground);
  border-color: color-mix(in srgb, var(--deep-foreground) 32%, transparent);
}

.surface-deep .btn-secondary:hover,
.surface-deep .btn-ghost:hover,
.cta-band .btn-secondary:hover,
.cta-band .btn-ghost:hover {
  background: color-mix(in srgb, var(--deep-foreground) 8%, transparent);
  border-color: color-mix(in srgb, var(--deep-foreground) 55%, transparent);
}

.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.95rem; }
.btn-md { padding: 0.8rem 1.35rem; font-size: 1rem; }
.btn-lg { padding: 0.95rem 1.55rem; font-size: 1.0625rem; }
.btn-xl { padding: 1.05rem 1.75rem; font-size: 1.0625rem; }

.icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  stroke-width: 1.75;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2.75rem; height: 2.75rem; }
.icon-tile .icon { width: 1.35rem; height: 1.35rem; }

.muted { color: var(--muted-foreground); }
.font-display { font-family: var(--font-display); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 60;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
}

.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 94%, transparent);
  box-shadow: 0 8px 24px -20px rgba(26, 36, 51, 0.35);
}

.header-inner {
  display: flex;
  height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 2.15rem; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.logo-text-light { color: #fff; margin-top: 0; }
@media (min-width: 768px) { .logo-img { height: 2.4rem; } }

.hero-photo,
.photo-card { background-image: var(--gradient-tile); }

.grid-3 > .reveal,
.grid-4 > .reveal,
.service-grid > .reveal,
.trust-points > .reveal,
.quotes > .reveal,
.steps > .reveal,
.people > .reveal,
.why-split > .reveal,
.why-split > .diag,
.action-grid > .reveal,
.service-accordions > .reveal {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.grid-3 .card-elevated,
.grid-4 .card-elevated,
.service-grid .service-card,
.trust-points .trust-point,
.quotes .quote-card,
.steps .step,
.people .card-elevated,
.action-grid .photo-card,
.service-accordions .service-acc {
  flex: 1 1 auto;
  width: 100%;
}

.nav-desktop,
.header-actions { display: none; }

.nav-link {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.is-current { color: var(--ink); }

.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
}

.nav-item.has-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-foreground);
  cursor: pointer;
}

.nav-item.has-menu:hover .nav-menu-toggle,
.nav-item.has-menu.is-open .nav-menu-toggle,
.nav-link.is-current + .nav-menu-toggle {
  color: var(--ink);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  z-index: 60;
  min-width: 16.5rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown,
.nav-item.has-menu.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--foreground);
}

.nav-dropdown-link:hover,
.nav-dropdown-link.is-current {
  background: var(--muted);
  color: var(--ink);
}

.mobile-nav-group { border-bottom: 1px solid var(--border); }
.mobile-nav-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-nav-row .mobile-nav-link {
  flex: 1;
  border-bottom: 0;
}
.mobile-submenu-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.mobile-submenu {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.75rem 0.35rem;
}
.mobile-submenu-link {
  padding: 0.8rem 0.25rem;
  font-size: 1.05rem;
  color: var(--muted-foreground);
}
.mobile-submenu-link.is-current { color: var(--ink); font-weight: 600; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink);
}

.header-phone:hover { background: var(--sand); }

.menu-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem 1.5rem 1.75rem;
}

.mobile-nav-links { display: flex; flex-direction: column; }

.mobile-nav-link {
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-nav-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    gap: 2rem;
    height: 5rem;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    justify-self: center;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
  }

  .menu-toggle,
  .mobile-nav { display: none !important; }
}

.section {
  padding-block: var(--section-y);
  overflow: visible;
}

.page-hero {
  padding: 2rem 0 1.75rem;
  text-align: center;
}
@media (min-width: 640px) { .page-hero { padding: 3rem 0 2.25rem; } }

.page-hero h1,
.hero h1 { max-width: 56rem; }

.page-hero h1 {
  margin-top: 0.7rem;
  margin-inline: auto;
  font-size: clamp(2.1rem, 6vw, 3.35rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.page-hero p.body,
.section-head p.body {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 38rem;
}

.page-hero p.body {
  max-width: 40rem;
  margin-inline: auto;
}

.section-head { max-width: 48rem; }
.section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4.4vw, 3.05rem);
}

.hero { position: relative; overflow: hidden; }

.ticker {
  position: relative;
  overflow: hidden;
  padding: 0.85rem 0;
  background: var(--brand-surface);
  border-block: 1px solid color-mix(in srgb, #fff 14%, transparent);
}

.ticker-row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-row + .ticker-row {
  margin-top: 0.55rem;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.85rem;
  will-change: transform;
}

.ticker-row-a .ticker-track {
  animation: ticker-left 38s linear infinite;
}

.ticker-row-b .ticker-track {
  animation: ticker-right 42s linear infinite;
}

.ticker-item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
}

.ticker-dot {
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: color-mix(in srgb, #fff 55%, transparent);
}

@keyframes ticker-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ticker-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.hero-video { min-height: 28rem; }

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a2433;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      color-mix(in srgb, var(--background) 92%, transparent) 0%,
      color-mix(in srgb, var(--background) 78%, transparent) 26%,
      color-mix(in srgb, var(--background) 42%, transparent) 48%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--background) 18%, transparent) 0%,
      transparent 24%,
      transparent 72%,
      color-mix(in srgb, var(--background) 34%, transparent) 100%
    );
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(4.75rem, 8vh, 5.25rem) clamp(2rem, 3vh, 2.75rem);
}

@media (min-width: 1024px) {
  .hero-video {
    height: clamp(42rem, 78vh, 52rem);
    min-height: 42rem;
    max-height: 52rem;
  }

  .hero-shell {
    height: 100%;
    min-height: inherit;
    padding-block: 6.5rem 3.25rem;
  }

  .hero-video-bg video { object-position: 72% center; }
}

@media (min-width: 1280px) {
  .hero-video {
    height: clamp(44rem, 80vh, 54rem);
    min-height: 44rem;
    max-height: 54rem;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-aside { display: none; }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 1.1rem;
  box-shadow: 0 10px 24px -12px oklch(0.55 0.19 254 / 0.85);
}

.hero h1 {
  margin-top: 1.05rem;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  line-height: 1.12;
  max-width: none;
}

.hero-line { display: inline; }

.hero .lead {
  margin-top: 1.1rem;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-actions .btn-xl {
  width: 100%;
  text-align: center;
}

.hero-trust {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-badge {
  height: 3.5rem;
  width: auto;
  max-width: min(13.5rem, 100%);
  flex-shrink: 0;
  border-radius: 0.4rem;
  box-shadow: 0 8px 22px -14px rgba(26, 36, 51, 0.45);
}

.hero-trust p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
}

.hero-trust a {
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-actions .btn-xl { width: auto; }
}

@media (min-width: 640px) {
  .hero-trust {
    flex-direction: row;
    align-items: center;
    gap: 1rem 1.25rem;
  }
  .hero-badge { height: 4.15rem; }
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
  }
  .hero-content { max-width: 46rem; }
  .hero-aside {
    display: block;
    min-height: 1px;
  }
}

@media (min-width: 1024px) {
  .hero-badge { height: 4.5rem; }
  .hero-content { max-width: 56rem; }
  .hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(2.35rem, 2.85vw, 2.85rem);
  }
  .hero-line { white-space: nowrap; }
  .hero h1,
  .hero .lead,
  .hero-trust p {
    text-shadow: 0 1px 14px color-mix(in srgb, var(--background) 80%, transparent);
  }
}

@media (min-width: 1280px) {
  .hero-content { max-width: 58rem; }
}

@media (max-width: 767px) {
  .hero-video-bg video { object-position: center 28%; }
  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--background) 94%, transparent) 0%,
      color-mix(in srgb, var(--background) 88%, transparent) 44%,
      color-mix(in srgb, var(--background) 70%, transparent) 100%
    );
  }
}

.grid-3,
.grid-4 {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.15rem;
}

.card-pad { padding: 1.75rem 1.7rem 1.85rem; }
.card-pad h3 { margin-top: 1.25rem; font-size: 1.45rem; }
.card-pad p { margin-top: 0.6rem; color: var(--muted-foreground); font-size: 1.02rem; }

.why-split {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.why-split .diag {
  max-width: 34rem;
  margin-inline: auto;
}

.why-split .diag::before {
  inset: 1rem -0.7rem -0.7rem 1rem;
  border-radius: 1.75rem 0.85rem 1.75rem 0.85rem;
}

.why-split .diag img {
  aspect-ratio: 5 / 4;
  max-height: 21.5rem;
  border-radius: 1.75rem 0.85rem 1.75rem 0.85rem;
  border-width: 5px;
}
.photo-card.h-md { height: 16rem; }
.diag {
  position: relative;
  display: block;
  isolation: isolate;
}

.diag::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2.25rem -1.5rem -1.75rem 2.5rem;
  background-color: var(--brand-surface);
  background-image: none;
  border-radius: 4rem 1.25rem 4rem 1.25rem;
}

.diag img,
.diag .map-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 4rem 1.25rem 4rem 1.25rem;
  border: 6px solid var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s;
}

.diag:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.diag:hover .map-frame {
  box-shadow: var(--shadow-lift);
}

.diag.flip::before {
  inset: 2.25rem 2.5rem -1.75rem -1.5rem;
  border-radius: 1.25rem 4rem 1.25rem 4rem;
}

.diag.flip img,
.diag.flip .map-frame {
  border-radius: 1.25rem 4rem 1.25rem 4rem;
}

.map-frame {
  overflow: hidden;
  background: var(--card);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  display: block;
  border: 0;
}

.map-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.map-facts {
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.map-facts .card-pad {
  padding: 1.25rem 1.35rem;
}

.map-facts .card-pad h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.map-facts .card-pad p {
  margin-top: 0.4rem;
}

.map-facts a {
  font-weight: 600;
  color: var(--ink);
}

.brand-panel,
.section-brand {
  background-image: none;
  background-color: var(--brand-surface);
  color: #fff;
}

.brand-panel {
  border-radius: 1.75rem;
  border: 0;
}

.halftone {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.halftone::before,
.halftone::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.55) 42%, transparent 45%);
}

.halftone::before {
  top: -6rem;
  right: -6rem;
  width: 32rem;
  height: 32rem;
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(closest-side, #000 5%, rgba(0, 0, 0, 0.35) 55%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 5%, rgba(0, 0, 0, 0.35) 55%, transparent 78%);
  opacity: 0.5;
}

.halftone::after {
  bottom: -8rem;
  left: -7rem;
  width: 26rem;
  height: 26rem;
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.3) 50%, transparent 75%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.3) 50%, transparent 75%);
  opacity: 0.38;
}

.halftone > * {
  position: relative;
  z-index: 1;
}

.section-brand .eyebrow,
.section-brand .section-head h2,
.section-brand .section-head p.body,
.brand-panel h2,
.brand-panel h3 {
  color: #fff;
}

.section-brand .section-head p.body,
.brand-panel .sub,
.brand-panel p {
  color: oklch(0.97 0.02 250 / 0.85);
}

.section-brand .quote-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  color: #fff;
}

.section-brand .quote-card blockquote,
.section-brand .quote-card .who {
  color: #fff;
}

.section-brand .quote-card figcaption,
.section-brand .quote-card .icon {
  color: rgba(255, 255, 255, 0.85);
}

.brand-panel .btn-secondary,
.brand-panel .btn-ghost,
.section-brand .btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.brand-panel .btn-secondary:hover,
.section-brand .btn-secondary:hover {
  background: #f7f4ef;
  border-color: #f7f4ef;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 16rem;
  border-radius: 1.5rem;
  padding: 1.75rem 1.85rem;
}

.why-split .quote-panel p.quote {
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
}
.quote-panel p.quote {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
}
.quote-panel p.sub {
  margin-top: 1.15rem;
  color: color-mix(in srgb, var(--deep-foreground) 72%, transparent);
  font-size: 0.975rem;
}

.service-accordions {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.85rem;
}

.service-acc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-acc.is-open,
.service-acc:hover {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  box-shadow: var(--shadow-lift);
}

.service-acc-heading { margin: 0; }

.service-acc-btn {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.service-acc-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-acc-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.service-acc-preview {
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--muted-foreground);
  max-width: 40rem;
}

.service-acc-toggle {
  display: inline-flex;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
  background: color-mix(in srgb, var(--primary) 8%, var(--card));
  color: var(--primary);
}

.service-acc-toggle .icon { width: 1.15rem; height: 1.15rem; }
.service-acc-toggle .acc-minus { display: none; }
.service-acc.is-open .service-acc-toggle .acc-plus { display: none; }
.service-acc.is-open .service-acc-toggle .acc-minus { display: inline-flex; }

.service-acc-chevron {
  display: inline-flex;
  color: var(--primary);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .service-acc-chevron {
  transform: rotate(180deg);
}

.service-acc-panel,
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-acc.is-open .service-acc-panel,
.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.service-acc-inner,
.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.service-acc-inner {
  padding: 0 1.35rem;
}

.service-acc.is-open .service-acc-inner {
  padding-bottom: 1.5rem;
}

.service-acc-intro {
  font-size: 1.08rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

.service-acc-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.service-acc-meta h4 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.service-acc-meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-acc-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--foreground);
}

.service-acc-meta li .icon {
  margin-top: 0.2rem;
  color: var(--primary);
}

.service-acc-meta p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.service-acc-inner .btn-primary,
.service-detail-copy .btn-primary {
  margin-top: 1.5rem;
}

.service-detail {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.service-detail-copy {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.6rem 1.85rem;
}

.service-detail-copy .service-acc-intro { margin-top: 1.15rem; }

.service-related { margin-top: 2.25rem; }
.service-related-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
}
.service-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  background: color-mix(in srgb, var(--sand) 80%, var(--card));
  border: 1px solid var(--border);
  color: var(--ink);
}

.cta-row p {
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.3;
}

.cta-row.brand-panel {
  background-image: none;
  background-color: var(--brand-surface);
  border: 0;
  color: #fff;
}

.cta-row.brand-panel p {
  color: #fff;
}

.steps {
  position: relative;
  margin-top: 2.15rem;
  display: grid;
  gap: 1.15rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  background: var(--primary);
  pointer-events: none;
}

.steps > .reveal {
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.6rem;
  height: 100%;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  background: var(--primary);
  border-radius: 1.45rem 0.4rem 1.45rem 0.4rem;
  box-shadow: 0 10px 22px -12px oklch(0.55 0.19 254 / 0.7);
}

.step h3 { margin-top: 1rem; font-size: 1.45rem; }
.step p { margin-top: 0.6rem; color: var(--muted-foreground); }

@keyframes step-line-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes step-line-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.about-grid {
  display: grid;
  align-items: center;
  gap: 3.25rem;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 6 / 5;
}
.about-copy .lead {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  color: var(--muted-foreground);
}
.people {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
.people img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: cover;
  object-position: top center;
}
.people figcaption { padding: 1rem 1.15rem 1.2rem; }
.people figcaption p:first-child {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust-head { max-width: 40rem; }
.trust-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.trust-head h2 { margin-top: 0.7rem; font-size: clamp(2rem, 4.4vw, 3.05rem); }
.trust-points {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.15rem;
}
.trust-point {
  height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.7rem 1.55rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.trust-point:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  box-shadow: var(--shadow-lift);
}
.trust-point h3 { margin-top: 1.15rem; font-size: 1.4rem; }
.trust-point p { margin-top: 0.55rem; color: var(--muted-foreground); }

.quotes {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.15rem;
}
.quote-card {
  height: 100%;
  padding: 1.75rem 1.6rem;
  color: var(--foreground);
  display: flex;
  flex-direction: column;
}
.quote-card .icon { color: var(--accent); }
.quote-card blockquote {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}
.quote-card figcaption {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}
.quote-card .who { font-weight: 600; color: var(--ink); font-style: normal; }

.action-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 1rem;
  width: 100%;
}

.action-grid > .reveal {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.action-grid > .reveal .photo-card {
  height: 100%;
  width: 100%;
  margin: 0;
}

.photo-card.h-lg { height: 18rem; min-height: 18rem; }
.photo-card.h-sm { height: 14rem; min-height: 14rem; }

.faq-grid { display: grid; gap: 3rem; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-btn .service-acc-chevron { color: var(--primary); flex-shrink: 0; }
.faq-panel-inner {
  font-size: 1.08rem;
  color: var(--muted-foreground);
  max-width: 40rem;
}

.faq-item.is-open .faq-panel-inner {
  padding-bottom: 1.35rem;
}

.contact-grid { display: grid; gap: 3rem; }
.contact-list {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}
.contact-list li { display: flex; gap: 0.9rem; }
.contact-list .icon { margin-top: 0.3rem; color: var(--primary); }
.contact-list .label { font-weight: 600; font-size: 0.95rem; }
.contact-list a,
.contact-list .value { font-size: 1.08rem; color: var(--muted-foreground); }
.contact-list a:hover { color: var(--ink); }

.form-card,
.form-success {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.form-card h3,
.form-success h3 { font-size: 1.85rem; }
.form-card .intro { margin-top: 0.45rem; color: var(--muted-foreground); }
.form-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.15rem;
}
.field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.field {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--input);
  background: var(--card);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--foreground);
}
.field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}
.field-error {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--destructive);
}
.form-note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}
.form-success { padding: 2.25rem; text-align: center; }
.form-success .icon { margin: 0 auto; color: var(--primary); }
.form-success h3 { margin-top: 1.15rem; }
.form-success p { margin-top: 0.7rem; color: var(--muted-foreground); }
.form-success a { font-weight: 600; color: var(--ink); text-decoration: underline; }
.form-success .btn-secondary { margin-top: 1.35rem; }

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}
.cta-band img.bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.cta-band .shade {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(105deg, oklch(0.52 0.19 254) 18%, oklch(0.62 0.17 246 / 0.82) 100%);
}
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
}
.cta-band h2 { font-size: clamp(1.85rem, 3.5vw, 2.45rem); color: var(--deep-foreground); }
.cta-band p {
  margin-top: 0.65rem;
  color: color-mix(in srgb, var(--deep-foreground) 78%, transparent);
}
.cta-band-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.7rem;
}

.legal { max-width: 46rem; }
.legal .updated { font-size: 1rem; color: var(--muted-foreground); }
.legal-block { margin-top: 2.25rem; }
.legal-block h2 { font-size: 1.7rem; }
.legal-block p {
  margin-top: 0.9rem;
  font-size: 1.08rem;
  color: var(--muted-foreground);
}

.site-footer {
  background-image: none;
  background-color: var(--brand-surface);
  color: color-mix(in srgb, #fff 86%, transparent);
  padding: 3.75rem 0 0;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.footer-brand { max-width: 24rem; }
.footer-logo { height: 3.25rem; width: auto; }
.footer-brand p { margin-top: 1.15rem; }
.footer-nav { display: grid; gap: 0.65rem; }
.footer-nav a:hover,
.footer-address a:hover { color: #fff; }
.footer-address { font-style: normal; line-height: 1.7; }
.footer-copy {
  margin-top: 2.75rem;
  border-top: 1px solid color-mix(in srgb, #fff 18%, transparent);
  padding: 1.35rem 1.5rem 1.75rem;
  font-size: 0.875rem;
}

.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  padding: 1rem;
  text-align: center;
}
.center-page h1.big { font-size: 4.5rem; font-weight: 600; font-family: var(--font-display); }
.center-page h2 { margin-top: 0.85rem; font-size: 1.35rem; }
.center-page p { margin-top: 0.5rem; font-size: 1rem; color: var(--muted-foreground); }
.center-page .actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

@media (min-width: 640px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people img {
    aspect-ratio: 1;
    max-height: none;
    height: auto;
  }
  .photo-card.h-md { height: 20rem; }
  .quote-panel { padding: 2.1rem 2.15rem; }
  .quote-panel p.quote { font-size: 1.75rem; }
  .map-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .map-facts { grid-template-columns: 1fr 1fr; }
  .service-acc-btn { padding: 1.3rem 1.5rem; }
  .service-acc-inner { padding: 0 1.6rem 0 4.9rem; }
  .service-acc.is-open .service-acc-inner { padding-bottom: 1.7rem; }
  .service-acc-meta { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; }
  .cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.15rem;
  }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 2.15rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-full { grid-column: 1 / -1; }
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2.6rem;
  }
  .cta-band-actions { flex-direction: row; }
  .footer-nav { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }

  .action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 16rem;
  }
  .span-2 { grid-column: span 2; }
  .span-2-row {
    grid-column: span 2;
    grid-row: span 2;
  }
  .action-grid > .reveal.span-2-row .photo-card.h-lg {
    height: calc(16rem * 2 + 1rem);
    min-height: calc(16rem * 2 + 1rem);
  }
  .photo-card.h-sm { height: 16rem; min-height: 16rem; }
}

@media (max-width: 640px) {
  .diag::before,
  .diag.flip::before { inset: 1.5rem -0.75rem -1.25rem 1.5rem; }
  .diag img,
  .diag.flip img,
  .diag .map-frame,
  .diag.flip .map-frame { border-radius: 2.5rem 1rem 2.5rem 1rem; }
  .map-frame { border-radius: 2rem 0.75rem 2rem 0.75rem; }
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.25rem;
    align-items: stretch;
  }
  .service-detail-copy { padding: 2.15rem 2rem 2.25rem; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
  .why-split .diag { max-width: none; margin-inline: 0; }
  .why-split .diag img { max-height: 23rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps::before {
    display: block;
    top: 1.85rem;
    left: 7%;
    right: 7%;
    height: 3px;
    transform-origin: left center;
    animation: step-line-x 1.15s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .trust-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

@media (min-width: 1280px) {
  .container-page {
    max-width: 94rem;
    padding-inline: 1.5rem;
  }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-head { max-width: 54rem; }
}

@media (min-width: 1536px) {
  .container-page {
    max-width: 104rem;
    padding-inline: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .site-header:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }
}

@media (max-width: 639px) {
  .container-page { padding-inline: 1.35rem; }
  .header-inner { gap: 0.75rem; }
  .logo-img {
    height: 2rem;
    max-width: calc(100vw - 6.5rem);
  }

  h1, h2, h3 {
    text-wrap: pretty;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section { padding-block: 2.25rem; }
  .section-head { max-width: 100%; }
  .section-head h2 { font-size: clamp(1.75rem, 7vw, 2.15rem); }
  .page-hero p.body,
  .section-head p.body { font-size: 1.05rem; }

  .about-grid { gap: 2rem; }
  .about-photo {
    aspect-ratio: 5 / 4;
    border-radius: 1.15rem;
  }

  .action-grid { gap: 0.85rem; margin-top: 1.5rem; }

  .photo-card.h-lg,
  .photo-card.h-sm,
  .photo-card.h-md {
    height: 13.5rem;
    min-height: 13.5rem;
  }

  .card-elevated:hover,
  .photo-card:hover,
  .trust-point:hover { transform: none; }
  .photo-card:hover img { transform: none; }

  .span-2,
  .span-2-row {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-row,
  .cta-band-inner,
  .form-card,
  .quote-panel,
  .card-pad { padding: 1.3rem; }

  .cta-row p { font-size: 1.35rem; }
  .cta-band { border-radius: 1.15rem; }
  .step,
  .trust-point,
  .quote-card { padding: 1.3rem; }

  .steps::before {
    display: block;
    top: 2rem;
    bottom: 2rem;
    left: 3.05rem;
    width: 3px;
    transform-origin: top center;
    animation: step-line-y 1.15s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .service-acc-btn { padding: 1.05rem 1.1rem; }
  .service-acc-inner { padding: 0 1.1rem; }
  .service-acc.is-open .service-acc-inner { padding-bottom: 1.25rem; }
  .faq-btn { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video-bg video { display: none; }
  .hero-video-overlay { background: var(--gradient-hero); }
  .card-elevated,
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .icon-tile,
  .trust-point,
  .service-acc,
  .service-acc-panel,
  .faq-panel,
  .service-acc-chevron { transition: none; }
  .card-elevated:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .trust-point:hover { transform: none; }
  .steps::before { animation: none; transform: none; }
  .ticker-row-a .ticker-track,
  .ticker-row-b .ticker-track { animation: none; transform: none; }
  .ticker-row { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .ticker-track { width: max-content; padding-inline: 1rem; }
}
