:root {
  --brand-white: #ffffff;
  --brand-navy: #102a43;
  --brand-navy-hover: #183b5b;
  --brand-muted: #52677f;
  --brand-border: #e3e9ef;
  --brand-soft: #f6f8fb;
}

html,
body {
  background: var(--brand-white) !important;
}

body {
  color: var(--brand-navy) !important;
  font-family: "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
.text-gray-900,
.text-gray-800 {
  color: var(--brand-navy) !important;
}

.text-gray-700 {
  color: #344e68 !important;
}

.text-gray-600,
.text-gray-500 {
  color: var(--brand-muted) !important;
}

#top-banner,
#header,
#mobile-menu {
  color: var(--brand-navy) !important;
  background: var(--brand-white) !important;
  border-color: var(--brand-border) !important;
}

#leadModalBackdrop {
  display: none !important;
}

#header {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  width: min(calc(100% - 2rem), 1440px);
  z-index: 60;
  border: 1px solid rgba(227, 233, 239, 0.85);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.12) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

#header.is-scrolled {
  box-shadow: 0 16px 38px rgba(16, 42, 67, 0.18) !important;
}

#mobile-menu.visible {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#mobile-menu.invisible {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#header .logo img {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

#header a,
#mobile-menu a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-search {
  position: relative;
  display: flex;
  flex: 0 1 190px;
  min-width: 150px;
  height: 38px;
  align-items: center;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: #fff;
}

.site-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0.45rem 2.4rem 0.45rem 0.85rem;
  border: 0;
  border-radius: inherit;
  outline: none;
  background: transparent;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.75rem;
}

.site-search input:focus-visible {
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.18);
}

.site-search input::placeholder {
  color: var(--brand-muted);
}

.site-search > button {
  position: absolute;
  right: 0.45rem;
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-navy);
  cursor: pointer;
}

.site-search > button:hover {
  background: var(--brand-soft);
}

.site-search > button svg {
  width: 1rem;
  height: 1rem;
}

.site-search-results {
  position: absolute;
  z-index: 120;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  display: none;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 42, 67, 0.18);
}

.site-search-results.is-open {
  display: block;
}

.site-search-results a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--brand-navy) !important;
  text-decoration: none;
}

.site-search-results a:hover,
.site-search-results a:focus-visible {
  outline: none;
  background: var(--brand-soft);
}

.site-search-results a strong,
.site-search-results a span {
  display: block;
}

.site-search-results a strong {
  font-size: 0.78rem;
}

.site-search-results a span,
.site-search-empty {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.site-search-empty {
  padding: 0.65rem 0.75rem;
}

.site-search-header-mobile {
  display: none;
  min-width: 0;
  flex: 1 1 140px;
}

.site-search-header-mobile input {
  font-size: 0.8rem;
}

#section-intro section,
#section-specialization section,
#section-who_we_are section,
#section-lead_types section,
#section-core_services section,
#section-partners section,
#section-final_expense_details section,
#section-parallax section,
#section-footer footer {
  color: var(--brand-navy) !important;
  background-color: var(--brand-white) !important;
  background-image: none !important;
}

#section-intro section > div.absolute.inset-0.z-0,
#section-hero #hero-section > .absolute,
#section-parallax section > .absolute {
  display: none !important;
}

#section-intro [class~="text-white"],
#section-specialization [class~="text-white"],
#section-who_we_are [class~="text-white"],
#section-lead_types [class~="text-white"],
#section-core_services [class~="text-white"],
#section-partners [class~="text-white"],
#section-final_expense_details [class~="text-white"],
#section-parallax [class~="text-white"],
#section-footer [class~="text-white"] {
  color: var(--brand-navy) !important;
}

#section-intro [class*="text-gray-"],
#section-hero [class*="text-gray-"],
#section-specialization [class*="text-gray-"],
#section-who_we_are [class*="text-gray-"],
#section-lead_types [class*="text-gray-"],
#section-core_services [class*="text-gray-"],
#section-partners [class*="text-gray-"],
#section-final_expense_details [class*="text-gray-"],
#section-parallax [class*="text-gray-"],
#section-footer [class*="text-gray-"] {
  color: var(--brand-muted) !important;
}

