/* مرسى: night-pool leisure — deep teal, turquoise, sunset orange; Baloo Bhaijaan 2 display + Readex Pro body; waves and round shapes. */
@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@500;700;800&family=Readex+Pro:wght@300;400;500;600&display=swap");
body.site-chalets { --bg: #eef7f6; --ink: #0d2a2e; --muted: #557073; --card: #fff; --line: #d3e6e6; --accent: #0e7c86; --accent2: #f2a541; --night: #0a2328; --sun: #f2a541;
  --radius: 24px; --font: "Readex Pro", sans-serif; --display: "Baloo Bhaijaan 2", "Readex Pro", sans-serif; font-family: var(--font); background: var(--bg); }
.site-chalets h1, .site-chalets h2, .site-chalets h3 { font-family: var(--display); font-weight: 800; }

/* floating pill header over the hero */
.site-chalets #top { position: fixed; inset-inline: 0; top: 0; padding: 14px clamp(12px, 4vw, 40px); background: none; border: 0; backdrop-filter: none; display: block; transition: padding .25s; }
.m-pill { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(10,35,40,.35); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); border-radius: 999px; padding: 7px 8px 7px 8px; color: #fff; transition: background .25s; }
.site-chalets #top.solid { padding-top: 8px; } .site-chalets #top.solid .m-pill { background: rgba(10,35,40,.92); }
.m-brand { display: flex; align-items: center; gap: 9px; padding-inline: 6px; }
.m-brand img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.m-brand b { font-family: var(--display); font-size: 22px; line-height: 1; }
.site-chalets #top .m-nav { display: flex; gap: 4px; color: #fff; }
.m-nav a { padding: 7px 16px; border-radius: 999px; font-size: 14.5px; } .m-nav a:hover { background: rgba(255,255,255,.14); }
.m-end { display: flex; gap: 6px; }
.m-track, .m-lang { border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.m-lang { background: var(--sun); color: #2a1a00; min-width: 40px; justify-content: center; }

/* hero: full-bleed night photo + availability widget */
.site-chalets #hero { position: relative; display: block; max-width: none; padding: 0; min-height: 100svh; color: #fff; overflow: hidden; isolation: isolate; }
.m-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.site-chalets #hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(6,26,30,.55), rgba(6,26,30,.25) 40%, rgba(6,26,30,.8)); }
.m-hin { max-width: 1200px; margin: 0 auto; padding: 130px clamp(16px, 4vw, 40px) 30px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.m-kick { display: inline-block; background: rgba(242,165,65,.18); border: 1px solid rgba(242,165,65,.6); color: #ffd79e; border-radius: 999px; padding: 4px 14px; font-size: 13.5px; margin: 0 0 16px; }
.m-htext h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.08; margin-bottom: 14px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.m-lead { font-size: 17.5px; color: rgba(255,255,255,.88); max-width: 560px; margin: 0; }
.m-widget { background: #fff; color: var(--ink); border-radius: 28px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.m-widget h2 { font-size: 24px; color: var(--accent); }
.m-widget label { display: grid; gap: 4px; } .m-widget label span { font-size: 13px; color: var(--muted); font-weight: 500; }
.m-widget select, .m-widget input { border-radius: 14px; background: var(--bg); border-color: transparent; font-weight: 500; }
.m-hin > *, .m-dates > *, .m-widget > * { min-width: 0; }
.m-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-dates input { min-width: 0; padding-inline: 10px; }
.m-check, .m-go { border: 0; border-radius: 999px; background: var(--sun); color: #2a1a00; font-weight: 700; font-size: 16.5px; padding: 13px; }
.m-go { background: var(--accent); color: #fff; width: 100%; }
.m-result { display: grid; gap: 10px; background: var(--bg); border-radius: 18px; padding: 12px 14px; }
.m-result p { margin: 0; }
.m-ok { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #0b6a4d; font-weight: 600; }
.m-ok b { font-family: var(--display); font-size: 22px; color: var(--ink); }
.m-bad { color: #b4412b; font-weight: 600; font-size: 14.5px; }
.m-stats { list-style: none; margin: 0 auto; padding: 10px clamp(16px, 4vw, 40px) 100px; max-width: 1200px; display: flex; gap: 12px; flex-wrap: wrap; }
.m-stats li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 16px 6px 6px; }
[dir=rtl] .m-stats li { padding: 6px 6px 6px 16px; }
.m-stats b { background: #fff; color: var(--accent); font-family: var(--display); border-radius: 999px; min-width: 44px; height: 34px; display: grid; place-items: center; padding: 0 8px; font-size: 17px; direction: ltr; }
.m-stats span { font-size: 13.5px; }
.m-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; color: var(--bg); }

/* places */
.m-places { max-width: 1240px; padding-top: 30px; }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.m-head h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--ink); }
.m-seg { display: flex; background: #fff; border-radius: 999px; padding: 5px; gap: 2px; box-shadow: 0 6px 20px -12px rgba(13,42,46,.35); overflow-x: auto; scrollbar-width: none; }
.m-seg button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.m-seg button.on { background: var(--accent); color: #fff; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m-card { background: #fff; border-radius: 28px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 14px 34px -24px rgba(13,42,46,.5); animation: kitpop .5s both; transition: transform .25s; }
.m-card:hover { transform: translateY(-5px) rotate(-.3deg); }
.m-ph { position: relative; aspect-ratio: 4/3.2; margin: 8px; border-radius: 22px; overflow: hidden; }
.m-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; } .m-card:hover .m-ph img { transform: scale(1.06); }
.m-type { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; }
.m-badge { position: absolute; top: 10px; inset-inline-end: 10px; background: var(--sun); color: #2a1a00; border-radius: 999px; padding: 3px 12px; font-size: 12.5px; font-weight: 700; }
.m-price { position: absolute; bottom: 10px; inset-inline-end: 10px; background: var(--accent); color: #fff; border-radius: 16px; padding: 6px 14px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.m-body { padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.m-body h3 { font-size: 21px; line-height: 1.3; }
.m-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.m-tags li { background: var(--bg); border-radius: 999px; padding: 3px 11px; font-size: 13px; color: var(--ink); }
.m-strip small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; } .m-strip small b { color: #0b6a4d; font-weight: 600; }
.m-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.m-days i { font-style: normal; text-align: center; font-size: 10.5px; line-height: 22px; border-radius: 6px; background: #d9f1ea; color: #0b6a4d; }
.m-days i:first-child { outline: 1.5px solid var(--accent); }
.m-days i.x { background: #eee; color: #aaa; text-decoration: line-through; }
.m-book { margin-top: auto; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; padding: 11px; font-size: 15.5px; }
.m-card:hover .m-book { background: var(--sun); color: #2a1a00; }

/* booking steps on a teal wave band */
.m-how { background: var(--accent); color: #fff; margin-top: 40px; position: relative; }
.m-how::before, .m-how::after { content: ""; position: absolute; inset-inline: 0; height: 40px; background: var(--bg);
  -webkit-mask: radial-gradient(30px 22px at 50% 100%, transparent 98%, #000) 0 0 / 60px 40px repeat-x; mask: radial-gradient(30px 22px at 50% 100%, transparent 98%, #000) 0 0 / 60px 40px repeat-x; }
.m-how::before { top: -1px; } .m-how::after { bottom: -1px; transform: scaleY(-1); }
.m-howin { max-width: 1200px; margin: 0 auto; padding: 90px clamp(16px, 4vw, 40px); text-align: center; }
.m-how h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 34px; }
.m-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-how li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; padding: 26px 22px; }
.m-how li b { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: var(--sun); color: #2a1a00; font-family: var(--display); font-size: 28px; }
.m-how h3 { font-size: 21px; margin-bottom: 6px; } .m-how p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }

/* terms as icon cards */
.m-terms { max-width: 1240px; }
.m-terms > h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 22px; }
.m-tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.m-term { background: #fff; border-radius: 24px; padding: 22px; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: start; }
.m-term span { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; background: var(--bg); display: grid; place-items: center; font-size: 24px; }
.m-term h3 { font-size: 18px; } .m-term p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* forms */
.site-chalets .btn { background: var(--accent); } .site-chalets .chips button.on { background: var(--accent); }
.site-chalets .kit-layer input, .site-chalets .kit-layer select { border-radius: 14px; }

/* footer */
.site-chalets #foot { background: var(--night); color: #cfe3e3; border: 0; padding: 50px 16px 130px; display: grid; justify-items: center; gap: 4px; }
.m-foot { display: grid; justify-items: center; gap: 4px; text-align: center; }
.m-foot img { width: 58px; height: 58px; border-radius: 50%; background: #fff; } .m-foot b { font-family: var(--display); font-size: 30px; color: #fff; }
.m-foot p { margin: 0; } .m-place { color: var(--sun); } .site-chalets #foot .photo-note { color: rgba(207,227,227,.6); }

/* mobile sticky booking bar */
.m-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px; background: #fff; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -14px rgba(13,42,46,.45); border-radius: 22px 22px 0 0; }
.m-bar span { font-size: 13.5px; color: var(--muted); } .m-bar b { font-family: var(--display); font-size: 19px; color: var(--ink); }
.m-bar button { border: 0; border-radius: 999px; background: var(--sun); color: #2a1a00; font-weight: 700; padding: 11px 22px; }

@media (max-width: 1000px) { .m-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .site-chalets #top .m-nav { display: none; }
  .m-hin { grid-template-columns: 1fr; padding-top: 96px; gap: 22px; }
  .m-htext h1 { font-size: 40px; } .m-lead { font-size: 15.5px; }
  .m-widget { padding: 16px; border-radius: 24px; }
  .m-stats { padding-bottom: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .m-stats li, [dir=rtl] .m-stats li { flex-direction: column; border-radius: 18px; padding: 8px 6px; gap: 4px; text-align: center; } .m-stats span { font-size: 11.5px; line-height: 1.4; }
  .m-how ol, .m-tgrid { grid-template-columns: 1fr; }
  .m-bar { display: flex; }
  .m-track { padding: 8px 11px; font-size: 13px; }
}
@media (max-width: 640px) { .m-grid { grid-template-columns: 1fr; } .m-brand b { font-size: 20px; } }
