/* Design B — Blue Horizon V16 | Premium curved hero carousel.
   Backgrounds change together with the headlines every five seconds.
   Sections beyond the hero are untouched. */
.bh16-hero{position:relative;overflow:hidden!important;background:#f2f9ff!important;isolation:isolate;}
.bh16-hero .tm-hero-photo,.bh16-hero .tm-hero-cut,.bh16-hero::after{display:none!important;}
.bh16-hero .bh13-photo-stage{position:absolute;inset:0;z-index:0;clip-path:none!important;background:#c4e7ff;overflow:hidden;}
.bh16-hero .bh13-frame{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity 1s ease,transform 7s ease;transform:scale(1.025);pointer-events:none;}
.bh16-hero .bh13-frame.is-active{opacity:1;transform:scale(1);}
.bh16-hero .bh13-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center!important;display:block;}
.bh16-hero .bh16-curve-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;display:block;}
.bh16-hero .tm-hero-inner{position:relative;z-index:3;height:100%;min-height:0;display:flex;align-items:center;padding:50px 0 55px!important;pointer-events:none;}
.bh16-hero .tm-hero-content{width:43%!important;max-width:565px!important;position:relative;pointer-events:auto;}
.bh16-hero .tm-eyebrow{color:#16416f;font-weight:850;font-size:.7rem!important;letter-spacing:.19em;margin-bottom:25px!important;}
.bh16-hero .tm-eyebrow span{width:30px;height:3px;background:#40bd27;display:inline-block;margin-left:15px;vertical-align:middle;}
.bh16-hero .tm-hero-content h1{font-family:Manrope,'DM Sans',system-ui,sans-serif!important;color:#072b58;letter-spacing:-.065em!important;line-height:1.11!important;font-weight:800!important;font-size:clamp(2.2rem,3.32vw,3.55rem)!important;max-width:600px!important;min-height:3.38em!important;margin:0 0 22px!important;text-wrap:balance;}
.bh16-hero .tm-hero-content h1 em{color:#0966e6!important;font-style:italic;font-weight:800;}
.bh16-hero .tm-hero-content>p{font-size:clamp(.87rem,1.04vw,1.04rem)!important;line-height:1.64!important;color:#2b547b!important;font-weight:500!important;max-width:490px!important;min-height:3.3em!important;margin-bottom:27px!important;}
.bh16-hero .tm-button.solid{background:linear-gradient(115deg,#0750b2,#0365ce)!important;box-shadow:0 12px 26px rgba(5,76,163,.18);border-radius:12px!important;}
.bh16-hero .tm-button.light{border-color:#9dbddd!important;border-radius:12px!important;background:rgba(255,255,255,.87);}
.bh16-hero .tm-button:hover{transform:translateY(-2px);}
.bh16-hero .tm-hero-buttons{margin-bottom:24px!important;}
.bh16-hero .tm-benefits{gap:0!important;margin-bottom:8px;}
.bh16-hero .tm-benefits span{color:#174469;font-weight:750;font-size:.68rem!important;white-space:nowrap;}
.bh16-hero .tm-benefits svg{color:#41b62d!important;}
.bh16-hero .bh8-slider-controls{margin-top:21px!important;gap:10px!important;}
.bh16-hero .bh8-dot{width:10px;height:10px;border-radius:99px;}
.bh16-hero .bh8-dot.is-active{width:30px;background:#0865c9;}
.bh16-hero .bh8-slider-label{font-size:.74rem;font-weight:800;color:#315c83;}
.bh16-hero .bh8-pause{width:30px;height:30px;background:#f5fbff;border-color:#a9c9e8;}
.bh16-hero.bh8-is-changing .bh8-dynamic{opacity:0;transform:translateY(11px)}
@media(min-width:781px){.bh16-hero{height:clamp(540px,43vw,630px)!important;min-height:540px!important;}}
@media(min-width:781px) and (max-width:1230px){
  .bh16-hero .tm-hero-content{width:44%!important;}
  .bh16-hero .tm-hero-content h1{font-size:clamp(2rem,3.2vw,2.85rem)!important;}
  .bh16-hero .tm-hero-content>p{font-size:.85rem!important;}
  .bh16-hero .tm-benefits span{font-size:.57rem!important;padding:0 8px!important;}
}
@media(max-width:780px){
  .bh16-hero{height:auto!important;min-height:810px!important;background:#fff!important;}
  .bh16-hero .bh16-curve-overlay{display:none!important;}
  .bh16-hero .bh13-photo-stage{position:absolute!important;inset:auto 0 0!important;height:375px!important;clip-path:none!important;background:#eaf8ff;}
  .bh16-hero .bh13-photo-stage:after{content:'';position:absolute;inset:0;z-index:3;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.91) 8%,rgba(255,255,255,.03) 36%,transparent 70%);}
  .bh16-hero .bh13-photo{object-position:center center!important;}
  .bh16-hero .tm-hero-inner{align-items:start!important;height:auto!important;padding:38px 0 370px!important;display:block!important;}
  .bh16-hero .tm-hero-content{width:100%!important;max-width:700px!important;}
  .bh16-hero .tm-eyebrow{margin-bottom:18px!important;font-size:.65rem!important;}
  .bh16-hero .tm-hero-content h1{font-size:clamp(2rem,6vw,3.15rem)!important;min-height:0!important;margin-bottom:16px!important;line-height:1.12!important;}
  .bh16-hero .tm-hero-content>p{min-height:0!important;max-width:610px!important;font-size:.9rem!important;margin-bottom:19px!important;}
  .bh16-hero .tm-hero-buttons{margin-bottom:18px!important;}
  .bh16-hero .tm-benefits span{font-size:.64rem!important;}
  .bh16-hero .bh8-slider-controls{margin-top:16px!important;}
}
@media(max-width:485px){
  .bh16-hero{min-height:790px!important;}
  .bh16-hero .bh13-photo-stage{height:290px!important;}
  .bh16-hero .tm-hero-inner{padding:34px 0 275px!important;}
  .bh16-hero .tm-hero-content h1{font-size:clamp(1.9rem,8vw,2.4rem)!important;}
  .bh16-hero .tm-hero-content>p{font-size:.84rem!important;}
  .bh16-hero .tm-hero-buttons{gap:8px!important;}
  .bh16-hero .tm-button{font-size:.73rem!important;padding:11px 12px!important;}
  .bh16-hero .tm-benefits{flex-wrap:wrap;row-gap:10px;}
  .bh16-hero .tm-benefits span{font-size:.54rem!important;padding:0 6px!important;}
}
@media(prefers-reduced-motion:reduce){.bh16-hero .bh13-frame,.bh16-hero .bh8-dynamic{transition:none!important;transform:none!important;}}