#section-hero h1[class*="text-gray-"],
#section-intro h2[class*="text-gray-"],
#section-specialization h2[class*="text-gray-"],
#section-who_we_are h2[class*="text-gray-"],
#section-core_services h2[class*="text-gray-"],
#section-core_services h3[class*="text-gray-"],
#section-core_services h4[class*="text-gray-"],
#section-lead_types h2[class*="text-gray-"],
#section-partners h2[class*="text-gray-"],
#section-final_expense_details h2[class*="text-gray-"],
#section-parallax h2[class*="text-gray-"] {
  color: var(--brand-navy) !important;
}

#section-who_we_are [class*="bg-gray-900"],
#section-intro [class*="bg-black"],
#section-specialization [class*="bg-black"],
#section-who_we_are [class*="bg-black"],
#section-lead_types [class*="bg-black"],
#section-core_services [class*="bg-black"],
#section-partners [class*="bg-black"],
#section-final_expense_details [class*="bg-black"],
#section-footer [class*="bg-black"] {
  background-color: var(--brand-white) !important;
}

#section-intro [class*="bg-gray-900"],
#section-intro [class*="bg-gray-800"],
#section-specialization [class*="bg-gray-900"],
#section-specialization [class*="bg-gray-800"],
#section-who_we_are [class*="bg-gray-900"],
#section-who_we_are [class*="bg-gray-800"],
#section-lead_types [class*="bg-gray-900"],
#section-lead_types [class*="bg-gray-800"],
#section-core_services [class*="bg-gray-900"],
#section-core_services [class*="bg-gray-800"],
#section-partners [class*="bg-gray-900"],
#section-partners [class*="bg-gray-800"],
#section-final_expense_details [class*="bg-gray-900"],
#section-final_expense_details [class*="bg-gray-800"],
#section-footer [class*="bg-gray-900"],
#section-footer [class*="bg-gray-800"],
main .bg-gray-50,
main .bg-gray-100,
.bg-gray-900 {
  background-color: var(--brand-white) !important;
}

#section-intro [class*="border-gray-"],
#section-specialization [class*="border-gray-"],
#section-who_we_are [class*="border-gray-"],
#section-lead_types [class*="border-gray-"],
#section-core_services [class*="border-gray-"],
#section-partners [class*="border-gray-"],
#section-final_expense_details [class*="border-gray-"],
main [class*="border-gray-"] {
  border-color: var(--brand-border) !important;
}

.bg-primary,
.bg-orange-500,
#header [class~="bg-primary"],
#mobile-menu [class~="bg-primary"] {
  color: #ffffff !important;
  background-color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
}

#section-specialization .bg-orange-500 {
  color: #ffffff !important;
}

.text-primary {
  color: var(--brand-navy) !important;
}

a.bg-primary:hover,
button.bg-primary:hover,
#header a.bg-primary:hover,
#mobile-menu a.bg-primary:hover,
.bg-orange-500:hover {
  color: #ffffff !important;
  background-color: var(--brand-navy-hover) !important;
  border-color: var(--brand-navy-hover) !important;
}

#section-hero .text-primary,
#section-core_services .service-icon,
#section-core_services .anime-icon {
  color: var(--brand-navy) !important;
}

#section-hero #hero-section {
  isolation: isolate;
  min-height: clamp(38rem, 72vh, 50rem);
  display: flex;
  align-items: center;
  margin-top: 0 !important;
  padding-top: 9rem;
  padding-bottom: 7rem;
}

#section-hero #hero-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 17, 31, 0.78) 0%, rgba(5, 17, 31, 0.62) 48%, rgba(5, 17, 31, 0.28) 100%);
}

#section-hero .hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: fadeBg 18s infinite;
  transform: scale(1.01);
}

#section-hero .hero-bg-1 {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3cK3ifxZlZJbf4sxpWvn-aMNBK4U27Mb078-5OIpQY4LSMGOVJJUMYsQ&s=10");
  animation-delay: -2s;
}

#section-hero .hero-bg-2 {
  background-image: url("https://assets1.cbsnewsstatic.com/hub/i/r/2025/11/04/3e700c29-18fc-43b6-9d03-7e53e99166a0/thumbnail/1200x630/737e6f94273642bba8f04e0783786574/gettyimages-2244109700.jpg");
  animation-delay: 4s;
}

#section-hero .hero-bg-3 {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRpLWm1hLH3IJH-4Fowvz5k5hd_dwJWix2-CKNf4Y7K_bXMS-fzRSghkUVS&s=10");
  animation-delay: 10s;
}

