/* 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; } }

/* Studio template (studio.mjs), layered over site.css. Photography carries the page: full-bleed hero, a
   before/after slider as the one signature interaction, services as a photo mosaic. The brand accent is used
   as light (thin lines, glows, the main button), never as large fills. */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

.tpl-studio { --pad: clamp(84px, 11vw, 128px); }
.tpl-studio h1, .tpl-studio h2 { letter-spacing: -.01em; }
.tpl-studio :is(h1, h2, h3) em { font-style: normal; }
/* Arabic display lines need air (ascenders and dots); English can sit much tighter. */
.tpl-studio:lang(ar) h1, .tpl-studio:lang(ar) h2 { line-height: 1.5; letter-spacing: 0; }
.tpl-studio:lang(en) h1 { line-height: 1.08; }
.tpl-studio:lang(en) h2 { line-height: 1.15; }
.tpl-studio .demo-ribbon__note { color: var(--muted); }
/* The Latin name lines up with the Arabic name on the edge beside the mark, so the lockup reads as one block.
   Letter-spacing leaves a gap after the last letter; the negative margin takes it back so the edges meet exactly. */
.tpl-studio .brand__text small { --ls: .26em; letter-spacing: var(--ls); }
[dir="rtl"] .tpl-studio .brand__text small { text-align: right; margin-right: calc(var(--ls) * -1); }
@media (max-width: 640px) { .tpl-studio .brand__text small { --ls: .14em; } }
@media (max-width: 420px) { .tpl-studio .brand__text small { --ls: .08em; } }
.tpl-studio .nav a { color: var(--muted); }
/* Light themes: until the page scrolls, the header sits on the dark hero photo, so its text is white there. */
.tpl-studio.theme-light .header:not(.is-scrolled) :is(.nav a, .brand__text strong, .lang, .menu-btn) { color: #fff; }
.tpl-studio.theme-light .header:not(.is-scrolled) :is(.lang, .menu-btn) { border-color: rgba(255, 255, 255, .35); }
.tpl-studio .nav a:hover { color: var(--text); }
.btn--glass { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { border-color: rgba(255, 255, 255, .6); }
.s-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.s-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; }
.s-lead { margin-top: 12px; color: var(--muted); font-size: 1.125rem; max-width: 60ch; text-wrap: pretty; }

/* Hero: the photo runs under the transparent header; the copy sits on the photo's dark side, at the bottom. */
.s-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; min-height: min(94svh, 900px); display: grid; align-items: end; padding: 150px 0 clamp(56px, 7vw, 88px); color: #fff; }
/* --hero-shift (studio.heroShift) slides the photo toward its subject's side on wide screens, away from the copy. */
.s-hero__media { position: absolute; top: 0; bottom: 0; left: calc(var(--hero-shift, 0%) * -1); width: calc(100% + var(--hero-shift, 0%)); margin: 0; z-index: -2; background: #000; }
[dir="ltr"] .s-hero__media { left: 0; }
/* Wide screens: the photo hugs the side away from the copy, so the copy keeps to the empty side. */
.s-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos-wide, 0% 50%); }
[dir="ltr"] .s-hero__media img { object-position: var(--hero-pos-wide, 0% 50%); }
/* The photo's empty side is on the right, where the Arabic copy starts; the English page mirrors it. */
[dir="ltr"] .s-hero__media img { transform: scaleX(-1); }
.s-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 34%, rgba(0, 0, 0, 0) 66%), linear-gradient(to top, var(--bg) 0%, rgba(0, 0, 0, .35) 26%, rgba(0, 0, 0, 0) 46%), linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 22%); }
[dir="ltr"] .s-hero::before { background: linear-gradient(to right, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 34%, rgba(0, 0, 0, 0) 66%), linear-gradient(to top, var(--bg) 0%, rgba(0, 0, 0, .35) 26%, rgba(0, 0, 0, 0) 46%), linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 22%); }
.s-hero__copy { max-width: min(530px, 42vw); }
.s-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.s-hero__eyebrow .icon { color: var(--accent-2); }
.s-hero h1 { margin-top: 14px; font-size: clamp(2.6rem, 4.8vw, 4.2rem); font-weight: 800; text-wrap: balance; }
.s-hero h1 em { display: block; }
.s-hero__lead { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .8); max-width: 54ch; }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.s-hero__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.s-hero__rating b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.s-hero__rating:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }

/* Before / after. "Before" covers the reading-start side, up to the handle at --pos (from the left edge). */
.s-compare { padding: var(--pad) 0 calc(var(--pad) * .7); }
.cmp { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: #000; box-shadow: var(--shadow), 0 0 0 1px var(--line-strong); }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
[dir="ltr"] .cmp__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 80%, transparent); pointer-events: none; }
.cmp__knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 0; background: #fff; color: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.cmp__arrow { width: 18px; height: 18px; }
.cmp__arrow--a { transform: scaleX(-1); }
.cmp__tag { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.cmp__tag--before { inset-inline-start: 18px; }
.cmp__tag--after { inset-inline-end: 18px; }
/* The range input only serves the keyboard and screen readers; pointer drags are handled on the whole photo. */
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.cmp:has(.cmp__range:focus-visible) .cmp__knob { outline: 3px solid var(--accent-2); outline-offset: 4px; }
.cmp__hint { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--muted); }
/* One moment of motion: when the slider first comes into view, the handle sweeps once to show it moves. */
@keyframes cmp-sweep { 0%, 100% { --pos: 50%; } 35% { --pos: 30%; } 70% { --pos: 68%; } }
.js .cmp.is-in:not(.is-moved) { animation: cmp-sweep 2.4s cubic-bezier(.55, 0, .3, 1) .5s 1; }

