/* ==========================================================================
   M.O Group Auctions — site styles
   Direction: "دار مزاد كآلة قياس" — the auction house as a precision instrument.
   Deep instrument-panel ground · hairline rules · tabular numerals ·
   the print collateral's diagonal sweep used as real geometry, not decoration.
   Built on assets/brand/brand-tokens.css — never redefines brand colour values.
   ========================================================================== */

/* ---------- 1. Local layer on top of the brand tokens -------------------- */
:root {
  /* Ground is a chosen near-black with a teal bias, not an inherited #111.
     The whole ladder sits a step lighter than a pure blackout so adjacent
     surfaces (panel vs input) are actually distinguishable. */
  --ink-0:   #0A1315;   /* page ground */
  --ink-1:   #0E1A1C;   /* section alt */
  --ink-2:   #131E20;   /* panel */
  --ink-3:   #1A2729;   /* raised panel / input fill */
  --ink-4:   #223133;   /* hover */

  /* Two adjacent dark surfaces can never carry enough contrast on their own
     (panel vs field is ~1.1:1), so the BORDER defines every box, not the fill. */
  --hair:        rgba(148, 198, 211, 0.20);
  --hair-strong: rgba(148, 198, 211, 0.42);

  --fg:      #F2F8F9;   /* 15.9:1 on panel */
  --fg-mute: #BCCCCF;   /* 10.3:1 on panel */
  --fg-dim:  #93A5A8;   /*  6.6:1 on panel — was 4.4:1 and failing */

  --teal-line: var(--mo-teal-300);

  --metal: linear-gradient(145deg, #7E8386 0%, #2A3133 45%, #0A0F10 100%);

  --f-display: "Cairo", "Noto Sans Arabic", system-ui, sans-serif;
  --f-body:    "Cairo", "Noto Sans Arabic", system-ui, sans-serif;
  --f-num:     "Rajdhani", "Cairo", system-ui, sans-serif;
  --f-en:      "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1280px;
  --gut: clamp(1rem, 4vw, 3rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.85;
  font-weight: 400;
  overflow-x: clip;            /* the reference forbids horizontal scroll outright */
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.38; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--mo-teal-300);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- English build ------------------------------------------------
   Cairo has no Latin personality to speak of, so the LTR build swaps to
   Montserrat and tightens leading — Latin does not need Arabic's leading. */
[dir="ltr"] body { font-family: var(--f-en); line-height: 1.7; }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] h4 { font-family: var(--f-en); line-height: 1.25; }
[dir="ltr"] .hero h1 { line-height: 1.1; letter-spacing: -0.025em; }
[dir="ltr"] .lat { direction: ltr; }

/* ---------- language switcher ------------------------------------------- */
.langsw { display: inline-flex; border: 1px solid var(--hair-strong); border-radius: 999px; overflow: hidden; }
.langsw a {
  padding: .3rem .72rem; font-size: .78rem; font-weight: 700; color: var(--fg-mute);
  transition: background .2s, color .2s; line-height: 1.6;
}
.langsw a + a { border-inline-start: 1px solid var(--hair-strong); }
.langsw a:hover { color: var(--fg); background: var(--ink-3); }
.langsw a[aria-current="true"] { background: var(--mo-teal-600); color: #fff; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: .01em; }
.lat { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Top bar --------------------------------------------------- */
.topbar {
  background: var(--ink-2);
  border-bottom: 1px solid var(--hair);
  font-size: .8rem;
  color: var(--fg-mute);
}
.topbar .shell { display: flex; align-items: center; gap: 1.25rem; min-height: 44px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s; }
.topbar a:hover { color: var(--mo-teal-300); }
.topbar .spacer { margin-inline-start: auto; }
.topbar svg { width: 15px; height: 15px; flex: none; }
.social { display: flex; gap: .3rem; }
.social a {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--hair); border-radius: 50%;
  transition: background .2s, border-color .2s, transform .2s;
}
.social a:hover { background: var(--mo-teal-600); border-color: var(--mo-teal-600); color: #fff; transform: translateY(-2px); }
.social svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .topbar .hide-sm { display: none; } }

/* ---------- 4. Header ---------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ink-0) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.hdr.stuck { border-bottom-color: var(--hair); background: color-mix(in srgb, var(--ink-0) 96%, transparent); }
.hdr .shell { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.hdr__logo img { height: 42px; width: auto; }
.nav { display: flex; gap: .35rem; margin-inline-start: auto; }
.nav a {
  padding: .55rem .85rem; border-radius: 6px; font-size: .935rem; font-weight: 600;
  color: var(--fg-mute); position: relative; transition: color .22s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: .85rem; bottom: .28rem; height: 2px;
  background: var(--mo-teal-300); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: 4px; font-weight: 700; font-size: .93rem;
  letter-spacing: .01em; transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--mo-teal-600); color: #fff; box-shadow: 0 6px 20px rgba(2, 97, 118, .34); }
.btn--primary:hover { background: var(--mo-teal-500); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 132, 155, .42); }
.btn--ghost { border: 1px solid var(--hair-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--mo-teal-300); color: var(--mo-teal-300); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-inline-start: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--fg); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--fg); transition: transform .3s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .hdr__cta { display: none; }
  .nav {
    position: fixed; inset: 78px 0 auto; flex-direction: column; gap: 0;
    background: var(--ink-2); border-block: 1px solid var(--hair);
    padding: .5rem var(--gut) 1.25rem; margin: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .28s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .95rem .3rem; border-bottom: 1px solid var(--hair); border-radius: 0; }
  .nav a::after { display: none; }
}

/* ---------- 5. Hero ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 9vw, 7rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(255deg, rgba(6,12,14,.22) 0%, rgba(6,12,14,.82) 46%, var(--ink-0) 82%),
    linear-gradient(0deg, var(--ink-0) 2%, transparent 42%);
}
/* the brand diagonal sweep, as geometry */
.hero__sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__sweep i { position: absolute; inset: 0; display: block; }
.hero__sweep i:nth-child(1) { background: var(--mo-teal-600); opacity: .16; clip-path: polygon(58% 100%, 92% 0, 100% 0, 100% 100%); }
.hero__sweep i:nth-child(2) { background: #fff; opacity: .05; clip-path: polygon(74% 100%, 106% 0, 100% 0, 100% 100%); }
.hero__sweep i:nth-child(3) { background: #000; opacity: .38; clip-path: polygon(86% 100%, 118% 0, 100% 0, 100% 100%); }

.hero .shell { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 1020px) { .hero .shell { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-num); font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mo-teal-300);
  border: 1px solid var(--hair-strong); border-radius: 999px; padding: .38rem 1rem;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mo-teal-400); box-shadow: 0 0 0 0 rgba(42,140,163,.7); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(42,140,163,0); } 100% { box-shadow: 0 0 0 0 rgba(42,140,163,0); } }

.hero h1 {
  font-size: clamp(2.15rem, 1.1rem + 4.4vw, 4.35rem);
  font-weight: 900;
  /* Arabic ascenders (hamza on أ, the lam-alef) still ride high even without
     tashkeel, so this stays looser than a Latin display line would be. */
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 1.35rem 0 0;
}
.hero h1 em { font-style: normal; color: var(--mo-teal-300); }
.hero__lead { color: var(--fg-mute); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); max-width: 50ch; margin-top: 1.25rem; }
.hero__acts { display: flex; gap: 1.4rem; margin-top: 2.1rem; flex-wrap: wrap; align-items: center; }
/* the secondary path out of the hero: readable, reachable, and visibly not
   competing with the one filled button next to it */