@keyframes fadeBg {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

#section-hero #hero-section::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--brand-white));
}

#section-hero #hero-section > .container {
  width: 100%;
  text-align: left;
}

#section-hero .hero-copy {
  max-width: 46rem;
}

#section-hero .hero-eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#section-hero h1[class*="text-gray-"] {
  max-width: 54rem;
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(2.6rem, 4.3vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
}

#section-hero .hero-description {
  max-width: 36rem;
  margin: 1.3rem 0 1.8rem;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#section-hero #heroGetStartedBtn {
  position: relative;
  z-index: 4;
  border-radius: 0.65rem;
  background: var(--brand-navy) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

#section-hero #heroGetStartedBtn:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px) scale(1.03);
}

#carrier-slider {
  overflow: hidden;
  padding: 2.5rem 0 2.75rem;
  background: #ffffff;
}

#carrier-slider .carrier-slider-heading {
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
  color: var(--brand-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

#carrier-slider .carrier-slider-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

#carrier-slider .carrier-slider-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: carrier-logo-scroll 42s linear infinite;
}

#carrier-slider .carrier-slider-viewport:hover .carrier-slider-track {
  animation-play-state: paused;
}

#carrier-slider .carrier-logo {
  display: flex;
  width: 190px;
  height: 88px;
  flex: 0 0 190px;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.9rem;
  background: #ffffff;
}

#carrier-slider .carrier-logo img {
  display: block;
  max-width: 100%;
  max-height: 3.75rem;
  object-fit: contain;
}

#home-quote-promo {
  overflow: hidden;
  padding-top: 4rem;
  background: #47744d;
}

#home-quote-promo .home-quote-promo-inner {
  display: grid;
  width: min(100% - 2.5rem, 1120px);
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  margin: 0 auto;
}

#home-quote-promo .home-quote-promo-copy {
  position: relative;
  z-index: 1;
  max-width: 39rem;
  padding: 3rem 0;
  color: #ffffff;
}

#home-quote-promo .home-quote-promo-eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#home-quote-promo h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(2.25rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

#home-quote-promo .home-quote-promo-copy > p:not(.home-quote-promo-eyebrow) {
  max-width: 34rem;
  margin: 1rem 0 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.65;
}

#home-quote-promo .home-quote-promo-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.65rem;
  padding: 0.9rem 1.25rem;
  color: var(--brand-navy);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  font-size: 0.95rem;
  font-weight: 800;
}

#home-quote-promo .home-quote-promo-button:hover {
  color: var(--brand-navy-hover);
  background: #f4f7fa;
  transform: translateY(-2px);
}

#home-quote-promo .home-quote-promo-image {
  display: block;
  width: 100%;
  height: 390px;
  align-self: end;
  object-fit: contain;
  object-position: center bottom;
}

@keyframes carrier-logo-scroll {
  to { transform: translateX(-50%); }
}

#section-core_services section,
#section-core_services .service-icon,
#section-core_services .anime-icon {
  background-color: var(--brand-white) !important;
}

#section-core_services .service-card {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(145deg, #102a43, #183b5b) !important;
  box-shadow: 0 12px 30px rgba(16, 42, 67, 0.16);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
}

#section-core_services .service-card:nth-child(2) {
  background: linear-gradient(145deg, #153653, #204b70) !important;
}

#section-core_services .service-card:nth-child(3) {
  background: linear-gradient(145deg, #19324b, #294963) !important;
}

#section-core_services .service-card h3[class*="text-gray-"],
#section-core_services .service-card h4[class*="text-gray-"] {
  color: #ffffff !important;
}

#section-core_services .service-card p[class*="text-gray-"],
#section-core_services .service-card ul {
  color: #d9e5ef !important;
}

#section-core_services .service-card li > span {
  color: #8fc4ee !important;
}

#section-core_services .service-icon {
  color: #d9edff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

#section-core_services .service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(143, 196, 238, 0.62) !important;
  box-shadow: 0 20px 42px rgba(16, 42, 67, 0.26);
}

#section-core_services .service-card:hover .service-icon {
  color: #102a43 !important;
  background: #ffffff !important;
  transform: translateY(-2px) rotate(-4deg);
}

