/* Mubarak Auto Spare Parts — design system
   Industrial / workshop direction: near-black, off-white, hi-vis orange. */
:root {
  --ink: #0c1425;
  --ink-2: #111b30;
  --ink-3: #1a2742;
  --paper: #f4f4f6;
  --muted: rgba(244, 244, 246, 0.68);
  --faint: rgba(244, 244, 246, 0.45);
  --line: rgba(244, 244, 246, 0.1);
  --line-2: rgba(244, 244, 246, 0.2);
  --accent: #2563eb;
  --accent-2: #3b82f6;
  --accent-text: #60a5fa;
  --panel: #eceef2;
  --wa: #25d366;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.skip { position: absolute; left: 1rem; top: -120px; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 2000; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label-accent { color: var(--accent-text); }
.dot::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .55rem; vertical-align: 1px;  animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
.accent { color: var(--accent-text); }
h1, h2, h3 { font-weight: 600; line-height: 1.15; }
.h-xl { font-size: clamp(3.4rem, 11vw, 9.5rem); }
.h-lg { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.h-md { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h-sm { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 46rem; line-height: 1.65; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #2fe072; }
.btn-wa svg { fill: #fff; }
.btn-line { border: 1px solid var(--line-2); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: .85rem; }
.arrow-link { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.arrow-link:hover { color: #93c5fd; }

/* ---------- header ---------- */
.topbar { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.topbar a { text-decoration: none; color: var(--paper); }
.topbar-right { display: flex; gap: 1.4rem; }
.header { position: sticky; top: 0; z-index: 1000; background: rgba(12,20,37,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.brand-name span { color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem; }
.nav a { text-decoration: none; font-family: var(--mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: .5rem .95rem; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; transition: border-color .15s; }
.icon-btn:hover { border-color: var(--paper); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; }
.search-trigger { display: inline-flex; align-items: center; gap: .6rem; height: 44px; padding: 0 .9rem 0 1rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .85rem; min-width: 210px; }
.search-trigger:hover { border-color: var(--paper); color: var(--paper); }
.search-trigger svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.search-trigger kbd { margin-left: auto; font-family: var(--mono); font-size: .68rem; border: 1px solid var(--line-2); border-radius: 5px; padding: .05rem .4rem; }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 1.2rem 0 1.4rem; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.hero-search { margin-top: 2.2rem; max-width: 760px; }
.searchbox { display: flex; align-items: center; gap: .7rem; background: var(--paper); color: var(--ink); border-radius: 999px; padding: .45rem .45rem .45rem 1.3rem; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.searchbox svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2.2; flex-shrink: 0; }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1.05rem var(--sans); color: var(--ink); height: 48px; }
.searchbox input::placeholder { color: #6d6b66; }
.searchbox .btn { min-height: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { white-space: nowrap; flex-shrink: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem .85rem; color: var(--muted); transition: all .15s; }
.chip:hover, .chip.is-active { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.stat { padding: 1.4rem 1.2rem 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 1.4rem; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1; }
.stat span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: var(--ink-2); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track { align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); }
.marquee-track img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .55; transition: opacity .2s; }
.marquee-track img:hover { opacity: 1; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.section-head h2 { margin-top: .7rem; }
.section-head p { color: var(--muted); max-width: 30rem; }
.rule { border: 0; border-top: 1px solid var(--line); }
.bg-2 { background: var(--ink-2); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-paper .label { color: #6d6b66; }
.bg-paper .lead, .bg-paper p { color: #45433f; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cat-card { grid-column: span 2; background: var(--ink); text-decoration: none; display: flex; flex-direction: column; transition: background .2s; position: relative; }
.cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
.cat-card:hover { background: var(--ink-2); }
.cat-card-top { display: flex; justify-content: space-between; padding: 1.3rem 1.4rem 0; }
.cat-card-img { margin: 1rem 1.4rem 0; border-radius: 10px; overflow: hidden; background: var(--panel); aspect-ratio: 16 / 9; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex: 1; }
.cat-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: .95; }
.cat-card p { color: var(--muted); font-size: .88rem; margin-top: .4rem; }
.cat-card .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.cat-card:hover .go { background: var(--accent); border-color: var(--accent-text); color: #fff; transform: rotate(-45deg); }

/* ---------- product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.p-card { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.p-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.p-card-img { background: var(--panel); aspect-ratio: 16 / 9; overflow: hidden; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.p-card:hover .p-card-img img { transform: scale(1.05); }
.p-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.p-card-meta { display: flex; justify-content: space-between; gap: .5rem; }
.p-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.p-card h3 a { text-decoration: none; }
.p-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.p-card p { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.p-card-foot { margin-top: auto; padding-top: .7rem; display: flex; justify-content: space-between; align-items: center; }
.p-card-wa { position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(37,211,102,.12); display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.p-card-wa:hover { background: var(--wa); }
.p-card-wa svg { width: 18px; height: 18px; fill: var(--wa); }
.p-card-wa:hover svg { fill: #fff; }
.part-no { font-family: var(--mono); font-size: .7rem; color: var(--accent-text); letter-spacing: .03em; }

/* ---------- steps / audience ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--ink); }
.step-num { font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--accent-text); }
.step h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.step p { color: var(--muted); font-size: .92rem; }
.who { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.who div { padding: 1.6rem 1.4rem 1.6rem 0; border-right: 1px solid var(--line); }
.who div + div { padding-left: 1.4rem; }
.who div:last-child { border-right: 0; }
.who h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; margin: .5rem 0 .4rem; }
.who p { color: var(--muted); font-size: .9rem; }

/* ---------- facts + faq ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { background: var(--ink); padding: 1.2rem 1.3rem; }
.facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .35rem; }
.facts dd { font-weight: 500; line-height: 1.45; }
.facts a { color: var(--paper); }
.facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--accent-text); flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 3rem 1.4rem 0; max-width: 52rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sticky-col { position: sticky; top: 100px; }

/* ---------- CTA ---------- */
.cta { border-radius: calc(var(--radius) + 6px); background: var(--accent); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.86); font-size: 1.05rem; max-width: 30rem; margin-top: 1rem; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; }
.cta .btn-ink { background: var(--ink); color: var(--paper); }
.cta .btn-ink:hover { background: #18243d; }
.cta .btn-ink svg { fill: var(--paper); }
.cta .btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.cta .btn-ghost:hover { border-color: #fff; }

/* ---------- page header / crumbs ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { margin: 1rem 0 1.1rem; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs i { font-style: normal; color: var(--line-2); }
.subnav { border-bottom: 1px solid var(--line); background: var(--ink); position: sticky; top: 68px; z-index: 900; }
.subnav .wrap { display: flex; gap: .4rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); align-items: start; }
.pd-img { background: var(--panel); border-radius: calc(var(--radius) + 4px); overflow: hidden; position: sticky; top: 140px; }
.pd-img img { width: 100%; }
.pd h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: .95; margin: .9rem 0 1.2rem; }
.pd-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.copy-part { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--mono); font-size: .95rem; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 10px; padding: .6rem .7rem .6rem 1rem; margin-bottom: 1.4rem; }
.copy-part small { color: var(--faint); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.copy-part button { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 6px; padding: .3rem .6rem; color: var(--muted); }
.copy-part button:hover { color: var(--paper); border-color: var(--paper); }
.ticks { list-style: none; display: grid; gap: .6rem; margin: 0 0 1.8rem; }
.ticks li { display: flex; gap: .7rem; font-size: .95rem; }
.ticks li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.answer { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 1.7rem; background: var(--ink-2); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.answer h2 { font-size: 1.12rem; margin: .5rem 0 .6rem; }
.answer p { color: var(--muted); }
.content { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin: 3rem 0 1.1rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.8rem 0 .5rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.2rem 1.1rem; color: var(--muted); }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--accent-text); }
.prose strong { color: var(--paper); font-weight: 600; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 36%; font-family: var(--mono); font-weight: 400; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: var(--ink-2); }
.spec-table td { color: var(--paper); }
.side-card { position: sticky; top: 140px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem; background: var(--ink-2); }
.side-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: .6rem 0 .7rem; }
.side-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.side-card .ticks { margin-bottom: 1.3rem; font-size: .9rem; }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: .55rem; }
.updated { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-top: 2rem; }

/* ---------- catalog filter ---------- */
.filter-bar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-bar .searchbox { flex: 1; min-width: 260px; box-shadow: none; }
.cat-block { padding-top: 3rem; scroll-margin-top: 140px; }
.cat-block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.empty { display: none; text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty.show { display: block; }

/* ---------- about ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.logo-panel { background: #000; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); }
.timeline { border-top: 1px solid var(--line); }
.timeline div { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.timeline strong { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1; color: var(--accent-text); }
.timeline p { color: var(--muted); }
.map-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.emirates { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 7vw, 5rem) 0 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.footer a:hover { color: var(--accent-text); }
.footer-about p { color: var(--muted); font-size: .92rem; max-width: 22rem; margin-top: 1rem; }
.footer-ar { color: var(--faint); font-size: .9rem; line-height: 1.9; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.footer-word { font-family: var(--display); text-transform: uppercase; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .82; color: var(--ink-3); margin-top: 2.5rem; white-space: nowrap; letter-spacing: -.005em; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }

/* ---------- floating + mobile action bar ---------- */
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; z-index: 950; box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.action-bar { display: none; }

/* ---------- search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(6,10,20,.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 10vh 1rem 1rem; }
.search-overlay.open { display: flex; }
.search-panel { width: 100%; max-width: 680px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.search-panel .search-input { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.search-panel svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; flex-shrink: 0; }
.search-panel input { flex: 1; background: none; border: 0; outline: 0; color: var(--paper); font: 500 1.08rem var(--sans); height: 40px; min-width: 0; }
.search-panel input::placeholder { color: var(--faint); }
.search-close { font-family: var(--mono); font-size: .68rem; border: 1px solid var(--line-2); border-radius: 6px; padding: .25rem .5rem; color: var(--muted); }
.search-results { max-height: 60vh; overflow-y: auto; padding: .5rem; }
.search-results a { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: center; padding: .6rem; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--ink-3); }
.search-results img { width: 72px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--panel); }
.search-results strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.search-results small { font-family: var(--mono); font-size: .68rem; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.search-results .hint { padding: 1rem; color: var(--muted); font-size: .92rem; }
.search-results .hint a { display: inline-flex; grid-template-columns: none; padding: 0; color: var(--accent-text); }
.search-foot { border-top: 1px solid var(--line); padding: .7rem 1.2rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .search-trigger { min-width: 0; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: none; position: fixed; inset: 0; background: var(--ink); z-index: 999; padding: 7.5rem clamp(1.1rem, 4vw, 2.5rem) 2rem; flex-direction: column; gap: .2rem; overflow-y: auto; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--display); font-size: 2.6rem; text-transform: uppercase; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid var(--line); line-height: 1.1; }
  .mobile-menu a[aria-current="page"] { color: var(--accent-text); }
  .mobile-menu .label { margin-top: 1.5rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card, .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 1; }
  .cat-card:nth-child(5) { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .who div:nth-child(2) { border-right: 0; }
  .who div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .who div:nth-child(4) { border-top: 1px solid var(--line); }
  .two-col, .pd, .content, .about-hero-grid, .cta { grid-template-columns: 1fr; }
  .sticky-col, .pd-img, .side-card { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); margin-top: 1.4rem; }
  .timeline div { grid-template-columns: 1fr; gap: .5rem; }
  .topbar-right a:not(:first-child) { display: none; }
  .wa-float { display: none; }
  .action-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(12,20,37,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .action-bar .btn { min-height: 50px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .topbar-left { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card:nth-child(5) { grid-column: span 1; }
  .who { grid-template-columns: 1fr; }
  .who div { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .who div:first-child { border-top: 0; }
  .searchbox .btn span { display: none; }
  .searchbox .btn { padding: 0 1rem; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .p-card-body { padding: .8rem; }
  .p-card p { display: none; }
  .p-card h3 { font-size: .9rem; }
  .faq details p { padding-right: 0; }
  .brand-name { font-size: 1.15rem; }
}

/* ---------- text-only parts list ---------- */
.part-list { list-style: none; border-top: 1px solid var(--line); columns: 2; column-gap: 2.5rem; }
.part-row { break-inside: avoid; border-bottom: 1px solid var(--line); padding: .75rem 0; display: flex; flex-direction: column; gap: .15rem; }
.part-row a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.part-row a:hover { color: var(--accent-text); }
.part-row span { font-family: var(--mono); font-size: .7rem; color: var(--faint); letter-spacing: .02em; }
.pd-text { grid-template-columns: 1fr; max-width: 860px; }
@media (max-width: 760px) { .part-list { columns: 1; } }

/* ---------- hero product reel (arc driven by app.js) ---------- */
.hero { padding-top: clamp(1rem, 3vw, 2rem); }
.hero-reel { overflow: hidden; height: clamp(230px, 24vw, 330px); position: relative; margin-bottom: clamp(.5rem, 2vw, 1.5rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hero-reel-track { display: flex; gap: clamp(1rem, 1.6vw, 1.4rem); width: max-content; position: absolute; left: 0; top: 18px; will-change: transform; animation: marquee 140s linear infinite; }
.js-reel .hero-reel-track { animation: none; }
.reel-card { flex: 0 0 auto; width: clamp(190px, 20vw, 280px); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 18px 44px rgba(0,0,0,.45); will-change: transform; backface-visibility: hidden; transform-origin: 50% 50%; }
.reel-card img { width: 100%; height: 100%; object-fit: cover; }

.search-results .thumb-text { width: 72px; height: 40px; border-radius: 6px; background: var(--ink-3); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .62rem; color: var(--muted); overflow: hidden; padding: 0 .3rem; text-align: center; }

/* ---------- how to order: timeline + chat ---------- */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.timeline-steps { list-style: none; position: relative; margin-bottom: 2.2rem; }
.timeline-steps::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--accent), rgba(37,99,235,.15)); }
.timeline-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1.2rem; padding-bottom: 1.8rem; position: relative; }
.timeline-steps li:last-child { padding-bottom: 0; }
.ts-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.3rem; color: var(--paper); position: relative; z-index: 1; }
.timeline-steps h3 { font-size: 1.15rem; margin: .45rem 0 .25rem; }
.timeline-steps p { color: var(--muted); font-size: .95rem; }
.chat { background: #0b141a; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); max-width: 440px; justify-self: center; width: 100%; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; background: #202c33; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; }
.chat-head strong { display: block; font-size: .92rem; }
.chat-head small { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: #8696a0; }
.chat-body { padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: .55rem; background: #0b141a radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 18px 18px; }
.msg { max-width: 82%; padding: .55rem .75rem; border-radius: 10px; font-size: .88rem; line-height: 1.45; position: relative; }
.msg.in { background: #202c33; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #005c4b; align-self: flex-end; border-top-right-radius: 2px; }
.msg .tick { color: #53bdeb; font-size: .7rem; margin-left: .45rem; letter-spacing: -.1em; }
.msg-img { border-radius: 7px; overflow: hidden; margin: -.15rem -.3rem .45rem; background: var(--panel); }
.chat-input { display: flex; justify-content: space-between; align-items: center; margin: 0 .8rem .8rem; padding: .7rem 1rem; background: #2a3942; border-radius: 999px; color: #8696a0; font-size: .88rem; }
.chat-input svg { width: 20px; height: 20px; fill: #8696a0; }
.js .chat.reveal .msg { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.js .chat.reveal.in .msg { opacity: 1; transform: none; }
.js .chat.reveal.in .msg:nth-child(2) { transition-delay: .5s; }
.js .chat.reveal.in .msg:nth-child(3) { transition-delay: 1s; }
.js .chat.reveal.in .msg:nth-child(4) { transition-delay: 1.5s; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }

/* ---------- language toggle ---------- */
.lang-toggle { height: 44px; min-width: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .15s, background .15s; }
.lang-toggle:hover { border-color: var(--paper); }
.lang-toggle[lang="ar"] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; font-size: 1rem; }
.lang-toggle[lang="en"] { font-family: var(--sans); }
.mobile-lang { font-size: 1.4rem !important; color: var(--accent-text); border-bottom: 0 !important; margin-top: 1.2rem; }

/* ---------- RTL / Arabic ---------- */
[dir="rtl"] { --display: 'Cairo', 'IBM Plex Sans Arabic', Tahoma, sans-serif; --sans: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
[dir="rtl"] body { font-family: var(--sans); }
[dir="rtl"] .display, [dir="rtl"] .cat-card h3, [dir="rtl"] .who h3, [dir="rtl"] .pd h1, [dir="rtl"] .prose h2, [dir="rtl"] .side-card h3, [dir="rtl"] .stat strong, [dir="rtl"] .mobile-menu a, [dir="rtl"] .brand-name { font-weight: 800; text-transform: none; letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .stat strong { font-family: 'Anton', var(--display); font-weight: 400; line-height: 1; }
[dir="rtl"] .h-lg { font-size: clamp(2.1rem, 5.6vw, 4.4rem); }
[dir="rtl"] .h-md { font-size: clamp(1.7rem, 3.8vw, 2.9rem); }
[dir="rtl"] .pd h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
[dir="rtl"] .label, [dir="rtl"] .nav a, [dir="rtl"] .chip, [dir="rtl"] .arrow-link, [dir="rtl"] .crumbs, [dir="rtl"] .topbar, [dir="rtl"] .footer h4,
[dir="rtl"] .footer-bottom, [dir="rtl"] .stat span, [dir="rtl"] .facts dt, [dir="rtl"] .spec-table th, [dir="rtl"] .updated, [dir="rtl"] .search-foot,
[dir="rtl"] .search-results small, [dir="rtl"] .copy-part small, [dir="rtl"] .copy-part button, [dir="rtl"] .chat-head small { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
[dir="rtl"] .nav a { font-size: .9rem; }
[dir="rtl"] .arrow-link svg, [dir="rtl"] .cat-card .go svg, [dir="rtl"] .searchbox .btn svg { transform: scaleX(-1); }
[dir="rtl"] .cat-card:hover .go { transform: rotate(45deg); }
[dir="rtl"] .searchbox { padding: .45rem 1.3rem .45rem .45rem; }
[dir="rtl"] .stat { padding: 1.4rem 0 0 1.2rem; border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .stat + .stat { padding-left: 1.2rem; padding-right: 1.4rem; }
[dir="rtl"] .stat:last-child { border-left: 0; }
[dir="rtl"] .who div { padding: 1.6rem 0 1.6rem 1.4rem; border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .who div + div { padding-left: 1.4rem; padding-right: 1.4rem; }
[dir="rtl"] .who div:last-child { border-left: 0; }
[dir="rtl"] .timeline-steps::before { left: auto; right: 21px; }
[dir="rtl"] .answer { border-left: 1px solid var(--line-2); border-right: 3px solid var(--accent); }
[dir="rtl"] .faq details p { padding: 0 0 1.4rem 3rem; }
[dir="rtl"] .prose ul { margin: 0 1.1rem 1.2rem 0; }
[dir="rtl"] .wa-float { right: auto; left: 1.4rem; }
[dir="rtl"] .msg.in { border-top-left-radius: 10px; border-top-right-radius: 2px; }
[dir="rtl"] .msg.out { border-top-right-radius: 10px; border-top-left-radius: 2px; }
[dir="rtl"] .msg .tick { margin-left: 0; margin-right: .45rem; }
[dir="rtl"] .part-no, [dir="rtl"] .copy-part span[dir="ltr"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .footer-word { font-family: 'Anton', sans-serif; text-transform: uppercase; direction: ltr; text-align: right; }
@media (max-width: 900px) {
  [dir="rtl"] .stat:nth-child(2) { border-left: 0; }
  [dir="rtl"] .stat:nth-child(3) { padding-right: 0; }
  [dir="rtl"] .who div:nth-child(2) { border-left: 0; }
  [dir="rtl"] .who div:nth-child(3) { padding-right: 0; }
  .header-actions .lang-toggle { padding: 0 .7rem; }
}

bdi { unicode-bidi: isolate; }

/* ================= PHONE / TABLET PASS ================= */
@media (max-width: 900px) {
  .topbar { display: none; }
  .section { padding: 3rem 0; }
  .section-tight { padding: 2.2rem 0; }
  .section-head { margin-bottom: 1.4rem; gap: .8rem; align-items: center; }
  .side-card { display: none; }                       /* the fixed Call / WhatsApp bar already covers this */
  .content { padding-bottom: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: none; }
  .two-col { gap: 1.5rem; }
  .order-grid { gap: 2rem; }
  .chat { max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding: 0 1rem; }

  /* header */
  .header .wrap { height: 60px; }
  .subnav { top: 60px; }
  .mobile-menu { padding-top: 5.5rem; }
  .brand { gap: .5rem; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.08rem; }
  .header-actions { gap: .35rem; }
  .icon-btn, .search-trigger, .lang-toggle { width: 40px; height: 40px; min-width: 40px; padding: 0; justify-content: center; }
  .lang-toggle { width: auto; padding: 0 .7rem; font-size: .85rem; }
  .lang-toggle[lang="ar"] { font-size: .95rem; }

  /* hero */
  .hero { padding: .25rem 0 2rem; }
  .hero-reel { height: 150px; margin-bottom: 0; }
  .hero-reel-track { top: 14px; gap: .8rem; }
  .reel-card { width: 148px; border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }
  .hero h1 { margin: .4rem 0 .9rem; }
  .h-lg { font-size: clamp(2.2rem, 10.4vw, 2.9rem); }
  .h-md { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .lead { font-size: 1rem; line-height: 1.6; }
  .hero-search { margin-top: 1.4rem; }
  .searchbox { padding: .3rem .3rem .3rem 1rem; gap: .5rem; }
  .searchbox input { height: 44px; font-size: .98rem; }
  .searchbox .btn { min-height: 44px; width: 44px; padding: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: .9rem -1rem 0; padding: 0 1rem .2rem; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .stats { margin-top: 2rem; }
  .stat { padding-top: 1rem !important; }
  .stat strong { font-size: 2rem; }
  .stat span { font-size: .62rem; }
  .stat:nth-child(3), .stat:nth-child(4) { margin-top: 1rem; }
  .marquee { padding: .75rem 0; }
  .marquee-track img { height: 26px; }

  /* category cards: compact rows instead of full-screen tiles */
  .cat-grid { grid-template-columns: 1fr !important; }
  .cat-card, .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: auto !important; display: grid; grid-template-columns: 128px 1fr; align-items: center; }
  .cat-card-img { margin: .9rem 0 .9rem .9rem !important; margin-inline: .9rem 0 !important; aspect-ratio: 16 / 9; border-radius: 8px !important; }
  .cat-card-body { padding: .9rem; gap: .6rem; align-items: center; }
  .cat-card h3 { font-size: 1.35rem !important; }
  .cat-card p { font-size: .78rem; margin-top: .25rem; line-height: 1.4; }
  .cat-card .go { width: 36px; height: 36px; }
  .cat-card .go svg { width: 16px; height: 16px; }

  /* product cards */
  .p-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .p-card-body { padding: .7rem .75rem .8rem; gap: .25rem; }
  .p-card-meta { display: block; min-height: 1rem; }
  .p-card-meta .label { display: none; }
  .part-no { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; }
  .p-card h3 { font-size: .86rem; line-height: 1.3; }
  .p-card p { display: none; }
  .p-card-foot { padding-top: .5rem; }
  .p-card-foot .arrow-link { font-size: .64rem; }
  .p-card-wa { width: 34px; height: 34px; }
  .p-card-wa svg { width: 16px; height: 16px; }

  /* who we supply: 2 x 2 */
  .who { grid-template-columns: 1fr 1fr !important; }
  .who div { padding: 1rem 0 !important; padding-inline: 0 .9rem !important; border: 0 !important; border-top: 1px solid var(--line) !important; }
  .who div:nth-child(even) { padding-inline: .9rem 0 !important; border-inline-start: 1px solid var(--line) !important; }
  .who h3 { font-size: 1.2rem !important; margin: 0 0 .3rem; }
  .who p { font-size: .8rem; line-height: 1.45; }

  /* key facts: 2 columns */
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: .8rem .85rem; }
  .facts dt { font-size: .6rem; margin-bottom: .2rem; }
  .facts dd { font-size: .84rem; line-height: 1.4; }

  /* how to order */
  .timeline-steps li { gap: .9rem; padding-bottom: 1.3rem; }
  .timeline-steps h3 { font-size: 1.02rem; margin-top: .35rem; }
  .timeline-steps p { font-size: .88rem; }
  .msg { font-size: .84rem; max-width: 88%; }

  /* faq, cta, footer */
  .faq summary { font-size: .97rem; padding: 1.05rem 0; }
  .faq details p { font-size: .9rem; padding-bottom: 1.1rem; }
  .cta { padding: 1.8rem 1.3rem; border-radius: 16px; gap: 1.4rem; }
  .cta h2 { font-size: clamp(2rem, 9.5vw, 2.5rem) !important; }
  .cta p { font-size: .95rem; margin-top: .7rem; }
  .footer { padding-top: 2.5rem; margin-top: 2rem; }
  .footer a { font-size: .88rem; }
  .footer-ar { font-size: .8rem; margin-top: 1.8rem; padding-top: 1.5rem; }
  .footer-word { font-size: 3.4rem; margin-top: 1.6rem; }

  /* inner pages */
  .page-head { padding: 1.6rem 0 1.4rem; }
  .page-head h1 { margin: .7rem 0 .8rem; }
  .crumbs { font-size: .64rem; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: .5rem; margin-bottom: 1.2rem; }
  .filter-bar .searchbox { min-width: 0; }
  .cat-block { padding-top: 2rem; scroll-margin-top: 120px; }
  .cat-block-head { margin-bottom: 1rem; }
  .answer { padding: 1.1rem 1.1rem; margin-bottom: 2rem; }
  .answer h2 { font-size: 1rem; }
  .answer p { font-size: .88rem; line-height: 1.6; }
  .pd { padding-top: 1rem; gap: 1.3rem; }
  .pd h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem) !important; margin: .2rem 0 .8rem; }
  .pd-lead { font-size: .97rem; }
  .pd-actions .btn { flex: 1 1 auto; }
  .copy-part { font-size: .9rem; }
  .prose h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); margin-top: 2.2rem; }
  .spec-table { font-size: .85rem; }
  .spec-table th, .spec-table td { padding: .7rem .75rem; }
  .spec-table th { width: 40%; font-size: .64rem; }
  .part-row a { font-size: .9rem; }
  .logo-panel { max-width: 420px; }
  .steps .step { padding: 1.2rem; }
  .step-num { font-size: 2.6rem; }
  .timeline div { padding: 1.1rem 0; }
}

@media (max-width: 370px) {
  .brand-name { font-size: .98rem; }
  .brand img { width: 30px; height: 30px; }
  .lang-toggle { padding: 0 .5rem; }
  .p-grid { gap: .45rem; }
  .p-card h3 { font-size: .8rem; }
  .facts { grid-template-columns: 1fr; }
}

/* Arabic display font needs a little less size on phones */
@media (max-width: 560px) {
  [dir="rtl"] .h-lg { font-size: clamp(1.9rem, 8.8vw, 2.5rem); }
  [dir="rtl"] .h-md { font-size: clamp(1.55rem, 7vw, 2rem); }
  [dir="rtl"] .pd h1 { font-size: clamp(1.6rem, 7.2vw, 2.1rem) !important; }
  [dir="rtl"] .searchbox { padding: .3rem 1rem .3rem .3rem; }
}

/* Safari fix: images size themselves (16:9) instead of filling an aspect-ratio box.
   With height:100% Safari falls back to the image's raw pixel height before it loads -> huge grey boxes. */
.cat-card-img img, .p-card-img img, .reel-card img, .msg-img img { width: 100%; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cat-card-img, .p-card-img, .reel-card { height: auto; }
