/* Fixdock public website — themed with CSS variables set from Admin → Website → Theme. */
:root {
    --p: #2563eb;          /* primary (theme) */
    --a: #f59e0b;          /* accent (theme) */
    --d: #0f172a;          /* dark (theme) */
    --font: 'Inter', system-ui, sans-serif;
    --r: 14px;             /* radius (theme) */
    --r-btn: 10px;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --light: #f6f8fb;
    --white: #ffffff;
    --shadow: 0 20px 40px -24px rgba(15, 23, 42, .35);
    --p-soft: color-mix(in srgb, var(--p) 12%, white);
    --container: 1200px;
    --gutter: clamp(16px, 3vw, 32px);
}
[dir="rtl"] { --font: 'Cairo', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--p-text, var(--p)); }
/* Links that are components (rows, chips, cards, bars, pictures) never underline: only links inside text do */
a:is(.row, .rowlink, .chip, .tag, .hbar, .stat, .panel, .card, .badge, .pill, .avatar, .brand, .wa-float, .skip, .proof__img, .page-card__thumb, .portal-kid), a:is(.row, .rowlink, .chip, .tag, .hbar, .stat, .panel, .card, .badge, .pill, .avatar, .brand, .wa-float, .skip, .proof__img, .page-card__thumb, .portal-kid):hover,
a:has(div, p, h2, h3, h4, img, table, .avatar, .avatar-lg), a:has(div, p, h2, h3, h4, img, table, .avatar, .avatar-lg):hover,
.portal-bar__kids a, .portal-bar__kids a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--p) 45%, transparent); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.i { flex: none; }
/* Icons inside text (headings, labels, cells, links…) stay on the line of their text; in flex rows they are flex items anyway */
:where(h1, h2, h3, h4, h5, p, label, legend, dt, dd, th, td, li, small, strong, b, em, span, a, summary) > .i { display: inline-block; vertical-align: -.2em; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); border: 2px solid transparent; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--p); color: #fff; box-shadow: 0 12px 24px -14px var(--p); }
.btn--primary:hover { background: color-mix(in srgb, var(--p) 86%, black); }
.btn--accent { background: var(--a); color: var(--d); }
.btn--accent:hover { background: color-mix(in srgb, var(--a) 88%, black); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--wa { background: #25d366; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.hdr--dark { background: color-mix(in srgb, var(--d) 94%, transparent); border-color: rgba(255,255,255,.08); }
.hdr--dark .nav a, .hdr--dark .brand { color: #fff; }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.brand img { max-height: 44px; width: auto; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--p); color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a:hover, .nav a.is-active { color: var(--p-text, var(--p)); background: var(--p-soft); }
.hdr__cta { display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--light); cursor: pointer; place-items: center; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--light); }
.langs a { padding: 3px 8px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
.langs a.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Sections (blocks) */
.blk { position: relative; }
.blk--pad-none { padding-block: 0; }
.blk--pad-sm { padding-block: clamp(24px, 3vw, 36px); }
.blk--pad-md { padding-block: clamp(48px, 6vw, 84px); }
.blk--pad-lg { padding-block: clamp(64px, 9vw, 120px); }
.blk--bg-white { background: var(--white); }
.blk--bg-light { background: var(--light); }
.blk--bg-dark { background: var(--d); color: #cbd5e1; }
.blk--bg-dark h1, .blk--bg-dark h2, .blk--bg-dark h3 { color: #fff; }
.blk--bg-primary { background: var(--p); color: color-mix(in srgb, white 88%, var(--p)); }
.blk--bg-primary h1, .blk--bg-primary h2, .blk--bg-primary h3 { color: #fff; }
.blk--bg-image { background-size: cover; background-position: center; color: #e2e8f0; }
.blk--bg-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.75)); }
.blk--bg-image > * { position: relative; }
.blk--bg-image h1, .blk--bg-image h2, .blk--bg-image h3 { color: #fff; }
.blk--center .head { text-align: center; margin-inline: auto; }
.head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.head p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.blk--bg-dark .head p, .blk--bg-primary .head p, .blk--bg-image .head p { color: inherit; opacity: .85; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--p-soft); color: var(--p-text, var(--p)); font-weight: 700; font-size: 13.5px; }
@media (max-width: 760px) { .hide-mobile { display: none !important; } }
@media (min-width: 761px) { .hide-desktop { display: none !important; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero > * { min-width: 0; }
.hero--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero h1 { margin-top: 16px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.hero__sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero--center .hero__sub { margin-inline: auto; }
.blk--bg-dark .hero__sub, .blk--bg-primary .hero__sub, .blk--bg-image .hero__sub { color: inherit; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero--center .hero__actions { justify-content: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; padding: 0; list-style: none; font-weight: 600; font-size: 14.5px; }
.hero--center .hero__badges { justify-content: center; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero__badges .i { color: var(--p-text, var(--p)); }
.hero__media { position: relative; }
.hero__img { border-radius: calc(var(--r) * 1.6); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: var(--p-soft); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__art { aspect-ratio: 4 / 3.4; border-radius: calc(var(--r) * 1.6); background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--a) 55%, transparent), transparent 45%), linear-gradient(140deg, var(--p), color-mix(in srgb, var(--p) 55%, var(--d))); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.hero__art svg { width: 92%; height: auto; }
/* Default hero illustration */
.hart { width: 100%; height: auto; display: block; overflow: visible; }
.hart-glow-a { fill: color-mix(in srgb, var(--a) 40%, transparent); filter: blur(30px); }
.hart-glow-b { fill: color-mix(in srgb, #fff 18%, transparent); filter: blur(40px); }
.hart-mat { fill: color-mix(in srgb, var(--d) 40%, transparent); }
.hart-body { fill: var(--d); }
.hart-screen { fill: #f8fafc; }
.hart-crack { stroke: color-mix(in srgb, var(--d) 55%, #fff); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hart-crack--thin { stroke-width: 1.4; opacity: .7; }
.hart-ui { fill: color-mix(in srgb, var(--d) 75%, #fff); }
.hart-ui--dim { fill: #e2e8f0; }
.hart-primary { fill: var(--p); }
.hart-accent { fill: var(--a); }
.hart-dark-soft { fill: color-mix(in srgb, var(--d) 30%, transparent); }
.hart-metal { fill: #cbd5e1; }
.hart-tick { stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.hart-card-bg { fill: #fff; filter: drop-shadow(0 14px 22px rgba(15, 23, 42, .28)); }
.hart-ok { fill: #22c55e; }
.hart-ink { fill: #1e293b; } .hart-ink--dim { fill: #cbd5e1; }
.hart-star polygon { fill: var(--a); stroke: var(--a); stroke-width: 1.5; stroke-linejoin: round; }
.hart-wrench { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 10px rgba(15,23,42,.35)); }
.hart-spark { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .hart-float { animation: hart-float 6s ease-in-out infinite; }
  .hart-float--2 { animation-delay: -2s; } .hart-float--3 { animation-delay: -4s; }
  @keyframes hart-float { 50% { transform: translateY(-8px); } }
}
.hart-ring { fill: none; stroke: #e2e8f0; stroke-width: 9; }
.hart-ring--on { stroke: var(--p); stroke-linecap: round; stroke-dasharray: 72 100; }
.hart-wrench-sm { fill: none; stroke: var(--p); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trackbox { margin-top: 26px; display: flex; gap: 8px; padding: 8px; max-width: 520px; border-radius: calc(var(--r-btn) + 6px); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero--center .trackbox { margin-inline: auto; }
.trackbox input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 10px; font-size: 15.5px; background: none; color: var(--ink); }
.trackbox input + input { border-inline-start: 1px solid var(--line); }

/* Cards & grids */
.cards { display: grid; gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards > * { min-width: 0; }
.card { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; color: var(--text); }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 19px; }
.card p { margin-top: 8px; color: var(--muted); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--p-soft); color: var(--p-text, var(--p)); margin-bottom: 18px; }
.card__price { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--p-text, var(--p)); }
.blk--bg-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); color: #cbd5e1; }
.blk--bg-dark .card p { color: #94a3b8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps > div { position: relative; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps > div::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--p); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats b { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; color: inherit; }
.blk--bg-dark .stats b, .blk--bg-primary .stats b { color: #fff; }
.stats span { opacity: .8; }

/* Brands */
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; }
.brands span { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: #94a3b8; }
.brands img { max-height: 34px; width: auto; filter: grayscale(1); opacity: .7; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.quote__stars { color: var(--a); letter-spacing: 2px; font-size: 18px; }
.quote b { color: var(--ink); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.plan--hi { border: 2px solid var(--p); box-shadow: var(--shadow); }
.plan__price { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan__price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .i { color: var(--p-text, var(--p)); margin-top: 4px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s; color: var(--p-text, var(--p)); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); white-space: pre-line; }

/* Gallery, team, before/after */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--light); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; text-align: center; }
.team__photo { width: 140px; height: 140px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--p-soft); display: grid; place-items: center; color: var(--p-text, var(--p)); font-weight: 800; font-size: 40px; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.ba { position: relative; max-width: 900px; margin-inline: auto; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--light); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; cursor: ew-resize; }
.ba__handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }
.ba__label { position: absolute; top: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 700; }
.ba__empty { display: grid; place-items: center; height: 100%; color: var(--muted); }

/* Image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split--right .split__media { order: 2; }
.split__media { border-radius: calc(var(--r) * 1.4); overflow: hidden; aspect-ratio: 4 / 3; background: var(--p-soft); display: grid; place-items: center; color: var(--p-text, var(--p)); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.prose { color: var(--text); }
.prose > * + * { margin-top: 14px; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose h2, .prose h3 { margin-top: 26px; }
.blk--bg-dark .prose, .blk--bg-primary .prose { color: inherit; }
.text-block { max-width: 820px; }
.blk--center .text-block { margin-inline: auto; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); }
.cta p { margin-top: 10px; font-size: 18px; opacity: .88; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.blk--center .cta { flex-direction: column; text-align: center; }

/* Spacer */
.spacer--sm { height: 20px; } .spacer--md { height: 48px; } .spacer--lg { height: 96px; }
.spacer hr { border: 0; border-top: 1px solid var(--line); margin: 0; position: relative; top: 50%; }

/* Forms (booking, contact, tracking, price finder) */
.panel { padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--r) * 1.2); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label, .flabel { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--surface); font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.textarea { padding: 12px 14px; min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 15%, transparent); }
.error { color: #dc2626; font-size: 14px; }
.alert { padding: 14px 16px; border-radius: var(--r-btn); font-weight: 600; }
.alert--ok { background: #e7f7ed; color: #166534; }
.alert--err { background: #fdecec; color: #991b1b; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-btn); border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.choice input:checked + span { border-color: var(--p); background: var(--p-soft); color: var(--p-text, var(--p)); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--p) 45%, transparent); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slots .choice span { justify-content: center; width: 100%; padding: 0 6px; }
.slots .choice input:disabled + span { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.finder { max-width: 960px; margin-inline: auto; }
.finder__step { margin-bottom: 22px; }
.finder__step h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.finder__results { display: grid; gap: 10px; }
.finder__row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--surface); }
.finder__row b { color: var(--ink); }
.finder__row .price { margin-inline-start: auto; font-weight: 800; font-size: 18px; color: var(--p-text, var(--p)); white-space: nowrap; }

/* Tracking page */
.track-hero { padding-block: clamp(36px, 5vw, 64px); background: var(--light); }
.progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 26px; }
.progress__step { display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.progress__bar { width: 100%; height: 8px; border-radius: 4px; background: var(--line); }
.progress__step.is-done .progress__bar { background: var(--p); }
.progress__step.is-current { color: var(--ink); }
.progress__step.is-current .progress__bar { background: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 20%, transparent); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; font-weight: 800; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 85%, black); }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.tgrid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: start; }
.tgrid > * { min-width: 0; }
.events { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 14px 1fr; gap: 14px; }
.event::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--c, var(--p)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--p)) 18%, white); }
.event small { color: var(--muted); }
.lines { width: 100%; border-collapse: collapse; }
.lines td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.lines td:last-child { text-align: end; white-space: nowrap; }
.lines tr.total td { border: 0; font-weight: 800; font-size: 18px; color: var(--ink); padding-top: 12px; }
.tphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.tphotos img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }

/* Hours & map */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.visit > * { min-width: 0; }
.hours { display: grid; gap: 6px; margin-top: 14px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours .is-today { color: var(--p-text, var(--p)); font-weight: 800; }
.map { min-height: 340px; border-radius: var(--r); overflow: hidden; background: var(--light); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.contact-lines { display: grid; gap: 10px; margin-top: 18px; }
.contact-lines a, .contact-lines div { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-lines .i { color: var(--p-text, var(--p)); }

/* Footer */
.ftr { background: var(--d); color: #94a3b8; padding-block: 56px 28px; font-size: 15px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr__top > * { min-width: 0; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.ftr a { color: #cbd5e1; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr .brand { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--p); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.wa-float { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); }
.wa-float:hover { transform: scale(1.05); }

/* Builder preview helpers (only inside the editor iframe) */
.is-preview [data-block] { position: relative; cursor: pointer; }
.is-preview [data-block]:hover { outline: 2px dashed color-mix(in srgb, var(--p) 60%, transparent); outline-offset: -2px; }
.is-preview [data-block].is-selected { outline: 2px solid var(--p); outline-offset: -2px; }
.is-preview .blk-hidden { opacity: .35; }
.is-preview .wa-float { display: none; }
.fd-tools { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 40; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 10px; background: #0f172a; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); font: 600 12.5px/1 Inter, system-ui, sans-serif; }
.fd-tools__label { padding: 0 8px; white-space: nowrap; }
.fd-tools button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: #cbd5e1; cursor: pointer; }
.fd-tools button:hover { background: rgba(255,255,255,.12); color: #fff; }
.fd-tools button[data-act=delete]:hover { background: #dc2626; }

/* Responsive */
@media (max-width: 1000px) {
    .cards--4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
    .cards--3, .quotes, .plans { grid-template-columns: 1fr 1fr; }
    .tgrid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s; margin: 0; }
    .hdr--dark .nav { background: var(--d); }
    .nav.is-open { transform: none; }
    .nav a { padding: 12px 6px; font-size: 17px; }
    .burger { display: grid; margin-inline-start: auto; }
    .hdr__cta .btn { display: none; }
    .hero, .split, .visit { grid-template-columns: 1fr; }
    .split--right .split__media { order: 0; }
    .ftr__top { grid-template-columns: 1fr 1fr; }
    .ftr__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .cards--2, .cards--3, .cards--4, .quotes, .plans, .fgrid { grid-template-columns: 1fr; }
    .steps, .stats { grid-template-columns: 1fr 1fr; }
    .trackbox { flex-wrap: wrap; }
    .trackbox input { flex: 1 1 40%; min-height: 44px; }
    .trackbox .btn { flex: 1 1 100%; }
    .ftr__top { grid-template-columns: 1fr; }
    .hero__actions .btn { flex: 1 1 100%; }
    .cta__btns .btn { flex: 1 1 100%; }
    .finder__row { flex-wrap: wrap; }
    .finder__row > div { flex: 1 1 100%; }
    .finder__row .price { margin-inline-start: 0; }
    .finder__row .btn { margin-inline-start: auto; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.nav__book { display: none; }
@media (max-width: 860px) { .nav .nav__book { display: flex; justify-content: center; margin-top: 10px; padding: 0 22px; font-size: 16px; color: #fff; background: var(--p); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.split__media--art { background: radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--a) 50%, transparent), transparent 45%), linear-gradient(140deg, var(--p), color-mix(in srgb, var(--p) 55%, var(--d))); }
.split__media--art .hart { width: 90%; }
/* A page shown in another language than the visitor's (no translation yet): every text keeps its own direction */
.content-fallback :is(h1, h2, h3, h4, p, li, summary, blockquote, figcaption, .eyebrow, .quote, .card__price) { unicode-bidi: plaintext; text-align: start; }
@media (max-width: 620px) {
    .wa-float { width: 48px; height: 48px; inset-block-end: 14px; inset-inline-end: 14px; }
    .wa-float svg { width: 24px; height: 24px; }
    .ftr { padding-bottom: 76px; } /* keep the last footer line clear of the WhatsApp button */
}

/* Live demo bar (FIXDOCK_DEMO=true only) */
.demobar { position: relative; z-index: 51; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 9px 16px; background: #0f172a; color: #e2e8f0; font-size: 14px; text-align: center; }
.demobar a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #2563eb; color: #fff; font-weight: 600; text-decoration: none; }
.demobar a:hover { background: #1d4ed8; }

/* Drop-down lists: our own chevron instead of the browser's arrow (Chrome on Windows draws a grey box on hover) */
select:not([multiple]):not([size]) {
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364708a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px;
    padding-inline-end: 38px; cursor: pointer;
}
[dir="rtl"] select:not([multiple]):not([size]) { background-position: left 12px center; }
select:not([multiple]):not([size]):hover:not(:disabled):not(:focus) { border-color: color-mix(in srgb, currentColor 35%, transparent); }
select::-ms-expand { display: none; }

/* Arabic headings: taller lines, so the dots below the line (ي ب ج…) are not covered by the next block */
[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.4; }

/* Booking device suggestions: when scrolled into view, stay clear of the phone bottom bar */
[data-bk-suggest] { scroll-margin-bottom: 96px; scroll-margin-top: 90px; }
