/* =====================================================================
   MAX 77 — public website
   ===================================================================== */
html { overflow-x: clip; } /* nothing may ever widen the page sideways on phones */
html { scroll-behavior: auto; } /* global smooth scrolling fights the scroll animations (page jumped back up); in-page links glide via JS */
body.is-intro { overflow: hidden; }

/* ---------- ambient light + water layers ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.ambient i:nth-child(1) { width: 60vmax; height: 60vmax; top: -20vmax; right: -25vmax; background: radial-gradient(circle, rgba(30,123,255,.35), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { width: 50vmax; height: 50vmax; bottom: -25vmax; left: -20vmax; background: radial-gradient(circle, rgba(7,40,110,.7), transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.ambient i:nth-child(3) { width: 30vmax; height: 30vmax; top: 40%; left: 40%; background: radial-gradient(circle, rgba(95,180,255,.14), transparent 65%); animation: drift1 40s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-8vw, 10vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vw, -6vh) scale(1.15); } }
.water-glass, .water-bg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.water-glass { opacity: 0; transition: opacity 2s; }
body.is-ready .water-glass { opacity: .9; }
main, .footer, .topbar { position: relative; z-index: 2; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  transition: transform .6s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
body.is-intro .topbar { transform: translateY(-110%); }
.topbar.is-solid { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line); }
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-b); font-weight: 700; letter-spacing: .04em; font-size: .95rem; }
/* any logo shape fits whole: square, or a wide word-mark like «MAX77» */
.topbar__brand { min-width: 0; flex: 0 1 auto; }
.topbar__brand img { width: auto; height: 36px; max-width: min(34vw, 140px); border-radius: 8px; object-fit: contain; }
.topbar__brand span { display: none; }
.topbar__nav { display: flex; align-items: center; gap: 6px; }
.topbar__nav a:not(.btn) { padding: 8px 12px; font-size: .92rem; color: var(--silver); text-decoration: none; border-radius: 999px; }
.topbar__nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.06); }
@media (min-width: 640px) { .topbar__brand span { display: inline; } .topbar { padding-inline: 28px; } }
@media (max-width: 420px) { .topbar__nav a:not(.btn) { display: none; } }
/* EN / ع: switches the whole site's language */
.lang-btn { flex: none; min-width: 38px; height: 34px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.45); color: var(--silver); font: 700 .8rem/1 var(--font-b); letter-spacing: .04em; cursor: pointer; }
.lang-btn:hover { color: #fff; border-color: var(--blue-2); }
@media (max-width: 480px) { .topbar__nav { gap: 4px; } .topbar__nav a:not(.btn) { padding: 8px 8px; font-size: .86rem; } .avail { padding: 6px 9px; } }

/* ---------- HERO / opening scene ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; z-index: 3; background: #000; }
/* once the page is open, the black fades out under the steps so the water background runs on with no line */
html:not([data-theme="light"]) body.is-ready .hero { background: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0) 80%); }
.hero__stage { position: absolute; inset: 0; }
.hero__gl, .hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slot {
  position: absolute; left: 50%; top: 50%;
  width: min(94vw, 86svh); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: width 1.5s var(--ease), top 1.5s var(--ease), left 1.5s var(--ease), transform 1.5s var(--ease);
}
/* shown instantly in black & white while the scene loads; the WebGL wash takes over seamlessly */
.hero__fallback { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); transition: opacity .5s; }
body.gl-on .hero__fallback { opacity: 0; }
body.no-gl .hero__fallback { filter: none; transition: filter 2.6s var(--ease) .6s; }
body.no-gl .hero__gl, body.no-gl .hero__fx { display: none; }

