/* microsite.css — the standalone demo micro-site (/site/<slug>/).
   Self-contained on purpose: this page must read as the BUSINESS's website,
   not as a Best Muscat page, so it shares no chrome and no stylesheet with the
   directory. Theming comes from five CSS custom properties injected inline per
   category (--ms-accent, --ms-accent2, --ms-soft, --ms-ink, --ms-surface). */

:root {
  --ms-serif: "Source Serif 4", ui-serif, Georgia, serif;
  --ms-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ms-arabic: "Noto Naskh Arabic", "Segoe UI", "Geeza Pro", "Traditional Arabic", serif;
  --ms-muted: #66707A;
  --ms-line: rgba(0, 0, 0, .09);
  --ms-r: 12px; --ms-r-lg: 18px;
  --ms-pad: clamp(18px, 4.5vw, 32px);
  --ms-maxw: 1080px;
  --ms-ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ms {
  margin: 0; font-family: var(--ms-sans); font-size: 15.5px; line-height: 1.65;
  color: var(--ms-ink); background: var(--ms-surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ms-accent); }
h1, h2, h3 { font-family: var(--ms-serif); line-height: 1.12; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
[lang="ar"], [dir="rtl"] { font-family: var(--ms-arabic); line-height: 1.95; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--ms-accent); outline-offset: 2px; border-radius: 6px;
}

/* ---- Claim bar ---------------------------------------------------------- */
.ms-claimbar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: #0B2739; color: rgba(255,255,255,.85);
  font-size: .8rem; padding: 8px var(--ms-pad); text-align: center;
}
.ms-claimbar b { color: #fff; }
.ms-claimbar a {
  color: #E0B838; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.ms-claimbar a:hover { text-decoration: underline; }

/* ---- Nav ---------------------------------------------------------------- */
.ms-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--ms-line);
}
.ms-nav-inner {
  max-width: var(--ms-maxw); margin: 0 auto; padding: 10px var(--ms-pad);
  display: flex; align-items: center; gap: 20px;
}
.ms-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.ms-brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; flex: none; }
.ms-brand span:last-child {
  font-family: var(--ms-serif); font-weight: 600; font-size: 1.05rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw;
}
.ms-links { display: flex; gap: 4px; margin-left: auto; }
.ms-links a {
  color: var(--ms-muted); text-decoration: none; font-weight: 500; font-size: .9rem;
  padding: 8px 11px; border-radius: 8px;
}
.ms-links a:hover { color: var(--ms-ink); background: var(--ms-soft); }
.ms-nav-cta {
  flex: none; background: var(--ms-accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px;
  transition: filter .15s var(--ms-ease);
}
.ms-nav-cta:hover { filter: brightness(1.12); color: #fff; }
@media (max-width: 640px) { .ms-links { display: none; } .ms-nav-cta { margin-left: auto; } }

/* ---- Hero --------------------------------------------------------------- */
.ms-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.ms-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,18,.82) 0%, rgba(10,14,18,.36) 46%, rgba(10,14,18,.14) 100%);
}
.ms-hero-body {
  position: relative; z-index: 1; color: #fff;
  max-width: var(--ms-maxw); margin: 0 auto; width: 100%;
  padding: clamp(36px, 6vw, 64px) var(--ms-pad);
}
.ms-kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; opacity: .82; margin: 0 0 12px;
}
.ms-hero h1 {
  color: #fff; font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 600;
  text-shadow: 0 2px 24px rgba(0,0,0,.35); max-width: 20ch;
}
.ms-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,.88); margin: 12px 0 0; max-width: 56ch; }
.ms-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ms-rating { margin: 18px 0 0; font-size: .9rem; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 8px; }
.ms-stars { color: #E0B838; letter-spacing: 2px; font-size: .95rem; }

/* ---- Buttons ------------------------------------------------------------ */
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem var(--ms-sans); padding: 13px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: filter .15s var(--ms-ease), transform .15s var(--ms-ease);
}
.ms-btn:active { transform: translateY(1px); }
.ms-btn-primary { background: var(--ms-accent); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.ms-btn-primary:hover { filter: brightness(1.12); color: #fff; }
.ms-btn-wa { background: #25D366; color: #06341C; font-weight: 700; }
.ms-btn-wa:hover { filter: brightness(1.06); }
.ms-btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.ms-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---- Sections ----------------------------------------------------------- */
.ms-section { max-width: var(--ms-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 84px) var(--ms-pad); }
.ms-section-tint { max-width: none; background: var(--ms-soft); }
.ms-section-tint > * { max-width: var(--ms-maxw); margin-inline: auto; }
.ms-section-dark { max-width: none; background: var(--ms-ink); color: rgba(255,255,255,.85); }
.ms-section-dark > * { max-width: var(--ms-maxw); margin-inline: auto; }
.ms-section-dark h2, .ms-section-dark h3 { color: #fff; }
.ms-section-dark .ms-eyebrow { color: var(--ms-accent2); }

.ms-eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ms-accent); margin: 0 0 8px;
}
.ms-section h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: clamp(20px, 3vw, 34px); }
.ms-prose { color: inherit; opacity: .88; max-width: 64ch; font-size: 1.02rem; line-height: 1.75; }

/* ---- Services ----------------------------------------------------------- */
.ms-services { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ms-service {
  background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-r-lg);
  padding: 22px 22px 20px; position: relative; overflow: hidden;
  transition: transform .2s var(--ms-ease), box-shadow .2s var(--ms-ease);
}
.ms-service:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.ms-service::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ms-accent), var(--ms-accent2));
}
.ms-service-n {
  font-family: var(--ms-serif); font-size: .95rem; font-weight: 600;
  color: var(--ms-accent2); display: block; margin-bottom: 8px;
}
.ms-service h3 { font-size: 1.08rem; margin-bottom: 4px; }
.ms-service p { margin: 4px 0 0; font-size: .92rem; color: var(--ms-muted); }

