/* Project Name - responsive + enhancement rules (@media / @supports).
   Same section order as style.css and as the page: header > hero > overview > ... > footer. */

/* ============================================================
   00. GLOBAL / BASE (html, body, tokens, buttons)
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  :root{--pad:32px;--sec:84px}
  html{scroll-padding-top:68px}
  .mj h2{font-size:clamp(32px,5vw,44px)}
}
@media only screen and (max-width:767px){
  :root{--pad:18px;--sec:58px}
  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 (max-width:575px){
  .mj .mjm-play{border-radius:10px!important}
}

/* ============================================================
   01. SHARED COMPONENTS (used by several sections)
   ============================================================ */

@media(prefers-reduced-motion:reduce){
  .js-reveal .mj-reveal{transition:none}
}
@media (min-width:768px) and (max-width:1024px){
  .js-reveal .mj-reveal{transform:translateY(20px)}
}
@media (min-width:1100px) and (max-width:1450px){
  .container{max-width: 1100px;}
}
@media only screen and (max-width:767px){
  .mj-head{margin-bottom:20}
  .mj-eyebrow{font-size:11px;text-align: center !important;gap:10px}
  /* .mj-eyebrow:before,.mj-head.center .mj-eyebrow:after{width:18px} */
  .mj-btn{padding:13px 24px;font-size:12px}
  .mj-mono{width:38px;height:38px;font-size:22px;border-radius:10px}
  .mj-quote{font-size:21px!important}
  .js-reveal .mj-reveal{transform:translateY(16px);transition-duration:.6s}
}
@media (prefers-reduced-motion:reduce){
  .js-reveal .mj-split-img.mj-reveal,.js-reveal .mj-plan-fig.mj-reveal{clip-path:none;transition:none}
  .js-reveal .mj-split-img.mj-reveal img{transform:none;transition:none}
  a[href^="tel:"] .fa-phone,.mj-btn-line[href^="tel:"]{animation:none!important}
}

/* ============================================================
   02. PRELOADER
   ============================================================ */

@media(prefers-reduced-motion:reduce){
  .mj-loader{transition:none}
}

