/* Homepage preview: separate responsive compositions with existing ZIP routing. */
.homepage-agency-logo {width:215px;height:auto;max-height:65px;object-fit:contain}
#navbar #nav-logo-text,#navbar #nav-logo-text+div {display:none!important}
.main-policy-link {display:inline-block;color:#dce8f4;font-size:13px;text-decoration:underline;text-underline-offset:4px;padding:12px 0}
@media(min-width:768px){
 #home.homepage-hero-2026 {min-height:640px!important;padding-top:130px!important;padding-bottom:40px!important}
 #home.homepage-hero-2026 .homepage-hero-copy {max-width:740px}
 #home.homepage-hero-2026 .homepage-hero-scrim {background:linear-gradient(90deg,#031b37a6,transparent 75%)}
 #home.homepage-hero-2026 .homepage-hero-title {font-family:Outfit,'Outfit Fallback Segoe','Outfit Fallback Arial',Inter,sans-serif;font-size:clamp(48px,5.4vw,70px)!important;line-height:1.06;letter-spacing:-.035em;margin-bottom:22px}
 #home.homepage-hero-2026 .homepage-hero-eyebrow {color:#ffd15c;font-size:12px;letter-spacing:.2em;font-weight:650;margin-bottom:22px}
 #home.homepage-hero-2026 .homepage-hero-subhead {font-size:19.5px;line-height:1.48;font-weight:450;max-width:540px;margin-bottom:22px}
 #home.homepage-hero-2026 .homepage-hero-ctas {display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:460px}
 #home.homepage-hero-2026 .homepage-hero-primary {font-size:20px;min-height:58px;white-space:nowrap;flex:0 0 auto!important;width:auto;padding:14px 30px;border-radius:14px;background:#ffd044;color:#09213c;text-decoration:none}
 #home.homepage-hero-2026 .homepage-hero-secondary {background:transparent;color:#fff;box-shadow:none;border:0;padding:8px 0;font-size:18px;min-height:44px}
 #home.homepage-hero-2026 .homepage-hero-secondary svg {color:#ffd15c}
 #home.homepage-hero-2026 .homepage-hero-micro {font-weight:400;font-size:14px;line-height:1.45;color:#d1deec;margin-top:10px;max-width:460px}
 #home.homepage-hero-2026 .homepage-trust-strip {border-top:1px solid #ffffff40;padding-top:16px;gap:25px;max-width:620px;font-size:13px;font-weight:400;text-transform:none;color:#fff}
}
@media(min-width:768px) and (max-width:1100px){#home.homepage-hero-2026 .homepage-hero-copy {max-width:640px}#home.homepage-hero-2026 .homepage-hero-subhead {max-width:540px;font-size:20px}#home.homepage-hero-2026 .homepage-hero-scrim {background:linear-gradient(90deg,#031b37dd,#031b3770 65%,transparent)}}
@media(max-width:767px){
 .homepage-agency-logo {width:175px;max-height:48px}
 #navbar {position:relative!important;background:#041e3d!important;height:62px!important;border-bottom:1px solid rgba(255,255,255,.08)}
 #navbar>div {max-width:600px!important;margin:0 auto!important;padding:0 20px!important}
 #navbar #nav-phone-btn {display:inline-flex!important;padding:8px 13px!important;font-size:12px!important;min-height:38px!important;white-space:nowrap}
 .mobile-hero.homepage-mobile-refresh {position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-start;padding:10px 0 0!important;max-height:none;background:#041e3d;overflow:hidden;text-align:left;box-sizing:border-box}
 .homepage-mobile-refresh:before,.homepage-mobile-refresh:after {display:none!important}
 .homepage-mobile-backdrop {position:relative;order:2;width:100%;max-width:600px!important;height:clamp(228px,61vw,330px);margin:2px auto 0;overflow:hidden;pointer-events:none}
 .homepage-mobile-backdrop:after {content:"";position:absolute;inset:0;background:linear-gradient(#041e3d 0%,transparent 12%,transparent 90%,#041e3d 100%)}
 .homepage-mobile-backdrop picture {display:block;width:100%;height:100%;margin:0 auto}
 .homepage-mobile-backdrop img {display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 97%;transform:none}
 .main-photo-trust {position:absolute;z-index:2;top:4px;left:20px;pointer-events:auto;display:flex;align-items:center;gap:5px;white-space:nowrap;background:rgba(4,30,61,.94);border:1px solid #ffffff40;border-radius:999px;padding:6px 11px;color:#fff;font-size:11px;font-weight:650;line-height:1.2;box-shadow:0 3px 12px #0002;min-height:0}
 .main-photo-trust>span:first-child {color:#ffd044;font-size:12px}
 .main-trust-divider {height:12px;width:1px;background:#ffffff50;margin:0 3px}
 .homepage-mobile-refresh .hero-inner {order:1;flex:0 0 auto;width:100%;max-width:600px!important;margin:0 auto!important;padding:0 20px!important;text-align:left;display:block}
 .main-hero-eyebrow {font-size:10.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#ffd15c;margin-bottom:5px}
 .homepage-mobile-refresh .hero-headline {font-family:Outfit,'Outfit Fallback Segoe','Outfit Fallback Arial',Inter,sans-serif;font-size:clamp(31px,8.8vw,48px)!important;line-height:1.05!important;letter-spacing:-.035em;font-weight:800;margin:0 0 7px!important;text-align:left;text-shadow:none}
 .homepage-mobile-refresh .highlight {color:#ffd044}
 .main-hero-summary {font-size:clamp(14.5px,2.6vw,17px);line-height:1.42;color:#fff;margin-bottom:10px}
 .homepage-mobile-refresh .hero-cta-wrap {display:flex;margin:0;width:100%}
 .homepage-mobile-refresh .hero-cta-wrap .hero-cta {flex:1;width:100%;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-size:clamp(16px,4vw,18px)!important;font-weight:800;padding:12px 18px!important;min-height:52px;height:52px;background:#ffd044;color:#09213c;box-shadow:0 8px 20px rgba(255,208,68,.28);white-space:nowrap;text-decoration:none}
 .main-hero-assurance {font-size:12px;line-height:1.35;color:#e2eaf4;margin:6px 0 3px}
 .homepage-mobile-refresh a[href^="tel:"] {background:transparent!important;border:0!important;justify-content:flex-start!important;font-size:16px!important;padding:8px 0!important;text-decoration:underline;text-underline-offset:5px}
 .homepage-mobile-refresh a[href="#policy-review"] {font-size:11px;justify-content:flex-start;margin-top:3px;min-height:35px}
}
@media(max-width:359px){
 .homepage-agency-logo {width:148px;max-height:42px}
 #navbar #nav-phone-btn {padding:6px 10px!important;font-size:11px!important}
 .homepage-mobile-refresh .hero-headline {font-size:29px!important}
 .homepage-mobile-refresh .hero-cta-wrap .hero-cta {font-size:15px!important;padding:10px 12px!important}
}
@media(min-width:540px) and (max-width:767px){
 .homepage-mobile-backdrop:after {background:linear-gradient(90deg,#041e3d 0%,transparent 7%,transparent 93%,#041e3d 100%),linear-gradient(#041e3d 0%,transparent 14%,transparent 88%,#041e3d 100%)}
}

/* === Homepage Hero V2 Refinements (2026-11-16 — Approved Desktop + Mobile Upgrade) === */
@media (min-width: 1024px) {
  #navbar { height: 88px !important; }
  .homepage-agency-logo { width: 248px !important; max-height: 74px !important; }
  #navbar .max-w-7xl { max-width: 1380px !important; }
  #nav-links .nav-link-item {
    font-size: 13.5px !important;
    letter-spacing: 0.06em !important;
    padding: 10px 15px !important;
  }
  #nav-phone-btn {
    font-size: 15.5px !important;
    padding: 11px 22px !important;
  }
}
@media (min-width: 1280px) {
  .desktop-nav-quote { display: none !important; }
  #menu-btn { display: none !important; }
}
#navbar.glass-nav button.nav-link-item { color: #1e293b !important; }

.bli-action-cluster--desktop {
  width: 536px;
  max-width: 100%;
}
.bli-action-cluster--mobile {
  width: 100%;
}
.bli-seg-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(5, 22, 46, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  margin-bottom: 11px;
}
.bli-seg-btn {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #ffffff;
  font-family: Outfit, 'Outfit Fallback Segoe', 'Outfit Fallback Arial', Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  min-height: 46px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}
.bli-seg-btn:last-child { border-right: 0; }
.bli-seg-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.12);
}
.bli-seg-btn.is-active {
  background: #ffd044;
  color: #081e38;
  font-weight: 800;
}
.seg-ico { width: 20px; height: 20px; flex-shrink: 0; }
.seg-both-icons { display: inline-flex; align-items: center; gap: 3.5px; }
.seg-ico-sm { width: 17px; height: 17px; flex-shrink: 0; }
.seg-plus { font-size: 14px; font-weight: 800; line-height: 1; opacity: 0.92; }

.bli-solid-gold-cta {
  width: 100% !important;
  background: #ffd044 !important;
  color: #081e38 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
  border-radius: 14px !important;
  font-family: Outfit, 'Outfit Fallback Segoe', 'Outfit Fallback Arial', Inter, sans-serif !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}
.bli-solid-gold-cta:hover {
  background: #fbbf24 !important;
  transform: translateY(-1px) !important;
}

.bli-carrier-heading-desktop {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  color: #475569;
  margin: 0 0 14px 0;
}
.bli-carrier-heading-mobile {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  color: #1e293b;
  margin: 0 0 10px 0;
  padding: 0 16px;
}

@media (min-width: 768px) {
  #home.homepage-hero-2026 {
    min-height: clamp(640px, 73vh, 770px) !important;
    padding-top: 118px !important;
    padding-bottom: 44px !important;
  }
  #home.homepage-hero-2026 > .max-w-7xl {
    max-width: 1380px !important;
  }
  #home.homepage-hero-2026 .homepage-hero-copy {
    max-width: 760px !important;
  }
  #home.homepage-hero-2026 .homepage-hero-bg {
    object-position: right 52% !important;
  }
  #home.homepage-hero-2026 .homepage-hero-scrim {
    background:
      linear-gradient(90deg,
        rgba(4, 21, 44, 0.96) 0%,
        rgba(5, 24, 49, 0.86) 34%,
        rgba(6, 26, 52, 0.36) 50%,
        rgba(6, 26, 52, 0.04) 65%,
        rgba(6, 26, 52, 0.0) 100%),
      linear-gradient(180deg,
        rgba(4, 18, 38, 0.44) 0%,
        rgba(4, 18, 38, 0.0) 22%,
        rgba(4, 18, 38, 0.0) 80%,
        rgba(4, 18, 38, 0.48) 100%) !important;
  }
  #home.homepage-hero-2026 .homepage-hero-eyebrow {
    margin-bottom: 14px !important;
    font-size: 13.5px !important;
    letter-spacing: 0.20em !important;
  }
  #home.homepage-hero-2026 .homepage-hero-title {
    font-size: clamp(54px, 4.9vw, 76px) !important;
    line-height: 1.03 !important;
    margin-bottom: 18px !important;
  }
  #home.homepage-hero-2026 .homepage-hero-subhead {
    font-size: clamp(19.5px, 1.35vw, 22.5px) !important;
    line-height: 1.46 !important;
    max-width: 590px !important;
    margin: 0 0 24px 0 !important;
    color: rgba(246, 250, 255, 0.96) !important;
  }
  .bli-action-cluster--desktop .bli-seg-group {
    height: 56px !important;
    margin-bottom: 12px !important;
    border-radius: 15px !important;
  }
  .bli-action-cluster--desktop .bli-seg-btn {
    font-size: 17.5px !important;
    gap: 9px !important;
  }
  .bli-action-cluster--desktop .seg-ico {
    width: 22px !important;
    height: 22px !important;
  }
  .bli-action-cluster--desktop .seg-ico-sm {
    width: 19px !important;
    height: 19px !important;
  }
  #home.homepage-hero-2026 .homepage-hero-ctas {
    max-width: 536px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
  #home.homepage-hero-2026 .homepage-hero-primary {
    min-height: 64px !important;
    height: 64px !important;
    font-size: 22px !important;
    padding: 0 28px !important;
    border-radius: 15px !important;
  }
  #home.homepage-hero-2026 .homepage-hero-micro {
    margin-top: 12px !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #e6eff9 !important;
  }
  .bli-hero-sublinks--desktop {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-top: 3px;
    white-space: nowrap;
  }
  .bli-hero-sublinks--desktop a {
    color: #e2eefb;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
  }
  .bli-hero-sublinks--desktop a:hover { color: #ffd044; }
  .bli-sublink-sep { color: rgba(255,255,255,0.45); }

  #home.homepage-hero-2026 .homepage-trust-strip {
    margin-top: 20px !important;
    padding-top: 16px !important;
    gap: 18px !important;
    max-width: 620px !important;
    font-size: 14.5px !important;
    color: rgba(244, 248, 255, 0.95) !important;
  }
  .bli-trust-div {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.34);
  }

  .bli-desktop-carrier-bar {
    padding-top: 20px !important;
    padding-bottom: 22px !important;
  }
  .bli-desktop-carrier-bar .carrier-logo {
    height: 70px !important;
    max-height: 70px !important;
    width: auto !important;
    opacity: 1 !important;
  }
  .bli-desktop-carrier-bar img[alt*="Foremost"],
  .bli-desktop-carrier-bar img[alt*="Grange"],
  .bli-desktop-carrier-bar img[alt*="Progressive"] {
    height: 54px !important;
    transform: scale(1.24) !important;
  }
  .bli-desktop-carrier-bar img[alt*="Travelers"] {
    height: 68px !important;
    transform: scale(1.28) !important;
  }
}