.hero__copy {
  position: absolute; inset-inline: 20px; bottom: max(7svh, 40px);
  text-align: center; display: grid; gap: 12px; justify-items: center;
  transition: opacity .8s;
}
body.is-intro .hero__copy { opacity: 0; pointer-events: none; }
.kicker { font-size: .82rem; letter-spacing: .08em; color: var(--blue-2); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before, .kicker::after { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-2)); }
.kicker::after { transform: scaleX(-1); }
.hero__title { font-size: clamp(1.45rem, 5.6vw, 3.3rem); font-weight: 700; max-width: 18ch; text-wrap: balance; white-space: pre-line; /* the owner's Enter = a new line */ }
.hero__sub { color: var(--silver-2); max-width: 40ch; font-size: clamp(.95rem, 2.6vw, 1.12rem); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* intro done: logo moves to its place, copy appears (mobile) */
/* phones: the logo and the words under it sit together, centred on the screen (no big gap on tall phones) */
.hero { --logo: min(88vw, 52svh, calc(100svh - var(--copy-h) - 96px)); --copy-h: 300px; --logo-top: max(70px, calc((100svh - var(--logo) - var(--copy-h)) / 2)); }
body.is-ready .hero__slot { width: var(--logo); top: var(--logo-top); transform: translate(-50%, 0); }
@media (max-width: 959px) { .hero__copy { bottom: auto; top: calc(var(--logo-top) + var(--logo) + 4px); } }
@media (max-height: 640px) { .hero { --logo: min(70vw, 42svh, calc(100svh - var(--copy-h) - 90px)); --copy-h: 270px; } .hero__sub { display: none; } }
/* desktop: logo on the start side, copy on the end side */
@media (min-width: 960px) {
  body.is-ready .hero__slot { width: min(46vw, 80svh); left: 70%; top: 52%; transform: translate(-50%, -50%); }
  .hero__copy { inset-inline: auto; left: 6vw; right: auto; bottom: auto; top: 52%; transform: translateY(-50%); width: min(40vw, 540px); text-align: right; justify-items: start; }
  .hero__actions { justify-content: flex-start; }
}

.intro-skip {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.4); color: var(--silver-2); font-size: .82rem; cursor: pointer;
  transition: opacity .5s, color .2s;
}
.intro-skip:hover { color: #fff; }
body.is-ready .intro-skip { opacity: 0; pointer-events: none; }
.scroll-cue { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border-radius: 14px; border: 1px solid var(--line-strong); opacity: 0; transition: opacity 1s 1s; }
.scroll-cue span { position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; margin-left: -2px; border-radius: 4px; background: var(--blue-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
body.is-ready .scroll-cue { opacity: .8; }
@media (max-width: 959px) { .scroll-cue { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 16px; max-width: 1240px; margin: 0 auto; }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 10px; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-index { font-family: var(--font-num); font-weight: 800; font-style: italic; font-size: .9rem; letter-spacing: .2em; color: var(--blue-2); }
.sec-head h2 { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 700; }
.sec-head h2 { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { color: var(--silver-2); font-size: clamp(.98rem, 2.4vw, 1.12rem); }

/* ---------- marquee ---------- */
/* same width as the service cards, softly faded at both ends */
/* two still lines in the middle of the screen */
.marquee { padding: 18px 16px 4px; position: relative; width: 100%; text-align: center; }
.marquee .marquee__row { white-space: normal; text-wrap: balance; }
.marquee + .services { padding-top: clamp(36px, 8vw, 110px); }
@media (max-width: 959px) { .hero__copy { bottom: max(4svh, 22px); } }
.marquee__row { white-space: nowrap; font-family: var(--font-b); font-weight: 700; font-size: clamp(.9rem, 3vw, 1.8rem); line-height: 1.3; letter-spacing: .01em; direction: ltr; will-change: transform; }
.marquee__row span { display: inline-block; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.marquee__row--outline span { background: none; color: transparent; -webkit-text-stroke: 1px rgba(95,180,255,.45); }
.facts { list-style: none; margin: 40px auto 0; padding: 0 16px; max-width: 1100px; display: grid; gap: 12px; grid-template-columns: 1fr; }
.facts li { display: grid; gap: 2px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(30,123,255,.08), rgba(255,255,255,.01)); }
.facts b { font-family: var(--font-h); font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: .9rem; }
.facts em { font-style: normal; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- services / monthly switch ---------- */
.kind-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 14px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.5); }
.kind-switch button { position: relative; z-index: 1; min-width: 140px; min-height: 46px; padding: 0 16px; border: 0; background: none; cursor: pointer; font-family: var(--font-h); font-weight: 600; color: var(--silver-2); transition: color .3s; border-radius: 999px; white-space: nowrap; }
.kind-switch button[aria-selected="true"] { color: #fff; }
.kind-switch__pill { position: absolute; top: 5px; bottom: 5px; right: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, #2b88ff, #0b4fc4); box-shadow: 0 6px 24px -6px var(--blue-glow); transition: transform .5s var(--ease); }
.kind-switch[data-k="monthly"] .kind-switch__pill { transform: translateX(-100%); }
.kind-switch.is-single { grid-template-columns: 1fr; }
.kind-switch.is-single .kind-switch__pill { width: calc(100% - 10px); }
@media (max-width: 380px) { .kind-switch button { min-width: 0; font-size: .9rem; } }

/* ---------- SERVICE BAYS (water reveal) ---------- */
.bays { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bays { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.bay { position: relative; border-radius: 20px; isolation: isolate; cursor: pointer; transition: transform .5s var(--ease); }
.bay__glass {
  position: relative; height: 100%; padding: 16px 14px 14px; border-radius: inherit; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(30,123,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(16,28,52,.75), rgba(4,8,16,.88));
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 40px 80px -40px rgba(0,0,0,.95);
  transition: border-color .4s, box-shadow .4s;
}
/* tunnel light bar */
.bay__glass::before { content: ''; position: absolute; top: 0; inset-inline: 18%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--blue-2), transparent); box-shadow: 0 0 18px 2px var(--blue-glow); opacity: .7; transition: opacity .4s, inset .4s; }
/* glossy reflection */
.bay__glass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 45%, transparent 55%); transform: translateX(60%); transition: transform 1.2s var(--ease); pointer-events: none; }
.bay:hover .bay__glass::after, .bay.is-selected .bay__glass::after { transform: translateX(-60%); }
.bay.is-selected .bay__glass { border-color: rgba(95,180,255,.7); box-shadow: 0 0 0 1px rgba(95,180,255,.4) inset, 0 0 60px -10px var(--blue-glow), 0 40px 80px -40px #000; }
.bay.is-selected .bay__glass::before { opacity: 1; inset-inline: 6%; }
/* one compact header row: 01 · name · foam icon (turns into «✓ مختارة» once chosen) */
.bay__top { display: flex; align-items: center; gap: 10px; }
.bay__num { flex: none; font-family: var(--font-num); font-weight: 800; font-style: italic; font-size: 1.3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200,215,240,.4); }
.bay__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(30,123,255,.1); color: var(--blue-2); }
/* car in foam — a cut-out picture, painted in the icon colour */
.bay__car { display: block; width: 29px; height: 24px; background: currentColor; -webkit-mask: url(../brand/wash-icon.png?v=3) center / contain no-repeat; mask: url(../brand/wash-icon.png?v=3) center / contain no-repeat; }
.bay__name { flex: 1; min-width: 0; font-size: 1.15rem; font-weight: 700; }
.bay__picked { display: none; flex: none; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px; background: #22c55e; border: 1px solid #22c55e; color: #fff; box-shadow: 0 0 0 3px rgba(34,197,94,.22); font-size: .78rem; font-weight: 700; white-space: nowrap; animation: pop .35s var(--ease); }
.bay.is-selected .bay__icon { display: none; }
.bay.is-selected .bay__picked { display: inline-flex; }
.bay__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bay__list[hidden] { display: none; }
.bay__list li { display: flex; gap: 8px; align-items: flex-start; color: var(--silver); font-size: .84rem; }
/* «تشمل ▾» — opens the card's list */
.bay__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(30,123,255,.1); color: var(--blue-2); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.bay__more span { transition: transform .25s; }
.bay__more[aria-expanded="true"] span { transform: rotate(180deg); }
.bay__list li::before { content: ''; flex: none; margin-top: .45em; width: 9px; height: 12px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(180deg, #bfe0ff, var(--blue)); clip-path: polygon(50% 0, 100% 62%, 85% 92%, 50% 100%, 15% 92%, 0 62%); }
.bay__prices { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.bay__p { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.32); border: 1px solid var(--line); color: inherit; text-align: right; cursor: pointer; transition: border-color .25s, background .25s, transform .15s; }
.bay__p:hover { border-color: var(--line-strong); }
.bay__p:active { transform: scale(.98); }
/* the chosen price: a soft blue tint, nothing loud */
.bay__p.has-qty { cursor: default; background: rgba(95,180,255,.13); border-color: rgba(95,180,255,.55); }
.bay__qty:empty { display: none; }
.bay__qty { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; direction: ltr; }
.bay__qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--blue-2); font-size: 1rem; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.bay__qty button:disabled { opacity: .35; cursor: default; }
.bay__qty output { font-family: var(--font-num); font-weight: 800; font-size: 1rem; }
/* page bar shown after choosing a wash (same look as the booking bar) */
/* .bk-bar.pick-bar: must beat the later .bk-bar { position: sticky } — otherwise the bar sits in the page flow, shifted by left:50%, and widens the page on phones */
.bk-bar.pick-bar { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translate(-50%, 140%); width: min(560px, calc(100% - 24px)); margin: 0; z-index: 40; visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.bk-bar.pick-bar.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.bay__p small { color: var(--muted); font-size: .76rem; }
.bay__p > small:first-child { color: var(--silver); font-weight: 600; font-size: .82rem; }
.bay__deal { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* subscription: numbered circle per paid wash, a gift for the free one (pop in when the card is revealed) */
.washes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; margin-top: 6px; }
.washes i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--font-num); font-style: normal; color: #fff; background: linear-gradient(160deg, #2b88ff, #0b4fc4); box-shadow: 0 4px 12px -4px rgba(30,123,255,.8), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .45s var(--ease) calc(var(--k) * 70ms), opacity .45s calc(var(--k) * 70ms); }
.washes i.is-free { font-size: 15px; background: linear-gradient(160deg, #3ddc97, #16a368); box-shadow: 0 0 0 3px rgba(51,214,159,.25), 0 4px 14px -4px rgba(51,214,159,.9); }
.washes b { color: var(--muted); font-weight: 700; margin-inline: 1px; }
.bay.is-fogged .washes i { transform: scale(.4); opacity: 0; }
.bay__amount { font-family: var(--font-num); font-weight: 800; font-style: italic; font-size: 1.7rem; line-height: 1; letter-spacing: .03em; padding-inline: .06em .14em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bay__cur { font-family: var(--font-num); font-weight: 700; color: var(--blue-2); letter-spacing: .1em; }
.bay__veh { margin-inline-start: auto; color: var(--muted); font-size: .85rem; }
.bay__other { width: 100%; color: var(--muted); font-size: .8rem; margin-top: -4px; }
.bay__cta { margin-top: 0; min-height: 40px; padding-block: 8px; font-size: .9rem; }
/* phones: tapping a price already chooses the wash and the bar at the bottom leads on — no extra button */
@media (max-width: 899px) { .bay__cta { display: none; } .bay__glass { gap: 12px; } }

.bay__fog {
  position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: auto;
  background: var(--condense, none), linear-gradient(180deg, rgba(150,180,220,.2), rgba(90,120,170,.16));
  background-size: 260px 260px, 100% 100%;
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(200,225,255,.18);
}
.bay__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.bay [data-r] { transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; }
.bay.is-fogged [data-r]:not(.is-in) { opacity: .25; transform: translateY(10px); filter: blur(2px); }
.bay.is-clear .bay__fog, .bay.is-clear .bay__wave { display: none; }

/* ---------- SUBSCRIPTION TANKS ---------- */
.tanks { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tanks { grid-template-columns: repeat(3, 1fr); } }
.sub { position: relative; display: grid; grid-template-columns: 1fr 64px; gap: 18px; padding: 26px 22px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(170deg, rgba(11,29,61,.8), rgba(2,6,14,.9)); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; cursor: pointer; transition: border-color .4s, box-shadow .4s; }
.sub.is-selected { border-color: rgba(95,180,255,.7); box-shadow: 0 0 60px -14px var(--blue-glow); }
.sub__body { display: flex; flex-direction: column; gap: 12px; }
.sub__name { font-size: 1.35rem; }
.sub__deal { display: flex; gap: 6px; flex-wrap: wrap; }
.sub__inc { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; display: grid; gap: 4px; }
.sub__price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.sub__amount { font-family: var(--font-num); font-weight: 800; font-style: italic; font-size: 3rem; line-height: 1; letter-spacing: .03em; padding-inline: .06em .14em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub__per { color: var(--muted); font-size: .85rem; }
.tank { position: relative; border-radius: 32px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.45); overflow: hidden; min-height: 260px; box-shadow: inset 0 0 18px rgba(0,0,0,.8); }
.tank__water { position: absolute; inset-inline: 0; bottom: 0; height: calc(var(--fill, 0) * 100%); background: linear-gradient(180deg, rgba(95,180,255,.85), rgba(30,123,255,.75) 30%, rgba(7,40,110,.9)); transition: height .2s linear; }
.tank__water svg { position: absolute; bottom: 100%; left: 0; width: 200%; height: 12px; margin-bottom: -1px; animation: wave-x 3s linear infinite; }
@keyframes wave-x { to { transform: translateX(50%); } }
.tank__marks { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(6, 1fr); }
.tank__marks span { display: grid; place-items: center; border-top: 1px dashed rgba(200,220,255,.16); font-family: var(--font-num); font-weight: 700; font-size: .8rem; color: rgba(230,240,255,.85); position: relative; z-index: 1; }
.tank__marks span:first-child { border-top: 0; color: #fff; }
.tank__marks span.is-free { font-family: var(--font-b); font-size: .66rem; font-weight: 700; color: #fff; text-shadow: 0 0 10px var(--blue-2); }

/* ---------- BOOKING ---------- */
.booking { padding-bottom: clamp(120px, 18vw, 220px); }
.booker { max-width: 560px; margin: 0 auto; padding: clamp(18px, 4vw, 32px); position: relative; }
/* «💬 وش رأيك في خدمتنا؟»: a small box under the booking — three faces and a line */
.sugg { max-width: 560px; margin: 90px auto 0; padding: 14px; text-align: center; }
.sugg__title { display: block; font-size: 1rem; margin-bottom: 8px; }
.sugg__faces { display: flex; justify-content: center; gap: 18px; margin-bottom: 12px; }
.sugg__faces button { font-size: 32px; line-height: 1; background: none; border: 0; padding: 4px; cursor: pointer; opacity: .55; filter: grayscale(.5); transition: transform .2s, opacity .2s, filter .2s; }
.sugg__faces button.on { opacity: 1; filter: none; transform: scale(1.25); }
.sugg.has-face .sugg__faces button:not(.on) { opacity: .35; }
.sugg__row textarea { text-align: right; }
.sugg__row { display: flex; gap: 8px; }
.sugg__row textarea { flex: 1; min-width: 0; height: 46px; resize: none; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: .9rem; padding: 12px; overflow: hidden; }
.sugg__row textarea:focus { overflow: auto; }
.sugg__row textarea::placeholder { color: var(--muted); }
.sugg__row textarea:focus { outline: none; border-color: var(--blue-2); height: 84px; }
.sugg__row button { flex-shrink: 0; border: 0; border-radius: 12px; padding: 0 18px; background: linear-gradient(135deg, #2f86ff, #0b4fd1); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.sugg__row button:disabled { opacity: .6; }
.sugg__msg { margin: 6px 0 0; font-size: .85rem; color: #ffb4a8; }
.sugg__msg:empty { display: none; }
.sugg__done { margin: 0; text-align: center; font-weight: 600; padding: 6px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
.steps__item { display: grid; gap: 8px; font-size: .84rem; color: var(--muted); }
.steps__item b { font-family: var(--font-h); font-weight: 600; color: inherit; }
.steps__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.steps__bar i { position: absolute; inset: 0; transform-origin: right; transform: scaleX(0); background: linear-gradient(270deg, var(--blue-2), var(--blue)); box-shadow: 0 0 12px var(--blue-glow); transition: transform .7s var(--ease); }
.steps__item.is-done, .steps__item.is-active { color: var(--text); }
.steps__item.is-done .steps__bar i, .steps__item.is-active .steps__bar i { transform: scaleX(1); }
.steps__item.is-active .steps__bar i { animation: bar-flow 1.6s linear infinite; background: linear-gradient(270deg, var(--blue), var(--blue-2), var(--blue)); background-size: 200% 100%; }
@keyframes bar-flow { to { background-position: -200% 0; } }

.bk-step { display: grid; gap: 22px; animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } }
.bk-label { font-family: var(--font-h); font-weight: 600; font-size: .95rem; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button, .tile, .veh, .day, .slot {
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); border-radius: 16px; cursor: pointer; color: var(--text);
  transition: border-color .25s, background .25s, box-shadow .25s, transform .2s;
}
.seg button { min-height: 56px; font-family: var(--font-h); font-weight: 600; display: grid; place-content: center; gap: 0; line-height: 1.3; }
.seg button small { color: var(--muted); font-weight: 400; font-family: var(--font-b); font-size: .75rem; }
.seg button[aria-pressed="true"], .tile[aria-pressed="true"], .veh[aria-pressed="true"], .day[aria-pressed="true"], .slot[aria-pressed="true"] {
  border-color: var(--blue-2); background: linear-gradient(160deg, rgba(30,123,255,.28), rgba(30,123,255,.06)); box-shadow: 0 0 0 1px rgba(95,180,255,.35) inset, 0 10px 30px -14px var(--blue-glow);
}
.tiles { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { text-align: right; padding: 16px; display: grid; gap: 6px; position: relative; overflow: hidden; }
.tile b { font-family: var(--font-h); font-size: 1.05rem; }
.tile .num { font-weight: 800; font-style: italic; font-size: 1.5rem; color: var(--silver); }
.tile .num small { font-size: .7rem; color: var(--blue-2); margin-inline-start: 4px; font-style: normal; }
.tile::after { content: ''; position: absolute; top: 12px; left: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); }
.tile[aria-pressed="true"]::after { background: radial-gradient(circle, #fff 30%, var(--blue) 35%); border-color: var(--blue-2); }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.vehs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.veh { min-height: 64px; padding: 8px; display: grid; place-items: center; font-family: var(--font-h); font-weight: 600; font-size: 1.05rem; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: 16px; padding: 6px; min-height: 64px; }
.stepper button { width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(255,255,255,.06); font-size: 1.4rem; cursor: pointer; color: var(--text); }
.stepper button:hover { background: rgba(30,123,255,.25); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { font-family: var(--font-num); font-weight: 800; font-size: 1.6rem; }
.detail { border-radius: 18px; border: 1px solid var(--line); background: rgba(0,0,0,.35); padding: 16px 18px; display: grid; gap: 10px; }
.detail ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.detail li { font-size: .84rem; padding: 4px 10px; border-radius: 999px; background: rgba(30,123,255,.1); border: 1px solid rgba(30,123,255,.25); color: #cfe3ff; }
.total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(30,123,255,.18), rgba(7,20,43,.5)); border: 1px solid rgba(95,180,255,.3); }
.total span { color: var(--silver-2); font-size: .88rem; }
.total .num { font-weight: 800; font-style: italic; font-size: 2.2rem; line-height: 1; }
.total .num small { font-size: .9rem; color: var(--blue-2); margin-inline-start: 6px; font-style: normal; }
.bk-nav { display: flex; gap: 10px; justify-content: space-between; }
.bk-nav .btn--primary { flex: 1; max-width: 340px; margin-inline-start: auto; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; width: 74px; padding: 10px 4px; display: grid; justify-items: center; gap: 0; scroll-snap-align: start; }
.day small { color: var(--muted); font-size: .72rem; }
.day b { font-family: var(--font-num); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.day span { font-size: .72rem; color: var(--silver-2); }
.periods { display: grid; gap: 16px; }
.period h4 { font-size: .9rem; color: var(--silver-2); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { min-height: 46px; font-family: var(--font-num); font-weight: 700; font-size: 1.02rem; direction: ltr; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; border: 1px dashed var(--line-strong); border-radius: 16px; }

.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span2 { grid-column: span 2; } }
.loc { display: flex; gap: 8px; }
.loc .input { flex: 1; }
.summary { display: grid; gap: 8px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0,0,0,.35); }
.summary h4 { font-size: 1rem; margin-bottom: 4px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: left; }
.summary .grand { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .grand .num { font-size: 1.8rem; font-weight: 800; font-style: italic; }
.pay-note { display: flex; gap: 8px; align-items: center; color: #a9d0ff; font-size: .88rem; }
.code-row { display: flex; gap: 8px; }
.code-row .input { text-transform: uppercase; direction: ltr; text-align: right; }
.form-error { color: #ffb3bb; font-size: .9rem; background: rgba(255,93,108,.1); border: 1px solid rgba(255,93,108,.35); padding: 10px 14px; border-radius: 12px; }
.loyal { font-size: .88rem; color: #a9f0d4; }

.done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 12px 0 4px; }
.done__sub { color: var(--silver-2); font-size: .92rem; margin-top: -6px; }
.done .done__no { padding: 6px 18px; border-radius: 999px; background: rgba(95,180,255,.14); border: 1px solid rgba(95,180,255,.35); color: #cfe9ff; font-weight: 800; font-size: 1.05rem; }
.done__receipt { width: 100%; text-align: right; }
.done__actions { width: 100%; display: grid; gap: 10px; justify-items: center; }
.booker .lcard { margin-top: 18px; }
.done__drop { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #cfe8ff, var(--blue) 55%, #0a3a8f); box-shadow: 0 0 0 10px rgba(30,123,255,.12), 0 0 0 22px rgba(30,123,255,.06), 0 20px 60px -10px var(--blue-glow); animation: pop .7s var(--ease); }
.done__drop svg { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h3 { font-size: 1.5rem; }
.done__drop { width: 72px; height: 72px; }
.done__drop svg { width: 34px; height: 34px; }
/* «اختر الغسلة»: three short points under each other */
.bk-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bk-points li { display: flex; align-items: center; gap: 10px; color: var(--silver); font-size: .95rem; }
.bk-points i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .78rem; background: rgba(95,180,255,.16); border: 1px solid rgba(95,180,255,.4); color: #cfe9ff; }
/* top bar: open today? */
.avail { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; background: rgba(0,0,0,.45); border: 1px solid var(--line-strong); color: var(--silver); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.avail[hidden] { display: none; }
.avail-wrap { position: relative; display: inline-flex; }
.avail-break { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); border-inline-start: 3px solid #ff4d5e; font-size: .72rem; font-weight: 500; white-space: nowrap; background: linear-gradient(180deg, rgba(60,70,88,.62), rgba(14,18,28,.55)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px rgba(0,0,0,.35); color: #eef2f8; -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); pointer-events: none; }
.avail-break b { color: #ff4d5e; font-weight: 800; }
.avail-break[hidden] { display: none; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #ff5d6c; }
.avail.is-on i { background: #33d69f; box-shadow: 0 0 0 0 rgba(51,214,159,.6); animation: avail 2s infinite; }
@keyframes avail { 70% { box-shadow: 0 0 0 7px rgba(51,214,159,0); } 100% { box-shadow: 0 0 0 0 rgba(51,214,159,0); } }
/* «الفاتورة (PDF)»: print only the receipt */
@media print {
  body * { visibility: hidden !important; }
  [data-print], [data-print] * { visibility: visible !important; }
  [data-print] { position: absolute; inset: 0 0 auto 0; padding: 24px; }
  .receipt { background: #fff !important; color: #000 !important; border-color: #ccc !important; }
  .receipt dt, .receipt__note { color: #555 !important; }
}
.notice { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,194,75,.4); background: rgba(255,194,75,.08); color: #ffe2a3; font-size: .9rem; }

/* ---------- BOOKING (light, 3 steps, sticky action bar) ---------- */
/* chosen things (time, car box, done step, badge) look like the car icon on the service cards */
.booker { --ice: var(--blue-2); --ice-ink: var(--blue-2); --pick: rgba(30,123,255,.14); max-width: 560px; overflow: visible; }
.bk-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; align-items: center; gap: 8px; }
.bk-steps__item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.bk-steps__item i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-num); font-weight: 700; font-size: .8rem; border: 1px solid var(--line-strong); color: var(--muted); }
.bk-steps__item.is-done i { background: var(--pick); border-color: var(--ice); color: var(--ice-ink); }
.bk-steps__item.is-active { color: #fff; font-weight: 600; }
.bk-steps__item.is-active i { background: #fff; border-color: #fff; color: #000; }
.bk-steps__line { flex: 1; height: 1px; background: var(--line-strong); list-style: none; }
.bk-title { font-size: 1.35rem; font-weight: 700; }
.bk-hint { color: var(--muted); font-size: .9rem; margin-top: -14px; }
.bk-note { color: var(--muted); font-size: .82rem; text-align: center; }
.bk-step { gap: 18px; }

.bk-plan { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); justify-self: start; }
.bk-plan button { min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-family: var(--font-h); font-weight: 600; font-size: .88rem; cursor: pointer; }
.bk-plan button[aria-selected="true"] { background: rgba(255,255,255,.1); color: #fff; }

.svc-list { display: grid; gap: 12px; }
.svc { padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: grid; gap: 12px; transition: border-color .3s, box-shadow .3s; }
.svc.is-on { border-color: var(--ice); box-shadow: 0 0 0 1px rgba(95,180,255,.3) inset, 0 10px 40px -18px rgba(30,123,255,.6); }
.svc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.svc__name { display: grid; gap: 2px; }
.svc__name b { font-family: var(--font-h); font-size: 1.08rem; }
.svc__inc-btn { justify-self: start; border: 0; background: none; padding: 0; color: #7fc2f5; font-size: .82rem; cursor: pointer; }
.svc__inc-btn[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
.svc__inc { margin: 0; padding: 0 2px; list-style: none; display: grid; gap: 4px; color: var(--silver-2); font-size: .86rem; }
.svc__inc li::before { content: '· '; color: var(--ice); }
.svc__from { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.svc__badge { padding: 3px 10px; border-radius: 999px; background: var(--pick); border: 1px solid var(--ice); color: var(--ice-ink); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.svc__deal { font-size: .82rem; color: #8ff0c9; }
.svc__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vbox { min-height: 84px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.35); display: grid; align-content: start; gap: 2px; cursor: pointer; transition: background .25s, border-color .25s, transform .15s; -webkit-tap-highlight-color: transparent; }
.vbox:hover { border-color: var(--line-strong); }
.vbox:active { transform: scale(.98); }
.vbox small { color: var(--muted); font-size: .8rem; }
.vbox b { font-size: 1.35rem; font-weight: 800; }
.vbox b small { font-size: .75rem; }
.vbox.is-on { background: var(--pick); border-color: var(--ice); color: var(--text); cursor: default; }
.vbox.is-on small { color: var(--ice); }
.qty { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(30,123,255,.2); color: var(--ice-ink); font-size: 1.1rem; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.qty button:disabled { opacity: .35; cursor: default; }
.qty output { font-weight: 800; font-size: 1rem; }

/* today · tomorrow: two big halves */
.bk-step { --metal-pick: linear-gradient(180deg, #ffffff 0%, #dfe4ec 40%, #aab3c0 100%); }
.day-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 4px; }
/* a day = date square (number + month) with the word beside it; the chosen day gets a silver frame
   and its square shines like the MAX77 letters */
.day-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font: inherit; cursor: pointer; text-align: start; }
.day-chip__sq { flex: none; width: 48px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.05); display: grid; place-items: center; align-content: center; }
.day-chip__sq b { font-family: var(--font-num); font-size: 1.3rem; font-weight: 700; line-height: 1; color: var(--text); }
.day-chip__sq i { font-style: normal; font-size: .62rem; color: var(--muted); margin-top: 3px; }
.day-chip__txt { display: grid; min-width: 0; }
.day-chip__txt b { font-size: 1.08rem; font-weight: 700; color: var(--silver-2); }
.day-chip__txt small { font-size: .76rem; color: var(--muted); }
.day-chip[aria-pressed="true"] { border: 1.5px solid #dfe4ec; background: rgba(223,228,236,.07); padding: 9.5px 11.5px; }
.day-chip[aria-pressed="true"] .day-chip__sq { background: var(--metal-pick); border-color: #fff; }
.day-chip[aria-pressed="true"] .day-chip__sq b { color: #07142b; }
.day-chip[aria-pressed="true"] .day-chip__sq i { color: #3a4a63; }
.day-chip[aria-pressed="true"] .day-chip__txt b { color: #fff; }
.day-chip[aria-pressed="true"] .day-chip__txt small { color: #cfd6e0; }
/* morning / evening headings above their times (all times show at once) */
.slot-head { display: flex; align-items: center; gap: 7px; margin: 6px 2px -6px; color: #cdd5e1; font-size: .9rem; }
.slot-head svg { width: 16px; height: 16px; flex: none; }
.slot-head--morning svg { color: var(--warn); }
.slot-head--evening svg { color: var(--blue-2); }
.slot-head small { margin-inline-start: auto; color: var(--muted); font-size: .75rem; }
.period-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.period-tabs button { min-height: 52px; padding: 7px 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--silver-2); font-family: var(--font-h); font-size: .95rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
/* «11 موعد فاضي» under the period name */
.period-tabs button small { font-family: var(--font-b, inherit); font-size: .72rem; font-weight: 500; color: #7fc2f5; }
.period-tabs button[aria-selected="true"] small { color: #333; }
.period-tabs button:disabled small { color: inherit; }
.period-tabs button[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.period-tabs button:disabled { opacity: .35; cursor: default; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-grid .slot { min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font-family: var(--font-num); font-weight: 700; font-size: 1rem; cursor: pointer; direction: rtl; }
.slot-grid .slot { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.slot-grid .slot small { font-family: var(--font-b); font-size: .7rem; font-weight: 500; }
.slot-grid .slot[aria-pressed="true"] { background: var(--metal-pick); border: 1px solid #fff; color: #07142b; box-shadow: none; }
.slot-grid .slot[aria-pressed="true"] small { color: #3a4a63; }
.slot-grid .skeleton { min-height: 52px; }

.fl-stack { display: grid; gap: 10px; }
.fl { position: relative; display: grid; gap: 2px; padding: 10px 16px 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .2s; }
.fl:focus-within { border-color: var(--ice); }
.fl > span, .fl > label { font-size: .75rem; color: #7fc2f5; }
.fl input, .fl select, .fl textarea { width: 100%; border: 0; background: none; outline: none; color: var(--text); font-size: 1rem; padding: 2px 0 4px; min-height: 28px; }
.fl select { appearance: none; }
.fl select option { background: #0b1428; }
.fl textarea { resize: vertical; min-height: 60px; }
.fl--loc input { text-overflow: ellipsis; }
/* «📍 حدد موقعي» under the location field, and the green box once the location is in */
.geo-btn { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(95,180,255,.45); background: rgba(30,123,255,.12); color: #cfe9ff; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.geo-btn[disabled] { opacity: .75; cursor: default; }
.geo-ok { display: grid; gap: 4px; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(51,214,159,.45); background: rgba(51,214,159,.1); color: #bff5df; font-size: .92rem; }
.geo-ok span { display: flex; flex-wrap: wrap; gap: 16px; }
/* the map picker («🗺️ حدد موقعك على الخريطة») */
.geo-wrap { display: grid; gap: 8px; }
.geo-mini { position: relative; height: 92px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #1b2430; direction: ltr; }
.geo-mini__tiles { position: absolute; left: 50%; top: 50%; width: 1280px; height: 768px; }
.geo-mini__tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
.geo-mini__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%) scale(.62); transform-origin: 50% 100%; }
.geo-mini__pin svg, .geo-sheet__pin svg { display: block; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
html.geo-open, html.geo-open body { overflow: hidden; }
.geo-sheet { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--bg); }
.geo-sheet__area { position: relative; flex: 1; min-height: 0; }
.geo-sheet__map { position: absolute; inset: 0; background: #1b2430; direction: ltr; }
.geo-sheet__top { position: absolute; z-index: 1001; top: max(12px, env(safe-area-inset-top)); inset-inline: 12px; display: flex; gap: 8px; align-items: center; }
.geo-sheet__hint { flex: 1; margin: 0; padding: 10px 14px; border-radius: 14px; background: rgba(6,12,24,.88); color: #eef2f8; font-size: .88rem; font-weight: 600; border: 1px solid rgba(190,210,240,.2); }
.geo-sheet__x { flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(6,12,24,.88); color: #eef2f8; border: 1px solid rgba(190,210,240,.2); font-size: 1.1rem; cursor: pointer; }
.geo-sheet__pin { position: absolute; z-index: 1001; left: 50%; top: 50%; transform: translate(-50%, -100%); pointer-events: none; }
.geo-sheet__side { position: absolute; z-index: 1001; left: 12px; bottom: 110px; display: grid; gap: 8px; }
.geo-sheet__side button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(190,210,240,.25); background: rgba(6,12,24,.9); color: #eef2f8; font-size: 1.15rem; cursor: pointer; }
.geo-sheet__note { position: absolute; z-index: 1001; bottom: 110px; left: 70px; right: 12px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(6,12,24,.92); color: #ffd6da; border: 1px solid rgba(255,107,122,.4); font-size: .84rem; font-weight: 600; }
.geo-sheet__bottom { position: relative; z-index: 1001; padding: 14px 16px max(16px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.geo-sheet__done { width: 100%; padding: 15px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #2f8bff, #1662e6); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 26px -10px rgba(30,123,255,.8); }
.geo-sheet .leaflet-control-attribution { font-size: 9px; }
.geo-ok a, .geo-ok button { color: #8ff0c9; font: inherit; font-weight: 600; font-size: .86rem; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fl-hint { color: var(--muted); font-size: .78rem; margin-top: -4px; padding-inline: 6px; }
#bk-loc:placeholder-shown { direction: rtl; text-align: right; font-size: .88rem; }
html[dir="ltr"] #bk-loc:placeholder-shown { direction: ltr; text-align: left; }
.fl.is-bad { border-color: #ff6b7a; box-shadow: 0 0 0 3px rgba(255,107,122,.15); }
.fl-hint--bad { color: #ff8f9b; font-weight: 600; }
.link-btn { justify-self: start; border: 0; background: none; padding: 4px 6px; color: #7fc2f5; font-size: .85rem; cursor: pointer; }
.bk-summary { border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); overflow: hidden; }
.bk-summary > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); }
.bk-summary > div:first-child { border-top: 0; }
.bk-summary span { color: var(--muted); font-size: .88rem; }
.bk-summary b { font-weight: 600; font-size: .95rem; }

.bk-bar {
  position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 5; margin-top: 22px;
  display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 22px;
  background: rgba(16,26,42,.94); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px #000; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.bk-bar__back { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; }
.bk-bar__sum { flex: 1; min-width: 0; display: grid; padding-inline: 6px; }
.bk-bar__sum small { color: var(--muted); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-bar__sum b { font-size: 1.15rem; font-weight: 800; }
.bk-bar__go { flex: none; min-height: 48px; padding: 0 18px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #2b88ff, #0b4fc4); color: #fff; box-shadow: 0 6px 20px -8px var(--blue-glow); font-family: var(--font-h); font-weight: 700; font-size: .95rem; cursor: pointer; transition: opacity .2s, transform .15s; }
.bk-bar__go:active { transform: scale(.97); }
.bk-bar__go:disabled { opacity: .45; cursor: default; }
.bk-bar__go.is-muted { background: rgba(30,123,255,.18); color: #cfe9ff; box-shadow: none; border: 1px solid rgba(95,180,255,.35); }

/* ---------- offer pop-up ---------- */
.offer { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.offer.is-on { opacity: 1; }

/* ---------- footer ---------- */
.footer { padding: 40px 16px max(30px, env(safe-area-inset-bottom)); text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--silver-2); font-size: .9rem; }
.footer img { width: 72px; height: 72px; border-radius: 16px; }
.footer__links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 4px 0; }
.social {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--silver);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.16), rgba(255,255,255,.02) 60%), rgba(7,20,43,.7);
  border: 1px solid var(--line-strong); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 30px -14px #000;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), color .3s, border-color .3s, box-shadow .3s;
}
.social svg { width: 24px; height: 24px; }
.social:hover, .social:focus-visible { transform: translateY(-4px); color: #fff; border-color: var(--blue-2); box-shadow: 0 0 0 1px rgba(95,180,255,.35) inset, 0 12px 30px -10px var(--blue-glow); }
/* each icon in its own brand colours */
.social--whatsapp { background: #25d366; color: #fff; border-color: rgba(255,255,255,.18); }
.social--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; border-color: rgba(255,255,255,.18); }
.social--tiktok { background: #000; color: #fff; border-color: rgba(255,255,255,.22); }
.social--tiktok svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.social--snapchat { background: #fffc00; color: #000; border-color: rgba(0,0,0,.12); }
.social--snapchat:hover, .social--snapchat:focus-visible { color: #000; }
.social--whatsapp:hover, .social--instagram:hover, .social--tiktok:hover { color: #fff; }
/* phone number: clear, in the brand blue */
.footer__phone { background: linear-gradient(135deg, #1e7bff, #5fb4ff); color: #fff; border-color: transparent; font-size: 1.05rem; box-shadow: 0 10px 30px -12px var(--blue-glow); }
.footer__phone:hover { color: #fff; }
.footer__hours { font-size: .82rem; color: var(--muted); }
.hours__seg { white-space: nowrap; }
.footer small { color: var(--muted); font-size: .76rem; letter-spacing: .06em; }
/* the company's legal line and the policy links: small and quiet, there for whoever looks */
.footer small.footer__legal { margin-top: -4px; font-size: .7rem; letter-spacing: .02em; line-height: 1.9; opacity: .75; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ambient i, .tank__water svg, .scroll-cue span { animation: none; }
  .hero__slot { transition: none; }
  .bk-step { animation: none; }
}

/* ---------- «تم الحجز» page (same layout as the owner's example; colours follow night / day) ---------- */
.done { gap: 14px; padding: 6px 0 0; }
.done__drop { width: 76px; height: 76px; box-shadow: 0 0 0 10px rgba(30,123,255,.12), 0 18px 40px -12px var(--blue-glow); }
.done__drop svg { width: 34px; height: 34px; }
.done h3 { font-size: 1.55rem; margin-top: 4px; }
.done .done__no { padding: 7px 22px; font-size: 1.15rem; }
.done__receipt .receipt { border-radius: 18px; padding: 6px 18px 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.done__receipt .receipt > div { padding: 13px 0; }
.done__receipt .receipt__note { text-align: center; border-top: 1px dashed var(--line-strong); padding-top: 10px; margin-top: 2px; }
.done__actions .btn { min-height: 52px; border-radius: 16px; font-weight: 700; }
/* «بنتواصل معك قريب» in place of the WhatsApp button */
.done__note { width: 100%; padding: 14px 16px; border-radius: 16px; text-align: center; font-weight: 700; font-size: .98rem; color: #fff; border: 1px solid rgba(74,144,255,.45); background: linear-gradient(135deg, rgba(30,107,235,.28), rgba(30,107,235,.08)); }
.done__note--warn { font-weight: 600; font-size: .9rem; color: #ffd28a; border-color: rgba(245,177,61,.5); background: rgba(245,177,61,.1); }
/* «طريقة الدفع»: after the wash (default) or online now */
.pay-pick { display: grid; gap: 8px; margin-top: 14px; }
.pay-pick > small { color: var(--muted); font-size: .85rem; padding-inline: 4px; }
.pay-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(255,255,255,.03); color: inherit; font: inherit; text-align: start; cursor: pointer; }
.pay-opt > i { font-style: normal; font-size: 22px; line-height: 1; }
.pay-opt > span { flex: 1; display: grid; gap: 2px; }
.pay-opt b { font-size: .95rem; }
.pay-opt small { color: var(--muted); font-size: .78rem; }
.pay-opt::after { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #3a4a60; box-sizing: border-box; }
.pay-opt.is-on { border-color: var(--blue, #1e7bff); background: rgba(30,123,255,.1); }
.pay-opt.is-on::after { border: 6px solid var(--blue, #1e7bff); }
.pay-more { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; }
/* «ادفع بعد الغسيل»: its own white row under the «ادفع الآن» card, same height and text size */
.pay-opt.pay-after { min-height: 62px; margin-top: 4px; padding-inline: 16px; border-radius: 18px; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); color: #fff; }
.pay-opt.pay-after > b, .pay-opt.pay-tap > b { flex: 1; font: 700 1.08rem var(--font-h); letter-spacing: 0; white-space: nowrap; }
.pay-opt.pay-after::after { border-color: #7d8da6; }
/* picked: the same glass card and shine as «ادفع الآن» */
.pay-opt.pay-after { position: relative; overflow: hidden; transition: opacity .2s, filter .2s, background .2s; }
.pay-opt.pay-after.is-on { border-color: #2b88ff; background: radial-gradient(120% 120% at 100% 0%, #3d8bff44, transparent 60%), linear-gradient(135deg, #0d2a57, #071226 60%, #0a1c3d);
  box-shadow: 0 10px 26px -12px #2b88ffaa, inset 0 1px 0 #ffffff22; }
.pay-opt.pay-after.is-on > b { text-shadow: 0 2px 10px #2b88ff88; }
.pay-opt.pay-after.is-on::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; background: linear-gradient(105deg, transparent, #ffffff38 50%, transparent); pointer-events: none; animation: pay-shine 3.2s ease-in-out infinite alternate; }
.pay-opt.pay-after.is-on::after { border: 0; background: #2b88ff 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='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .pay-opt.pay-after.is-on::before { animation: none; transform: translateX(120%); } }
.pay-more i { font-style: normal; font-size: .9rem; transform: translateY(-2px); }
/* «Tap to Pay»: a slim glass card, dimmed when the customer picks pay-after-wash */
.pay-tap { position: relative; overflow: hidden; min-height: 62px; padding: 12px 14px 12px 16px; border-radius: 18px; border: 1.5px solid #2b88ff;
  background: radial-gradient(120% 120% at 100% 0%, #3d8bff44, transparent 60%), linear-gradient(135deg, #0d2a57, #071226 60%, #0a1c3d); color: #fff;
  box-shadow: 0 10px 26px -12px #2b88ffaa, inset 0 1px 0 #ffffff22; transition: opacity .2s, filter .2s; }
/* the glass shine sweeps across and back, all the time */
.pay-tap::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; background: linear-gradient(105deg, transparent, #ffffff38 50%, transparent); pointer-events: none; animation: pay-shine 3.2s ease-in-out infinite alternate; }
@keyframes pay-shine { from { transform: translateX(0); } to { transform: translateX(267%); } }
@media (prefers-reduced-motion: reduce) { .pay-tap::before { animation: none; transform: translateX(120%); } }
.pay-opt.pay-tap > b { text-shadow: 0 2px 10px #2b88ff88; }
.pay-tap.is-on { background: radial-gradient(120% 120% at 100% 0%, #3d8bff44, transparent 60%), linear-gradient(135deg, #0d2a57, #071226 60%, #0a1c3d); }
.pay-tap.is-on::after { border: 0; background: #2b88ff 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='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; width: 22px; height: 22px; }
.pay-tap:not(.is-on) { opacity: .55; filter: saturate(.6); box-shadow: none; }
.pay-opt > .pay-marks { display: flex; gap: 5px; flex: none; }
@media (max-width: 360px) { .pay-opt.pay-tap > b, .pay-opt.pay-after > b { font-size: 1rem; } .pay-tap { gap: 8px; padding-inline: 12px; } }
.pay-marks em { display: inline-flex; align-items: center; gap: 3px; border-radius: 6px; padding: 3px 7px; font: 600 12px/1.2 -apple-system, 'Segoe UI', sans-serif; font-style: normal; }
.pay-marks .pm-a { background: #000; color: #fff; border: 1px solid #3a3f48; }
.pay-marks .pm-a svg { width: 11px; height: 13px; fill: #fff; }
.pay-marks .pm-g { background: #fff; color: #3c4043; }
.pay-marks .pm-g i { font: 700 13px Arial, sans-serif; font-style: normal; background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-cards { display: flex; gap: 5px; }
.pay-cards em { font-style: normal; font-size: 10px; font-weight: 700; background: #fff; color: #1a1f71; border-radius: 4px; padding: 1px 5px; }
/* back from the payment page */
.pay-ret { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pop .3s var(--ease); }
.pay-ret__c { width: min(100%, 380px); padding: 26px 20px 20px; border-radius: 24px; text-align: center; background: #0b1118; border: 1px solid var(--line); display: grid; gap: 6px; }
.pay-ret__ic { width: 74px; height: 74px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; font-weight: 700; color: #fff; background: #16A34A; box-shadow: 0 10px 30px rgba(22,163,74,.45); }
.pay-ret__ic.is-warn { background: #3a2a0a; border: 2px solid #f5b13d; color: #f5b13d; box-shadow: none; }
.pay-ret__ic.is-wait { background: #10213d; box-shadow: none; }
.pay-ret h3 { margin: 0; font-size: 1.25rem; }
.pay-ret p { margin: 0; color: var(--silver-2); font-size: .92rem; }
.pay-ret__no { justify-self: center; margin-top: 8px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); font-family: 'Saira', sans-serif; }
.pay-ret .btn { margin-top: 10px; min-height: 50px; border-radius: 14px; font-weight: 700; }
.pay-ret__exit { justify-self: center; margin-top: 12px; padding: 6px 18px; color: var(--silver-2); font-size: .9rem; }

/* «انضم لبطاقة الولاء» invitation, flips into the customer's own card */
.join { margin-top: 18px; border-radius: 24px; overflow: hidden; text-align: center; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30,123,255,.16), rgba(255,255,255,.02) 55%); padding: 0 18px 18px; display: grid; gap: 10px; }
.join__art { position: relative; margin: 0 -18px; padding: 18px 18px 6px; }
.join__art img { display: block; width: min(78%, 300px); height: auto; margin: 0 auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.45));
  /* soft edges: the cut-out outline fades into the card */
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 62%, transparent 100%); }
/* filled stamps are green; the next one pulses green */
.join__dots i.is-on { background: #22C55E; border-color: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,.55); }
.join__dots i.is-next { border-color: #22C55E; animation: dotNext 1.4s ease-in-out infinite; }
@keyframes dotNext { 50% { background: rgba(34,197,94,.4); transform: scale(1.25); } }
.join__count { color: #4ADE80 !important; font-weight: 700; font-size: 1rem !important; }
/* booking step 3: «مبروك! عندك غسلة ببلاش» */
.bk-summary .free-wash { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 4px; border-radius: 16px; border: 1px solid rgba(34,197,94,.45); background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(34,197,94,.05)); animation: pop .4s var(--ease); }
.bk-summary .free-wash i { font-style: normal; font-size: 30px; line-height: 1; }
.bk-summary .free-wash span { display: grid; gap: 2px; text-align: start; }
.bk-summary .free-wash b { color: #4ADE80; font-size: 1rem; }
.bk-summary .free-wash small { color: var(--silver-2); font-size: .82rem; }
/* the offer's code, written in by itself under the time: one small line */
.bk-summary > .bk-code { justify-content: flex-start; gap: 8px; margin: 6px 12px; padding: 8px 12px; border: 1px solid rgba(34,197,94,.45); border-radius: 12px; background: rgba(34,197,94,.1); animation: pop .4s var(--ease); }
.bk-summary > .bk-code + div { border-top: 0; }
.bk-code i { font-style: normal; font-size: 16px; line-height: 1; }
.bk-code span { flex: 1; white-space: nowrap; color: #4ADE80 !important; font-size: .84rem !important; font-weight: 600; }
.bk-code b { font-family: 'Saira', sans-serif; font-size: .82rem !important; letter-spacing: .07em; color: #4ADE80; border: 1.3px dashed #4ADE80; border-radius: 8px; padding: 2px 8px; }
.join__dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 6px; direction: ltr; }
.join__dots i { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--blue-2); background: transparent; }
.join__dots i.is-on::after { content: ""; position: absolute; inset: 0; margin: auto; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.join__dots b { font-size: 18px; line-height: 1; }
.join h4 { font-size: 1.15rem; margin: 2px 0 0; }
.join p { color: var(--silver-2); font-size: .9rem; margin: 0; }
.join .btn { min-height: 50px; border-radius: 16px; font-weight: 700; margin-top: 4px; }
.join.is-in { padding: 0; border: 0; background: none; animation: flipIn .7s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 50%; }
.join.is-in .lcard { margin: 0; }
.join__ok { color: var(--ok); font-weight: 700; font-size: .92rem; margin-top: 10px !important; }
/* «🎁 العرض»: opens the offer card again while the offer is on; moves up over the booking bar */
.offer-fab { position: fixed; left: 14px; bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); z-index: 45; padding: 11px 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: .92rem; color: #fff; background: linear-gradient(135deg, #1E6BEB, #0b3a8a); box-shadow: 0 8px 22px rgba(30,107,235,.45); cursor: pointer; transition: bottom .45s var(--ease), opacity .3s, transform .3s, visibility 0s; animation: pop .4s var(--ease); }
body:has(.pick-bar.is-on) .offer-fab { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 84px); }
.offer-fab.is-away { opacity: 0; transform: translateY(14px) scale(.9); visibility: hidden; pointer-events: none; transition: opacity .3s, transform .3s, visibility 0s .3s; }
body.is-intro .offer-fab { display: none; }
/* «خلّ MAX 77 على شاشتك» under the loyalty card */
.inst { position: relative; margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; text-align: start; padding: 16px; border-radius: 20px; border: 1px solid rgba(248,113,113,.6); background: linear-gradient(135deg, rgba(220,38,38,.3), rgba(220,38,38,.08)); box-shadow: 0 10px 30px -12px rgba(220,38,38,.55); }
.inst__icon { flex: none; width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.inst__body { flex: 1; min-width: 0; padding-inline-end: 18px; }
.inst__body > b { display: block; font-size: 1.02rem; }
.inst__body > p { margin: 3px 0 10px; color: var(--silver-2); font-size: .86rem; }
.inst__body .btn { min-height: 46px; border-radius: 14px; font-weight: 700; }
.inst__steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 7px; font-size: .88rem; }
.inst__steps li { counter-increment: s; display: flex; gap: 8px; align-items: center; }
.inst__steps li::before { content: counter(s); flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-size: .72rem; font-weight: 700; }
.inst__share { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,.14); color: #4a90ff; font-size: .95rem; }
/* smaller: one row for the loyalty card (car | line + stamps), two short lines for the home-screen box */
.join--row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 20px; text-align: center; background: linear-gradient(135deg, rgba(30,123,255,.2), rgba(255,255,255,.02) 70%); }
.join__car { flex: none; width: 34%; max-width: 130px; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.join__t { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: center; }
.join--row h4 { font-size: .95rem; line-height: 1.5; margin: 0; }
.join--row .join__dots { margin-top: 2px; gap: 5px; }
.join--row .join__dots i { width: 14px; height: 14px; }
.join--row .join__count { font-size: .85rem !important; }
.inst { align-items: center; padding: 11px 13px; gap: 10px; }
.inst__icon { width: 40px; height: 40px; border-radius: 10px; }
.inst__body > b { font-size: .95rem; }
.inst__line { margin: 3px 0 0; color: var(--silver-2); font-size: .8rem; line-height: 1.5; }
.inst .btn--sm { min-height: 36px; margin-top: 6px; padding: 6px 14px; font-size: .85rem; border-radius: 12px; }
.done__paid { display: inline-block; margin: 6px 0 4px; padding: 3px 13px; border-radius: 20px; font-size: .85rem; font-weight: 600; color: #4ADE80; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); }
.inst__x { position: absolute; top: 8px; inset-inline-end: 8px; width: 30px; height: 30px; border: 0; background: none; color: var(--silver-2); font-size: 1.3rem; line-height: 1; cursor: pointer; }
@keyframes flipIn { 0% { transform: perspective(900px) rotateY(-90deg); opacity: .2; } 60% { transform: perspective(900px) rotateY(10deg); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .join.is-in, .join__dots i.is-next { animation: none; } }

/* «فاتورة الطلب (PDF)»: the invoice over the page, white in both looks */
.inv-ov { position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 18, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; padding: calc(16px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom)); animation: pop .3s var(--ease); }
.inv-ov__card { position: relative; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 10px 6px 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.inv-ov__card iframe { display: block; width: 100%; height: 640px; border: 0; background: #fff; }
.inv-ov__x { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E7E3DA; background: #F8F6F1; color: #0F1B26; font-size: 16px; cursor: pointer; }
.inv-ov__print { margin: 6px 14px 0; width: calc(100% - 28px); background: #F8F6F1 !important; color: #0F1B26 !important; border: 1px solid #E7E3DA !important; box-shadow: none !important; }

/* ---------- start of the page: «book in 3 steps» — a drop of light runs along a water line and wakes each step ---------- */
.hsteps { --T: 6.6s; display: grid; justify-items: center; width: min(100%, 380px); margin-top: 4px; color: inherit; text-decoration: none; }
.hsteps__track { position: relative; display: block; width: 100%; height: 62px; direction: ltr; }
.hsteps__line, .hsteps__fill { position: absolute; left: 16.66%; right: 16.66%; top: 30px; height: 2px; border-radius: 2px; }
.hsteps__line { background: linear-gradient(90deg, rgba(201,209,220,.08), rgba(201,209,220,.28), rgba(201,209,220,.08)); }
.hsteps__fill { background: linear-gradient(90deg, #9fd3ff, #1e7bff); transform-origin: right; transform: scaleX(0); box-shadow: 0 0 10px rgba(30,123,255,.8); animation: hs-fill var(--T) cubic-bezier(.65,0,.35,1) infinite; }
.hsteps__drop { position: absolute; top: 25px; left: 83.33%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(159,211,255,.35), 0 0 18px 6px rgba(30,123,255,.85); animation: hs-drop var(--T) cubic-bezier(.65,0,.35,1) infinite; }
.hsteps__n { position: absolute; top: 4px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); border: 1.5px solid rgba(201,209,220,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.hsteps__n svg { width: 27px; height: 27px; fill: none; stroke: #8a95a6; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hsteps__n.s1 { left: 83.33%; animation: hs-on1 var(--T) infinite; } .hsteps__n.s2 { left: 50%; animation: hs-on2 var(--T) infinite; } .hsteps__n.s3 { left: 16.66%; animation: hs-on3 var(--T) infinite; }
.hsteps__n.s1 svg { animation: hs-tx1 var(--T) infinite; } .hsteps__n.s2 svg { animation: hs-tx2 var(--T) infinite; } .hsteps__n.s3 svg { animation: hs-tx3 var(--T) infinite; }
.hsteps__n.s3::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid #9fd3ff; opacity: 0; animation: hs-ripple var(--T) infinite; }
.hsteps__t { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 8px; font-size: .9rem; font-weight: 600; }
.hsteps__t span { color: #7d8898; }
.hsteps__t span:nth-child(1) { animation: hs-tx1 var(--T) infinite; } .hsteps__t span:nth-child(2) { animation: hs-tx2 var(--T) infinite; } .hsteps__t span:nth-child(3) { animation: hs-tx3 var(--T) infinite; }
.hsteps__cta { margin-top: 16px; min-width: 200px; }
@keyframes hs-fill { 0%, 12% { transform: scaleX(0); } 30%, 42% { transform: scaleX(.5); } 60%, 90% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes hs-drop { 0%, 12% { left: 83.33%; opacity: 1; } 30%, 42% { left: 50%; } 60%, 88% { left: 16.66%; opacity: 1; } 92% { opacity: 0; } 97% { left: 83.33%; opacity: 0; } 100% { left: 83.33%; opacity: 1; } }
@keyframes hs-on1 { 0% { border-color: rgba(201,209,220,.28); background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); box-shadow: none; }
  3%, 14% { border-color: #9fd3ff; background: radial-gradient(circle at 50% 30%, #2b88ff, #0b3f9e 75%); box-shadow: 0 0 0 5px rgba(30,123,255,.14), 0 0 22px rgba(30,123,255,.6); }
  18%, 94% { border-color: rgba(159,211,255,.55); background: radial-gradient(circle at 50% 30%, #163a70, #071430 75%); box-shadow: none; }
  98%, 100% { border-color: rgba(201,209,220,.28); background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); box-shadow: none; } }
@keyframes hs-on2 { 0%, 28% { border-color: rgba(201,209,220,.28); background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); box-shadow: none; }
  30%, 44% { border-color: #9fd3ff; background: radial-gradient(circle at 50% 30%, #2b88ff, #0b3f9e 75%); box-shadow: 0 0 0 5px rgba(30,123,255,.14), 0 0 22px rgba(30,123,255,.6); }
  48%, 94% { border-color: rgba(159,211,255,.55); background: radial-gradient(circle at 50% 30%, #163a70, #071430 75%); box-shadow: none; }
  98%, 100% { border-color: rgba(201,209,220,.28); background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); box-shadow: none; } }
@keyframes hs-on3 { 0%, 58% { border-color: rgba(201,209,220,.28); background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); box-shadow: none; }
  60%, 94% { border-color: #8ff0bf; background: radial-gradient(circle at 50% 30%, #27c27a, #0b6b40 75%); box-shadow: 0 0 0 5px rgba(39,194,122,.16), 0 0 24px rgba(39,194,122,.6); }
  98%, 100% { border-color: rgba(201,209,220,.28); background: radial-gradient(circle at 50% 30%, #121a28, #05080e 70%); box-shadow: none; } }
@keyframes hs-tx1 { 0% { color: #7d8898; stroke: #8a95a6; } 2%, 94% { color: #fff; stroke: #fff; } 98%, 100% { color: #7d8898; stroke: #8a95a6; } }
@keyframes hs-tx2 { 0%, 28% { color: #7d8898; stroke: #8a95a6; } 30%, 94% { color: #fff; stroke: #fff; } 98%, 100% { color: #7d8898; stroke: #8a95a6; } }
@keyframes hs-tx3 { 0%, 58% { color: #7d8898; stroke: #8a95a6; } 60%, 94% { color: #fff; stroke: #fff; } 98%, 100% { color: #7d8898; stroke: #8a95a6; } }
@keyframes hs-ripple { 0%, 59% { opacity: 0; transform: scale(1); } 61% { opacity: .9; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(1.8); } }
@media (prefers-reduced-motion: reduce) {
  .hsteps *, .hsteps *::after { animation: none !important; }
  .hsteps__fill { transform: scaleX(1); } .hsteps__drop { display: none; }
  .hsteps__n { border-color: rgba(159,211,255,.55); } .hsteps__n svg { stroke: #fff; } .hsteps__t span { color: #fff; }
}
@media (min-width: 960px) { .hsteps { justify-items: start; } }
/* phones: the words under the logo take their own height (no fixed bottom), and the steps are a bit tighter */
@media (max-width: 959px) {
  .hero__copy { bottom: auto; gap: 10px; }
  .hsteps__track { height: 52px; }
  .hsteps__line, .hsteps__fill { top: 25px; }
  .hsteps__drop { top: 20px; }
  .hsteps__n { top: 3px; width: 46px; height: 46px; margin-left: -23px; }
  .hsteps__n svg { width: 24px; height: 24px; }
  .hsteps__t { margin-top: 6px; font-size: .85rem; }
  .hsteps__cta { margin-top: 12px; min-height: 48px; padding-block: 0; }
}
/* the steps wait for the opening scene to finish, so the customer always sees them start from step 1 */
body:not(.is-live) .hsteps *, body:not(.is-live) .hsteps *::after { animation-play-state: paused; }
/* not picked: «ادفع بعد الغسيل» dims the same way «ادفع الآن» does */
.pay-opt.pay-after:not(.is-on) { opacity: .55; filter: saturate(.6); }
/* ===== English (left to right): everything that points one way turns around ===== */
html[dir="ltr"] .hsteps__track { transform: scaleX(-1); }
html[dir="ltr"] .hsteps__n svg { transform: scaleX(-1); }
html[dir="ltr"] .kind-switch__pill { right: auto; left: 5px; }
html[dir="ltr"] .kind-switch[data-k="monthly"] .kind-switch__pill { transform: translateX(100%); }
html[dir="ltr"] .slot-grid .slot { direction: ltr; }
html[dir="ltr"] .sugg__row textarea { text-align: left; }
/* «تم الحجز»: a smaller green tick so the details sit higher */
.done__drop { width: 58px; height: 58px; background: radial-gradient(circle at 35% 30%, #b9f5d3, #22c55e 55%, #0f7a3c); box-shadow: 0 0 0 7px rgba(34,197,94,.14), 0 12px 30px -8px rgba(34,197,94,.6); }
.done__drop svg { width: 26px; height: 26px; }
.done { gap: 10px; }
.done__receipt .receipt__note { border-top: 0; padding-top: 0; }
/* «حجز جديد»: a small box at the very end */
.again-box { display: block; width: 100%; margin-top: 14px; padding: 13px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #cfe9ff; font: inherit; font-weight: 700; font-size: .95rem; text-align: center; cursor: pointer; }
html[data-theme="light"] .again-box { background: #fff; color: var(--d-deep); border-color: var(--d-line); }
/* «خلّ MAX 77 على شاشتك»: two numbered taps, the first with the iPhone share icon */
.inst__ol { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .86rem; color: #e8eef6; }
.inst__ol li { display: flex; align-items: center; gap: 7px; line-height: 1.45; }
.inst__ol li > em { font-style: normal; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-size: .72rem; font-weight: 800; }
.inst__ol .inst__share { width: 28px; height: 28px; border-radius: 7px; vertical-align: middle; margin-inline-start: 4px; }
.inst__share svg { width: 17px; height: 17px; fill: none; stroke: #4a9dff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="light"] .inst__ol { color: var(--d-ink); }
/* «وش رأيك»: sending without a face turns the faces red */
.sugg.need-face .sugg__faces { border-radius: 16px; box-shadow: 0 0 0 1.5px rgba(248,113,113,.75); background: rgba(220,38,38,.1); padding: 8px 0; margin-inline: auto; max-width: 240px; }
.sugg__warn { margin: -4px 0 10px; font-size: .88rem; font-weight: 700; color: #ff8a80; }
.sugg__warn:empty { display: none; }
/* «🧪 وضع التجربة»: the top bar moves under the yellow line; the booked screen says it was a test */
.is-test .topbar { top: 26px; }
.test-chip { padding: 3px 12px; border-radius: 20px; background: rgba(245,177,61,.15); border: 1px solid rgba(245,177,61,.6); color: #ffd28a; font-size: .82rem; font-weight: 700; }
html[data-theme="light"] .test-chip { color: #8a5a00; }

/* /rate/ — the feedback link sent on WhatsApp */
.rate-page { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.rate { position: relative; width: 100%; max-width: 460px; text-align: center; }
.rate__logo { width: 220px; height: auto; display: block; margin: 34px auto 16px; }
.rate__hi { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.rate .sugg { margin: 0 auto; padding: 18px 14px; }
.rate .sugg__faces button { font-size: 40px; }
.rate__book { display: inline-block; margin-top: 22px; color: var(--muted); font-size: .9rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.rate__lang { position: absolute; top: -8px; inset-inline-end: 0; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: inherit; font: inherit; font-weight: 700; border-radius: 12px; padding: 6px 12px; cursor: pointer; }