/* ============================================================
   03. HEADER + NAVIGATION
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-header.scrolled{width: 84.7% !important;}
  .mj-burger{display:block;z-index:1002}
  .mj-nav{position:fixed;top:0;right:-100%;width:360px;max-width:80%;height:100vh;background:#0d2b33;flex-direction:column;align-items:flex-start;padding:100px 34px 34px;gap:20px;transition:.4s;z-index:1001;overflow:auto}
  .mj-nav.open{right:0;box-shadow:-14px 0 44px rgba(0,0,0,.5)}
  .mj-nav a{font-size:13px}
  .mj-nav .mj-nav-call{display:block}
  .mj-brand small{display:block}
}
@media (min-width:1100px) and (max-width:1450px){
  .mj-brand img{width: 200px;}
  .mj-nav a{font-size: 11px;}
  .mj-header.scrolled{width: 78.9% !important;}
}
@media only screen and (max-width:767px){
  .mj-brand img{width: 185px;}
  .mj-header{padding:12px 0}
  .mj-header.scrolled{padding:8px 0;width: 100%;border-radius:5px !important;top: 4px;}
  .mj-brand{gap:10px}
  .mj-brand small{display:none}
  .mj-brand strong{font-size:16px;letter-spacing:.08em}
  .mj-burger{display:block;z-index:1002}
  .mj-nav{position:fixed;top:0;right:-100%;width:82%;max-width:320px;height:100vh;background:#0d2b33;flex-direction:column;align-items:flex-start;padding:86px 26px 30px;gap:16px;transition:.4s;z-index:1001;overflow:auto}
  .mj-nav.open{right:0;box-shadow:-10px 0 40px rgba(0,0,0,.55)}
  .mj-nav a{font-size:14px}
  .mj-nav .mj-nav-call{display:block}
  .mj-nav a.mj-btn{width:100%}
}
@media (min-width:1025px){
  .mj-nav a:not(.mj-btn):not(.mj-nav-call){padding:8px 0;color:#000;transition:color .3s}
  .mj-nav a:not(.mj-btn):not(.mj-nav-call):hover{color:#000}
  .mj-nav a:not(.mj-btn):after{left:0;right:0;bottom:0;width:auto;height:2px;border-radius:2px;background:#0b82b9; transform:scaleX(0);transform-origin:center;opacity:.55;transition:transform .35s cubic-bezier(.22,.8,.2,1),opacity .3s}
  .mj-nav a:not(.mj-btn):not(.mj-nav-call):hover:after{transform:scaleX(.55)}
  .mj-nav a.is-current:not(.mj-btn),.mj-nav a.is-active:not(.mj-btn){color:#000}
  .mj-nav a.is-current:not(.mj-btn):after,.mj-nav a.is-active:not(.mj-btn):after{transform:scaleX(1);opacity:1}
}
@media (max-width:1024px){
  .mj-burger{position:relative;display:block;width:44px;height:44px;padding:0;background:none;border:1px solid rgba(255,255,255,.28);transition:background .3s,border-color .3s}
  .mj-burger span{position:absolute;left:11px;right:11px;height:2px;margin:0;background:#0b82b9;transform-origin:center; transition:transform .45s cubic-bezier(.77,0,.18,1),opacity .2s,left .35s,right .35s,background .3s}
  .mj-burger span:nth-child(1){top:14px}
  .mj-burger span:nth-child(2){top:21px}
  .mj-burger span:nth-child(3){top:28px}
  .mj-burger:hover span:nth-child(2){left:16px}
  .mj-burger.is-open{border-color:#0b82b9}
  .mj-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mj-burger.is-open span:nth-child(2){opacity:0;left:22px;right:22px}
  .mj-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mj-burger:focus-visible{outline:2px solid #f2a56b;outline-offset:3px}
  .mj-header.scrolled{backdrop-filter:none;-webkit-backdrop-filter:none;background:#edf9ff;width: 95% !important;}
  .mj-nav{right:0;visibility:hidden;transform:translateX(105%); transition:transform .55s cubic-bezier(.77,0,.18,1),visibility 0s .55s;counter-reset:mjn;border-left:1px solid rgba(255,255,255,.12)}
  .mj-nav.open{visibility:visible;transform:none;transition:transform .55s cubic-bezier(.77,0,.18,1),visibility 0s}
  .mj-nav:before{content:"";position:absolute;left:0;top:0;height:3px;width:100%;background:#0b82b9;transform:scaleX(0);transform-origin:left;transition:transform .7s .25s cubic-bezier(.22,.8,.2,1)}
  .mj-nav.open:before{transform:none}
  .mj-nav>a{opacity:0;transform:translateX(28px);transition:opacity .35s,transform .35s}
  .mj-nav.open>a{opacity:1;transform:none;transition:opacity .5s cubic-bezier(.22,.8,.2,1),transform .6s cubic-bezier(.22,.8,.2,1),color .3s}
  .mj-nav.open>a:nth-child(1){transition-delay:.18s}
  .mj-nav.open>a:nth-child(2){transition-delay:.23s}
  .mj-nav.open>a:nth-child(3){transition-delay:.28s}
  .mj-nav.open>a:nth-child(4){transition-delay:.33s}
  .mj-nav.open>a:nth-child(5){transition-delay:.38s}
  .mj-nav.open>a:nth-child(6){transition-delay:.43s}
  .mj-nav.open>a:nth-child(7){transition-delay:.48s}
  .mj-nav.open>a:nth-child(8){transition-delay:.55s;width: 100%;}
  .mj-nav.open>a:nth-child(9){transition-delay:.62s;text-align: left;width: 100%;}
  .mj-nav>a:not(.mj-btn):not(.mj-nav-call){display:flex;align-items:baseline;gap:14px;width:100%;padding:10px 0;font-size:14px;letter-spacing:.12em;border-bottom:1px solid rgba(255,255,255,.1)}
  .mj-nav>a:not(.mj-btn):not(.mj-nav-call):before{counter-increment:mjn;content:"0" counter(mjn);font-size:11px;letter-spacing:.18em;color:#f2a56b}
  .mj-nav>a:not(.mj-btn):after{left:0;right:auto;bottom:-1px;height:1px}
  .mj-nav a.is-current:not(.mj-btn):not(.mj-nav-call),.mj-nav a.is-active:not(.mj-btn):not(.mj-nav-call){color:#f2a56b}
  .mj-nav a.is-current:not(.mj-btn):not(.mj-nav-call):after,.mj-nav a.is-active:not(.mj-btn):not(.mj-nav-call):after{width:100%;transform:none;opacity:1}
  .mj-nav .mj-nav-call{margin-top:8px}
  .mj-scrim{position:fixed;inset:0;z-index:999;background:rgba(6,18,22,.62);opacity:0;visibility:hidden;transition:opacity .45s,visibility 0s .45s}
  .mj-scrim.show{opacity:1;visibility:visible;transition:opacity .45s,visibility 0s}
  body.menu-open{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){
  .mj-nav,.mj-nav>a,.mj-burger span,.mj-scrim,.mj-header{transition-duration:.01s!important;transition-delay:0s!important}
  .mj-nav a.mj-btn,.mj-nav a.mj-btn:before{animation:none!important}
}

/* ============================================================
   04. HERO + MARQUEE
   ============================================================ */

