/* Shared stylesheet for every client site. Colours, fonts and radius come from the
   per-site :root tokens written by site.mjs (themeCss). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
/* width/height attributes reserve space while loading; the drawn height still follows the CSS width. */
img { height: auto; }
a { color: inherit; text-decoration: none; }
/* Arabic display fonts have tall ascenders and deep descenders: keep enough line height that two-line titles never touch. */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.38; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
.muted { color: var(--muted); }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars .icon { width: .95em; height: .95em; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--btn-2); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.demo-ribbon { background: var(--soft); border-bottom: 1px solid var(--line); color: var(--accent-text); text-align: center; font-size: .8125rem; padding: 6px 16px; font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-family: var(--font-display); border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: linear-gradient(135deg, var(--btn-1), var(--btn-2)); color: var(--accent-ink); box-shadow: 0 14px 32px -14px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn--ghost { border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { padding: 9px 18px; font-size: .9375rem; }
.btn--lg { padding: 15px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; }
.brand__mark--logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.footer .brand__mark--logo { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.5; }
.brand__text strong { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.brand__text small { font-family: "Readex Pro", sans-serif; font-size: .625rem; line-height: 1.4; letter-spacing: .26em; color: var(--accent-text); direction: ltr; text-align: start; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .98rem; }
.nav a { color: var(--muted); transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.nav__lang { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-display); font-size: .875rem; font-weight: 600; }
.lang:hover { border-color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; place-items: center; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none; background: radial-gradient(40% 50% at 72% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(35% 45% at 18% 10%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-center .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 48px; }
.hero-center .hero__copy { max-width: 820px; display: grid; justify-items: center; }
.hero-center .hero__cta, .hero-center .proof { justify-content: center; }
.hero-center .hero__visual { width: min(860px, 100%); }
.hero-center .art--hero { aspect-ratio: 16 / 8; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--soft); color: var(--accent-text); font-size: .875rem; font-weight: 600; margin-bottom: 22px; }
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.hero h1 { font-size: clamp(2.5rem, 1.9rem + 3.4vw, 4.6rem); font-weight: 700; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--em-1), var(--em-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.1875rem; max-width: 58ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .9375rem; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof > li > .icon { color: var(--accent); width: 1.1em; height: 1.1em; }
.hero__photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3.4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; animation: photo-in 14s cubic-bezier(.2,.7,.2,1) both; }
.hero__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 45%, transparent)); }
.hero-center .hero__photo { aspect-ratio: 16 / 8; }
@keyframes photo-in { from { transform: scale(1.08); } to { transform: none; } }
.hero__badge { position: absolute; z-index: 1; inset-inline-start: 18px; bottom: 18px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.hero__badge b { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.hero__badge small { color: var(--muted); }

/* Art: the designed visual used where no photo exists yet */
.art { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3.6; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  background: radial-gradient(70% 70% at 50% 45%, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 70%), var(--surface); isolation: isolate; }
.art__pattern { position: absolute; inset: 0; opacity: .55; }
.art--dots .art__pattern { background-image: radial-gradient(color-mix(in srgb, var(--accent) 45%, transparent) 1.2px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%); }
.art--grid .art__pattern { background-image: linear-gradient(color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 1px); background-size: 38px 38px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%); }
.art--waves .art__pattern { background: repeating-radial-gradient(circle at 50% 120%, transparent 0 22px, color-mix(in srgb, var(--accent) 22%, transparent) 23px 24px); }
.art--diag .art__pattern { background: repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--accent) 16%, transparent) 18px 19px); -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 90%); mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 90%); }
.art--rings .art__pattern { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 30px, color-mix(in srgb, var(--accent) 18%, transparent) 31px 32px); }
.art__glow { position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%); filter: blur(10px); }
.art__ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.art__ring--1 { width: 46%; aspect-ratio: 1; }
.art__ring--2 { width: 70%; aspect-ratio: 1; border-style: dashed; opacity: .6; animation: spin 40s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.art__orb { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30%; aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.art__icon { width: 52%; height: 52%; }
.art__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; background: color-mix(in srgb, var(--bg) 86%, transparent); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); box-shadow: var(--shadow); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.art__chip .icon { color: var(--accent); }
.art__chip--1 { top: 12%; inset-inline-start: 7%; }
.art__chip--2 { top: 44%; inset-inline-end: 6%; animation-delay: -2s; }
.art__chip--3 { bottom: 11%; inset-inline-start: 13%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: 104px 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 660px; margin-bottom: 52px; }
.kicker { color: var(--accent-text); font-family: var(--font-display); font-weight: 600; font-size: .9375rem; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section h2 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); font-weight: 700; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services--four { grid-template-columns: repeat(2, 1fr); }
.service { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.service:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-4px); box-shadow: var(--shadow); }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service:hover .service__media img { transform: scale(1.05); }
/* With a photo, the icon badge sits on the photo's lower edge. */
.service--photo .service__body { padding-top: 0; }
.service--photo .service__icon { position: relative; margin-top: -27px; background: var(--surface); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.service--photo .service__icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--soft); }
.service--photo .service__icon .icon { position: relative; }
.service__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; flex: 1; }
.service__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: var(--soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.service__icon .icon { width: 26px; height: 26px; }
.service h3 { font-size: 1.28rem; font-weight: 600; }
.service p { color: var(--muted); font-size: .98rem; flex: 1; }
.service__tag { align-self: flex-start; font-size: .8125rem; font-weight: 600; color: var(--accent-text); background: var(--soft); padding: 4px 12px; border-radius: 999px; }

/* Feature band */
.section--feature { padding-top: 0; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--soft), transparent 70%), var(--surface); border: 1px solid var(--line); }
.feature__visual img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature__art { aspect-ratio: 4 / 3; box-shadow: none; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .tick { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 3px; }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why-grid .section__head { margin-bottom: 0; position: sticky; top: 104px; }
.rating-card { margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); display: grid; gap: 6px; justify-items: start; background: linear-gradient(140deg, var(--soft), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.rating-card__num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1; }
/* With a photo, the rating card floats on it. */
.why__media { position: relative; margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 6 / 5; border: 1px solid var(--line); box-shadow: var(--shadow); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media .rating-card { position: absolute; inset-inline-start: 16px; bottom: 16px; margin: 0; padding: 18px 22px; gap: 4px; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(12px); border-color: var(--line-strong); }
.why__media .rating-card__num { font-size: 2.6rem; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; margin-top: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link .icon { width: 1em; height: 1em; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why { display: flex; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--soft); }
.why h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: .98rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step__num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Booking */
.section--book { background: radial-gradient(60% 60% at 80% 20%, var(--soft), transparent 70%), var(--bg); }
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.contact-line { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 28px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.contact-line .icon { color: var(--accent); }
.book__form { padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: grid; gap: 8px; font-size: .9375rem; align-content: start; }
.field--wide, .book__form select, .form-error, .book__form .btn { grid-column: 1 / -1; }
.field:has(select), .field--wide { grid-column: 1 / -1; }
.field > span { color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; font-size: 1rem; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.field ::placeholder { color: var(--muted); opacity: 1; }
.form-error { font-size: .9375rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--accent); transition: transform .25s ease; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list > li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--soft); color: var(--accent); }
.contact__list div { display: grid; gap: 2px; }
.contact__list strong { font-family: var(--font-display); font-weight: 600; }
.contact__list span, .contact__list a[dir="ltr"] { color: var(--muted); justify-self: start; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); min-height: 380px; }
.contact__map:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.theme-dark .contact__map iframe { filter: grayscale(.35) invert(.92) hue-rotate(180deg) contrast(.9); }

/* Footer, mobile bar, install */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); }
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.mobile-bar { display: none; }
/* "Install app" never floats over the page: it sits in the header on wide screens and in the bottom bar on phones,
   and stays hidden until the browser offers installation. */
