/* Slider v3: full-bleed clinical imagery with one quiet glass frame. */
@media (min-width:761px){
  .hero{
    min-height:650px!important;height:clamp(610px,43vw,700px)!important;
    padding:0!important;align-items:center!important;overflow:hidden!important;
    background-position:center!important;
  }
  .hero:before{
    z-index:1!important;
    background:linear-gradient(90deg,rgba(235,247,255,.55) 0%,rgba(226,241,251,.32) 38%,rgba(10,47,83,.06) 63%,rgba(4,25,48,.18) 100%)!important;
  }
  .hero:after{z-index:1!important;opacity:.55}
  .hero>.container{
    position:relative!important;z-index:3!important;width:min(1440px,91%)!important;
    min-height:520px!important;display:flex!important;align-items:center!important;
    isolation:isolate!important;
  }
  .hero>.container:before{display:none!important}
  .hero-copy{
    width:min(650px,48%)!important;max-width:none!important;margin:0 7.5% 0 auto!important;
    padding:48px 52px!important;border:1px solid rgba(255,255,255,.46)!important;border-radius:24px!important;
    background:linear-gradient(135deg,rgba(244,251,255,.16),rgba(186,222,244,.055))!important;box-shadow:0 22px 54px rgba(4,40,76,.10),inset 0 1px 0 rgba(255,255,255,.34)!important;backdrop-filter:blur(15px) saturate(128%)!important;-webkit-backdrop-filter:blur(15px) saturate(128%)!important;
    text-align:right!important;
  }
  .hero .eyebrow{
    padding:0 0 13px!important;border:0!important;border-bottom:3px solid var(--blue)!important;
    border-radius:0!important;background:none!important;color:#145494!important;font-size:17px!important;
  }
  .hero h1{margin:22px 0 18px!important;font-size:clamp(38px,3.15vw,57px)!important;line-height:1.30!important;color:#092d58!important;text-shadow:0 1px 1px rgba(255,255,255,.56)!important}
  .hero h1 strong{color:#123e76!important}
  .hero p{max-width:540px!important;margin-bottom:28px!important;color:#24476c!important;font-size:16px!important;line-height:2!important}
  .hero .quick{gap:0!important;margin:0 0 30px!important;padding:0!important;background:transparent!important;justify-content:flex-start!important}
  .hero .quick span{padding:0 18px!important;border-left:1px solid rgba(27,75,119,.20)!important;font-size:12px!important;color:#22486e!important}
  .hero .quick span:first-child{padding-right:0!important}.hero .quick span:last-child{border-left:0!important}
  .hero .quick span:before{width:29px!important;height:29px!important;margin-left:7px!important;border-color:#78a7d4!important;background:rgba(255,255,255,.32)!important;font-size:14px!important}
  .hero .btns{justify-content:flex-start!important;gap:12px!important}
  .hero .primary,.hero .secondary{min-height:48px!important;padding:12px 22px!important;border-radius:999px!important;font-size:13px!important}
  .hero .primary{background:linear-gradient(135deg,#0a66bb,#074791)!important;box-shadow:0 12px 26px rgba(5,77,152,.25)!important}
  .hero .secondary{border:1px solid rgba(18,74,123,.35)!important;background:rgba(255,255,255,.38)!important;color:#10457b!important}
  .hero-dots{z-index:5!important;bottom:48px!important;background:rgba(249,253,255,.66)!important;border:1px solid rgba(255,255,255,.7)!important}
  .hero-dots button:after{background:#7398b9!important}.hero-dots button.is-active:after{background:#0b61b5!important}
  .hero-slider-arrow{position:absolute;z-index:6;top:50%;width:54px;height:54px;border:1px solid rgba(255,255,255,.82);border-radius:50%;background:rgba(247,252,255,.84);color:#0a4f94;box-shadow:0 12px 28px rgba(4,38,72,.18);display:grid;place-items:center;font:700 36px/1 Arial;cursor:pointer;transform:translateY(-50%);transition:transform .2s ease,background .2s ease}
  .hero-slider-arrow:hover{transform:translateY(-50%) scale(1.07);background:#fff}.hero-slider-arrow.prev{right:clamp(20px,3.3vw,58px)}.hero-slider-arrow.next{left:clamp(20px,3.3vw,58px)}
  body.theme-dark .hero:before{background:linear-gradient(90deg,rgba(5,22,40,.64),rgba(5,30,54,.44) 48%,rgba(2,16,31,.28) 100%)!important}
  body.theme-dark .hero-copy{background:linear-gradient(135deg,rgba(6,27,49,.24),rgba(13,60,92,.09))!important;border-color:rgba(178,216,245,.28)!important;box-shadow:0 22px 54px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.1)!important}body.theme-dark .hero .eyebrow{color:#9fd1ff!important;border-bottom-color:#63aef1!important}body.theme-dark .hero h1,body.theme-dark .hero h1 strong{color:#f4f9ff!important}body.theme-dark .hero p,body.theme-dark .hero .quick,body.theme-dark .hero .quick span{color:#d6e7f6!important}body.theme-dark .hero .quick span{border-color:rgba(187,218,244,.22)!important}body.theme-dark .hero .secondary{color:#d9edff!important;border-color:rgba(190,222,247,.36)!important;background:rgba(5,25,45,.20)!important}body.theme-dark .hero-slider-arrow{background:rgba(7,29,51,.78);border-color:rgba(173,213,244,.30);color:#b9ddfb}
  html[lang="en"] .hero-copy{margin:0 auto 0 7.5%!important;text-align:left!important}html[lang="en"] .hero .quick,html[lang="en"] .hero .btns{justify-content:flex-start!important}html[lang="en"] .hero .quick span{padding:0 18px!important;border-left:0!important;border-right:1px solid rgba(27,75,119,.20)!important}html[lang="en"] .hero .quick span:first-child{padding-left:0!important}html[lang="en"] .hero .quick span:last-child{border-right:0!important}
}
@media(max-width:760px){.hero-slider-arrow{display:none!important}}
@media(prefers-reduced-motion:reduce){.hero-slider-arrow{transition:none!important}}

/* A softer cross-fade between the existing slide images. */
.hero-slide-layer{transition:opacity .78s cubic-bezier(.22,.61,.36,1),transform 1.15s cubic-bezier(.16,1,.3,1),filter .78s ease!important;filter:saturate(.92) contrast(.98)}
.hero-slide-layer.is-active{animation:heroSlideArrival 1.05s cubic-bezier(.16,1,.3,1) both;filter:saturate(1.02) contrast(1.01)}
@keyframes heroSlideArrival{from{transform:scale(1.065);filter:saturate(.88) contrast(.96)}to{transform:scale(1.015);filter:saturate(1.02) contrast(1.01)}}

/* Sections ease into view once, without changing reading order or layout. */
@media (prefers-reduced-motion:no-preference){
  .scroll-reveal-v3{opacity:0;transform:translate3d(0,30px,0);transition:opacity .62s ease,transform .70s cubic-bezier(.22,.61,.36,1)}
  .scroll-reveal-v3.is-visible{opacity:1;transform:none}
}