@media(prefers-reduced-motion:reduce){
  .mj-marquee-track{animation:none}
}
@media (min-width:768px) and (max-width:1024px){
  .mj-hero-in{padding-top:130px;padding-bottom:260px}
  .mj-hero-strip{bottom:26px}
  .mj-hero-strip .mj-wrap{grid-template-columns:repeat(2,1fr)}
  .mj-hero-strip div{padding:18px 22px}
  .mj-hero-strip div:nth-child(2){border-right:0}
  .mj-hero-strip div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.14)}
  .mj-hero-dots{right:18px}
}
@media only screen and (max-width:767px){
  .mj-hero-shade{background:linear-gradient(180deg,rgba(9,29,35,.5),rgba(9,29,35,.9))}
  .mj-hero-in{padding-top:110px;padding-bottom:30px;margin-top:auto}
  .mj-hero h1{font-size:clamp(40px,12vw,58px)}
  .mj-hero-sub{font-size:16.5px}
  .mj-hero-tags{font-size:11.5px;letter-spacing:.06em}
  .mj-hero-tags i{margin:0 6px}
  .mj-hero-cta{gap:10px;margin:22px 0 18px}
  .mj-hero-cta .mj-btn{flex:1 1 100%}
  .mj-hero-dots{display:none}
  .mj-hero-strip{position:relative;bottom:auto;padding:0 var(--pad) 18px}
  .mj-hero-strip .mj-wrap{grid-template-columns:repeat(2,1fr);width:100%;border-radius:14px}
  .mj-hero-strip div{padding:12px 14px}
  .mj-hero-strip div:nth-child(2){border-right:0}
  .mj-hero-strip div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.14)}
  .mj-hero-strip small{font-size:9.5px;letter-spacing:.14em}
  .mj-hero-strip b{font-size:18px}
  .mj-marquee{font-size:11.5px;padding:11px 0}
}
@media (prefers-reduced-motion:reduce){
  .mj-hero h1,.mj-hero-sub,.mj-hero-tags,.mj-hero-cta,.mj-rera,.mj-kicker,.mj-hero-strip{opacity:1!important;transform:none!important;clip-path:none!important;animation:none!important}
  .mj-hero-bg picture.active img{animation:none}
  .sq-progress{display:none}
}
@media (min-width:1025px){
  .hero-go .mj-nav>a{animation:mjDrop .6s cubic-bezier(.22,.8,.2,1) backwards}
  .hero-go .mj-nav>a:nth-child(1){animation-delay:.45s}
  .hero-go .mj-nav>a:nth-child(2){animation-delay:.5s}
  .hero-go .mj-nav>a:nth-child(3){animation-delay:.55s}
  .hero-go .mj-nav>a:nth-child(4){animation-delay:.6s}
  .hero-go .mj-nav>a:nth-child(5){animation-delay:.65s}
  .hero-go .mj-nav>a:nth-child(6){animation-delay:.7s}
  .hero-go .mj-nav>a:nth-child(7){animation-delay:.75s}
  .hero-go .mj-nav>a:nth-child(8){animation-delay:.8s}
  .hero-go .mj-nav>a:nth-child(9){animation-delay:.85s}
}
@media (prefers-reduced-motion:reduce){
  .hero-go .mj-header,.hero-go .mj-brand,.hero-go .mj-nav>a{animation:none!important}
}