.hero__alt {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  font-size: .95rem; font-weight: 700; color: var(--mo-teal-300);
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.hero__alt svg { width: 16px; height: 16px; }
[dir="rtl"] .hero__alt svg { transform: scaleX(-1); }
.hero__alt:hover { color: var(--mo-teal-200); border-bottom-color: currentColor; }
@media (max-width: 560px) {
  .hero__acts { flex-direction: column; align-items: stretch; }
  .hero__acts .btn { width: 100%; }
}

/* ---------- 6. The instrument card (next auction) ------------------------ */
.instr { position: relative; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--hair); overflow: hidden; box-shadow: 0 32px 70px rgba(0,0,0,.55); }
.instr::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--metal); }
.instr__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.35rem; border-bottom: 1px solid var(--hair); background: var(--ink-3); }
.instr__label { font-family: var(--f-num); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.lot { font-family: var(--f-num); font-weight: 700; font-size: .9rem; letter-spacing: .06em; color: var(--mo-teal-300); border: 1px solid var(--hair-strong); border-radius: 3px; padding: .18rem .6rem; }
.instr__body { padding: 1.35rem; }
.instr h2 { font-size: 1.32rem; font-weight: 800; line-height: 1.45; }
.instr__meta { margin-top: 1.1rem; display: grid; gap: .05rem; }
.instr__meta div { display: flex; align-items: center; gap: .7rem; padding: .62rem 0; border-bottom: 1px dashed var(--hair); font-size: .9rem; color: var(--fg-mute); }
.instr__meta div:last-child { border-bottom: 0; }
.instr__meta svg { width: 16px; height: 16px; color: var(--mo-teal-400); flex: none; }
.instr__meta b { color: var(--fg); font-weight: 600; margin-inline-start: auto; }

.cdown { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--hair); }
.cdown__t { font-family: var(--f-num); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: .7rem; }
.cdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.cd {
  background: var(--ink-0); border: 1px solid var(--hair); border-radius: 5px;
  padding: .65rem .3rem .5rem; text-align: center; position: relative; overflow: hidden;
}
.cd::after { content: ""; position: absolute; inset-inline: 22%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--mo-teal-400), transparent); }
.cd span { display: block; font-family: var(--f-num); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.cd small { display: block; font-size: .68rem; color: var(--fg-dim); margin-top: .3rem; letter-spacing: .04em; }
.instr .btn { width: 100%; margin-top: 1.15rem; }

/* ---------- 7. Section furniture ----------------------------------------- */
/* Tightened from 3.5–6.5rem. Measured at 390px the home page ran 10,560px —
   12.5 phone screens — and the gaps between sections were wide enough that the
   page read as empty rather than generous. A marketplace should feel stocked. */
.sec { padding-block: clamp(2.5rem, 5.5vw, 4.25rem); position: relative; }
.sec--alt { background: var(--ink-1); }
/* diagonal cut between grounds — the brand's own device */
.sec--cut { clip-path: polygon(0 0, 100% 3.2vw, 100% 100%, 0 100%); margin-top: -3.2vw; padding-top: calc(clamp(2.5rem, 5.5vw, 4.25rem) + 3.2vw); }

.shead { margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem); }
.shead__k {
  display: flex; align-items: center; gap: .85rem;
  font-family: var(--f-num); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mo-teal-300);
  margin-bottom: .9rem;
}
.shead__k::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.shead__k b { font-weight: 700; color: var(--fg-dim); }
.shead h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.65rem); font-weight: 900; letter-spacing: -0.015em; }
.shead p { color: var(--fg-mute); margin-top: .85rem; max-width: 58ch; }

