:root {
  --font-heading: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", Arial, system-ui, sans-serif;
  --water: rgba(78, 156, 215, 0.14);
  --line: rgba(26, 111, 176, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(35px, 8vw, 64px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(28px, 5.6vw, 46px);
  line-height: 1.08;
}

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

p,
li,
a,
button,
input,
textarea {
  font-size: 16px;
}

.site-shell {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 38%, #f3f8fc 100%);
}

.container-wide {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(26, 111, 176, 0.22);
}

.logo-text {
  color: #0b2740;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  color: #19364d;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--primary-dark);
}

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

.hamburger {
  display: inline-flex !important;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 111, 176, 0.28);
  border-radius: 16px;
  background: #ffffff;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  content: "";
  background: #0b2740;
  border-radius: 999px;
}

.hamburger span {
  margin: 0 0;
}

.hamburger::before {
  transform: translateY(-7px);
  position: absolute;
}

.hamburger::after {
  transform: translateY(7px);
  position: absolute;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 78px 0 auto 0;
  z-index: 55;
  padding: 20px 16px 28px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(11, 39, 64, 0.16);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a:not(.btn-primary) {
  display: block;
  padding: 12px 4px;
  color: #111827;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 111, 176, 0.12);
}

.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: #0b2740;
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(11, 39, 64, 0.24);
}

.btn-primary:hover,
.btn-dark:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: #123e61;
  color: #ffffff !important;
  box-shadow: 0 24px 42px rgba(11, 39, 64, 0.3);
}

.btn-secondary {
  color: #0b2740 !important;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 111, 176, 0.25);
}

.btn-dark {
  color: #ffffff !important;
  background: #1a6fb0;
}

.section-pad {
  padding: 64px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 56px;
  background: radial-gradient(circle at 18% 8%, rgba(78, 156, 215, 0.35), transparent 32%), linear-gradient(135deg, #eaf7ff 0%, #ffffff 45%, #dfeeff 100%);
}

.wave-layer {
  position: absolute;
  inset: auto -10% -110px -10%;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(70% 110% at 50% 0%, rgba(26, 111, 176, 0.16), transparent 62%);
  transform: translateY(calc(var(--scroll-wave, 0px) * 0.08));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-visual-card {
  min-height: 100%;
  border-radius: 34px;
}

.hero-copy {
  padding: 30px 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 26px 70px rgba(11, 39, 64, 0.12);
}

.stars {
  color: #f59e0b;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.hero-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.hero-icon-frame {
  display: inline-flex;
  width: auto;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 111, 176, 0.18);
}

.hero-icon-frame img {
  width: auto;
  height: 48px;
  max-width: 92px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  color: #0b2740;
  background: rgba(78, 156, 215, 0.18);
  font-weight: 800;
}

.hero-lead {
  color: #1f384c;
  font-size: 18px;
}

.hero-visual-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #0b2740;
  box-shadow: 0 30px 80px rgba(26, 111, 176, 0.25);
}

.image-pan {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  animation: imageDrift 18s ease-in-out infinite alternate;
}

.hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(260px, calc(100% - 36px));
  border-radius: 24px;
  padding: 16px;
  color: #ffffff;
  background: rgba(11, 39, 64, 0.84);
  backdrop-filter: blur(14px);
}

.thin-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 111, 176, 0.42), transparent);
}

.glass-card {
  border: 1px solid rgba(26, 111, 176, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(11, 39, 64, 0.08);
  backdrop-filter: blur(12px);
}

.two-col-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.two-col-info .text-col {
  min-width: 0;
}

.info-image {
  overflow: hidden;
  border-radius: 30px;
  min-height: 250px;
  background: #d9eaf7;
}

.info-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  animation: imageDrift 20s ease-in-out infinite alternate;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(26, 111, 176, 0.16);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(11, 39, 64, 0.07);
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #1a6fb0, #4e9cd7, #9bb1d0);
}

.service-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 16px;
  color: #0b2740;
  background: #e8f4fd;
}

.service-icon svg {
  width: 29px;
  height: 29px;
}

.dark-band {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #0b2740 0%, #124f80 100%);
}

.dark-band h2,
.dark-band h3,
.dark-band p,
.dark-band li {
  color: #ffffff;
}

.dark-band .glass-card {
  color: #111827;
  background: rgba(255, 255, 255, 0.95);
}

.dark-band .glass-card h3,
.dark-band .glass-card p,
.dark-band .glass-card li {
  color: #111827;
}

.benefit-list li {
  margin: 12px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.step-card {
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(26, 111, 176, 0.16);
}

.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 14px;
  color: #ffffff;
  background: #1a6fb0;
  font-weight: 900;
}

.reviews-shell {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 18px;
  transition: transform 420ms ease;
}

.review-card {
  flex: 0 0 100%;
  min-height: 270px;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(26, 111, 176, 0.14);
  box-shadow: 0 18px 44px rgba(11, 39, 64, 0.08);
}

.review-card blockquote {
  margin: 0;
  color: #24384a;
}

.review-author {
  color: #0b2740;
  font-weight: 900;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #ffffff;
  background: #1a6fb0;
  border: 0;
  font-weight: 900;
}

.area-pill,
.zip-pill,
.payment-pill {
  display: inline-flex;
  margin: 5px;
  border-radius: 999px;
  padding: 8px 13px;
  color: #0b2740;
  background: rgba(78, 156, 215, 0.17);
  font-weight: 800;
}

.faq-item {
  border-radius: 24px;
  border: 1px solid rgba(26, 111, 176, 0.14);
  background: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #111827;
  font-weight: 900;
  font-size: 18px;
}

.faq-item p {
  padding: 0 20px 20px;
  color: #374151;
}

.cta-panel {
  border-radius: 34px;
  padding: 30px 22px;
  color: #ffffff;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, #1a6fb0, #0b2740);
  box-shadow: 0 26px 70px rgba(11, 39, 64, 0.22);
}

.cta-panel h2,
.cta-panel p {
  color: #ffffff;
}

.site-footer {
  padding: 46px 0 96px;
  color: #dcecff;
  background: #0b2740;
}

.site-footer h2,
.site-footer h3,
.site-footer a,
.site-footer p,
.site-footer li {
  color: #ffffff;
}

.site-footer .logo-text {
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-size: 14px;
}

.footer-disclaimer {
  color: #dcecff !important;
  font-size: 14px;
}

.sticky-call-mobile {
  display: none !important;
}

@keyframes imageDrift {
  0% {
    transform: scale(1.04) translate3d(-1.5%, -1.2%, 0);
  }
  100% {
    transform: scale(1.11) translate3d(1.6%, 1.4%, 0);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 28px;
  }

  .sticky-call-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 13px 12px calc(13px + env(safe-area-inset-bottom));
    color: #ffffff !important;
    background: #0b2740;
    box-shadow: 0 -16px 36px rgba(11, 39, 64, 0.25);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

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

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

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

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

  .hero {
    padding: 58px 0 86px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  }

  .hero-copy {
    padding: 44px;
  }

  .hero-visual-card,
  .image-pan {
    min-height: 560px;
  }

  .section-pad {
    padding: 88px 0;
  }

  .two-col-info {
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
  }

  .two-col-info.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }

  .two-col-info.reverse .image-col {
    order: 1;
  }

  .two-col-info.reverse .text-col {
    order: 2;
  }

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

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (min-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@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;
  }
}