/* ============================================================
   05. OVERVIEW
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-split{grid-template-columns:1fr;gap:44px}
  .mj-split-img img{max-height:460px;object-fit:cover;box-shadow:-12px 12px 0 #f6efe4,0 24px 50px rgba(13,43,51,.14)}
  .mj-counters,.mj-cards4{grid-template-columns:repeat(2,1fr)}
}
@media only screen and (max-width:767px){
  .mj-split{grid-template-columns:1fr;gap:34px}
  .mj-split-img img{box-shadow:10px 10px 0 #f6efe4}
  .mj-counters{grid-template-columns:repeat(2,1fr);gap:12px}
  .mj-counter{padding:24px 8px}
  .mj-counter small{font-size:10.5px;letter-spacing:.1em}
}

/* ============================================================
   06. HIGHLIGHTS
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-hl2{grid-template-columns:1fr;gap:34px}
  .mj-hl2-side{position:static;padding:40px 36px}
}
@media only screen and (max-width:767px){
  .mj h1{font-size: 28px;}
  .mj-hl2-list .n{display: none;}
  .mj-eyebrow.heighl{margin: 0 0 12px 0;}
  .mj-hl2-list img{width: 21%;height: auto;padding: 4px;}
  .mj-hl2-list small{font-size: 15px;}
  .mj-hl2-list b a{font-size: 15px;}
  .mj-hl2{display: flex;flex-direction: column-reverse; gap:26px;align-items: start;}
  .mj-hl2-side{position:static;padding:15px;text-align: center;}
  .mj-hl2-list{display: block;}
  .mj-hl2-list li{padding:10px;width: 100%;}
  .mj-hl2-list li:last-child{border-bottom:none}
}

/* ============================================================
   07. AMENITIES
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-amen{grid-template-columns:repeat(3,1fr)}
  .mj-rail-card{flex-basis:calc((100% - 18px)/2.4)}
}
@media only screen and (max-width:767px){
  .mj-amen{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:10px}
  .mj-amen li{flex-direction:column;justify-content:center;text-align:center;gap:2px;padding:6px;font-size:14px}
  .mj-amen img{width:42%;height:auto}
  .mj-rail{margin-bottom:34px}
  .mj-rail-head h3{font-size:24px}
  .mj-rail-ctrl button{width:40px;height:40px;font-size:22px}
  .mj-rail-track{gap:12px}
  .mj-rail-card{flex-basis:80%}
  .mj-rail-card figcaption{font-size:21px;padding:60px 16px 16px}
  .mj-rail-ctrl{justify-content: center;}
}

/* ============================================================
   08. LOCATION
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-loc{grid-template-columns:1fr;gap:34px}
  .mj-loc-map iframe{min-height:400px}
}
@media only screen and (max-width:767px){
  .mj-pano-in{padding:56px 18px}
  .mj-loc{grid-template-columns:1fr;gap:26px}
  .mj-loc-list{grid-template-columns: 1fr;}
  .mj-loc-list li{font-size: 14px;}
  .mj-loc-map iframe{min-height:300px}
  .mj-loc-list h3{font-size:24px}
  .mj-loc-list .mj-btn{width:85%}
}
@media (max-width:991px){
  .mj-loc-map img{min-height:400px}
}
@media (max-width:767px){
  .mj-loc-map img{min-height:300px}
}

/* ============================================================
   09. FLOOR PLANS
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-plan-left,.mj-plan-info{float:none;width:100%}
  .mj-plan-info{padding-top:28px}
  .mj-plan-fig{max-width:760px;margin:0 auto;width:100%}
}
@media only screen and (max-width:767px){
  .mj-plan-info h3{text-align: center;}
  .mj-tabs{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;margin-bottom:24px;scrollbar-width:none;justify-content: center;}
  .mj-tabs::-webkit-scrollbar{display:none}
  .mj-tabs button{flex:0 0 auto;padding:10px 16px}
  .mj-plans{gap: 8px;}
  .mj-plan-left,.mj-plan-info{float:none;width:100%}
  .mj-plan-info{padding-top:10px}
  .mj-plan-fig{padding:8px}
  .mj-zoomhint{right:10px;bottom:10px;font-size:10px;padding:6px 11px}
  .mj-plan-info h3{font-size:30px}
  .mj-plan-btns .mj-btn{flex:1 1 100%}
}

/* ============================================================
   10. GALLERY (photos + videos)
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-gs-stage{aspect-ratio:16/10}
  .mj-gs-thumbs{grid-template-columns:repeat(4,1fr)}
}
@media only screen and (max-width:767px){
  .mj-gs-stage{aspect-ratio:4/3}
  .mj-gs-cap{left:16px;bottom:36px;font-size:20px;max-width:72%}
  .mj-gs-count{right:16px;bottom:32px}
  .mj-gs-count b{font-size:26px}
  .mj-gs-nav{width:38px;height:38px;font-size:22px}
  .mj-gs-nav.prev{left:10px}
  .mj-gs-nav.next{right:10px}
  .mjm-cta{margin: 10px 0 0 0 !important;}
  .mj-gs-zoom{top:12px;right:12px;width:38px;height:38px}
  .mj-gs-thumbs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
  .mj-gs-thumbs::-webkit-scrollbar{display:none}
  .mj-gs-thumbs button{flex:0 0 84px}
}
@media (max-width:991px){
  .mjm-grid{--rh:clamp(120px,26vw,210px);grid-template-columns:repeat(2,minmax(0,1fr))}
  .mjv{grid-template-columns:1fr 1fr}
  .mjv-main{grid-column:1 / -1}
  .mjv-short{aspect-ratio:9/16}
  .mjm-lb{padding:max(64px,env(safe-area-inset-top)) 20px max(84px,calc(env(safe-area-inset-bottom) + 70px))}
  .mjm-lb .pv,.mjm-lb .nx{top:auto;margin-top:0;bottom:max(16px,env(safe-area-inset-bottom))}
}
@media (max-width:575px){
  .mjm-bar{flex-direction:column;align-items:stretch;padding: 0;}
  .mjm-tabs{overflow-x:auto;scrollbar-width:none}
  .mjm-tabs::-webkit-scrollbar{display:none}
  .mjm-tabs button{flex:1 0 auto;padding:0 16px}
  .mjm-grid{--rh:clamp(104px,31vw,150px);gap:8px}
  .mjv{gap:8px}
  .mjm-block+.mjm-block{margin-top:25px}
  .mjm-sub{flex-direction:column;align-items:flex-start;gap:4px}
  .mjv-main .mjm-cap{padding:44px 14px 14px;font-size:22px}
  .mjv-main .mjm-play{width:76px;height:54px;margin:-27px 0 0 -38px}
  .mjv-main .mjm-play:after{margin-left:5px;border-left-width:20px;border-block-width:12px}
  .mjv-short .mjm-cap{padding:36px 10px 11px;font-size:16px}
  .mjv-short .mjm-play{width:46px;height:33px;margin:-16px 0 0 -23px}
  .mjv-short .mjm-play:after{margin-left:3px;border-left-width:12px;border-block-width:7px}
  .mjm-cap{padding:26px 10px 9px;font-size:16px}
  .mjm-play{width:52px;height:37px;margin:-18px 0 0 -26px}
  .mjm-play:after{margin-left:3px;border-left-width:14px;border-block-width:8px}
  .mjm-tag{top:8px;left:8px;padding:4px 8px;font-size:10px}
  .mjm-cta .mj-btn{text-align:center}
}
@media (max-height:520px) and (orientation:landscape){
  .mjm-lb{padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(60px,calc(env(safe-area-inset-bottom) + 50px))}
  .mjm-lb-stage img,.mjm-lb-vid{max-height:calc(100dvh - 130px)}
  .mjm-lb-cap{margin-top:8px;font-size:18px}
  .mjm-lb-cnt{margin-top:2px}
  .mjm-lb .x{top:8px}
}

/* ============================================================
   11. LIGHTBOX (floor plans + gallery)
   ============================================================ */