/* ---------- 8. Trust strip (count-up) ------------------------------------ */
/* ---------- the two-path fork ---------------------------------------------
   Two doors, side by side, equal weight — the point is that the visitor picks,
   not that we push one. The seller card carries the teal edge because it is
   the path that used to be invisible. */
.fork { padding-block: clamp(2.25rem, 4vw, 3.25rem); background: var(--ink-1); border-block-end: 1px solid var(--hair); }
.fork__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 800px) { .fork__grid { grid-template-columns: 1fr; } }

.forkcard {
  display: grid; gap: .6rem; align-content: start;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--ink-2); border: 1px solid var(--hair); border-radius: 12px;
  position: relative; overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s;
}
.forkcard::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px;
  background: var(--hair-strong); transition: background .25s;
}
.forkcard--sell::before { background: var(--mo-teal-500); }
.forkcard:hover { border-color: var(--mo-teal-400); transform: translateY(-3px); background: var(--ink-3); }
.forkcard:hover::before { background: var(--mo-teal-400); }
.forkcard__ic {
  width: 44px; height: 44px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(2,97,118,.35); color: var(--mo-teal-300); margin-bottom: .2rem;
}
.forkcard__ic svg { width: 22px; height: 22px; }
.forkcard h2 { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 800; line-height: 1.35; }
.forkcard p { color: var(--fg-mute); font-size: .93rem; line-height: 1.8; margin: 0; }
.forkcard__go {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem;
  font-weight: 700; font-size: .92rem; color: var(--mo-teal-300); min-height: 44px;
}
.forkcard__go svg { width: 16px; height: 16px; }
[dir="rtl"] .forkcard__go svg { transform: scaleX(-1); }