/* Services: a photo mosaic. Four services: a tall first tile, two beside it, a wide one under them. */
.s-services { padding: calc(var(--pad) * .7) 0 var(--pad); }
.mosaic { display: grid; gap: 16px; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(300px, auto); }
.mosaic--3 { grid-template-columns: 1.25fr 1fr; }
.mosaic--3 .tile:nth-child(1), .mosaic--4 .tile:nth-child(1), .mosaic--5 .tile:nth-child(1) { grid-row: span 2; }
.mosaic--4 .tile:nth-child(4) { grid-column: span 2; }
.mosaic--2 { grid-template-columns: 1fr 1fr; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); color: #fff; display: flex; align-items: flex-end; min-height: 300px; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 66%); }
.tile:hover .tile__img { transform: scale(1.045); }
.tile__body { padding: clamp(22px, 2.4vw, 32px); }
.tile h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 700; }
.tile p { margin-top: 6px; max-width: 44ch; font-size: .98rem; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.tile--plain { color: var(--text); border: 1px solid var(--line-strong); }
.tile--plain::after { display: none; }
.tile--plain p { color: var(--muted); }

/* Facts: the Google rating first and largest, then the business's own points. */
.s-facts { padding: 0 0 var(--pad); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); overflow: hidden; }
.fact { padding: clamp(24px, 2.6vw, 34px); border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact--rating { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.fact--rating a { display: flex; align-items: center; gap: 18px; height: 100%; }
.fact__big { font: 800 clamp(3rem, 5vw, 4.25rem)/1 var(--font-display); color: var(--text); }
.fact__sub { display: grid; gap: 4px; font-size: .95rem; color: var(--muted); }
.fact__link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; }
.fact--rating a:hover .fact__link { text-decoration: underline; text-underline-offset: 4px; }
.fact__icon { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 14px; }
.fact h3 { font-size: 1.1rem; line-height: 1.5; }
.fact p { margin-top: 4px; font-size: .95rem; line-height: 1.65; color: var(--muted); }

/* Steps: a real sequence, so they are numbered and joined by one line. */
.s-flow { padding: var(--pad) 0; background: var(--bg-2); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; top: 28px; inset-inline-start: 28px; inset-inline-end: calc(100% / var(--steps, 4) - 28px); height: 1px; background: linear-gradient(to left, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
[dir="ltr"] .flow::before { background: linear-gradient(to right, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.flow__step { position: relative; padding-inline-end: 28px; }
.flow__num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); font: 700 1.25rem/1 var(--font-display); box-shadow: 0 0 0 8px var(--bg-2), 0 0 34px -8px var(--accent); }
.flow__step h3 { margin-top: 24px; font-size: 1.25rem; }
.flow__step p { margin-top: 6px; color: var(--muted); font-size: .98rem; }

/* Booking: a photo card with the phone number beside the form. */
.s-book { padding: var(--pad) 0; }
.s-book__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: stretch; }
.s-book__media { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); min-height: 540px; background: var(--surface); color: #fff; display: flex; align-items: flex-end; }
.s-book__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.s-book__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .2) 60%, rgba(0, 0, 0, 0)); }
.s-book__card { padding: clamp(24px, 3vw, 40px); }
.s-book__card h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; }
.s-book__card p { margin-top: 10px; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.s-book__tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tpl-studio .book__form { align-content: start; }

.s-faq { padding: var(--pad) 0; }
.s-faq .s-head { margin-bottom: 0; }
.s-contact { padding: var(--pad) 0; background: var(--bg-2); }
.s-contact h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }

@media (max-width: 900px) {
  /* Tablets and phones: no side to keep to, so the copy takes the width and reads over a bottom fade. */
  .s-hero__copy { max-width: 620px; }
  .s-hero__media, [dir="ltr"] .s-hero__media { left: 0; width: 100%; }
  .s-hero__media img, [dir="ltr"] .s-hero__media img { object-position: var(--hero-pos); }
  .s-hero::before, [dir="ltr"] .s-hero::before { background: linear-gradient(to top, var(--bg) 0%, rgba(0, 0, 0, .78) 34%, rgba(0, 0, 0, .25) 62%, rgba(0, 0, 0, .5) 100%); }
}
@media (max-width: 1024px) {
  .s-book__inner { grid-template-columns: 1fr; }
  .s-book__inner > * { min-width: 0; }
  .s-book__media { min-height: 420px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-inline-start: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .flow::before { display: none; }
}
@media (max-width: 760px) {
  .mosaic, .mosaic--3, .mosaic--2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mosaic .tile { grid-row: auto !important; grid-column: auto !important; min-height: 0; aspect-ratio: 4 / 3.5; }
  .cmp { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 640px) {
  .tpl-studio { --pad: 76px; }
  /* Phones: the photo fills the screen, the copy reads over a stronger bottom fade. */
  .s-hero { min-height: calc(100svh - 30px); padding: 120px 0 36px; }
  .s-hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .s-hero__cta .btn { flex: 1 1 100%; }
  .s-hero__rating { margin-top: 20px; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-inline-start: 0 !important; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0 0 30px; }
  .flow__step::before { content: ""; position: absolute; top: 56px; bottom: 0; inset-inline-start: 28px; width: 1px; background: color-mix(in srgb, var(--accent) 45%, transparent); }
  .flow__step:last-child::before { display: none; }
  .flow__num { grid-row: span 2; }
  .flow__step h3 { margin-top: 12px; }
  .s-book__media { min-height: 360px; }
  .cmp__knob { width: 48px; height: 48px; }
  .cmp__tag { top: 12px; }
  .cmp__tag--before { inset-inline-start: 12px; }
  .cmp__tag--after { inset-inline-end: 12px; }
}