@media only screen and (max-width:767px){
  .mj-lb .pv,.mj-lb .nx{top:auto;bottom:24px}
}

/* ============================================================
   12. ABOUT DEVELOPER
   ============================================================ */

@media only screen and (max-width:767px){
  .mj-pills span{padding:6px 14px;font-size:11px}
}

/* ============================================================
   13. WHY
   ============================================================ */

@media only screen and (max-width:767px){
  .mj-cards4{gap:16px;flex-wrap: wrap;}
  .mj-card{padding:20px;width: 100%;}
  .mj-card h3{font-size:24px;text-align: center;}
}

/* ============================================================
   14. FAQ
   ============================================================ */

@media only screen and (max-width:767px){
  .mj-faq details{padding:0 18px}
  .mj-faq summary{font-size:19px;padding:15px 34px 15px 0}
  .mj-faq p {text-align: left;}
  .mj-faq{width: 100%;margin: 0 0 40px 0;}
  .mj-faq-wrap > .center{margin-top: 0;}
}

/* ============================================================
   15. CONTACT + FORM
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-contact{grid-template-columns:1fr;gap:40px}
}
@media only screen and (max-width:767px){
  .mj-cta .mj-hero-cta .mj-btn{flex:1 1 100%}
  .mj-ci img{width: 20%;height: auto;}
  .mj-contact{display: block;}
  .mj-contact-info{width: 100%;}
  .mj-contact-info h2{text-align: center;display: flex;justify-content: center;}
  .mj-form{width: 100%}
  .mj-form{padding:28px 20px;border-radius:16px}
  .mj-form h3{font-size:28px}
  .cont{text-align: center;}
}

/* ============================================================
   16. FOOTER
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj-foot-grid{grid-template-columns:1fr 1fr}
  .mj-foot-grid>div:first-child{grid-column:1/-1}
}
@media only screen and (max-width:767px){
  .mj-footer{padding:40px 0 0}
  .mj-legal {padding: 0 0 10px 0;}
  .foot-wrap{grid-template-columns:1fr}
  .mj-foot-grid{grid-template-columns:1fr;gap:28px}
  .foot-sec{display: grid;grid-template-columns: 1fr 1fr;}
  .mj-sticky{width: 100%;display:flex;position:fixed;left:0;right:0;bottom:0;z-index:998;background:#142a30;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 .call{background:#0d2b33;border:0}
  .mj-sticky .whats{background:#414b4e;border:0}
  .mj-sticky a:last-child{background:#0b82b9;border:0}
  .whts {background-color: #526063;}
}
@media (max-width:767px){
  .mj-foot-map{margin-bottom:28px}
  .mj-foot-map iframe{height:240px}
}

/* ============================================================
   17. ENQUIRY POP-UP, MODAL, THANK-YOU CARD
   ============================================================ */