.trust { border-block: 1px solid var(--hair); background: var(--ink-1); }
/* --trust-n is set inline from the number of figures that actually have a
   value, so leaving one blank in the dashboard closes the gap rather than
   leaving a quarter of the bar empty */
.trust .shell { display: grid; grid-template-columns: repeat(var(--trust-n, 4), 1fr); }
.trust > .shell > div { padding: clamp(1.5rem, 3vw, 2.4rem) 1rem; text-align: center; border-inline-start: 1px solid var(--hair); }
.trust > .shell > div:first-child { border-inline-start: 0; }
.trust b { display: block; font-family: var(--f-num); font-weight: 700; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.trust b i { font-style: normal; color: var(--mo-teal-400); }
.trust small { display: block; margin-top: .55rem; color: var(--fg-dim); font-size: .84rem; }
@media (max-width: 720px) {
  .trust .shell { grid-template-columns: repeat(2, 1fr); }
  .trust > .shell > div:nth-child(3) { border-inline-start: 0; }
  .trust > .shell > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
}

/* ---------- 9. Sector cards ---------------------------------------------- */
.grid { display: grid; gap: 1.1rem; }
/* Grid children default to min-width:auto and refuse to shrink below their
   content, which silently widens the page. Every layout grid opts out. */
.grid > *, .book > *, .cmp > *, .steps > *, .hero .shell > *, .trust .shell > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* The six sector tiles stay two-up on a phone.
   Full-width they ran 1,928px — 2.3 phone screens — to say "these are the six
   categories we cover", which is a scanning task, not a reading one. Two-up
   halves that and keeps the whole set visible in one thumb-swipe. The auction
   cards are NOT treated this way: they carry a date, a price and a lot count
   that have to stay readable. */
@media (max-width: 620px) {
  #sectors .grid--3 { grid-template-columns: 1fr 1fr; gap: .7rem; }
  #sectors .sector { aspect-ratio: 4 / 3.4; }
  #sectors .sector__c { inset-inline: .7rem; bottom: .7rem; }
  #sectors .sector h3 { font-size: .95rem; line-height: 1.35; }
  #sectors .sector__c p, #sectors .sector__go { display: none; }
}

.sector {
  position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--hair);
  aspect-ratio: 4 / 3; display: block; isolation: isolate;
  transition: border-color .3s, transform .35s var(--ease);
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,12,14,.94) 4%, rgba(6,12,14,.36) 48%, rgba(6,12,14,.08) 100%); }
.sector__c { position: absolute; inset-inline: 1.15rem; bottom: 1.05rem; z-index: 2; }
.sector h3 { font-size: 1.14rem; font-weight: 800; }
.sector p { font-size: .84rem; color: var(--fg-mute); margin-top: .18rem; }
.sector__go { display: flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .82rem; font-weight: 700; color: var(--mo-teal-300); opacity: 0; transform: translateX(8px); transition: .35s var(--ease); }
.sector:hover { border-color: var(--hair-strong); transform: translateY(-4px); }
.sector:hover img { transform: scale(1.07); }
.sector:hover .sector__go { opacity: 1; transform: none; }
.sector__n { position: absolute; top: .9rem; inset-inline-end: 1.1rem; z-index: 2; font-family: var(--f-num); font-size: .76rem; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.5); }

