/* Homepage carousel only; no changes to shared column styles. */
.mr-carousel-home .mr-header:not(.is-fixed) { background: rgba(249,252,255,.9); backdrop-filter: blur(14px); }
.mr-carousel-home.is-hero-visible .mr-float-contact { opacity: 0; visibility: hidden; pointer-events: none; }
.mh-carousel { --mh-progress: 0; --mh-drift-x: 0px; --mh-drift-y: 0px; position: relative; isolation: isolate; background: #edf5ff; overflow: hidden; touch-action: pan-y; }
.mh-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mh-stage { display: grid; }
.mh-slide { grid-area: 1 / 1; position: relative; min-width: 0; min-height: 744px; padding: 88px 0 98px; visibility: hidden; opacity: 0; pointer-events: none; z-index: 0; overflow: hidden; transition: opacity 850ms ease, visibility 850ms; }
.mh-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; z-index: 1; }
.mh-art { position: absolute; inset: -16px; overflow: hidden; transform: translate3d(var(--mh-drift-x),var(--mh-drift-y),0); transition: transform 1s cubic-bezier(.18,.7,.25,1); }
.mh-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.085); transition: transform 7.6s cubic-bezier(.15,.5,.2,1); }
.mh-slide.is-active .mh-art img { transform: scale(1); }
.mh-slide--website .mh-art img { object-position: center 60%; }
.mh-slide--video .mh-art img { object-position: center 58%; }
.mh-veil { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(246,250,255,.98),rgba(246,250,255,.94) 26%,rgba(246,250,255,.57) 43%,rgba(246,250,255,0) 62%); }
.mh-layout { min-height: 558px; position: relative; display: flex; align-items: center; }
.mh-copy { max-width: 610px; padding: 52px 0 60px; }
.mh-eyebrow { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: #3b5e86; margin: 0 0 25px; }
.mh-eyebrow > span { width: 23px; height: 2px; background: var(--mr-blue); }
.mr-home .mh-title { font-size: clamp(42px,4.05vw,62px); line-height: 1.32; letter-spacing: -.035em; text-wrap: initial; color: #102746; }
.mh-line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.mh-line > * { display: block; }
.mh-line strong { color: var(--mr-blue); font-weight: 700; }
.mh-desc { max-width: 520px; font-size: 18px; line-height: 1.95; color: #435e7e; margin: 26px 0 0; }
.mh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 31px; }
.mh-actions .mr-btn { border-radius: 5px; min-height: 54px; padding: 14px 23px; box-shadow: 0 7px 22px #0764eb18; }
.mh-detail { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 500; padding-block: 10px; }
.mh-detail .mr-icon { width: 19px; height: 19px; transition: transform .2s ease; }
.mh-detail:hover { color: var(--mr-blue); }
.mh-detail:hover .mr-icon { transform: translate(2px,-2px); }
.mh-tags { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 31px; color: #486584; font-size: 14px; }
.mh-tags > span { display: inline-flex; gap: 7px; align-items: center; }
.mh-tags .mr-icon { width: 17px; height: 17px; color: var(--mr-blue); }
.mh-float { position: absolute; right: 10px; top: 35px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid #ffffffd9; border-radius: 9px; background: #ffffffcc; box-shadow: 0 14px 40px #254c7917; backdrop-filter: blur(12px); }
.mh-float__icon { display: grid; place-items: center; width: 43px; height: 43px; background: #e7f1ff; border-radius: 12px; color: var(--mr-blue); }
.mh-float__icon .mr-icon { width: 25px; height: 25px; }
.mh-float small { display: block; font-size: 10px; letter-spacing: .08em; color: #617992; }
.mh-float b { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: #1a3c65; }
.mh-float > i { width: 6px; height: 6px; border-radius: 50%; background: #317cea; box-shadow: 0 0 0 5px #317cea13; margin-left: 5px; }
.mh-caption { position: absolute; right: max(48px,calc((100vw - 1280px)/2)); bottom: 87px; font-size: 10px; letter-spacing: .09em; color: #3e5f82; }
.mh-controls { position: absolute; z-index: 3; inset: auto 0 28px; }
.mh-controls__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.mh-selectors { display: flex; align-items: stretch; gap: 10px; }
.mh-selector { display: flex; align-items: center; justify-content: center; gap: 11px; position: relative; border: 1px solid #ffffffc9; border-radius: 5px; background: #ffffffa8; backdrop-filter: blur(12px); box-shadow: 0 4px 20px #315b8510; text-align: left; padding: 12px 18px; min-height: 48px; color: #4a6584; overflow: hidden; }
.mh-selector__no { font-size: 11px; font-variant-numeric: tabular-nums; opacity: .65; }
.mh-selector__label b { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; white-space: nowrap; }

.mh-selector.is-active { color: var(--mr-blue); background: #fffffff2; border-color: #afcff9; }
.mh-selector:hover { color: var(--mr-blue); }
.mh-selector__track { position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: transparent; overflow: hidden; }
.mh-selector__track i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--mr-blue); }
.mh-selector.is-active .mh-selector__track { background: #c9dcf8; }
.mh-selector.is-active .mh-selector__track i { transform: scaleX(var(--mh-progress)); }
.mh-carousel.is-paused .mh-selector.is-active .mh-selector__track i { transform: scaleX(1); opacity: .65; }
.mh-playback { display: flex; align-items: center; gap: 9px; }



.mh-control { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffffbd; border-radius: 50%; color: #21456e; background: #ffffffc9; backdrop-filter: blur(12px); transition: color .2s,background-color .2s,border-color .2s; }
.mh-control .mr-icon { width: 19px; height: 19px; }
.mh-control--prev .mr-icon { transform: rotate(180deg); }
.mh-control--play { width: 36px; height: 36px; margin-left: 7px; border-color: transparent; }
.mh-control:hover { background: #e9f2ff; color: var(--mr-blue); border-color: #8fb8ef; }
.mh-control:active { transform: scale(.95); }
.mh-control:disabled { opacity: .45; cursor: default; }
.mh-carousel:not(.is-ready) .mh-controls { display: none; }
.mh-carousel:not(.is-ready) .mh-slide { padding-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mh-carousel.is-ready .mh-slide:not(.is-active) .mh-line > * { transform: translateY(110%); opacity: 0; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-line > * { animation: mh-title-in .9s cubic-bezier(.19,1,.22,1) both; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-line:nth-child(2) > * { animation-delay: .12s; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-eyebrow { animation: mh-copy-in .8s .08s both; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-desc { animation: mh-copy-in .9s .24s both; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-actions { animation: mh-copy-in .9s .35s both; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-tags { animation: mh-copy-in .9s .45s both; }
  .mh-carousel.is-ready .mh-slide.is-active .mh-float { animation: mh-copy-in 1s .5s both, mh-float 5s 1.5s ease-in-out infinite; }
  .mh-carousel.is-ready .mh-slide.is-active::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg,transparent 37%,#ffffff30 47%,transparent 57%); animation: mh-sheen 1.4s ease-out both; }
  .mh-carousel.is-paused .mh-float { animation-play-state: running, paused !important; }
  @keyframes mh-title-in { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  @keyframes mh-copy-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes mh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
  @keyframes mh-sheen { from { transform: translateX(-55%); opacity: 0; } 25% { opacity: 1; } to { transform: translateX(65%); opacity: 0; } }
}
@media (min-width: 1700px) {
  .mh-slide { min-height: 800px; }
  .mh-layout { min-height: 614px; }
  .mh-float { right: -55px; top: 60px; }
}
@media (max-width: 1199px) {
  .mh-slide { min-height: 716px; }
  .mh-layout { min-height: 530px; }
  .mh-copy { max-width: 520px; }
  .mr-home .mh-title { font-size: 48px; }
  .mh-desc { font-size: 17px; max-width: 475px; }
  .mh-actions { gap: 20px; }
  .mh-float { top: 20px; right: 0; padding: 13px 16px; }
  .mh-float b { font-size: 13px; }
  .mh-controls__inner { gap: 25px; }
  .mh-selectors { gap: 10px; }
  .mh-selector { gap: 10px; }
  .mh-selector__label b { font-size: 15px; }

}
@media (max-width: 900px) {
  body:not(.mr-inner) .mr-menu { margin-left: auto; }
  .mh-slide { min-height: 946px; padding: 72px 0 455px; }
  .mh-layout { min-height: 419px; align-items: flex-start; }
  .mh-copy { padding: 39px 0 26px; max-width: 100%; }
  .mh-art { inset: auto -12px 0; height: 480px; }
  .mh-art img { object-position: 82% 65%; }
  .mh-slide--website .mh-art img { object-position: 76% 62%; }
  .mh-slide--video .mh-art img { object-position: right 55%; }
  .mh-veil { background: linear-gradient(#edf5ff 0%,#edf5ff 48%,#edf5ff00 63%); }
  .mh-float { top: auto; bottom: -69px; right: 0; padding: 10px 13px; }
  .mh-float__icon { width: 33px; height: 33px; border-radius: 8px; }
  .mh-float__icon .mr-icon { width: 21px; height: 21px; }
  .mh-float small { font-size: 9px; }
  .mh-float b { font-size: 12px; }
  .mh-float > i { display: none; }
  .mh-eyebrow { margin-bottom: 19px; }
  .mh-desc { margin-top: 20px; }
  .mh-actions { margin-top: 24px; }
  .mh-tags { margin-top: 24px; }
  .mh-caption { bottom: 85px; right: 24px; font-size: 8px; }
  .mh-controls__inner { gap: 22px; }
  .mh-selectors { gap: 8px; }
  .mh-selector__no { display: none; }
  .mh-selector__label b { font-size: 14px; }

  .mh-playback { gap: 5px; }
  .mh-control { width: 34px; height: 34px; }
  .mh-control--play { margin-left: 0; }
}
@media (max-width: 600px) {
  .mh-slide { min-height: 818px; padding-bottom: 358px; }
  .mh-layout { min-height: 370px; }
  .mh-copy { padding: 29px 0 12px; }
  .mh-eyebrow { font-size: 13px; gap: 9px; margin-bottom: 21px; }
  .mh-eyebrow > span { width: 19px; }
  .mr-home .mh-title { font-size: clamp(29px,8.2vw,43px); line-height: 1.4; letter-spacing: -.045em; }
  .mh-desc { font-size: 16px; line-height: 1.9; margin-top: 22px; min-height: 94px; }
  .mh-desktop-break { display: none; }
  .mh-actions { margin-top: 20px; gap: 10px 15px; }
  .mh-actions .mr-btn { padding: 12px 16px; min-height: 48px; font-size: 14px; gap: 10px; }
  .mh-detail { font-size: 13px; gap: 5px; }
  .mh-detail .mr-icon { width: 16px; height: 16px; }
  .mh-tags { font-size: 12px; gap: 10px 13px; margin-top: 20px; }
  .mh-tags > span { gap: 4px; }
  .mh-tags .mr-icon { width: 14px; height: 14px; }
  .mh-art { bottom: 0; height: 365px; }
  .mh-art img { object-position: 83% 70%; }
  .mh-slide--website .mh-art img { object-position: 76% 60%; }
  .mh-slide--video .mh-art img { object-position: 88% 55%; }
  .mh-veil { background: linear-gradient(#edf5ff 0%,#edf5ff 49%,#edf5ff00 61%); }
  .mh-float { display: none; }
  .mh-caption { display: none; }
  .mh-controls { bottom: 21px; }
  .mh-controls__inner { display: flex; gap: 8px; }
  .mh-selectors { flex: 1; display: grid; grid-template-columns: 1.34fr 1fr 1fr; gap: 6px; }
  .mh-selector { padding: 10px 5px; min-height: 44px; }
  .mh-selector__label b { font-size: 12px; }
  .mh-playback { gap: 0; }
  .mh-control--prev, .mh-control--next { display: none; }
  .mh-control--play { width: 34px; height: 34px; margin-left: 0; }

}
@media (prefers-reduced-motion: reduce) {
  .mh-carousel *, .mh-carousel *::after { animation: none !important; transition: none !important; }
  .mh-art, .mh-art img { transform: none !important; }
}