@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}
}

/* ============================================================
   19. OTHER PAGES (blog / inner / legacy) + MISC
   ============================================================ */

@media (min-width:768px) and (max-width:1024px){
  .mj section.mj-pano{min-height:480px}
  .mj section.mj-cta{padding:84px 0}
}
@media only screen and (max-width:767px){
  .mj section.mj-hero{min-height:94vh;flex-direction:column;align-items:stretch;justify-content:flex-end}
  .mj #overview .mj-split{width: 100% !important;}
  .mj section.mj-pano{min-height:420px}
  .mj .mj-btn-gold{width: 75%}
  .left{text-align: center;}
  .mj section.mj-cta{padding:62px 0}
  .mj .mj-btn-dark{width: 85%;}
}
@media (min-width:768px) and (max-width:1024px){
  .mj #overview .mj-split{grid-template-columns:minmax(0,1fr)}
  .mj #overview .mj-split-img img{height:auto;min-height:0;aspect-ratio:16/9}
  .mj #overview .mj-split-txt{padding:42px 38px 46px}
}
@media only screen and (max-width:767px){
  .mj #overview .mj-split{display: flex; flex-direction: column-reverse;gap: 0;}
  .mj #overview .mj-split-img img{height:auto;min-height:0;aspect-ratio:4/3}
  .mj #overview .mj-split-txt{padding:15px}
  .mj #overview .mj-split-txt h2{font-size:clamp(28px,8.4vw,36px); text-align: center;}
  .mj #overview .mj-quote{font-size:20px!important;padding:16px 18px;margin:20px 0 24px}
}