/* ---------- 10. Auction cards -------------------------------------------- */
.auc { background: var(--ink-2); border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.auc:hover { border-color: var(--hair-strong); transform: translateY(-4px); box-shadow: 0 22px 48px rgba(0,0,0,.42); }
.auc__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.auc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.auc:hover .auc__img img { transform: scale(1.06); }
.chip {
  position: absolute; top: .8rem; inset-inline-start: .8rem;
  font-family: var(--f-num); font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  padding: .26rem .65rem; border-radius: 3px; backdrop-filter: blur(8px);
  background: rgba(6,12,14,.72); border: 1px solid var(--hair-strong); color: var(--fg);
}
.chip--live { background: rgba(2,97,118,.9); border-color: transparent; color: #fff; }
.chip--soon { background: rgba(180,121,26,.9); border-color: transparent; color: #fff; }
.auc__b { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.auc h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.5; }
.auc__m { margin-top: .85rem; display: grid; gap: .42rem; font-size: .85rem; color: var(--fg-mute); }
.auc__m span { display: flex; align-items: center; gap: .55rem; }
.auc__m svg { width: 15px; height: 15px; color: var(--mo-teal-400); flex: none; }
.auc__f { margin-top: 1.05rem; padding-top: .95rem; border-top: 1px solid var(--hair); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.auc__f small { font-family: var(--f-num); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); }
.auc__f a { font-size: .87rem; font-weight: 700; color: var(--mo-teal-300); display: inline-flex; align-items: center; gap: .35rem; }
.auc__f a:hover { color: var(--mo-teal-200); }

/* ---------- 11. Process (a real sequence, so real numbers) --------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; background: var(--ink-2); }
.step { padding: 1.7rem 1.35rem; border-inline-start: 1px solid var(--hair); position: relative; transition: background .3s; }
.step:first-child { border-inline-start: 0; }
.step:hover { background: var(--ink-3); }
.step b { display: block; font-family: var(--f-num); font-size: 2.1rem; font-weight: 700; color: var(--mo-teal-600); line-height: 1; transition: color .3s; }
.step:hover b { color: var(--mo-teal-300); }
.step h3 { font-size: 1rem; font-weight: 800; margin-top: .8rem; }
.step p { font-size: .85rem; color: var(--fg-mute); margin-top: .4rem; line-height: 1.75; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(odd) { border-inline-start: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--hair); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-inline-start: 0; } .step + .step { border-top: 1px solid var(--hair); } }

/* ---------- 12. Comparison ----------------------------------------------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 800px) { .cmp { grid-template-columns: 1fr; } }
.cmp__c { border: 1px solid var(--hair); border-radius: 8px; padding: 1.6rem 1.5rem 1.75rem; background: var(--ink-2); position: relative; overflow: hidden; }
.cmp__c--hi { border-color: var(--mo-teal-600); background: linear-gradient(165deg, rgba(2,69,84,.34), var(--ink-2) 62%); }
.cmp__c--hi::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mo-teal-400), transparent); }
.cmp__c h3 { font-size: 1.28rem; font-weight: 900; }
.cmp__c > p { color: var(--fg-mute); font-size: .92rem; margin-top: .5rem; }
.cmp__c ul { margin-top: 1.15rem; display: grid; gap: .7rem; }
.cmp__c li { display: flex; gap: .7rem; font-size: .9rem; color: var(--fg-mute); line-height: 1.7; }
.cmp__c li svg { width: 17px; height: 17px; color: var(--mo-teal-400); flex: none; margin-top: .35rem; }

/* ---------- 13. Booklet / product --------------------------------------- */
.book { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.book__img { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--hair); }
.book__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(2,97,118,.3)); }
.book__pts { display: grid; gap: .85rem; margin-top: 1.5rem; }
.book__pts li { display: flex; gap: .8rem; align-items: flex-start; }
.book__pts svg { width: 19px; height: 19px; color: var(--mo-teal-400); flex: none; margin-top: .4rem; }
.book__pts b { display: block; font-weight: 700; font-size: .97rem; }
.book__pts span { color: var(--fg-mute); font-size: .88rem; }
.cod {
  margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .8rem;
  border: 1px dashed var(--hair-strong); border-radius: 6px; padding: .8rem 1.15rem;
  background: rgba(2,69,84,.2);
}
.cod svg { width: 22px; height: 22px; color: var(--mo-teal-300); flex: none; }
.cod b { font-weight: 700; } .cod span { color: var(--fg-mute); font-size: .87rem; display: block; }

/* ---------- 14. FAQ (GEO) ------------------------------------------------ */
.faq { display: grid; gap: .6rem; max-width: 900px; }
.faq details { border: 1px solid var(--hair); border-radius: 6px; background: var(--ink-2); overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--hair-strong); }
.faq summary {
  padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; gap: 1rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-inline-start: auto; flex: none; width: 11px; height: 11px;
  border-inline-end: 2px solid var(--mo-teal-300); border-block-end: 2px solid var(--mo-teal-300);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--mo-teal-300); }