#section-partners .reviewSwiper blockquote,
main article {
  border-color: var(--brand-border) !important;
  background: var(--brand-white) !important;
  box-shadow: 0 4px 18px rgba(16, 42, 67, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#section-core_services .service-card:hover,
#section-partners .reviewSwiper blockquote:hover,
main article:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 42, 67, 0.3) !important;
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.12);
}

#section-core_services .service-icon {
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

#section-core_services .service-card:hover .service-icon {
  color: #ffffff !important;
  background-color: var(--brand-navy) !important;
  transform: translateY(-2px);
}

#scroll-to-top:hover {
  background-color: var(--brand-navy-hover) !important;
}

#section-who_we_are .swiper-slide img {
  filter: none !important;
  transition: transform 350ms ease, filter 350ms ease;
}

#section-who_we_are .swiper-slide:hover img {
  transform: scale(1.04);
}

#section-footer footer {
  border-color: var(--brand-border) !important;
}

#section-footer .site-footer {
  color: var(--brand-navy) !important;
  background: #ffffff !important;
  border-color: var(--brand-border) !important;
  text-align: left;
}

#section-footer .footer-brand-name {
  color: var(--brand-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

#section-footer .footer-copy {
  max-width: 20rem;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

#section-footer .footer-heading {
  margin: 0 0 1rem;
  color: var(--brand-navy) !important;
  font-size: 0.95rem;
  font-weight: 800;
}

#section-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

#section-footer .footer-links a,
#section-footer .footer-bottom a {
  color: var(--brand-muted) !important;
  font-size: 0.9rem;
}

#section-footer .footer-links a:hover,
#section-footer .footer-bottom a:hover {
  color: var(--brand-navy) !important;
}

#section-footer .footer-contact-link,
#section-footer .footer-quote-link {
  display: inline-flex;
  margin: 0.85rem 0.6rem 0 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

#section-footer .footer-contact-link {
  color: var(--brand-navy) !important;
  border: 1px solid var(--brand-border);
}

#section-footer .footer-quote-link {
  color: #ffffff !important;
  background: var(--brand-navy);
}

#section-footer .footer-bottom {
  border-top: 1px solid var(--brand-border);
  color: var(--brand-muted);
}

#homepage-quote {
  padding: 4rem 1.25rem 4.5rem;
  background: var(--brand-soft);
}

#homepage-quote .homepage-quote-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

#homepage-quote .homepage-quote-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--brand-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#homepage-quote h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}

#homepage-quote .homepage-quote-intro {
  margin: 0.75rem auto 1.75rem;
  max-width: 40rem;
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.7;
}

#homepage-quote iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
}

#lead-inquiry {
  padding: 3rem 1rem 4rem;
  background: #edf2f6;
}

.lead-inquiry-card {
  width: min(100%, 502px);
  margin: 0 auto;
  padding: 1.75rem;
  border: 1px solid #dce4eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.12);
}

.lead-inquiry-header {
  margin-bottom: 1.5rem;
}

.lead-inquiry-header h2 {
  margin: 0 0 0.4rem;
  color: var(--brand-navy);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.lead-inquiry-header p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.lead-inquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
}

.lead-inquiry-field {
  min-width: 0;
}

.lead-inquiry-field-wide {
  grid-column: 1 / -1;
}

.lead-inquiry-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-navy);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.lead-inquiry-field label span {
  color: #b42332;
}

.lead-inquiry-field input,
.lead-inquiry-field select,
.lead-inquiry-field textarea {
  display: block;
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid #d6dee8;
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  color: var(--brand-navy);
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.4;
}

.lead-inquiry-field textarea {
  min-height: 5.25rem;
  resize: vertical;
}

.lead-inquiry-field input::placeholder,
.lead-inquiry-field textarea::placeholder {
  color: #8190a1;
}

.lead-inquiry-field input:focus,
.lead-inquiry-field select:focus,
.lead-inquiry-field textarea:focus {
  border-color: #315d83;
  outline: 3px solid rgba(49, 93, 131, 0.12);
}

.lead-inquiry-consent {
  margin: 1rem 0 1.2rem;
  padding: 0.8rem;
  border: 1px solid #e3e9ef;
  border-radius: 0.65rem;
  background: #f7f9fb;
}