.install { color: var(--accent-text); }
.install[hidden], .mobile-bar__install[hidden] { display: none !important; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero__grid, .why-grid, .book, .faq, .contact, .feature { grid-template-columns: 1fr; gap: 40px; }
  /* Let single-column children shrink below their content width (the booking form pushed 360px phones sideways). */
  .hero__grid > *, .why-grid > *, .book > *, .faq > *, .contact > *, .feature > * { min-width: 0; }
  .why-grid .section__head { position: static; }
  .services, .services--four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .feature { padding: 32px; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 100px 16px auto; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; color: var(--text); }
  .nav__lang { display: block; border-top: 1px solid var(--line); margin-top: 6px; }
  .menu-btn { display: grid; }
  .header__actions .btn { display: none; }
  /* Tablets have no bottom bar, so the header keeps the install button as a round icon. */
  .header__actions .install:not([hidden]) { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .header__actions .install span { display: none; }
  /* Touch screens: text links get a 44px tap height. */
  .link, .contact__list a { min-height: 44px; align-items: center; }
  .contact__list a { display: inline-flex; }
  .link { margin-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .section { padding: 76px 0; }
  .hero { padding: 36px 0 72px; }
  .lead { font-size: 1.0625rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .services, .services--four, .steps { grid-template-columns: 1fr; }
  .book__form { grid-template-columns: 1fr; padding: 24px 20px; }
  .why { padding: 22px 20px; }
  .brand__text small { letter-spacing: .14em; white-space: nowrap; }
  .why__media { aspect-ratio: 4 / 3.4; }
  .why__media .rating-card { inset-inline-start: 12px; bottom: 12px; padding: 12px 16px; }
  .why__media .rating-card__num { font-size: 2rem; }
  .hero-center .hero__photo { aspect-ratio: 4 / 3; }
  .feature { padding: 22px; }
  .art__chip { font-size: .8rem; padding: 8px 12px; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .header__actions .install { display: none !important; }
  .mobile-bar:has(.mobile-bar__install:not([hidden])) { grid-template-columns: 1fr 1.3fr 1fr 1fr; gap: 6px; }
  .mobile-bar a, .mobile-bar__install { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .75rem; padding: 6px; border-radius: 14px; color: var(--muted); }
  .mobile-bar__install { border: 0; background: none; font-family: inherit; cursor: pointer; }
  .mobile-bar .icon { width: 22px; height: 22px; color: var(--text); }
  .mobile-bar__main { background: linear-gradient(135deg, var(--btn-1), var(--btn-2)); color: var(--accent-ink) !important; font-weight: 600; }
  .mobile-bar__main .icon { color: var(--accent-ink); }
}
.brand__short { display: none; }
.display-deco :is(.btn, .lang, .kicker, .art__chip, .faq__item summary, .contact-line, .contact__list strong, .mobile-bar) { font-family: var(--font-body); }
/* Small phones (360px is common): keep the brand name on one line beside the two header buttons. */
@media (max-width: 420px) {
  .header__inner { gap: 10px; }
  .header__actions { gap: 6px; }
  .brand { gap: 10px; min-width: 0; }
  .brand__text { min-width: 0; }
  .brand__text strong, .brand__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__text small { letter-spacing: .08em; }
  .brand__full { display: none; }
  .brand__short { display: inline; }
  .header__actions { flex-shrink: 0; }
}
@media (max-width: 370px) {
  .brand__mark, .brand__mark--logo { width: 38px; height: 38px; }
  .brand__text strong { font-size: 1rem; }
  /* The Latin name is the first thing to give way; the Arabic name stays. */
  .brand__text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Booking form feedback shared by every client site (bookform.js): required marks, errors under each field,
   and the "sent" status. Colours come from each site's tokens; --danger is set by the theme. */
.req { margin-inline-start: 3px; color: var(--danger, #e5484d); font-weight: 700; }
/* An error under one field must not stretch the fields beside it, and a dropdown with a long option must not
   widen its field past the card on a narrow phone (grid items default to their content's minimum width). */
.field { align-content: start; min-width: 0; }
.field select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
/* The same goes for every other row of the form; the long send button wraps instead of widening the card. */
.book__form > *, .calc__fields > * { min-width: 0; }
.book__form .btn--block { white-space: normal; text-align: center; line-height: 1.4; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: var(--muted); }
/* :is() lifts these above each site's ".field > span" label rule. */
:is(.field, fieldset) > .field__error { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: .875rem; line-height: 1.5; font-weight: 500; color: var(--danger, #e5484d); }
:is(.field, fieldset) > .field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; font-size: .75rem; line-height: 1; font-weight: 700; color: var(--surface, #fff); background: var(--danger, #e5484d); }
.field [aria-invalid="true"], .dp-trigger[aria-invalid="true"] { border-color: var(--danger, #e5484d); }
.form-error { color: var(--danger, #e5484d); }
.form-status { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.6; color: var(--text); background: color-mix(in srgb, #25d366 14%, transparent); border: 1px solid color-mix(in srgb, #25d366 45%, transparent); }
.form-status::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #1fa855 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.form-status[hidden], .form-error[hidden] { display: none; }
/* An empty dropdown shows its prompt in the muted colour, like a placeholder. */
.field select:has(option[value=""]:checked) { color: var(--muted); }
.field select option { color: var(--text); }

/* Booking date picker (datepicker.js). Colours, fonts and radii come from each site's theme tokens. */
.dp-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem; text-align: start; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.dp-trigger:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); }
.dp-trigger:focus-visible, .dp-trigger[aria-expanded="true"] { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft, color-mix(in srgb, var(--accent) 15%, transparent)); }
.dp-trigger[aria-invalid="true"] { border-color: var(--danger, #e5484d); }
.dp-trigger__icon { width: 20px; height: 20px; flex: none; color: var(--accent); }
.dp-trigger__value { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dp-trigger__value.is-empty { color: var(--muted); }
.dp-trigger__chev { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform .2s ease; }
.dp-trigger[aria-expanded="true"] .dp-trigger__chev { transform: rotate(180deg); }

.dp { --dp-soft: var(--soft, color-mix(in srgb, var(--accent) 14%, transparent)); --dp-shift: 18px; position: absolute; z-index: 1000; width: 340px; padding: 16px; border-radius: 22px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-family: var(--font-body); line-height: 1.4; box-shadow: var(--shadow), 0 2px 8px rgba(0, 0, 0, .08); animation: dp-pop .2s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] .dp { --dp-shift: -18px; }
.dp button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.dp svg { width: 18px; height: 18px; flex: none; }

.dp__head { display: none; }
.dp__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dp__chip { display: grid; gap: 3px; padding: 9px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.dp__chip b { font: 600 .875rem/1.2 var(--font-display); }
.dp__chip small { font-size: .75rem; color: var(--muted); }
.dp__chip:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.dp__chip.is-selected { border-color: var(--accent); background: var(--dp-soft); }
.dp__chip.is-selected small { color: var(--accent-text, var(--accent)); }

.dp__nav { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; }
.dp__title { font: 700 1rem/1.2 var(--font-display); }
.dp__step { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.dp__step:hover:not(:disabled) { background: var(--dp-soft); color: var(--accent-text, var(--accent)); }
.dp__step:disabled { opacity: .3; cursor: default; }

.dp__week, .dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp__week span { padding: 4px 0; text-align: center; font-size: .6875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.dp__grid > span { aspect-ratio: 1; }
.dp__grid.is-next { animation: dp-slide .24s ease; }
.dp__grid.is-prev { animation: dp-slide-back .24s ease; }
.dp__day { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.dp__day:hover:not(:disabled) { background: var(--dp-soft); color: var(--accent-text, var(--accent)); }
.dp__day:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.dp__day:disabled { opacity: .3; cursor: default; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent-text, var(--accent)); }
.dp__day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.dp__day.is-selected, .dp__day.is-selected:hover { background: linear-gradient(145deg, var(--btn-1, var(--accent-2)), var(--btn-2, var(--accent))); color: var(--accent-ink); box-shadow: 0 10px 22px -10px var(--accent); }

.dp__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dp__hijri { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.dp__hijri svg { width: 16px; height: 16px; color: var(--accent); }
.dp .dp__clear { min-height: 44px; padding: 4px 6px; border: 0; background: none; font-weight: 600; font-size: .875rem; color: var(--accent-text, var(--accent)); cursor: pointer; }

/* Phones: a bottom sheet over a dimmed page. */
.dp-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(6, 8, 12, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: dp-fade .2s ease; }
.dp.dp--sheet { position: fixed; inset: auto 0 0 0; width: auto; max-width: 520px; max-height: 92vh; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); border-bottom: 0; border-radius: 26px 26px 0 0; animation: dp-up .3s cubic-bezier(.2, .8, .2, 1); }
.dp--sheet::before { content: ""; display: block; width: 42px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: var(--line-strong); }
.dp--sheet .dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dp--sheet .dp__head b { font: 700 1.0625rem/1.2 var(--font-display); }
.dp__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }
.dp--sheet .dp__day { font-size: 1rem; border-radius: 14px; }

@keyframes dp-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes dp-up { from { transform: translateY(100%); } }
@keyframes dp-fade { from { opacity: 0; } }
@keyframes dp-slide { from { opacity: 0; transform: translateX(var(--dp-shift)); } }
@keyframes dp-slide-back { from { opacity: 0; transform: translateX(calc(var(--dp-shift) * -1)); } }
@media (prefers-reduced-motion: reduce) { .dp, .dp__grid, .dp-backdrop { animation: none !important; } }