.faq__a { padding: 0 1.3rem 1.25rem; color: var(--fg-mute); font-size: .93rem; }
.faq__a strong { color: var(--fg); font-weight: 700; }

/* ---------- 15. CTA band ------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--mo-teal-700) 0%, #01262F 55%, var(--ink-0) 100%); }
.cta::before { content: ""; position: absolute; inset: 0; background: var(--mo-teal-600); opacity: .2; clip-path: polygon(62% 100%, 94% 0, 100% 0, 100% 100%); }
.cta::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .3; clip-path: polygon(84% 100%, 116% 0, 100% 0, 100% 100%); }
.cta .shell { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.cta h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.4rem); font-weight: 900; }
.cta p { color: rgba(234,242,243,.78); margin-top: .6rem; max-width: 46ch; }

/* ---------- 16. Footer --------------------------------------------------- */
.ftr { background: var(--ink-2); border-top: 1px solid var(--hair); padding-top: clamp(2.75rem, 6vw, 4.5rem); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.35fr; gap: clamp(1.75rem, 4vw, 3rem); padding-bottom: 2.75rem; }
@media (max-width: 940px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr img.mark { height: 52px; width: auto; }
.ftr p.about { color: var(--fg-mute); font-size: .89rem; margin-top: 1rem; max-width: 40ch; }
.ftr h4 { font-size: .82rem; font-family: var(--f-num); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 1.1rem; font-weight: 600; }
.ftr li + li { margin-top: .62rem; }
.ftr li a { font-size: .9rem; color: var(--fg-mute); transition: color .2s, padding .2s; display: inline-block; }
.ftr li a:hover { color: var(--mo-teal-300); padding-inline-start: .3rem; }
.ftr__contact li { display: flex; gap: .7rem; font-size: .88rem; color: var(--fg-mute); align-items: flex-start; line-height: 1.7; }
.ftr__contact svg { width: 16px; height: 16px; color: var(--mo-teal-400); flex: none; margin-top: .38rem; }
.ftr__bar { border-top: 1px solid var(--hair); padding-block: 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--fg-dim); }
.ftr__bar .reg { font-family: var(--f-num); letter-spacing: .06em; }