/* ---- About + highlights -------------------------------------------------- */
.ms-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 800px) { .ms-about { grid-template-columns: 1fr; } }
.ms-highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ms-highlights li {
  background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-r);
  padding: 13px 16px 13px 42px; position: relative; display: grid; gap: 2px;
  font-weight: 500; font-size: .95rem;
}
.ms-highlights li [dir="rtl"] { font-weight: 400; font-size: .9rem; color: var(--ms-muted); }
.ms-highlights li::before {
  content: ""; position: absolute; left: 14px; top: 16px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--ms-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---- Gallery ------------------------------------------------------------ */
.ms-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ms-gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--ms-r);
  transition: transform .3s var(--ms-ease);
}
.ms-gallery img:hover { transform: scale(1.025); }

/* ---- FAQ ---------------------------------------------------------------- */
.ms-faq { max-width: 720px; }
.ms-faq details { background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-r); margin-bottom: 10px; }
.ms-faq summary {
  cursor: pointer; list-style: none; font-weight: 600; padding: 15px 42px 15px 18px;
  position: relative; font-size: .98rem;
}
.ms-faq summary::-webkit-details-marker { display: none; }
.ms-faq summary::after {
  content: ""; position: absolute; right: 18px; top: 21px; width: 10px; height: 10px;
  border-right: 2px solid var(--ms-muted); border-bottom: 2px solid var(--ms-muted);
  transform: rotate(45deg); transition: transform .15s var(--ms-ease);
}
.ms-faq details[open] summary::after { transform: rotate(-135deg); top: 25px; }
.ms-faq details p { margin: 0; padding: 0 18px 16px; color: var(--ms-muted); }

