:root {
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --snow: #F4F6F8;
  --stone: #C8CED6;
  --navy: #103B79;
  --navy-dark: #082A57;
  --turquoise: #20B2AA;
  --ink: #111827;
  --body: #374151;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--snow);
  color: var(--body);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  letter-spacing: -0.035em;
}
.brand-wordmark {
  color: fff;
}

h1 {
  font-size: clamp(2.2rem, 9vw, 4.9rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.55rem, 5vw, 3rem);
  line-height: 1.04;
}

h3, h4 {
  font-size: 1.25rem;
  line-height: 1.25;
}

p, li, a, button, input, textarea {
  font-size: 1rem;
}

.site-header {
  background: rgba(244, 246, 248, 0.94);
  border-bottom: 1px solid rgba(16, 59, 121, 0.14);
  backdrop-filter: blur(14px);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  flex: 0 0 auto;
}

.logo-mark svg {
  width: 25px;
  height: 25px;
}

.brand-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
}

.desktop-nav,
.desktop-phone {
  display: none !important;
}

.mobile-menu-toggle {
  display: inline-flex !important;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }

  .desktop-phone {
    display: inline-flex !important;
  }

  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-sticky-call {
    display: none !important;
  }
}

.nav-link {
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--navy);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--navy);
  color: #fff !important;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid var(--navy);
  border-radius: 0;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn-cta:hover {
  background: var(--navy-dark);
  border-color: var(--turquoise);
  box-shadow: inset 8px 0 0 var(--turquoise), 0 16px 36px rgba(8, 42, 87, 0.24);
  transform: translateY(-1px);
}

.btn-cta.light-cta {
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
}

.btn-cta.light-cta:hover {
  background: var(--navy-dark);
  border-color: var(--turquoise);
  color: #fff !important;
}

.hero-section {
  min-height: 92vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0a1d36;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.88) contrast(1.05);
  z-index: -4;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 42, 87, 0.72), rgba(10, 29, 54, 0.9)), linear-gradient(90deg, rgba(8, 42, 87, 0.72), rgba(32, 178, 170, 0.12));
  z-index: -3;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(244, 246, 248, 0.08) 1px, transparent 1px);
  background-size: 13vw 100%;
  z-index: -2;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero-title {
  color: #fff;
  animation: lineReveal 900ms ease both;
}

.section-kicker {
  display: inline-flex;
  color: var(--navy);
  background: rgba(32, 178, 170, 0.18);
  border-left: 6px solid var(--turquoise);
  padding: 0.38rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heading-rule {
  width: 86px;
  height: 4px;
  background: var(--turquoise);
  margin-top: 1rem;
}

.stars {
  color: var(--turquoise);
  letter-spacing: 0.18em;
  font-size: 1.35rem;
  font-weight: 900;
}

.trust-icons img {
  width: auto;
  height: 45px;
  object-fit: contain;
  background: #fff;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.granite-panel {
  background: #fff;
  border-left: 8px solid var(--stone);
  box-shadow: 0 20px 60px rgba(16, 59, 121, 0.08);
  transition: border-color 180ms ease, transform 180ms ease;
}

.granite-panel:hover {
  border-left-color: var(--navy);
  transform: translateY(-2px);
}

.dark-slab {
  background: var(--navy);
  color: #fff;
}

.dark-slab h2,
.dark-slab h3,
.dark-slab h4 {
  color: #fff;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(16, 59, 121, 0.14);
  border-top: 6px solid var(--stone);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-top-color: var(--navy);
  box-shadow: 0 16px 42px rgba(16, 59, 121, 0.12);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--snow);
  border: 1px solid var(--stone);
}

.service-icon svg {
  width: 29px;
  height: 29px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.split-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-left: 8px solid var(--turquoise);
}

@media (min-width: 768px) {
  .split-copy {
    flex: 0 0 70%;
  }

  .split-media {
    flex: 0 0 30%;
  }
}

.numbered-step {
  counter-increment: step;
  position: relative;
  padding-left: 4.25rem;
}

.numbered-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 900;
  font-size: 1.45rem;
  border-bottom: 4px solid var(--turquoise);
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 320ms ease;
}

.review-card {
  flex: 0 0 100%;
  background: #fff;
  border: 1px solid rgba(16, 59, 121, 0.16);
  border-left: 7px solid var(--turquoise);
  min-height: 230px;
}

@media (min-width: 1024px) {
  .review-card {
    flex-basis: calc(100% / 3);
  }
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.mobile-sticky-call {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  border-top: 4px solid var(--turquoise);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
  white-space: nowrap;
}

.mobile-sticky-call.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  body.has-sticky-space {
    padding-bottom: 66px;
  }

  .mobile-menu-panel {
    border-top: 1px solid rgba(16, 59, 121, 0.14);
    background: #fff;
  }

  .hero-section {
    min-height: 86vh;
  }

  .trust-icons {
    gap: 0.4rem;
  }

  .trust-icons img {
    height: 36px;
  }
}

@keyframes lineReveal {
  from {
    clip-path: inset(0 100% 0 0);
    transform: translateY(10px);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