/* ---------- 17. WhatsApp float ------------------------------------------ */
.wa {
  /* physical `right`, not inset-inline-end: the float stays bottom-right in
     both the Arabic (RTL) and English (LTR) builds, which is where users look */
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #05230F; box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .28s var(--ease), box-shadow .28s;
}
.wa svg { width: 30px; height: 30px; }
.wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.wa:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 14px 38px rgba(37, 211, 102, .55); }
.wa__tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--ink-3); border: 1px solid var(--hair); color: var(--fg);
  padding: .5rem .85rem; border-radius: 5px; font-size: .82rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: .25s var(--ease);
}
.wa:hover .wa__tip { opacity: 1; transform: translateY(-50%); }
@media (max-width: 560px) { .wa { width: 52px; height: 52px; right: 14px; bottom: 14px; } .wa svg { width: 26px; height: 26px; } .wa__tip { display: none; } }

/* ---------- 17b. Cookie consent -----------------------------------------
   Bottom-anchored, above the WhatsApp float, and deliberately not dismissible:
   there is no close button because closing is neither yes nor no. On a phone it
   becomes a stack and the two buttons go full width — refusing must never be
   the harder tap. */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 95;
  background: var(--ink-2); border-top: 1px solid var(--hair);
  box-shadow: 0 -12px 40px rgba(0,0,0,.45);
}
.consent__in { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-block: 1rem; }
.consent__t { flex: 1 1 20rem; min-width: 0; }
.consent__t h2 { font-size: .98rem; font-weight: 800; margin-bottom: .3rem; }
.consent__t p { font-size: .86rem; color: var(--fg-dim); line-height: 1.7; margin: 0; }
.consent__t a { color: var(--mo-teal-300); text-decoration: underline; }
.consent__a { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent__a .btn { min-width: 9rem; justify-content: center; }
.consent__d { flex-basis: 100%; }
.consent__d > summary { cursor: pointer; font-size: .82rem; color: var(--fg-mute); padding-block: .35rem; }
.consent__d > summary:hover { color: var(--fg); }
.consent__f { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-top: .7rem; }
.consent__f .check { font-size: .86rem; }

/* the float clears the banner instead of sitting under it */
.wa--lifted { bottom: 148px; }

@media (max-width: 760px) {
  .consent__in { flex-direction: column; align-items: stretch; gap: .85rem; }
  .consent__a { display: grid; grid-template-columns: 1fr 1fr; }
  .consent__a .btn { min-width: 0; }
  .wa--lifted { bottom: 210px; }
}
@media (max-width: 700px) {
  .consent__t p, .consent__d > summary, .consent__f .check { font-size: .8rem; }
}

/* ---------- 18. Demo ribbon (removed at handover) ----------------------- */
.demo-note {
  background: repeating-linear-gradient(135deg, #1A1206, #1A1206 12px, #241906 12px, #241906 24px);
  border-bottom: 1px solid rgba(224,169,74,.35); color: #E0A94A;
  font-size: .8rem; text-align: center; padding: .55rem 1rem; line-height: 1.6;
}
.demo-note b { color: #F4C87A; }

/* ---------- 19. Load & scroll orchestration ----------------------------- */
/* Gated on .js so content is NEVER hidden when scripting is off or fails.
   Without the class the elements simply render, fully visible, unanimated. */
.js .rise { opacity: 0; transform: translateY(22px); }
.rise.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.in.d1 { transition-delay: .08s; } .rise.in.d2 { transition-delay: .16s; }
.rise.in.d3 { transition-delay: .24s; } .rise.in.d4 { transition-delay: .32s; }
.rise.in.d5 { transition-delay: .40s; } .rise.in.d6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; } }

/* Legal links sit in the footer bar between the copyright and the registration
   number — required to be reachable from every page, not buried in a menu. */
.ftr__legal { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.ftr__legal a, .ftr__link { color: var(--fg-dim); }
.ftr__legal a:hover, .ftr__link:hover { color: var(--mo-teal-300); text-decoration: underline; }
/* reopening the cookie choice is a POST, so it is a button that has to read as
   a link — same colour, same size, no chrome */
.ftr__link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
