/* MESCO site layer — base, header, components, responsive overrides for the inline-styled design markup. */
html{scroll-behavior:smooth}
body.jm-site{margin:0;background:#FFFFFF;color:#10202F;font-family:Geist,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
body.jm-site[dir=rtl],html[dir=rtl] body.jm-site{font-family:'IBM Plex Sans Arabic',Geist,system-ui,sans-serif}
.jm-site *,.jm-site *::before,.jm-site *::after{box-sizing:border-box}
.jm-site img{max-width:100%}
.jm-site h1,.jm-site h2,.jm-site h3{color:inherit}
.jm-site a:focus-visible,.jm-site button:focus-visible,.jm-site input:focus-visible,.jm-site select:focus-visible,.jm-site textarea:focus-visible{outline:3px solid #8CC8F0;outline-offset:2px}
.jm-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#006FB7;color:#fff;padding:10px 16px;border-radius:999px}
.jm-skip:focus{left:12px}

/* header: floats over the first hero, sits on top otherwise */
.jm-site-header{position:relative;z-index:50}
.jm-has-hero .jm-site-header{position:absolute;top:12px;left:0;right:0}
.jm-site-header header a:hover{background:#F3F4F5}
.admin-bar.jm-has-hero .jm-site-header{top:44px}

/* tabs */
.jm-tab{border:0;border-radius:999px;padding:12px 22px;font:inherit;font-size:16px;font-weight:500;cursor:pointer;min-height:44px;background:transparent;color:#10202F}
.jm-tab[aria-selected=true]{background:#006FB7;color:#fff;font-weight:600}
.jm-panel[hidden]{display:none !important}

/* booking form */
.jm-chip-radio{position:relative;display:inline-flex}
.jm-chip-radio input{position:absolute;opacity:0;inset:0;cursor:pointer}
.jm-chip-radio span{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid #C8CFD6;background:#fff;font-size:14px;font-weight:500;transition:background .25s,color .25s,border-color .25s}
.jm-chip-radio input:checked+span{background:#006FB7;color:#fff;border-color:#006FB7}
.jm-chip-radio input:focus-visible+span{outline:3px solid #8CC8F0;outline-offset:2px}
.jm-field{display:flex;flex-direction:column;gap:6px}
.jm-field label{font-size:14px;font-weight:500}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .jm-site-header header{border-radius:28px !important}
  .jm-site-header nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap !important;white-space:nowrap;padding-bottom:4px}
  .jm-page h1[style*="font-size: 104px"],.jm-page h1[style*="font-size: 96px"]{font-size:72px !important}
  .jm-page [style*="font-size: 84px"],.jm-page [style*="font-size: 80px"],.jm-page [style*="font-size: 88px"]{font-size:60px !important}
  .jm-has-hero .jm-hero [style*="padding: 132px"]{padding-top:170px !important}
}
/* ---------- phone ---------- */
@media (max-width:760px){
  .jm-site-header>div{padding:12px !important}
  .jm-site-header header{padding:8px 8px 8px 14px !important;gap:10px !important}
  .jm-site-header header>div a[aria-label*="Quote"],.jm-site-header header>div a[aria-label*="قائمة"]{display:none !important}
  .jm-site .jm-logo-badge{display:none !important}
  .jm-page [style*="grid-template-columns: repeat(12"],.jm-page [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],
  .jm-bookform form,.jm-page form[style*="grid-template-columns"]{grid-template-columns:1fr !important}
  .jm-page [style*="grid-column: span"]{grid-column:1 / -1 !important}
  .jm-page [style*="grid-template-columns: 220px"]{grid-template-columns:1fr !important;gap:12px !important}
  .jm-page [style*="padding: 64px"],.jm-page [style*="padding: 56px"],.jm-bookform>div{padding:28px 20px !important}
  .jm-page [style*="padding: 120px 24px"],.jm-page [style*="padding: 140px 24px"]{padding-top:72px !important;padding-bottom:40px !important}
  .jm-page [style*="padding: 96px 24px"]{padding-top:64px !important;padding-bottom:64px !important}
  .jm-page h1{font-size:44px !important;line-height:1.02 !important}
  .jm-page h2{font-size:34px !important;line-height:1.05 !important}
  .jm-page p[style*="font-size: 54px"],.jm-page p[style*="font-size: 50px"],.jm-page p[style*="font-size: 40px"]{font-size:28px !important}
  .jm-page strong[style*="font-size: 44px"],.jm-page strong[style*="font-size: 40px"],.jm-page strong[style*="font-size: 36px"]{font-size:28px !important}
  .jm-page [style*="min-height: 880px"],.jm-page [style*="min-height: 860px"]{min-height:720px !important}
  .jm-page [style*="height: 480px"],.jm-page [style*="height: 460px"],.jm-page [style*="height: 440px"]{height:300px !important}
  .jm-page [style*="font-size: 64px"],.jm-page [style*="font-size: 60px"],.jm-page [style*="font-size: 56px"]{font-size:44px !important}
  .jm-hero [style*="min-height: 640px"]{min-height:560px !important}
  .jm-tabs{border-radius:24px !important}
  footer#contact h2{font-size:38px !important}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
