:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-2: #0c0c0f;
  --bg-3: #141418;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .24);
  --text: #f3f4f6;
  --muted: #9a9ca5;
  --red: #ff2a24;
  --red-deep: #8e0d10;
  --ok: #4ade80;
  --display: 'Michroma', 'Alexandria', sans-serif;
  --body: 'Sora', 'Alexandria', sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html[lang='ar'] { --display: 'Alexandria', 'Michroma', sans-serif; --body: 'Alexandria', 'Sora', sans-serif; }

* { box-sizing: border-box; }
html { background: var(--bg);  -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.wrap { padding-inline: var(--gutter); max-width: 1560px; margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
input.hp.hp.hp.hp { position: absolute; left: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir='rtl'] .ico.flip { transform: scaleX(-1); }
.kicker { font-family: var(--display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: .9em; }
html[lang='ar'] .kicker { letter-spacing: 0; font-size: .92rem; font-weight: 500; }
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--red); }

/* ---------- preloader ---------- */
#preloader { position: fixed; inset: 0; z-index: 300; background: #000; display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
#preloader.done { opacity: 0; visibility: hidden; }
#preloader:not(.run) > * { visibility: hidden; }
.pre-logo { width: min(66vw, 420px); aspect-ratio: 786 / 255; -webkit-mask: url(/assets/logo.png) center / contain no-repeat; mask: url(/assets/logo.png) center / contain no-repeat; background: rgba(255, 255, 255, .13); position: relative; overflow: hidden; }
.pre-fill { position: absolute; inset: 0; background: #fff; transform: translateX(-101%); animation: preFill 1.05s var(--ease) forwards; }
.pre-line { position: absolute; top: calc(50% + min(14vw, 90px)); left: 50%; width: min(66vw, 420px); height: 1px; background: var(--red); transform: translateX(-50%) scaleX(0); transform-origin: left; box-shadow: 0 0 14px var(--red); animation: preLine 1.05s var(--ease) forwards; }
@keyframes preFill { to { transform: none; } }
@keyframes preLine { to { transform: translateX(-50%) scaleX(1); } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); transition: background .35s, padding .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(5, 5, 6, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-block: 10px; border-color: var(--line); }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.5vw, 38px); }
.nav-links a { font-size: .93rem; position: relative; padding: 6px 0; color: #d6d7dc; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { min-width: 48px; min-height: 40px; border: 1px solid var(--line-2); padding: 0 10px; font-size: .85rem; transition: background .2s, color .2s; }
.lang:hover { background: #fff; color: #000; }
.burger { display: none; width: 44px; height: 40px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; inset-inline: 11px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger.open span { top: 19px; } .burger.open span:first-child { transform: rotate(45deg); } .burger.open span:last-child { transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 90; background: #000; padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.drawer[hidden] { display: none; }
.drawer nav { display: grid; gap: 4px; }
.drawer nav a { font-family: var(--display); font-size: clamp(1.25rem, 6vw, 2rem); padding: 11px 0; border-bottom: 1px solid var(--line); }
.drawer-foot { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: 0 26px; font-size: .95rem; font-weight: 500; position: relative; overflow: hidden; isolation: isolate; transition: color .35s, border-color .35s, opacity .2s; white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
[dir='rtl'] .btn::before { transform-origin: left; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
[dir='rtl'] .btn:hover::before { transform-origin: right; }
.btn-solid { background: #fff; color: #000; }
.btn-solid::before { background: var(--red); }
.btn-solid:hover { color: #fff; }
.btn-line { border: 1px solid var(--line-2); color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: #000; border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .85rem; }
.btn:disabled { opacity: .55; cursor: wait; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; border-bottom: 1px solid var(--line-2); padding-bottom: 5px; transition: border-color .2s, gap .3s var(--ease); }
.link-arrow:hover { border-color: var(--red); gap: 1em; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; background: #000; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.no-gl { background: radial-gradient(90% 60% at 70% 20%, #3a0b0d, transparent 70%), linear-gradient(160deg, #1b1c20, #000 60%); }
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px var(--gutter) clamp(28px, 5vh, 56px); gap: clamp(24px, 6vh, 64px); pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-logo { flex: 1; display: grid; place-items: center; min-height: 0; }
.logo-sweep { width: min(74vw, 980px); aspect-ratio: 786 / 255; -webkit-mask: url(/assets/logo.png) center / contain no-repeat; mask: url(/assets/logo.png) center / contain no-repeat; background: linear-gradient(105deg, #d8dade 0%, #fff 34%, #ff5e58 42%, #fff 50%, #d8dade 62%, #fff 100%); background-size: 280% 100%; animation: sweep 7s linear infinite; }
@keyframes sweep { from { background-position: 120% 0; } to { background-position: -160% 0; } }
.hero-logo .logo-sweep { clip-path: inset(0 100% 0 0); opacity: .98; }
[dir='rtl'] .hero-logo .logo-sweep { clip-path: inset(0 0 0 100%); }
.hero.go .hero-logo .logo-sweep { animation: sweep 7s linear infinite, logoIn 1.8s var(--ease) .95s forwards; }
@keyframes logoIn { to { clip-path: inset(0 -2% 0 -2%); } }
.hero-bottom { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 5vw, 80px); align-items: end; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 3.15vw, 3.2rem); line-height: 1.25; margin-top: 16px; }
html[lang='ar'] .hero h1 { font-weight: 600; font-size: clamp(1.9rem, 4vw, 4rem); line-height: 1.2; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .78); }
.hero-side p { color: #d3d4d9; max-width: 44ch; margin-bottom: 20px; }
.hero-bottom > *, .hero-hint { opacity: 0; transform: translateY(22px); }
.hero.go .hero-bottom > *, .hero.go .hero-hint { animation: rise 1.1s var(--ease) 1.5s forwards; }
.hero.go .hero-bottom > *:last-child { animation-delay: 1.65s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-hint { position: absolute; top: 96px; inset-inline-end: var(--gutter); z-index: 2; display: flex; align-items: center; gap: 10px; font-size: .78rem; color: #b5b7bd; }
.hero-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 12px transparent; } }

/* ---------- marquee ---------- */
.marquee { direction: ltr; overflow: hidden; border-block: 1px solid var(--line); background: #000; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 2rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .62); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); margin-inline: clamp(24px, 3.2vw, 52px); flex: none; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(48px, 8vw, 110px) 0; }
.stat { padding-inline-end: 22px; border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 2vw, 28px); }
.stat b { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: clamp(1.5rem, 3.3vw, 3.2rem); line-height: 1.2; display: block; direction: ltr; text-align: start; }
[dir='rtl'] .stat b { text-align: right; }
.stat p { color: var(--muted); margin-top: 8px; font-size: .9rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 10vw, 140px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 54px); }
.sec-head .kicker { grid-column: 1 / -1; }
.sec-head h2, .page-title, .sell-inner h2, .bond-copy h2 { font-family: var(--display); font-weight: 400; line-height: 1.22; }
.sec-head h2 { font-size: clamp(1.4rem, 3.1vw, 2.9rem); }
html[lang='ar'] .sec-head h2, html[lang='ar'] .page-title, html[lang='ar'] .sell-inner h2, html[lang='ar'] .bond-copy h2 { font-weight: 600; }
html[lang='ar'] .sec-head h2 { font-size: clamp(1.7rem, 3.8vw, 3.4rem); }

/* ---------- brand index ---------- */
.brand-index { border-top: 1px solid var(--line); }
.brand-index a { display: grid; grid-template-columns: 54px 1fr auto auto 26px; align-items: center; gap: 16px; padding: clamp(12px, 1.5vw, 20px) 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.brand-index a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 42, 36, .16), transparent 70%); transform: translateX(-101%); transition: transform .7s var(--ease); }
[dir='rtl'] .brand-index a::before { background: linear-gradient(270deg, rgba(255, 42, 36, .16), transparent 70%); transform: translateX(101%); }
.brand-index a:hover::before { transform: none; }
.brand-index a > * { position: relative; }
.bi-no { color: var(--muted); font-size: .78rem; font-family: 'Michroma', sans-serif; }
.bi-name { font-family: var(--display); font-size: clamp(1.15rem, 3vw, 2.5rem); line-height: 1.2; transition: transform .6s var(--ease); }
html[lang='ar'] .bi-name { font-weight: 500; font-size: clamp(1.35rem, 3.3vw, 2.8rem); }
.brand-index a:hover .bi-name { transform: translateX(14px); }
[dir='rtl'] .brand-index a:hover .bi-name { transform: translateX(-14px); }
.bi-alt { color: var(--muted); font-size: .92rem; }
.bi-count { font-size: .82rem; color: var(--muted); min-width: 72px; text-align: end; }
.bi-arrow { opacity: 0; transition: opacity .3s, transform .5s var(--ease); transform: translateX(-10px); color: var(--red); }
[dir='rtl'] .bi-arrow { transform: translateX(10px); }
.brand-index a:hover .bi-arrow { opacity: 1; transform: none; }

/* ---------- spotlight surfaces ---------- */
.spot { position: relative; }
.spot::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .1), transparent 70%); }
.spot:hover::after { opacity: 1; }
.empty-band { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.empty-band p { max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.grid-empty { grid-column: 1 / -1; }

/* ---------- car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.car-card { display: block; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.car-card:hover { border-color: var(--line-2); }
.car-photo { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #000; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.car-card:hover .car-photo img { transform: scale(1.05); }
.car-sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); transform: translateX(-110%); pointer-events: none; }
.car-card:hover .car-sheen { transition: transform 1.1s var(--ease); transform: translateX(110%); }
.no-photo { width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; background: radial-gradient(70% 90% at 50% 0%, #26272c, #070708 72%); }
.no-photo img { width: 42%; height: auto; opacity: .3; object-fit: contain; }
.car-info { padding: 18px 20px 20px; }
.car-info h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.4; }
.car-meta { display: flex; flex-wrap: wrap; gap: 3px 14px; color: var(--muted); font-size: .84rem; margin-top: 6px; }
.car-meta span + span { position: relative; }
.car-meta span + span::before { content: ''; position: absolute; inset-inline-start: -8px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--red); }
.car-price { font-family: 'Michroma', 'Alexandria', sans-serif; margin-top: 14px; font-size: 1.1rem; }
.cur { font-size: .72em; color: var(--muted); }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; font-size: .75rem; padding: 4px 11px; background: #000; border: 1px solid var(--line-2); }
.badge-sold { background: var(--red); border-color: var(--red); color: #fff; }
.is-sold .car-photo img { filter: grayscale(.85) brightness(.65); }

/* ---------- the bond (pinned) ---------- */
.bond { height: 420vh; margin-top: clamp(64px, 10vw, 140px); background: linear-gradient(#050506, #000 12%, #000 88%, #050506); }
.bond-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; overflow: hidden; }
.bond-copy { padding-inline: var(--gutter); position: relative; z-index: 2; }
.bond-copy h2 { font-size: clamp(1.25rem, 2.4vw, 2.3rem); margin-top: 14px; max-width: 22ch; }
html[lang='ar'] .bond-copy h2 { font-size: clamp(1.5rem, 3vw, 2.8rem); }
.bond-steps { margin-top: clamp(16px, 3vh, 30px); display: grid; gap: 2px; }
.bond-step { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .5s; }
.bond-step > span { font-family: 'Michroma', sans-serif; font-size: .7rem; color: var(--muted); padding-top: 5px; }
.bond-step h3 { font-size: 1rem; font-weight: 500; }
.bond-step p { color: var(--muted); font-size: .9rem; line-height: 1.55; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .4s; }
.bond-step.on { opacity: 1; }
.bond-step.on > span { color: var(--red); }
.bond-step.on p { max-height: 90px; margin-top: 4px; }
.bond-stage { --p: 0; height: 100%; position: relative; perspective: 1500px; display: grid; place-items: center; }
.stack { width: min(38vw, 56vh); aspect-ratio: 1; position: relative; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(calc(-38deg + var(--p) * 26deg)); }
.layer { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .22); transform: translateZ(calc(var(--i) * (10px + var(--p) * 26vh * .42))); transition: border-color .4s, box-shadow .5s, opacity .5s; opacity: .22; border-radius: 3px; overflow: hidden; }
.layer.laid { opacity: 1; }
.layer.on { border-color: #fff; box-shadow: 0 0 44px rgba(255, 42, 36, .55); }
.layer-1 { background: radial-gradient(120% 90% at 30% 20%, #e3211d, #6f0a0d 55%, #1a0304); }
.layer-2 { background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .03) 55%, rgba(255, 255, 255, .15)); }
.layer-3 { background: repeating-linear-gradient(115deg, rgba(190, 215, 255, .1) 0 2px, rgba(255, 255, 255, .02) 2px 9px), rgba(190, 215, 255, .08); }
.layer-4 { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 47%, rgba(255, 255, 255, .06) 55%, transparent 70%), radial-gradient(circle at 25% 30%, rgba(255, 255, 255, .55) 0 3px, transparent 4px), radial-gradient(circle at 62% 62%, rgba(255, 255, 255, .55) 0 5px, transparent 6px), radial-gradient(circle at 76% 24%, rgba(255, 255, 255, .55) 0 2px, transparent 3px), radial-gradient(circle at 38% 78%, rgba(255, 255, 255, .55) 0 4px, transparent 5px), rgba(255, 255, 255, .05); background-size: 300% 100%, auto, auto, auto, auto, auto; animation: filmSheen 5s linear infinite; }
@keyframes filmSheen { from { background-position: 120% 0, 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: -80% 0, 0 0, 0 0, 0 0, 0 0, 0 0; } }
.layer-tag { position: absolute; inset-inline-start: 10px; bottom: 7px; font-size: .78rem; color: #fff; opacity: 0; transition: opacity .4s; text-shadow: 0 1px 4px #000; }
.layer.on .layer-tag { opacity: 1; }
.bond-glow { position: absolute; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 42, 36, .24), transparent 65%); filter: blur(30px); z-index: -1; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-card { display: flex; flex-direction: column; background: var(--bg); min-height: 400px; overflow: hidden; transition: background .3s, opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.svc-card:hover { background: var(--bg-2); }
.svc-card canvas { width: 100%; flex: 1; min-height: 220px; display: block; }
.svc-text { padding: 20px 22px 24px; border-top: 1px solid var(--line); }
.svc-text h3 { font-size: 1.15rem; font-weight: 500; }
.svc-text p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.page-top { padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-title { font-size: clamp(1.8rem, 5.2vw, 4.8rem); margin-top: 14px; }
html[lang='ar'] .page-title { font-size: clamp(2.1rem, 6vw, 5.4rem); }
.page-sub { color: #c7c8ce; max-width: 58ch; margin-top: 16px; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.page-pad { padding-top: clamp(30px, 5vh, 70px); }
.nf { min-height: 72vh; }
.nf .btn { margin-top: 24px; }
.svc-rows { display: grid; gap: clamp(32px, 5vw, 72px); padding-top: clamp(16px, 3vw, 40px); }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(22px, 5vw, 80px); align-items: center; scroll-margin-top: 100px; }
.svc-row:nth-child(even) .svc-visual { order: 2; }
.svc-visual { border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16 / 10; overflow: hidden; }
.svc-visual canvas { width: 100%; height: 100%; display: block; }
.svc-no { font-family: 'Michroma', sans-serif; color: var(--red); font-size: .8rem; }
.svc-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 2.4rem); line-height: 1.25; margin: 8px 0 12px; }
html[lang='ar'] .svc-body h2 { font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.9rem); }
.lead { color: #d4d5da; font-size: 1.05rem; }
.prose { color: #c0c1c7; white-space: pre-line; max-width: 72ch; }
.svc-body .prose { margin-top: 12px; }
.svc-body .row-btns { margin-top: 22px; }

/* ---------- sell band ---------- */
.sell-band { margin-top: clamp(64px, 10vw, 140px); background: var(--red-deep); background-image: radial-gradient(80% 140% at 85% 0%, #e0201b, transparent 66%), linear-gradient(120deg, #4e0709, #8e0d10); }
.sell-inner { padding-block: clamp(50px, 8vw, 110px); display: grid; gap: 16px; justify-items: start; }
.sell-inner .kicker { color: #fff; } .sell-inner .kicker::before { background: #fff; }
.sell-inner h2 { font-size: clamp(1.5rem, 4.1vw, 4rem); max-width: 22ch; }
html[lang='ar'] .sell-inner h2 { font-size: clamp(1.9rem, 5vw, 4.6rem); }
.sell-inner .btn-solid::before { background: #000; }
.sell-page { padding-top: clamp(120px, 16vh, 170px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.sell-motion { width: 100%; height: 220px; margin-top: 26px; display: block; }

/* ---------- reviews ---------- */
.reviews-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(22px, 4vw, 60px); align-items: start; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.review-list > .link-arrow { justify-self: start; grid-column: 1 / -1; }
.review-card { background: var(--bg-2); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { font-size: 1rem; flex: 1; white-space: pre-line; overflow-wrap: anywhere; }
.review-card figcaption { font-size: .88rem; }
.review-card strong { font-weight: 500; }
.stars { display: flex; gap: 2px; color: #3a3b41; }
.stars .lit { color: var(--red); }
.star { width: 17px; height: 17px; display: block; }
.stars.big { color: var(--red); }
.stars.big .star { width: 26px; height: 26px; }
.review-empty { grid-column: 1 / -1; border: 1px dashed var(--line-2); padding: clamp(26px, 5vw, 56px); display: grid; gap: 16px; }
.review-empty p { font-size: 1.05rem; max-width: 46ch; }
.rating-sum { display: flex; align-items: center; gap: 8px; }
.rating-sum b { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 1.5rem; }
.rating-sum .star { color: var(--red); }
.rate-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
[dir='rtl'] .rate-row { flex-direction: row; justify-content: flex-start; }
.rate-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-row label { color: #3a3b41; cursor: pointer; padding: 5px; transition: color .15s, transform .25s var(--ease); }
.rate-row label .star { width: 28px; height: 28px; }
.rate-row label:hover, .rate-row label:hover ~ label, .rate-row input:checked ~ label { color: var(--red); }
.rate-row label:hover { transform: scale(1.14); }
.rate-row input:focus-visible + label { outline: 2px solid var(--red); }
[dir='rtl'] .rate-row { flex-direction: row-reverse; justify-content: flex-end; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form h3 { font-size: 1.15rem; font-weight: 500; }
.review-form, .form-panel { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.field > span, legend, .sel > span { font-size: .84rem; color: var(--muted); }
legend { margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
input:not([type='checkbox']):not([type='radio']), textarea, select { width: 100%; min-height: 48px; background: #000; color: #fff; border: 1px solid var(--line-2); padding: 11px 13px; font: inherit; font-size: 16px; border-radius: 0; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--red); }
textarea { resize: vertical; }
input[dir='ltr'] { text-align: start; }
[dir='rtl'] input[dir='ltr'] { text-align: right; }
.form-msg:empty { display: none; }
.form-msg.err { color: #ff8a86; font-size: .9rem; }
.form-done { display: grid; gap: 14px; padding: 24px 0; justify-items: start; }
.done-mark { width: 44px; height: 44px; border: 1.5px solid var(--red); border-radius: 50%; position: relative; }
.done-mark::after { content: ''; position: absolute; left: 14px; top: 11px; width: 13px; height: 7px; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.modal, .lightbox { border: 0; color: inherit; }
.modal { background: var(--bg-2); border: 1px solid var(--line-2); padding: clamp(22px, 4vw, 38px); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.modal[open] { animation: modalIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px); } }
.modal::backdrop, .lightbox::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); }
.modal h2 { font-size: 1.3rem; font-weight: 500; margin: 8px 0 18px; padding-inline-end: 40px; }
.modal .kicker { padding-inline-end: 40px; margin-bottom: 14px; }
.modal-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 42px; height: 42px; }
.modal-x::before, .modal-x::after { content: ''; position: absolute; left: 11px; right: 11px; top: 20px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.modal-x::after { transform: rotate(-45deg); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.clock-card, .contact-card { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-card h3, .clock-card h3 { font-weight: 500; font-size: 1.05rem; }
.contact-card .btn { margin-top: auto; }
.clock-card { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: clamp(16px, 2.5vw, 34px); align-items: center; }
.clock { width: 100%; height: auto; }
.c-ring { fill: #000; stroke: var(--line-2); }
.c-min { stroke: rgba(255, 255, 255, .25); } .c-hour { stroke: #fff; stroke-width: 1.5; }
.c-open { stroke: var(--red); stroke-width: 2; opacity: .85; }
.c-h { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; } .c-m { stroke: #fff; stroke-width: 2; stroke-linecap: round; } .c-s { stroke: var(--red); stroke-width: 1; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.is-open { color: var(--ok); } .status.is-open::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.phones { display: grid; gap: 4px; width: 100%; }
.phones a { font-family: 'Michroma', sans-serif; font-size: clamp(1rem, 1.5vw, 1.3rem); transition: color .2s; display: inline-block; }
[dir='rtl'] .phones li { text-align: right; }
.phones a:hover { color: var(--red); }
.map { margin-top: 14px; border: 1px solid var(--line); }
.map { position: relative; overflow: hidden; }
.map-link { position: absolute; inset: 0; z-index: 2; }
.map-link:focus-visible { outline-offset: -4px; }
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 1; pointer-events: none; }
.map-pin i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 2px solid #fff; animation: pinPulse 2.2s infinite; }
@keyframes pinPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 42, 36, .7); } 75%, 100% { box-shadow: 0 0 0 26px rgba(255, 42, 36, 0); } }
.map-pin b { position: absolute; top: 14px; left: 0; translate: -50% 0; font-family: 'Michroma', sans-serif; font-weight: 400; font-size: .72rem; background: #000; color: #fff; padding: 3px 9px; border: 1px solid var(--line-2); white-space: nowrap; direction: ltr; }
.map iframe { display: block; width: 100%; height: clamp(280px, 40vw, 460px); border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- showroom ---------- */
.filter-bar { position: sticky; top: 60px; z-index: 40; background: rgba(5, 5, 6, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.chips { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); white-space: nowrap; font-size: .88rem; transition: background .2s, color .2s, border-color .2s; flex: none; }
.chip small { color: var(--muted); font-size: .75rem; }
.chip:hover { border-color: #fff; }
.chip.active { background: #fff; color: #000; border-color: #fff; }
.chip.active small { color: #555; }
.tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 14px; padding-block: 22px; }
.search { flex: 1 1 260px; }
.sel { display: grid; gap: 4px; flex: 0 1 190px; }
.check { display: flex; align-items: center; gap: 9px; min-height: 48px; cursor: pointer; font-size: .9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.sr-count { margin-inline-start: auto; min-height: 48px; display: flex; align-items: center; font-size: .9rem; }

/* ---------- car page ---------- */
.car-page { padding-top: 96px; }
.back-link { display: inline-flex; align-items: center; gap: .6em; color: var(--muted); margin-bottom: 16px; min-height: 40px; transition: color .2s; }
.back-link:hover { color: #fff; }
.back-link .ico { transform: scaleX(-1); }
[dir='rtl'] .back-link .ico { transform: none; }
.car-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; background: #000; border: 1px solid var(--line); overflow: hidden; }
.gallery-main[role='button'] { cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fadeImg .55s ease; }
@keyframes fadeImg { from { opacity: .3; } }
.gallery-main .no-photo img { animation: none; }
.gal-count { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(0, 0, 0, .7); padding: 2px 10px; font-size: .8rem; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 96px; aspect-ratio: 16 / 10; border: 1px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumbs button.active, .thumbs button:hover { opacity: 1; border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car-side-inner { position: sticky; top: 84px; display: grid; gap: 16px; }
.car-side { position: sticky; top: 84px; }
.car-side h1 { font-size: clamp(1.4rem, 2.2vw, 2.05rem); font-weight: 500; line-height: 1.3; }
.big-price { font-family: 'Michroma', 'Alexandria', sans-serif; font-size: clamp(1.4rem, 2.2vw, 2rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.big-price small { font-family: var(--body); font-size: .8rem; color: var(--muted); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quick div { background: var(--bg); padding: 11px 14px; }
.quick div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.quick dt { font-size: .76rem; color: var(--muted); }
.quick dd { font-size: 1rem; }
.side-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-actions .btn { padding-inline: 10px; }
.side-links { display: flex; gap: 18px; font-size: .9rem; color: var(--muted); }
.side-links a, .side-links button { text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.side-links a:hover, .side-links button:hover { color: #fff; }
.car-sec { padding-top: clamp(40px, 6vw, 80px); }
.car-sec > h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.7rem); margin-bottom: 20px; }
html[lang='ar'] .car-sec > h2 { font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.spec-groups { align-items: start; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.spec-group { background: var(--bg-2); border: 1px solid var(--line); padding: 20px 22px; }
.spec-group h3 { color: var(--red); font-size: .92rem; font-weight: 500; margin-bottom: 10px; }
.spec-group dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.spec-group dt { color: var(--muted); }
.spec-group dd { text-align: end; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 9px 22px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; }
.feature-list li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg) translateY(-2px); }
.feature-list.red a { text-decoration: underline; text-underline-offset: 3px; }
.lightbox { background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 16px; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox > img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; background: rgba(0, 0, 0, .65); display: grid; place-items: center; }
.lb-next { inset-inline-end: 10px; } .lb-prev { inset-inline-start: 10px; }
.lb-prev .ico { transform: scaleX(-1); }
[dir='rtl'] .lb-prev .ico { transform: none; }

/* ---------- magazine ---------- */
.masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.masthead-count { font-size: .85rem; }
.cover { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); background: var(--bg-2); border: 1px solid var(--line); margin-bottom: clamp(14px, 1.6vw, 24px); overflow: hidden; }
.cover-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.cover-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cover:hover .cover-photo > img { transform: scale(1.04); }
.cover-text { padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cover-text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.5vw, 2.5rem); line-height: 1.25; overflow-wrap: anywhere; }
html[lang='ar'] .cover-text h3 { font-weight: 600; font-size: clamp(1.5rem, 3vw, 3rem); }
.cover-price { font-family: 'Michroma', 'Alexandria', sans-serif; font-size: clamp(1.1rem, 1.7vw, 1.6rem); margin-top: 4px; }
.mag-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.mag-grid > .car-card { grid-column: span 2; }
.mag-grid > .car-card:nth-child(5n + 1), .mag-grid > .car-card:nth-child(5n + 2) { grid-column: span 3; }
.article { padding-bottom: 20px; }
.art-hero { position: relative; }
.art-photo { height: min(88svh, 62vw); min-height: 340px; background: #000; overflow: hidden; }
.art-photo[role='button'] { cursor: zoom-in; }
.art-photo > img { width: 100%; height: 100%; object-fit: cover; animation: fadeImg .8s ease; }
.art-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #050506 2%, rgba(5, 5, 6, .35) 34%, transparent 58%), linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 22%); }
.art-title { position: absolute; z-index: 2; inset-inline: 0; bottom: clamp(14px, 3vw, 40px); }
.art-title h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 4vw, 4rem); line-height: 1.2; max-width: 24ch; overflow-wrap: anywhere; }
html[lang='ar'] .art-title h1 { font-weight: 600; font-size: clamp(1.7rem, 4.6vw, 4.5rem); }
.art-title .badge { position: static; display: inline-block; margin-top: 10px; }
.art-body { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr); gap: clamp(24px, 4vw, 70px); align-items: start; padding-top: clamp(24px, 4vw, 54px); }
.standfirst { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.7; white-space: pre-line; color: #e2e3e7; max-width: 62ch; }
.art-main > .car-sec:first-child { padding-top: 0; }
.spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spread-item { display: block; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; background: #000; cursor: zoom-in; }
.spread-item:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.spread-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spread-item:hover img { transform: scale(1.04); }

/* ---------- the main page ---------- */
html[data-world='gate'] body { overflow: hidden; }
.gate { --s: 50%; --t: 1.2vw; --mx: 0; --delay: 0ms; position: fixed; inset: 0; overflow: hidden; background: #000; color: #fff; }
.gate-panel { position: absolute; inset: 0; cursor: pointer; }
.gate:not(.is-rtl) .gp-cars, .gate.is-rtl .gp-protection { clip-path: polygon(0 0, calc(var(--s) + var(--t)) 0, calc(var(--s) - var(--t)) 100%, 0 100%); }
.gate:not(.is-rtl) .gp-protection, .gate.is-rtl .gp-cars { clip-path: polygon(calc(var(--s) + var(--t)) 0, 100% 0, 100% 100%, calc(var(--s) - var(--t)) 100%); }

/* Each picture fills its own side, and moves slightly against the pointer. */
.gate-media { position: absolute; top: 0; bottom: 0; width: 68%; overflow: hidden; opacity: 0; animation: gateMedia 2s cubic-bezier(.2, .7, .2, 1) calc(var(--delay) + .55s) forwards; transition: filter .8s ease; }
.gate:not(.is-rtl) .gp-cars .gate-media, .gate.is-rtl .gp-protection .gate-media { left: 0; }
.gate:not(.is-rtl) .gp-protection .gate-media, .gate.is-rtl .gp-cars .gate-media { right: 0; }
.gate-media img, .gate-media video, .gate-drift { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc(var(--mx) * -14px), 0, 0) scale(1.05); }
.gp-cars .gate-media img { object-position: 74% 62%; }
.gate-drift { pointer-events: none; }
.gate-media video { filter: saturate(1.05); }
@keyframes gateMedia { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1); } }
.gate-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .66) 38%, rgba(0, 0, 0, .12) 66%, rgba(0, 0, 0, .55) 100%); transition: background-color .8s ease; }
.gate[data-hot='cars'] .gp-protection::after, .gate[data-hot='protection'] .gp-cars::after { background-color: rgba(0, 0, 0, .58); }

.gate-body { position: absolute; z-index: 2; bottom: clamp(36px, 8vh, 84px); display: flex; flex-direction: column; }
.gate:not(.is-rtl) .gp-cars .gate-body, .gate.is-rtl .gp-protection .gate-body { left: clamp(26px, 4.4vw, 76px); right: calc(100% - var(--s) + 3.2vw); }
.gate:not(.is-rtl) .gp-protection .gate-body, .gate.is-rtl .gp-cars .gate-body { right: clamp(26px, 4.4vw, 76px); left: calc(var(--s) + 3.2vw); }
.gate-body > * { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease) calc(var(--delay) + 1.05s) forwards; }
.gate-body h2 { animation-delay: calc(var(--delay) + 1.15s); }
.gate-body .gate-tiles { animation-delay: calc(var(--delay) + 1.35s); }
.gate-sub { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 14px; }
html[lang='ar'] .gate-sub { letter-spacing: 0; font-size: .95rem; font-weight: 300; }
.gate-body h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4.1vw, 4.6rem); line-height: 1.08; white-space: nowrap; }
html[lang='ar'] .gate-body h2 { font-weight: 300; font-size: clamp(2.8rem, 6.2vw, 6.6rem); line-height: 1.12; }
.gate-tiles { display: grid; gap: 8px; margin-top: 20px; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 720px; }
.gate-tile { position: relative; display: flex; flex-direction: column; gap: 9px; min-height: 92px; padding: 13px 12px 11px; background: rgba(10, 10, 12, .44); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: .8rem; line-height: 1.3; color: #fff; transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
html[lang='ar'] .gate-tile { font-size: .86rem; font-weight: 400; }
.gate-tile svg { width: 27px; height: 27px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.gate-tile:hover, .gate-tile:focus-visible { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px); }
.gate-seam { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: scaleY(0); transform-origin: top; animation: gateSeam 1.1s cubic-bezier(.7, 0, .2, 1) var(--delay) forwards; filter: drop-shadow(0 0 7px rgba(255, 110, 70, .75)); }
@keyframes gateSeam { to { transform: none; } }
@keyframes gateFade { to { opacity: 1; } }
.gate-seam i { position: absolute; inset: 0; background: rgba(255, 235, 225, .95); clip-path: polygon(calc(var(--s) + var(--t) - .5px) 0, calc(var(--s) + var(--t) + .5px) 0, calc(var(--s) - var(--t) + .5px) 100%, calc(var(--s) - var(--t) - .5px) 100%); }
.gate-top { position: absolute; z-index: 5; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: clamp(16px, 3vh, 30px) clamp(26px, 4.4vw, 76px); font-size: .82rem; opacity: 0; animation: gateFade 1.2s ease calc(var(--delay) + .9s) forwards; }
.gate-top > a { justify-self: start; padding: 8px 0; color: rgba(255, 255, 255, .82); transition: color .3s; }
.gate-lang { justify-self: end; padding: 8px 0; color: rgba(255, 255, 255, .82); transition: color .3s; }
.gate-top > a:hover, .gate-lang:hover { color: #fff; }
.gate-logo img { width: clamp(110px, 10vw, 158px); height: auto; }
.gate.leaving .gate-body, .gate.leaving .gate-top { opacity: 0; transition: opacity .3s ease; }

/* ---------- the switch ---------- */
.world-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border: 1px solid var(--line-2); background: var(--bg); isolation: isolate; }
.world-switch a { position: relative; z-index: 1; display: grid; place-items: center; min-height: 40px; min-width: clamp(74px, 7vw, 104px); padding: 0 12px; font-size: .86rem; font-weight: 500; transition: color .35s; }
.world-switch i { position: absolute; z-index: 0; inset-block: -1px; width: 50%; background: var(--text); transition: inset-inline-start .45s var(--ease); inset-inline-start: 0; }
.world-switch[data-on='protection'] i { inset-inline-start: 50%; background: var(--red); }
.world-switch[data-on='cars'] a[data-world='cars'] { color: var(--bg); }
.world-switch[data-on='protection'] a[data-world='protection'] { color: #fff; }
.wipe { position: fixed; z-index: 280; inset: 0 -14vw; display: grid; place-items: center; transform: translateX(110%) skewX(-5deg); animation: wipeIn .43s cubic-bezier(.7, 0, .2, 1) forwards; font-family: var(--display); font-size: clamp(2rem, 8vw, 7rem); box-shadow: 0 0 40px rgba(255, 58, 30, .9), -4px 0 0 #ff3a1e, 4px 0 0 #ff3a1e; }
[dir='rtl'] .wipe { transform: translateX(-110%) skewX(5deg); animation-name: wipeInRtl; }
.wipe span { transform: skewX(5deg); }
.wipe-cars { background: #f2efe9; color: #101012; }
.wipe-protection { background: #050506; color: #fff; }
.wipe.out { animation: wipeOut .43s cubic-bezier(.7, 0, .2, 1) forwards; }
[dir='rtl'] .wipe.out { animation-name: wipeOutRtl; }
@keyframes wipeIn { to { transform: translateX(0) skewX(-5deg); } }
@keyframes wipeOut { from { transform: translateX(0) skewX(-5deg); } to { transform: translateX(-110%) skewX(-5deg); } }
@keyframes wipeInRtl { to { transform: translateX(0) skewX(5deg); } }
@keyframes wipeOutRtl { from { transform: translateX(0) skewX(5deg); } to { transform: translateX(110%) skewX(5deg); } }

/* ---------- the Protection website ---------- */
html[data-world='protection'] { --red: #ff4a1c; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(40px, 6vw, 80px) 0; }
.sec-sub { grid-column: 1 / -1; color: var(--muted); max-width: 66ch; }
.builder { display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.4fr); gap: clamp(18px, 4vw, 60px); align-items: start; }
.builder.done { display: block; }
.builder.done .form-done { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); }
.builder-car { position: sticky; top: 92px; display: grid; place-items: center; padding: 8px; }
.car-svg { width: min(100%, 340px); max-height: calc(100svh - 120px); overflow: visible; }
.car-glass { fill: rgba(150, 170, 200, .1); stroke: rgba(255, 255, 255, .22); }
.part { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .46); stroke-width: 1; cursor: pointer; transition: fill .3s, stroke .3s, filter .3s; }
.part:hover { fill: rgba(255, 74, 28, .28); stroke: #fff; }
.part.on { fill: rgba(255, 74, 28, .78); stroke: #fff; filter: drop-shadow(0 0 7px rgba(255, 74, 28, .85)); }
.req-form { align-content: start; }
.fg { display: grid; gap: 10px; min-width: 0; }
.fg-label { font-weight: 500; font-size: 1rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.span-all { grid-column: 1 / -1; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span, .pick-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.pick:hover span, .pick-btn:hover { border-color: var(--text); }
.pick input:checked + span, .pick-btn.on { background: var(--red); border-color: var(--red); color: #fff; }
.pick input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.advisor-tip { color: var(--red); font-size: .93rem; }
.advisor-tip:empty { display: none; }
.photo-up { display: grid; gap: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.photo-add, .photo-item { position: relative; aspect-ratio: 1; border: 1px dashed var(--line-2); display: grid; place-items: center; text-align: center; font-size: .78rem; padding: 6px; overflow: hidden; }
.photo-add { cursor: pointer; }
.photo-add:hover { border-color: var(--red); color: var(--red); }
.photo-add[hidden] { display: none; }
.photo-add input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-item { border-style: solid; padding: 0; color: var(--muted); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item button { position: absolute; top: 4px; inset-inline-end: 4px; width: 26px; height: 26px; background: rgba(0, 0, 0, .75); }
.photo-item button::before, .photo-item button::after { content: ''; position: absolute; left: 6px; right: 6px; top: 12px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.photo-item button::after { transform: rotate(-45deg); }
.svc-media { flex: 1; min-height: 220px; position: relative; overflow: hidden; background: #000; }
.svc-media video, .svc-media canvas, .svc-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-visual { position: relative; }
.svc-card canvas { min-height: 0; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cmp-card { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 10px; }
.cmp-card.hot { border-color: var(--red); }
.cmp-tag { color: var(--red); font-size: .85rem; }
.cmp-card h3 { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 500; }
.cmp-text { color: var(--muted); font-size: .93rem; flex: 1; }
.cmp-card dl { margin-top: 6px; }
.cmp-card dl > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.cmp-card dt { color: var(--muted); }
.cmp-card dd { display: flex; gap: 4px; direction: ltr; }
.cmp-card dd i { width: 18px; height: 5px; background: var(--line-2); }
.cmp-card dd i.on { background: var(--red); }
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prod { background: var(--bg); padding: clamp(16px, 2vw, 24px); }
.prod h3 { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: 1rem; }
[dir='rtl'] .prod h3 { text-align: right; }
.prod-use { color: var(--red); font-size: .82rem; margin: 3px 0 9px; }
.prod p:last-child { color: var(--muted); font-size: .9rem; }
.tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tech-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; margin-bottom: 12px; }
.tech-img img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform 1.2s var(--ease), opacity .4s; }
.tech:hover .tech-img img { transform: scale(1.05); opacity: .9; }
.tech-img b { position: absolute; bottom: 8px; inset-inline-start: 12px; font-family: 'Michroma', sans-serif; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2.2rem); color: #fff; text-shadow: 0 2px 12px #000; }
.tech h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 4px; }
.tech p { color: var(--muted); font-size: .9rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-size: clamp(1rem, 1.4vw, 1.15rem); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 1.3em; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; max-width: 72ch; }

.only-noncar { display: none; }
.builder.non-car { grid-template-columns: minmax(0, 1fr); }
.builder.non-car .builder-car, .builder.non-car .parts-fg { display: none; }
.builder.non-car .only-noncar { display: block; }
.form-note { font-size: .8rem; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.after-faq { margin-top: 22px; }

/* ---------- products and learning ---------- */
.lib-head { position: relative; padding-top: clamp(112px, 16vh, 160px); padding-bottom: clamp(26px, 4vw, 54px); overflow: hidden; }
.lib-head.has-img { min-height: clamp(340px, 52vh, 520px); display: flex; align-items: flex-end; }
.lib-head.has-img > .wrap { width: 100%; position: relative; z-index: 1; }
.lib-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.lib-head.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 4%, rgba(5, 5, 6, .55) 48%, rgba(5, 5, 6, .35)); }
.lib-sec { padding-block: clamp(30px, 5vw, 66px) 0; }
.lib-note { padding-top: 24px; font-size: .88rem; }
.pcard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); padding: 14px 16px 18px; transition: border-color .3s, opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.pcard:hover { border-color: var(--red); }
.pcard-img { height: 190px; display: grid; place-items: center; margin-bottom: 12px; background: radial-gradient(60% 70% at 50% 45%, rgba(255, 255, 255, .13), transparent 75%); overflow: hidden; }
.pcard-img img { max-width: 100%; max-height: 176px; width: auto; height: auto; object-fit: contain; transition: transform .8s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard h3 { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: .98rem; }
[dir='rtl'] .pcard h3 { text-align: right; }
.pcard-text { color: var(--muted); font-size: .88rem; }
.product { padding-top: 96px; }
.product-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 5vw, 70px); align-items: start; }
.product-img { display: grid; place-items: center; min-height: clamp(280px, 40vw, 520px); padding: 24px; background: radial-gradient(60% 60% at 50% 45%, rgba(255, 74, 28, .2), transparent 72%), var(--bg-2); border: 1px solid var(--line); }
.product-img img { max-height: clamp(240px, 36vw, 470px); width: auto; object-fit: contain; }
.product-info { display: grid; gap: 13px; justify-items: start; }
.product-info h1 { font-family: 'Michroma', sans-serif; font-weight: 400; font-size: clamp(1.7rem, 3.8vw, 3.4rem); line-height: 1.15; }
[dir='rtl'] .product-info h1 { text-align: right; width: 100%; }
.product-info .prod-use { margin: 0; }
.feature-list.one { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.product-video { position: relative; margin-top: clamp(24px, 4vw, 50px); aspect-ratio: 21 / 8; overflow: hidden; background: #000; }
.product-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acard { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(16px, 2vw, 24px); transition: border-color .3s, opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.acard:hover { border-color: var(--red); }
.acard h3 { font-size: 1.08rem; font-weight: 500; line-height: 1.35; }
.acard p { color: var(--muted); font-size: .9rem; flex: 1; }
.article-page { padding-top: clamp(96px, 14vh, 140px); max-width: 980px; }
.article-page > .standfirst { margin-top: 18px; }
.art-points { margin-top: clamp(22px, 4vw, 40px); border-top: 1px solid var(--line-2); }
.art-points > section { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.art-points > section > span { font-family: 'Michroma', sans-serif; font-size: .78rem; color: var(--red); padding-top: 5px; }
.art-points h2 { font-size: clamp(1.02rem, 1.5vw, 1.25rem); font-weight: 500; margin-bottom: 4px; }
.art-points p { color: #c6c7cd; max-width: 70ch; }
.cta-band { margin-top: clamp(40px, 7vw, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: clamp(24px, 4vw, 44px); border-block: 1px solid var(--line-2); }
.cta-band h2 { font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.9rem); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.work { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #000; text-align: start; }
.work > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work:hover > img { transform: scale(1.05); }
.work-text { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 14px 12px; display: grid; background: linear-gradient(to top, rgba(0, 0, 0, .86), transparent); color: #fff; }
.work-text strong { font-weight: 500; }
.work-text small { opacity: .75; }
.work-modal { width: min(900px, calc(100vw - 32px)); }
.work-modal h2 { margin: 0 0 6px; }
.work-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.work-photos img { width: 100%; height: auto; }

/* ---------- catalogue ---------- */
.catalog { padding-top: clamp(30px, 5vw, 60px); }
.catalog > h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.6vw, 2.2rem); }
html[lang='ar'] .catalog > h2 { font-weight: 600; font-size: clamp(1.45rem, 3vw, 2.5rem); }
.cat-note { margin: 10px 0 20px; padding: 11px 14px; border-inline-start: 3px solid var(--red); background: var(--bg-3); font-size: .92rem; max-width: 78ch; }
.cat-brand { margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-weight: 500; font-size: 1.15rem; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cat-card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s, transform .35s var(--ease); }
.cat-card:hover { border-color: var(--text); transform: translateY(-3px); }
.cat-photo { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: var(--bg-3); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-photo svg { width: 42px; height: 42px; fill: none; stroke: var(--muted); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.cat-badge { position: absolute; top: 6px; inset-inline-start: 6px; padding: 1px 7px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .68rem; }
.cat-info { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 10px 11px 11px; }
.cat-info small { color: var(--muted); font-size: .74rem; }
.cat-info h3 { font-size: .98rem; font-weight: 500; line-height: 1.25; }
[dir='rtl'] .cat-info h3 { text-align: right; }
.cat-price { font-size: .82rem; flex: 1; margin-bottom: 5px; }
.cat-price b { font-weight: 600; white-space: nowrap; }
.cat-main { display: flex; flex-direction: column; flex: 1; color: inherit; }
.cat-view { display: block; padding: 9px 11px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 500; text-align: center; transition: background .2s, color .2s; }
.cat-view:hover { background: var(--text); color: var(--bg); }
.view-car { margin-top: 8px; font-size: 1.15rem; font-weight: 500; }
.cat-ask { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--red); }

.svc-back { display: inline-flex; margin-bottom: 22px; }
.svc-top .page-title { margin-bottom: 12px; }
.color-group { font-weight: 500; font-size: 1.05rem; margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.color-card { display: flex; flex-direction: column; gap: 3px; font-size: .92rem; }
.color-card strong { font-weight: 500; margin-top: 7px; }
.color-swatch { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); transition: transform .25s; }
.color-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.color-card:hover .color-swatch { transform: translateY(-3px); }
.color-card:focus-visible .color-swatch { outline: 2px solid var(--red); outline-offset: 2px; }
.color-code { color: var(--muted); font-size: .8rem; align-self: flex-start; }
.color-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; border: 1px solid var(--line-2); background: var(--bg-2); }
.svc-other-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; }
.svc-other-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.svc-other-list a:hover { color: var(--red); }
[dir='rtl'] .svc-other-list svg { transform: scaleX(-1); }
.video-up { margin-top: 18px; }
.video-box { margin-top: 10px; display: grid; gap: 10px; }
.video-add { min-height: 84px; width: 100%; aspect-ratio: auto; }
.video-loading { min-height: 84px; width: 100%; aspect-ratio: auto; display: flex; align-items: center; justify-content: center; }
.video-item { display: grid; gap: 10px; justify-items: start; }
.video-item video { width: 100%; max-height: 300px; background: #000; display: block; }
/* ---------- instalments: Taly and Deema ---------- */
.pay-band { margin-top: clamp(56px, 8vw, 110px); background: #0a0b0f; color: #fff; border-block: 1px solid rgba(255,255,255,.08); }
.pay-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 70px); align-items: center; padding-block: clamp(34px, 5vw, 60px); }
.pay-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.2; margin: 8px 0 10px; color: #fff; }
html[lang='ar'] .pay-text h2 { font-weight: 600; }
.pay-text p:not(.kicker) { color: rgba(255,255,255,.72); max-width: 46ch; }
.pay-logos { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 44px); }
.pay-logos img { display: block; width: auto; }
.pay-taly { height: clamp(52px, 7vw, 84px); }
.pay-taly.is-ar { height: clamp(50px, 6.5vw, 80px); }
.pay-deema { height: clamp(34px, 4.6vw, 54px); }
.pay-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.18); }
@media (max-width: 760px) { .pay-inner { grid-template-columns: 1fr; } .pay-logos { justify-content: flex-start; } }

/* ---------- offers ---------- */
.offers-wrap { padding-bottom: 20px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.offer-card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.offer-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.offer-body h3 { font-size: 1.15rem; font-weight: 500; }
.offer-body .btn { margin-top: auto; align-self: flex-start; }
.offer-ends { align-self: flex-start; font-size: .75rem; padding: 3px 8px; background: var(--red); color: #fff; }
.offer-price b { font-size: 1.25rem; }
.offer-price s { margin-inline-start: 8px; font-size: .9rem; }

.credit-list { margin-top: 24px; border-top: 1px solid var(--line-2); }
.credit-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.credit-list strong { font-weight: 500; }
[dir='rtl'] .credit-list strong, [dir='rtl'] .credit-list span { text-align: right; }
.credit-list span { color: var(--muted); overflow-wrap: anywhere; }
.credit-list a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tap-through car picker ---------- */
.wizard { gap: 12px; scroll-margin-top: 80px; }
.wz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.wz-back { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; min-height: 34px; }
.wz-back .ico { transform: scaleX(-1); }
[dir='rtl'] .wz-back .ico { transform: none; }
.wz-back[hidden] { display: none; }
.wz-count { font-size: .84rem; color: var(--muted); margin-inline-start: auto; }
.wz-bar { height: 2px; background: var(--line); }
.wz-bar i { display: block; height: 100%; background: var(--red); transition: width .5s var(--ease); }
.wz-chosen { display: flex; flex-wrap: wrap; gap: 6px; }
.wz-chosen:empty { display: none; }
.wz-tag { padding: 3px 10px; font-size: .8rem; border: 1px solid var(--line-2); transition: background .2s, color .2s; }
.wz-tag:hover { background: var(--text); color: var(--bg); }
.wz-q { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.3; margin-bottom: 14px; }
html[lang='ar'] .wz-q { font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 1.9rem); }
.wz-q:focus { outline: 0; }
.wz-search { margin-bottom: 12px; }
.wz-grid { display: grid; gap: 8px; animation: wzIn .45s var(--ease); }
@keyframes wzIn { from { opacity: 0; transform: translateY(10px); } }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-brand { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-year { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.g-color { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wz-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 8px 6px; background: var(--bg); border: 1px solid var(--line-2); font-size: .92rem; text-align: center; line-height: 1.25; transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease); }
.wz-opt[hidden] { display: none; }
.wz-opt:hover { border-color: var(--text); transform: translateY(-2px); }
.wz-opt.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.g-brand .wz-opt { min-height: 72px; }
.wz-opt b { font-weight: 500; font-size: .98rem; }
.wz-opt small { font-size: .72rem; color: var(--muted); }
.wz-opt.on small { color: inherit; }
.g-year .wz-opt { min-height: 46px; font-size: .88rem; font-variant-numeric: tabular-nums; }
.g-year [data-wide] { grid-column: 1 / -1; }
.g-color .wz-opt { flex-direction: row; gap: 9px; justify-content: flex-start; padding-inline: 12px; }
.swatch { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); }
.wz-other { display: flex; gap: 8px; margin-top: 10px; }
.wz-other[hidden] { display: none; }
.wz-other input { flex: 1; min-width: 0; }
.wz-final { display: grid; gap: 14px; animation: wzIn .45s var(--ease); }
.wz-final[hidden] { display: none; }
.wz-body[hidden] { display: none; }

/* ---------- the Cars website ---------- */
html[data-world='cars'] { color-scheme: light; --bg: #f2efe9; --bg-2: #fbfaf7; --bg-3: #e9e5dd; --line: rgba(0, 0, 0, .13); --line-2: rgba(0, 0, 0, .3); --text: #111114; --muted: #5f6067; --red: #d4160f; }
html[data-world='cars'] .brand img, html[data-world='cars'] .no-photo img:not(.keep) { filter: invert(1); }
html[data-world='cars'] .no-photo { background: radial-gradient(70% 90% at 50% 0%, #e7e3da, #d7d2c7 72%); }
html[data-world='cars'] .site-header.solid { background: rgba(242, 239, 233, .86); }
html[data-world='cars'] .nav-links a { color: #33343a; }
html[data-world='cars'] .nav-links a:hover, html[data-world='cars'] .nav-links a.active { color: #000; }
html[data-world='cars'] .lang:hover { background: #111; color: #fff; }
html[data-world='cars'] .burger span { background: #111; }
html[data-world='cars'] .drawer { background: var(--bg); }
html[data-world='cars'] .btn-solid { background: #111; color: #fff; }
html[data-world='cars'] .btn-line { color: #111; }
html[data-world='cars'] .btn-line::before { background: #111; }
html[data-world='cars'] .btn-line:hover { color: #fff; border-color: #111; }
html[data-world='cars'] input:not([type='checkbox']):not([type='radio']), html[data-world='cars'] textarea, html[data-world='cars'] select { background: #fff; color: #111; }
html[data-world='cars'] .filter-bar { background: rgba(242, 239, 233, .9); }
html[data-world='cars'] .chip:hover { border-color: #111; }
html[data-world='cars'] .chip.active { background: #111; color: #fff; border-color: #111; }
html[data-world='cars'] .chip.active small { color: #bbb; }
html[data-world='cars'] .page-sub, html[data-world='cars'] .lead, html[data-world='cars'] .prose, html[data-world='cars'] .standfirst { color: #33343a; }
html[data-world='cars'] .foot-col a { color: #33343a; }
html[data-world='cars'] .logo-sweep { background: linear-gradient(105deg, #1c1c20 0%, #000 34%, #d4160f 42%, #000 50%, #1c1c20 62%, #000 100%); background-size: 280% 100%; }
html[data-world='cars'] .wa-float { background: #111; color: #fff; }
html[data-world='cars'] .art-hero::after { background: linear-gradient(to top, #f2efe9 2%, rgba(242, 239, 233, .5) 30%, transparent 58%), linear-gradient(to bottom, rgba(0, 0, 0, .25), transparent 22%); }
html[data-world='cars'] .modal-x::before, html[data-world='cars'] .modal-x::after { background: #111; }
html[data-world='cars'] .lightbox .modal-x::before, html[data-world='cars'] .lightbox .modal-x::after { background: #fff; }
html[data-world='cars'] .lb-nav { color: #fff; }
html[data-world='cars'] .c-ring { fill: #fff; }
html[data-world='cars'] .c-min { stroke: rgba(0, 0, 0, .25); }
html[data-world='cars'] .c-hour, html[data-world='cars'] .c-h, html[data-world='cars'] .c-m { stroke: #111; }
html[data-world='cars'] .map-pin b { background: #111; }
html[data-world='cars'] .spot::after { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 0, 0, .05), transparent 70%); }
html[data-world='cars'] .badge { background: #111; color: #fff; }
html[data-world='cars'] .badge-sold { background: var(--red); }
.cw-hero { padding-top: clamp(112px, 17vh, 170px); padding-bottom: clamp(22px, 4vh, 44px); }
.cw-hero h1 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 5.3vw, 5.4rem); line-height: 1.14; max-width: 19ch; }
html[lang='ar'] .cw-hero h1 { font-weight: 700; font-size: clamp(2.1rem, 6vw, 6rem); line-height: 1.2; }
.cw-choices { display: grid; }
.cw-choices a { display: grid; grid-template-columns: 54px minmax(0, 1.2fr) minmax(0, 1fr) 30px; align-items: center; gap: 16px; padding: clamp(18px, 3vh, 32px) 0; border-top: 1px solid var(--line-2); position: relative; overflow: hidden; isolation: isolate; transition: color .35s; }
.cw-choices li:last-child a { border-bottom: 1px solid var(--line-2); }
.cw-choices a::before { content: ''; position: absolute; z-index: -1; inset: 0; background: #111; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.cw-choices a:hover { color: #fff; }
.cw-choices a:hover::before { transform: scaleY(1); }
.cw-no { font-family: 'Michroma', sans-serif; font-size: .8rem; color: var(--red); padding-inline-start: 6px; }
.cw-t { font-family: var(--display); font-size: clamp(1.15rem, 2.5vw, 2.3rem); line-height: 1.25; }
html[lang='ar'] .cw-t { font-weight: 600; font-size: clamp(1.35rem, 2.9vw, 2.7rem); }
.cw-d { font-size: .95rem; opacity: .72; }
.cw-arrow { justify-self: end; padding-inline-end: 6px; }
.req-page { padding-top: clamp(100px, 15vh, 150px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.req-intro { position: sticky; top: 92px; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(70px, 10vw, 150px); border-top: 1px solid var(--line); padding-bottom: 28px; overflow: hidden; }
.foot-logo { display: grid; place-items: center; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(30px, 5vw, 60px); }
.foot-logo .logo-sweep { width: min(100%, 1240px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 26px; padding-block: 28px; border-top: 1px solid var(--line); }
.foot-tag { font-size: 1.15rem; margin-bottom: 4px; }
.foot-col { display: grid; gap: 4px; align-content: start; justify-items: start; }
.foot-col a { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; color: #cfd0d5; transition: color .2s; }
.foot-col a:hover { color: var(--red); }
.foot-legal { font-size: .82rem; padding-top: 12px; }
.wa-float { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-size: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); transition: transform .4s var(--ease), background .2s, color .2s; }
.wa-float:hover { transform: scale(1.1); background: var(--red); color: #fff; }
.boot-error { padding: 30vh 24px; text-align: center; }

/* ---------- view transition ---------- */
::view-transition-old(root) { animation: .25s ease both vtOut; }
::view-transition-new(root) { animation: .45s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-sell { display: none; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prod-grid, .tech-grid, .pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acard-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-choices a { grid-template-columns: 44px minmax(0, 1fr) 30px; }
  .cw-d { grid-column: 2; grid-row: 2; }
  .cw-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .req-page { grid-template-columns: minmax(0, 1fr); }
  .req-intro { position: static; }
  .burger { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .clock-card { grid-column: 1 / -1; }
  .reviews-layout { grid-template-columns: minmax(0, 1fr); }
  .car-layout { grid-template-columns: 1fr; }
  .car-side, .car-side-inner { position: static; }
  .cover, .art-body { grid-template-columns: minmax(0, 1fr); }
  .car-side { order: -1; }
  .mag-grid > .car-card, .mag-grid > .car-card:nth-child(5n + 1), .mag-grid > .car-card:nth-child(5n + 2) { grid-column: span 3; }
}
@media (max-width: 760px) {
  .site-header.solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  html[data-world='cars'] .site-header.solid { background: var(--bg); }
  .filter-bar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gate { --t: 1vh; }
  .gate .gp-cars { clip-path: polygon(0 0, 100% 0, 100% calc(var(--s) - var(--t)), 0 calc(var(--s) + var(--t))) !important; }
  .gate .gp-protection { clip-path: polygon(0 calc(var(--s) + var(--t)), 100% calc(var(--s) - var(--t)), 100% 100%, 0 100%) !important; }
  .gate-seam { transform: scaleX(0); transform-origin: center; }
  .gate-seam i { clip-path: polygon(0 calc(var(--s) + var(--t) - .5px), 100% calc(var(--s) - var(--t) - .5px), 100% calc(var(--s) - var(--t) + .5px), 0 calc(var(--s) + var(--t) + .5px)); }
  .gate .gate-media { left: 0 !important; right: 0 !important; width: 100%; height: 60%; bottom: auto; }
  .gate .gp-protection .gate-media { top: auto; bottom: 0; }
  .gp-cars .gate-media img { object-position: 70% 58%; }
  .gp-cars::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .04) 20%, rgba(0, 0, 0, .3) 34%, rgba(0, 0, 0, .86) 50%); }
  .gate .gate-body { left: 20px !important; right: 20px !important; width: auto; }
  .gp-cars .gate-body { bottom: calc(50% + 3.4vh); }
  .gp-protection .gate-body { bottom: 22px; }
  .gate-body h2 { font-size: clamp(1.75rem, 8.6vw, 2.8rem); }
  html[lang='ar'] .gate-body h2 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  .gate-sub { margin-bottom: 6px; font-size: .66rem; }
  html[lang='ar'] .gate-sub { font-size: .84rem; }
  .gate-tiles { gap: 6px; margin-top: 9px; max-width: none; }
  .gate-tile, html[lang='ar'] .gate-tile { min-height: 66px; padding: 8px 7px 6px; gap: 5px; font-size: .68rem; line-height: 1.22; }
  .gate-tile svg { width: 21px; height: 21px; }
  .gp-protection .gate-body { bottom: 14px; }
  .gate-top { padding: 12px 20px; font-size: .78rem; }
  .gate-logo img { width: 104px; }
  .world-switch { position: fixed; z-index: 85; left: 50%; translate: -50% 0; bottom: max(12px, env(safe-area-inset-bottom)); box-shadow: 0 8px 26px rgba(0, 0, 0, .4); }
  .world-switch a { min-height: 46px; min-width: 104px; font-size: .92rem; }
  .wa-float { bottom: max(70px, calc(env(safe-area-inset-bottom) + 58px)); }
  .site-footer { padding-bottom: 76px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .builder-car { position: static; }
  .car-svg { width: min(62vw, 240px); max-height: none; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-grid, .prod-grid, .tech-grid, .acard-grid, .work-grid, .product-top, .work-photos { grid-template-columns: minmax(0, 1fr); }
  .pcard-img { height: 140px; }
  .pcard-img img { max-height: 128px; }
  .pcard { padding: 10px 12px 14px; }
  .product-video { aspect-ratio: 16 / 9; }
  .brand img { height: 34px; }
  .hero-content { padding-top: 90px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-side .btn { flex: 1 1 100%; }
  .hero-hint { display: none; }
  .logo-sweep { width: 86vw; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .link-arrow { justify-self: start; }
  .brand-index a { grid-template-columns: 30px 1fr auto; gap: 8px; }
  .bi-alt, .bi-arrow { display: none; }
  .bi-count { min-width: 0; font-size: .75rem; }
  .bond { height: 380vh; }
  .bond-pin { grid-template-columns: 1fr; grid-template-rows: 36svh 1fr; align-content: stretch; align-items: start; }
  .bond-stage { order: -1; }
  .stack { width: min(52vw, 26svh); }
  .layer { transform: translateZ(calc(var(--i) * (6px + var(--p) * 11svh * .42))); }
  .bond-copy { align-self: start; }
  .bond-copy h2 { font-size: 1.15rem; max-width: none; }
  html[lang='ar'] .bond-copy h2 { font-size: 1.35rem; }
  .bond-copy .kicker { display: none; }
  .bond-step:not(.on) p { display: none; }
  .bond-step { padding: 7px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 340px; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-visual { order: 0; }
  .sell-page { grid-template-columns: minmax(0, 1fr); }
  .sell-motion { height: 150px; }
  .contact-grid { grid-template-columns: 1fr; }
  .clock-card { grid-template-columns: 110px 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .mag-grid { grid-template-columns: minmax(0, 1fr); }
  .mag-grid > .car-card, .mag-grid > .car-card:nth-child(5n + 1), .mag-grid > .car-card:nth-child(5n + 2) { grid-column: auto; }
  .art-photo { height: 66svh; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-brand, .g3, .g-color { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-year { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .tools .sel { flex: 1 1 42%; }
  .search { flex-basis: 100%; }
  .sr-count { margin-inline-start: 0; min-height: 0; }
  .filter-bar { top: 54px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .wa-float { width: 50px; height: 50px; }
  .btn { padding-inline: 18px; }
}

@media (max-width: 760px) and (max-height: 740px) {
  .gate-sub { display: none; }
  .gate-body h2, html[lang='ar'] .gate-body h2 { font-size: 1.75rem; }
  .gate-tiles { margin-top: 6px; gap: 5px; }
  .gate-tile, html[lang='ar'] .gate-tile { min-height: 56px; padding: 6px; gap: 3px; font-size: .62rem; }
  .gate-tile svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

.nav-links a { white-space: nowrap; }