/* ---- Booking ------------------------------------------------------------ */
.ms-bookwrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .ms-bookwrap { grid-template-columns: 1fr; } }
.ms-hours { border-collapse: collapse; margin-top: 20px; font-size: .92rem; width: 100%; max-width: 340px; }
.ms-hours td { padding: 7px 0; border-bottom: 1px solid var(--ms-line); }
.ms-hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.ms-form {
  background: #fff; border: 1px solid var(--ms-line); border-radius: var(--ms-r-lg);
  padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.09); position: relative; overflow: hidden;
}
.ms-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--ms-accent), var(--ms-accent2));
}
.ms-form label { display: grid; gap: 5px; }
.ms-form label > span { font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.ms-form label > span em { font-style: normal; font-weight: 500; color: var(--ms-muted); }
.ms-form input, .ms-form select, .ms-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--ms-line); border-radius: 9px;
  font: inherit; background: #fff; color: var(--ms-ink);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.ms-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366707A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 16px; padding-right: 34px;
}
.ms-form input:focus, .ms-form select:focus, .ms-form textarea:focus {
  outline: none; border-color: var(--ms-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ms-accent) 16%, transparent);
}
.ms-form textarea { resize: vertical; min-height: 70px; }
.ms-form .ms-btn { width: 100%; }
.ms-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ms-form-msg { margin: 0; min-height: 1em; font-size: .88rem; }
.ms-form-msg.ok { color: #17694A; font-weight: 600; }
.ms-form-msg.err { color: #A4262C; }

/* ---- Visit -------------------------------------------------------------- */
.ms-visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 820px) { .ms-visit { grid-template-columns: 1fr; } }
.ms-facts { margin: 0 0 22px; display: grid; gap: 14px; }
.ms-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.ms-facts dd { margin: 3px 0 0; font-size: 1rem; }
.ms-facts a { color: var(--ms-accent2); }
.ms-map { border-radius: var(--ms-r-lg); overflow: hidden; box-shadow: 0 16px 44px rgba(0,0,0,.25); }
.ms-map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---- Footer ------------------------------------------------------------- */
.ms-footer {
  border-top: 1px solid var(--ms-line); padding: 26px var(--ms-pad) 30px; text-align: center;
  font-size: .84rem; color: var(--ms-muted);
}
.ms-footer p { margin: 4px 0; }
.ms-powered a { color: var(--ms-muted); }
.ms-powered a:hover { color: var(--ms-accent); }

/* ---- Mobile action bar --------------------------------------------------- */
.ms-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 10px var(--ms-pad);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--ms-line); box-shadow: 0 -4px 18px rgba(0,0,0,.08);
}
.ms-mobilebar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 13px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .95rem;
}
.ms-mobilebar .mb-book { background: var(--ms-accent); color: #fff; }
.ms-mobilebar .mb-wa { background: #25D366; color: #06341C; }
.ms-mobilebar .mb-call { background: #fff; color: var(--ms-ink); border: 1px solid var(--ms-line); }
@media (max-width: 720px) {
  .ms-mobilebar { display: flex; }
  .ms-footer { padding-bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Ambience band (curated AI imagery, per category) -------------------- */
.ms-band {
  position: relative; min-height: 340px; display: flex; align-items: center;
  justify-content: center; background-size: cover; background-position: center;
  /* Fixed attachment gives a gentle parallax feel on desktop; mobile browsers
     that don't support it just scroll normally. */
  background-attachment: fixed;
  isolation: isolate; text-align: center; padding: 64px var(--ms-pad);
}
@media (max-width: 820px) { .ms-band { background-attachment: scroll; min-height: 260px; } }
.ms-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,16,22,.52); }
.ms-band-inner { color: #fff; max-width: 760px; }
.ms-band-line {
  font-family: var(--ms-serif); font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 600; margin: 0; letter-spacing: -.015em;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.ms-band-line-ar { font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 10px 0 0; color: rgba(255,255,255,.88); }

/* ---- About figure (category detail image when no gallery) ---------------- */
.ms-about-figure { margin: 26px 0 0; }
.ms-about-figure img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--ms-r-lg); box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