.lead-inquiry-consent-choice {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: start;
  gap: 0.6rem;
  color: var(--brand-muted);
  cursor: pointer;
  font-size: 0.68rem;
  line-height: 1.5;
}

.lead-inquiry-consent-choice input {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0.12rem 0 0;
  accent-color: var(--brand-navy);
}

.lead-inquiry-consent > p {
  margin: 0.55rem 0 0 1.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid #e3e9ef;
  color: #718195;
  font-size: 0.64rem;
  font-style: italic;
  line-height: 1.45;
}

.lead-inquiry-message {
  margin-top: 0.1rem;
}

.lead-inquiry-submit {
  display: block;
  width: 100%;
  min-height: 2.55rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.5rem;
  color: #fff;
  background: #073b70;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.lead-inquiry-submit:hover {
  background: var(--brand-navy);
  transform: translateY(-1px);
}

.lead-inquiry-email-note {
  margin: 0.65rem 0 0;
  color: #687b8f;
  font-size: 0.65rem;
  line-height: 1.45;
  text-align: center;
}

.lead-inquiry-status {
  margin-top: 0.8rem;
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: var(--brand-navy);
  background: #eef4f8;
  font-size: 0.78rem;
  line-height: 1.5;
}

.lead-inquiry-email-fallback {
  display: block;
  margin-top: 0.55rem;
  color: #073b70 !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lead-inquiry-email-fallback[hidden],
.lead-inquiry-status[hidden] {
  display: none;
}

#section-footer footer > .container > img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
}

#section-footer footer a {
  color: var(--brand-navy) !important;
}

#section-footer footer a:hover,
a:hover {
  color: var(--brand-navy-hover);
}

.review-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #a9b7c5;
  opacity: 1;
}

.review-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--brand-navy);
}

button,
a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(16, 42, 67, 0.3);
  outline-offset: 3px;
}

#hero-section {
  margin-top: 95px !important;
}

@media (max-width: 767px) {
  .lead-inquiry-card {
    padding: 1.35rem 1.1rem;
  }

  #hero-section {
    padding-top: 8rem;
  }

  #section-hero #hero-section {
    min-height: 38rem;
    padding-top: 9rem;
    padding-bottom: 7rem;
  }

  #section-hero #hero-section::before {
    background: linear-gradient(90deg, rgba(5, 17, 31, 0.78), rgba(5, 17, 31, 0.58));
  }

  #section-hero #hero-section::after {
    height: 2.5rem;
  }

  #section-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.25rem);
    line-height: 1.08;
  }

  #section-hero #hero-section > .container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  #carrier-slider {
    padding: 2rem 0;
  }

  #carrier-slider .carrier-logo {
    width: 155px;
    height: 76px;
    flex-basis: 155px;
  }

  #carrier-slider .carrier-logo img {
    max-height: 3.25rem;
  }

  #home-quote-promo .home-quote-promo-inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  #home-quote-promo .home-quote-promo-copy {
    padding: 2rem 1.5rem 0;
    text-align: center;
  }

  #home-quote-promo .home-quote-promo-copy > p:not(.home-quote-promo-eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  #home-quote-promo .home-quote-promo-image {
    width: min(100%, 360px);
    height: 330px;
    margin: 0 auto;
  }
}

@media (max-width: 639px) {
  .lead-inquiry-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-inquiry-field-wide {
    grid-column: auto;
  }

  #header {
    top: 0.5rem;
    width: calc(100% - 1rem);
    border-radius: 0.85rem;
  }

  #header .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  #header .logo img {
    width: 3rem;
    height: 3rem;
  }

  #mobile-menu {
    padding-top: 1rem;
  }

  .site-search-header-mobile .site-search-results {
    right: -3.5rem;
    left: -3.5rem;
  }

  .quote-page {
    padding-top: 6.5rem;
  }
}

@media (min-width: 1280px) and (max-width: 1450px) {
  #header nav[aria-label="Main navigation"] {
    gap: 0.55rem;
    font-size: 0.68rem;
  }

  #header .site-search {
    flex-basis: 155px;
    min-width: 130px;
  }
}

@media (max-width: 1279px) {
  #header .site-search-header-mobile {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  #section-hero .hero-bg {
    animation: none;
  }

  #section-hero .hero-bg-1 {
    opacity: 1;
  }

  #carrier-slider .carrier-slider-track {
    animation: none;
  }

  * ,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