/* ===== Photo gallery: 6-tile layout (big 750x400 / small 250x200, no cropping) ===== */
#mjmPhotos{container-type:inline-size}
.mjm-bento{--g:12px;--L:calc((100cqw - var(--g)) / 2);--s:calc(.4 * (var(--L) - var(--g)));
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--g);
  grid-template-rows:var(--s) calc(var(--L) * 8 / 15 - var(--s) - var(--g)) var(--s)}
.mjm-bento>.mjm-tile{min-height:0}
.mjm-bento>.mjm-tile:nth-child(1){grid-column:1 / 3;grid-row:1 / 3}
.mjm-bento>.mjm-tile:nth-child(2){grid-column:3;grid-row:1}
.mjm-bento>.mjm-tile:nth-child(3){grid-column:4;grid-row:1}
.mjm-bento>.mjm-tile:nth-child(4){grid-column:3 / 5;grid-row:2 / 4}
.mjm-bento>.mjm-tile:nth-child(5){grid-column:1;grid-row:3}
.mjm-bento>.mjm-tile:nth-child(6){grid-column:2;grid-row:3}
@media (max-width:767px){
  .mjm-bento{--g:8px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto}
  .mjm-bento>.mjm-tile{grid-column:auto!important;grid-row:auto!important;aspect-ratio:5/4}
  .mjm-bento>.mjm-tile:nth-child(1),.mjm-bento>.mjm-tile:nth-child(4){grid-column:1 / -1!important;aspect-ratio:15/8}
}

/* ===== Map + Contact + Enquire: map on top, two cards overlapping its bottom edge ===== */
.mj-contact-map .mj-foot-map{margin-bottom:0}
.mj-contact-map .mj-foot-map iframe{height:440px}
.mj-contact-over{position:relative;z-index:2;margin-top:-110px;gap:6%;align-items:stretch}
.mj-contact-over .mj-contact-info,.mj-contact-over .mj-form{width:40%}
.mj-contact-over .mj-contact-info{background:#fff;padding:42px;border-radius:20px;border-top:5px solid #0b82b9;border-bottom:5px solid #0b82b9;box-shadow:0 30px 70px rgba(13,43,51,.25)}
@media (min-width:768px) and (max-width:1024px){
  .mj-contact-over{display:flex;gap:4%}
  .mj-contact-over .mj-contact-info,.mj-contact-over .mj-form{width:48%;padding:28px 22px}
}
@media (max-width:767px){
  .mj-contact-map .mj-foot-map iframe{height:260px}
  .mj-contact-over{margin-top:24px;display:block}
  .mj-contact-over .mj-contact-info,.mj-contact-over .mj-form{width:100%;padding:28px 20px;border-radius:16px}
  .mj-contact-over .mj-contact-info{margin-bottom:24px}
  .mjp-lead-blog {text-align: left !important;}
  .mjp-lead-cont {text-align: left !important;}
}