@media (max-width: 767px) {
  .homepage-mobile-refresh .hero-cta-wrap .hero-cta {
    box-shadow: none !important;
    height: 52px !important;
  }
  .homepage-mobile-refresh .main-hero-assurance {
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #e6eef8 !important;
    margin: 8px 0 4px !important;
  }
  .bli-hero-sublinks--mobile {
    text-align: center;
    margin-bottom: 6px;
  }
  .bli-hero-sublinks--mobile a {
    display: inline-block;
    color: #e6eef8;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    min-height: 32px !important;
    padding: 4px 8px;
  }
  .bli-mobile-carrier-bar {
    padding-top: 14px !important;
    padding-bottom: 12px !important;
  }
  .bli-mobile-carrier-bar img {
    height: 48px !important;
    width: auto !important;
    opacity: 1 !important;
  }
  .bli-mobile-carrier-bar img[alt*="Foremost"],
  .bli-mobile-carrier-bar img[alt*="Grange"],
  .bli-mobile-carrier-bar img[alt*="Progressive"] {
    height: 42px !important;
    transform: scale(1.16);
  }
  .bli-mobile-carrier-bar .gap-10 {
    gap: 2.4rem !important;
    padding-right: 2.4rem !important;
  }
  .bli-mobile-carrier-bar:hover .animate-marquee,
  .bli-mobile-carrier-bar:active .animate-marquee {
    animation-play-state: paused !important;
  }
}

.messenger-float {
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}
body:not(.bli-scrolled-past-hero) .messenger-float {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
}
