/* style.css */
html { overflow-x: hidden; scroll-padding-top: 76px; }
body.mj { background: #ffffff; font-family: Jost,sans-serif; font-size: 16px; line-height: 1.7; padding-bottom: 0; overflow-x: clip; }
.mj *, .mj *:before, .mj *:after { box-sizing: border-box; }
.mj a, .mj a:hover { text-decoration: none; }
.mj a { color: inherit; }
.mj h1, .mj h2, .mj h3 { font-family: 'Jost',Georgia,serif; text-align: left; text-transform: none !important; color: inherit; font-weight: 600 !important; line-height: 1.12; margin: 0 0 12px; }
.mj h1 { font-size: 38px; }
.mj h2 { font-size: 34px; }
.mj p { font-size: 17px; line-height: 1.78; margin: 0 0 16px; }
.mj section { margin: 0; }
.mj .to-top { background: #e9e32b; color: #fff; border-radius: 50%; bottom: 88px; }
.mj .wa-float { bottom: 24px; }
.mj .ep-box { background: #fff; border-radius: 18px; overflow: hidden; }
.mj .ep-title { font-family: 'Jost',serif; font-size: 32px; color: #2f4c9c; font-weight: 600; }
.mj .ep-field label { color: #2f4c9c; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.mj .ep-field input[type=text] { border: 1px solid #d5ddee; border-radius: 10px; background: #ffffff; }
.mj .ep-field input[type=text]:focus { border-color: #e9e32b; }
.mj .ep-submit { background: #2f4c9c; color: #fff; border-radius: 999px; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.mj .ep-submit:hover { background: #e9e32b; color: #fff; }
.mjp-legal h2 {
  font-size: 22px !important;
}
.mj .ep-call { color: #5a6685; }
body.is-loading { overflow: hidden; }
.mj * { box-shadow: none !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
a[href^="tel:"] .fa-phone { display: inline-block; transform-origin: 50% 50%; animation: mjRing 3.2s ease-in-out 2s infinite; }
a[href^="tel:"]:hover .fa-phone { animation: mjRing .7s ease-in-out 1; }
@keyframes mjRing {
    0%, 60%, 100% { transform: rotate(0); }
    64% { transform: rotate(-18deg); }
    68% { transform: rotate(16deg); }
    72% { transform: rotate(-14deg); }
    76% { transform: rotate(12deg); }
    80% { transform: rotate(-8deg); }
    84% { transform: rotate(0); }
}
.mj-sticky a:active { transform: scale(.97); }
.mj-sticky { display: none; }
.mj-sticky a:first-child .fa-phone { animation-duration: 2.4s; }
.md-modal { position: fixed; top: 50%; left: 50%; width: 50%; max-width: 90%; width: auto; height: auto; max-height: 550px; z-index: 9999999999; visibility: hidden; backface-visibility: hidden; transform: translateX(-50%) translateY(-50%); }
.md-show { visibility: visible; }
.md-overlay { position: fixed; width: 100%; height: 100%; visibility: hidden; top: 0; left: 0; z-index: 1000; opacity: 0; background: rgba(0,0,0,.8); transition: all .3s; }
.md-show~.md-overlay { opacity: 1; visibility: visible; }
.md-content { color: #333; background: #fff; }
.md-effect-1 .md-content { transform: scale(.7); opacity: 0; transition: all .3s; line-height: none; border: 4px solid #fff; }
.md-show.md-effect-1 .md-content { transform: scale(1); opacity: 1; }
#md-close { position: absolute; right: -4px; top: -43px; padding: 0; width: 40px; height: 40px; border-radius: 0; text-align: center; line-height: 0; background: #000; color: #fff; font-size: 20px; cursor: pointer; outline: 0; border: 2px solid #f2f2f2; }
.md-overlay.show { visibility: visible; opacity: 1; z-index: 9999999999; }
.ep-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: none; align-items: center; justify-content: center; padding: 15px; z-index: 2147483000; }
.ep-overlay.ep-show { display: flex; }
.ep-box { display: flex; width: 100%; max-width: 860px; max-height: 92vh; background: #cfd4dc; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); position: relative; animation: epIn .35s ease; border: 2px #334155 solid; }
@keyframes epIn {
    from { opacity: 0; transform: translateY(25px) scale(.96); }
    to { opacity: 1; transform: none; }
}
.ep-img { flex: 0 0 46%; background: #222; }
.ep-img img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.ep-form { flex: 1; min-height: 0; padding: 26px 30px 24px; overflow-y: auto; text-align: left; }
.ep-title { font-size: 20px; font-weight: 600; color: #000; text-align: center; margin: 0 0 18px; line-height: 1.2; }
.ep-close { position: absolute; top: 14px; right: 16px; width: 28px; height: 28px; border: 0; background: transparent; font-size: 26px; line-height: 26px; color: #222; cursor: pointer; padding: 0; }
.ep-close:hover { color: #1b2d63; }
.ep-field { margin: 0 0 14px; }
.ep-field label { display: block; font-size: 13px; font-weight: 500; color: #1f2d3a; margin: 0 0 6px; text-align: left; }
.ep-field input[type=text] { display: block; width: 100%; height: 40px; padding: 0 12px; font-size: 15px; color: #000; background: #fff; border: 1px solid #cdd6ee; border-radius: 5px; text-transform: none; font-family: inherit; }
.ep-field input[type=text]:focus { outline: 0; border-color: #c98d53; }
.ep-field input::placeholder { color: #9aa3a0; }
.ep-cap { display: flex; align-items: center; gap: 12px; }
.ep-cap img.ep-capimg { width: 80px; height: 40px; border: 1px solid #cdd6ee; background: #fff; flex: 0 0 auto; }
.ep-cap .ep-refresh { width: 30px; height: 30px; cursor: pointer; flex: 0 0 auto; }
.ep-cap input[type=text] { flex: 1; min-width: 0; }
.ep-submit { display: block; width: 100%; height: 42px; margin-top: 18px; border: 0; border-radius: 5px; background: #334155; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; }
.ep-submit:hover { background: #6b7a8f; }
.ep-call { margin: 12px 0 0; text-align: center; font-size: 14px; color: #000; }
.md-modal .ep-box { width: 860px; max-width: 100%; max-height: 550px; animation: none; }
.md-modal.md-effect-1 .md-content { background: transparent; border: 0; }
.md-modal #md-close { top: 14px; right: 16px; width: 28px; height: 28px; background: transparent; border: 0; color: #222; font-size: 26px; line-height: 26px; z-index: 2; }
.md-modal #md-close:hover { color: #3f4e63; }
.wa-float, .to-top { position: fixed; right: 20px; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; z-index: 900; box-shadow: 0 4px 12px rgba(0,0,0,.3); text-decoration: none; padding: 0; }
.wa-float { bottom: 20px; background: #25d366; font-size: 30px; }
.wa-float:hover, .wa-float:focus { background: #1ebe5b; color: #fff; }
.to-top { bottom: 82px; background: #8fa3d6; font-size: 28px; border: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s,visibility .3s,background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: #777; }
.wa-float i, .to-top i { line-height: 1; }
.x-hero-shade, .x-st-shade, .x-dev:before { pointer-events: none; }
.x-hero-in { pointer-events: none; }
.x-hero-in h1, .x-hero-in p { pointer-events: auto; }
@media (min-width:768px) and (max-width:1024px) {
    html { scroll-padding-top: 68px; }
    .mj h2 { font-size: clamp(32px,5vw,44px); }
}
@media only screen and (max-width:767px) {
    html { scroll-padding-top: 60px; }
    body.mj { font-size: 14; padding-bottom: 48px; }
    .mj p { font-size: 15px; line-height: 1.72; text-align: center; margin: 0 0 12px 0; }
    .mj h2 { font-size: 24px; }
    .mj .to-top { bottom: 78px; right: 14px; width: 44px; height: 44px; }
    .mj .wa-float { display: none; }
}
@media (min-width:1100px) and (max-width:1450px) {
    .container { max-width: 1100px; }
}
@media (prefers-reduced-motion:reduce) {
    a[href^="tel:"] .fa-phone { animation: none !important; }
}
@media only screen and (max-width:767px) {
    .mj h1 { font-size: 28px; }
}
@media only screen and (max-width:767px) {
    .mj-sticky { width: 100%; display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; background: #0d163d; overflow: hidden; box-shadow: 0 12px 34px rgba(0,0,0,.4); }
    .mj-sticky a { flex: 1; text-align: center; color: #fff !important; padding: 13px 4px; font-size: 13px; font-weight: 500; border-right: 1px solid rgba(255,255,255,.14); }
    .mj-sticky a:last-child { background: #575961; border: 0; }
    .whts { background-color: #5f6ca4; }
}
@media only screen and (max-width:767px) {
    .md-modal { max-width: none; }
    .md-modal .ep-box { width: calc(100vw - 30px); max-width: 420px; }
    .ep-box { flex-direction: column; max-width: 420px; }
    .ep-img { display: none; }
    .ep-form { padding: 18px 18px 20px; }
    .ep-title { margin-bottom: 12px; }
    .ep-field { margin-bottom: 10px; }
}
