:root {
  --saz-navy: #022461;
  --saz-blue: #1d6fdc;
  --saz-orange: #fb6405;
  --saz-soft-blue: #eef5ff;
  --saz-text: #26334d;
  --saz-shadow: 0 1rem 3rem rgba(2, 36, 97, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--saz-text);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a,
button,
input,
select,
textarea {
  scroll-margin-top: 6rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffb37e;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.75rem 1rem;
  border-radius: 0.35rem;
  color: #fff;
  background: var(--saz-navy);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.navbar-brand img {
  max-height: 54px;
  width: auto;
}

.marketing-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  align-items: center;
  overflow: hidden;
  background-color: var(--saz-navy);
  background-position: center;
  background-size: cover;
}

.marketing-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 25, 68, 0.94) 0%, rgba(2, 36, 97, 0.82) 48%, rgba(2, 36, 97, 0.42) 100%);
}

.marketing-hero > .container {
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.marketing-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.marketing-hero .hero-summary {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  list-style: none;
}

.hero-reassurance li::before {
  margin-right: 0.4rem;
  color: #91d5a7;
  content: "✓";
  font-weight: 700;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.25rem;
}

.trust-strip__inner {
  border: 1px solid rgba(2, 36, 97, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--saz-shadow);
}

.trust-item {
  height: 100%;
  padding: 1.35rem 1.2rem;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--saz-navy);
  font-size: 0.95rem;
}

.trust-item span {
  color: #60697b;
  font-size: 0.8rem;
}

.marketing-section-label {
  color: var(--saz-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card {
  height: 100%;
  border: 1px solid rgba(2, 36, 97, 0.08);
  box-shadow: 0 0.75rem 2rem rgba(2, 36, 97, 0.07);
}

.proof-card blockquote {
  margin-bottom: 1.4rem;
}

.proof-card cite {
  color: var(--saz-navy);
  font-style: normal;
  font-weight: 700;
}

.proof-card .proof-location {
  display: block;
  margin-top: 0.15rem;
  color: #60697b;
  font-size: 0.78rem;
}

.conversion-band {
  background: linear-gradient(135deg, var(--saz-navy), #0b4a9d);
}

.mobile-conversion-bar {
  display: none;
}

.icon-list li {
  break-inside: avoid;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar-expand-lg .navbar-collapse {
    min-width: 0;
  }

  .navbar-expand-lg .navbar-nav > .nav-item > .nav-link {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .navbar-expand-lg .navbar-other {
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  .marketing-hero::before {
    background: rgba(2, 25, 68, 0.86);
  }

  .marketing-hero h1,
  .marketing-hero .hero-summary {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 72px;
  }

  .navbar-brand img {
    max-height: 46px;
  }

  .marketing-hero {
    min-height: 0;
    padding: 6.5rem 0 3.5rem;
    text-align: center;
  }

  .marketing-hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-reassurance {
    justify-content: center;
  }

  .trust-strip {
    margin-top: -1.25rem;
  }

  .trust-item {
    padding: 1rem;
    text-align: center;
  }

  .quote-intro .container {
    padding-bottom: 5rem !important;
  }

  .quote-form-section .container {
    padding-top: 4.5rem !important;
  }

  .mobile-conversion-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.55rem;
    padding: 0.65rem max(0.75rem, env(safe-area-inset-right)) calc(0.65rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    border-top: 1px solid rgba(2, 36, 97, 0.12);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -0.5rem 1.5rem rgba(2, 36, 97, 0.12);
    backdrop-filter: blur(10px);
  }

  .mobile-conversion-bar .btn {
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
  }

  .offcanvas-nav .btn {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
