/* ==========================================================================
   Bassmait — bassmait.com
   Single stylesheet. Palette, type scale and components in one place.
   Logical properties (inline-start/end) are used throughout so the same
   CSS serves the Arabic (RTL) and English (LTR) pages.
   ========================================================================== */

:root {
  --bg:        #12122A;   /* base ink */
  --bg-deep:   #0E0E22;   /* deeper panels */
  --bg-alt:    #F3EFE6;   /* warm ivory sections */
  --bg-foot:   #0B0B1A;
  --ink:       #F3EFE6;   /* text on dark */
  --ink-rgb:   243, 239, 230;
  --ink-alt:   #191932;   /* text on ivory */
  --ink-alt-rgb: 25, 25, 50;
  --gold:      #C9A84C;
  --gold-lt:   #E3CB8C;
  --gold-dk:   #7A5F1E;   /* gold on ivory — keeps contrast readable */
  --wa:        #25D366;
  --plum:      rgba(74, 44, 110, 0.4);

  --font-ar:   'Cairo', sans-serif;
  --font-lat:  'Marcellus';
  --font-body: 'DM Sans', 'Cairo', sans-serif;

  --pad-sec:   clamp(64px, 10vw, 104px) clamp(18px, 5vw, 26px);
  --hair:      1px solid rgba(201, 168, 76, 0.28);
}

/* Arabic pages use Cairo for the small caps-style labels, with no letter
   spacing — tracking pulls apart connected Arabic letterforms. */
html[lang="ar"] { --font-kicker: var(--font-ar); --kicker-track: 0.04em; --kicker-size: 17px; }
html[lang="en"] { --font-kicker: 'Marcellus', serif; --kicker-track: 0.28em; --kicker-size: 12px; }

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--gold); color: var(--bg); padding: 12px 18px; z-index: 100;
}
.skip:focus { inset-inline-start: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-wide { max-width: 1220px; }
.center { text-align: center; }
.mb { margin-bottom: 52px; }

/* ---------------------------------------------------------------- type --- */
h1, h2, h3 { margin: 0; text-wrap: pretty; }
h1 {
  font-family: 'Marcellus', var(--font-ar), serif;
  font-weight: 700;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Marcellus', var(--font-ar), serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.5;
}
h3 { font-family: var(--font-ar); font-weight: 600; font-size: 17px; line-height: 1.6; }

.kicker {
  margin: 0 0 16px;
  font-family: var(--font-kicker);
  font-size: var(--kicker-size);
  font-weight: 600;
  letter-spacing: var(--kicker-track);
  color: var(--gold);
}
.lead {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: rgba(var(--ink-rgb), 0.66);
}
.num {
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* Section labels sit on a gold hairline that runs to the edge of the column —
   the detail that gives each section heading its opening beat. */
.sec > .wrap > .kicker,
.sec > .wrap > .split > div > .kicker,
.sec > .wrap > .center > .kicker {
  display: flex; align-items: center; gap: 18px;
}
.sec > .wrap > .kicker::after,
.sec > .wrap > .split > div > .kicker::after {
  content: ''; flex: 1; height: 1px; background: rgba(201, 168, 76, 0.24);
}
.sec-light > .wrap > .kicker::after,
.sec-light > .wrap > .split > div > .kicker::after { background: rgba(var(--ink-alt-rgb), 0.16); }
.sec > .wrap > .center > .kicker { justify-content: center; }
/* the purpose aside and card labels keep the plain treatment */
.quote-block .kicker, .work-body .kicker, .footer-grid .kicker { display: block; }

/* -------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 15px 30px;
  font-family: var(--font-ar);
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.btn .ico { flex-shrink: 0; }
.btn-solid   { background: var(--gold); color: var(--bg); }
.btn-solid:hover { background: var(--gold-lt); color: var(--bg); }
.btn-outline { border-color: rgba(var(--ink-rgb), 0.28); color: rgba(var(--ink-rgb), 0.9); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost   { border-color: var(--gold); color: var(--gold); height: 44px; padding: 0 18px; font-size: 14px; }
.btn-ghost:hover { background: var(--gold); color: var(--bg); }
.btn-dark    { background: var(--ink-alt); color: var(--ink); border-color: var(--ink-alt); font-size: 16px; padding: 18px 36px; }
.btn-dark:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* A single slow gold sweep across the header CTA — quiet, not a pulse. */
.sheen { position: relative; overflow: hidden; }
.sheen::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(201, 168, 76, 0.28), transparent);
  animation: sheen 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes sheen { 0%, 62% { transform: translateX(-150%); } 100% { transform: translateX(150%); } }

/* --------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 18, 42, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.header-row {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; flex-wrap: nowrap; gap: 14px;
}
.brand img { height: 46px; width: auto; flex-shrink: 0; }
.main-nav {
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  margin-inline-start: 22px; min-width: 0; overflow: hidden;
}
.main-nav a {
  font-size: 14px; color: rgba(var(--ink-rgb), 0.68);
  padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-inline-start: auto; }
.lang-switch {
  display: flex; align-items: center; height: 44px; padding: 0 14px;
  border: 1px solid rgba(var(--ink-rgb), 0.2);
  color: rgba(var(--ink-rgb), 0.8);
  font-family: 'Marcellus', var(--font-ar), serif; font-size: 12px; letter-spacing: 0.16em; line-height: 1;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; padding: 6px; cursor: pointer; flex-shrink: 0;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: var(--gold); transition: transform 0.2s, opacity 0.2s; }

/* ----------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 120px) clamp(18px, 5vw, 26px) clamp(64px, 9vw, 96px);
  background: radial-gradient(900px 480px at 50% -10%, rgba(42, 27, 61, 0.85), transparent 72%), var(--bg);
}
.hero .dots {
  position: absolute; inset: 0; opacity: 0.32; pointer-events: none;
  background-image: radial-gradient(rgba(201, 168, 76, 0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 50% 34%, #000 14%, transparent 66%);
}
.hero-inner { position: relative; max-width: 940px; text-align: center; }
.rule-v { display: block; width: 1px; height: 54px; margin: 0 auto 26px; background: linear-gradient(var(--gold), transparent); }
.hero-sub {
  margin: 0 0 26px;
  font-family: var(--font-kicker);
  font-size: clamp(15px, 1.9vw, 19px);
  font-weight: 600; letter-spacing: var(--kicker-track);
  color: var(--gold);
}
.hero h1 { margin-bottom: 22px; }
.hero-desc { max-width: 580px; margin: 0 auto 40px; font-size: 16px; line-height: 2; color: rgba(var(--ink-rgb), 0.66); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 62px; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0; border-top: var(--hair); border-bottom: var(--hair);
}
.stats > div { padding: 24px 16px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.stats dt { font-family: 'Marcellus', var(--font-ar), serif; font-size: 26px; color: var(--gold); line-height: 1; }
.stats dd { margin: 0; font-size: 13px; color: rgba(var(--ink-rgb), 0.7); }

/* ------------------------------------------------------------- sections --- */
.sec { padding: var(--pad-sec); }
.sec-deep { background: var(--bg-deep); }
.sec-light { background: var(--bg-alt); color: var(--ink-alt); }
.sec-grad { background: linear-gradient(var(--bg), #171733); }
.sec-glow { background: radial-gradient(800px 400px at 50% 0%, rgba(42, 27, 61, 0.75), transparent 72%), var(--bg); }
.bordered { border-top: var(--hair); }

.sec-light .kicker { color: var(--gold-dk); }
.sec-light .lead, .sec-light p { color: rgba(var(--ink-alt-rgb), 0.82); }
.sec-light .num { color: var(--gold-dk); }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 26px; margin-bottom: 52px; align-items: end;
}
.split-body { display: flex; flex-direction: column; gap: 26px; }
.quote-block { padding-inline-start: 20px; border-inline-start: 1px solid rgba(201, 168, 76, 0.55); }
.quote-block p:last-child { margin: 0; font-family: var(--font-ar); font-size: 17px; line-height: 2; color: var(--ink); }
.closing { margin: 44px 0 0; font-family: var(--font-ar); font-size: 20px; line-height: 1.9; color: #2A1B3D; max-width: 620px; }

/* hairline row lists (vision pillars, why-us) */
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: var(--hair); }
.rows li { display: flex; gap: 22px; padding: 24px 0; border-bottom: var(--hair); }
.rows .num { padding-top: 5px; min-width: 26px; }
.rows h3 { margin-bottom: 7px; }
.rows p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(var(--ink-rgb), 0.66); }

/* vision — heading tops out with its body; purpose block sits under it as a clear aside */
#vision .split { align-items: start; gap: clamp(32px, 5vw, 56px); margin-bottom: clamp(40px, 5vw, 56px); }
#vision .split > div:first-child { display: flex; flex-direction: column; gap: 18px; }
#vision .split h2 { margin: 0; }
#vision .split-body { gap: 28px; }
#vision .quote-block { padding-inline-start: 24px; border-inline-start: 2px solid var(--gold); }
#vision .quote-block .kicker { margin-bottom: 10px; font-size: 15px; }
#vision .rows { border-top: var(--hair); }

/* who we serve */
.serve-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  border-top: 1px solid rgba(var(--ink-alt-rgb), 0.14);
}
.serve-list li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 30px 0; padding-inline-end: 26px;
  border-bottom: 1px solid rgba(var(--ink-alt-rgb), 0.14);
  font-family: var(--font-ar); font-weight: 600; font-size: 18px; line-height: 1.6;
  transition: background 0.25s;
}
.serve-list li:hover { background: rgba(201, 168, 76, 0.09); }
.serve-list .num { min-width: 26px; }

/* services */
.grid-cells {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  border-top: var(--hair);
}
.grid-cells li {
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 14px;
  border-bottom: var(--hair); border-inline-start: var(--hair);
  transition: background 0.25s;
}
.grid-cells li:hover { background: #17173A; }
.grid-cells p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(var(--ink-rgb), 0.6); }

/* portfolio — image and caption share one frame so the pairing is obvious */
.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 44px 24px; align-items: stretch;
}
.work-card { display: flex; flex-direction: column; height: 100%; }
.work-link { display: contents; color: inherit; text-decoration: none; }
.shot {
  position: relative; margin: 0; aspect-ratio: 16 / 10;
  display: grid; place-items: center; padding: 20px;
  background: linear-gradient(150deg, var(--plum), rgba(201, 168, 76, 0.08));
  border: var(--hair);
  transition: border-color 0.25s;
}
.work-card:hover .shot { border-color: var(--gold); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-index {
  position: absolute; top: 0; inset-inline-start: 0;
  background: var(--gold); color: var(--bg);
  font-family: 'Marcellus', serif; font-size: 13px; letter-spacing: 0.1em;
  padding: 6px 12px;
}
.shot figcaption {
  font-family: var(--font-kicker); font-size: 13px; font-weight: 600;
  letter-spacing: var(--kicker-track); color: rgba(var(--ink-rgb), 0.72); text-align: center;
}
.work-body {
  flex: 1; padding: 18px 20px 22px;
  border: var(--hair); border-top: none;
  background: rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; gap: 10px;
}
.work-body .kicker { margin: 0; font-size: 13px; }
.work-body h3 { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.45; }
.work-body p { margin: 0; font-size: 15px; line-height: 1.95; color: rgba(var(--ink-rgb), 0.66); }

/* testimonials — columns split by hairlines, no boxes */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.voices blockquote {
  margin: 0; padding: 8px 30px 0;
  border-inline-start: var(--hair);
  display: flex; flex-direction: column; gap: 22px; height: 100%;
}
.voices p { margin: 0; font-family: var(--font-ar); font-size: clamp(17px, 1.9vw, 19px); line-height: 1.95; color: rgba(var(--ink-rgb), 0.9); }
.voices footer { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.dash { width: 26px; height: 1px; background: var(--gold); margin-bottom: 12px; }
.voices cite { font-family: var(--font-ar); font-weight: 600; font-size: 15px; font-style: normal; color: var(--gold); }
.voices .role { font-size: 13px; color: rgba(var(--ink-rgb), 0.6); }

/* pricing — equal-height cards, CTAs on one line */
.plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
  gap: 20px; align-items: stretch; margin-top: 56px;
}
.plan {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 38px 32px;
  border: 1px solid rgba(var(--ink-alt-rgb), 0.16);
  background: transparent;
}
.plan-featured { background: var(--ink-alt); color: var(--ink); border-color: var(--gold); }
.plan-featured .features li { color: rgba(var(--ink-rgb), 0.9); }
.badge {
  position: absolute; top: -1px; inset-inline-end: -1px;
  background: var(--gold); color: var(--bg);
  font-family: var(--font-ar); font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
  padding: 7px 14px;
}
.plan h3 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; margin-bottom: 18px; }
.price {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  min-height: 92px; padding-bottom: 24px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(var(--ink-alt-rgb), 0.14);
}
.plan-featured .price { border-bottom-color: rgba(var(--ink-rgb), 0.16); }
.amount { font-family: 'Marcellus', serif; font-size: 46px; color: var(--gold); line-height: 1; }
.pre { font-family: var(--font-ar); font-size: 14px; opacity: 0.72; }
.on-request { font-family: var(--font-ar); font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1.4; }
.fee-note { font-size: 13px; line-height: 1.7; opacity: 0.65; }
.features { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.features li { position: relative; padding-inline-start: 22px; font-size: 15px; line-height: 1.75; }
.features li::before { content: '✦'; position: absolute; inset-inline-start: 0; color: var(--gold); font-size: 11px; }
.plan-cta { margin-top: auto; width: 100%; padding: 16px; font-size: 15px; }

/* why-us — heading column aligned to the top of its rows, not the bottom */
#why .split { align-items: start; gap: clamp(32px, 5vw, 56px); margin-bottom: 0; }
#why .split > div:first-child { display: flex; flex-direction: column; gap: 22px; }
#why .split > div:first-child .lead { max-width: 42ch; }
#why .split h2 { margin: 0; }
#why .why-tile {
  display: flex; align-items: center; gap: 20px;
  background: var(--gold); color: var(--bg);
  padding: 20px 24px; margin-top: 4px;
}
#why .why-tile > span:last-child { display: flex; flex-direction: column; gap: 4px; }
#why .why-tile strong { font-family: var(--font-ar); font-size: 17px; font-weight: 700; line-height: 1.4; }
#why .why-tile small { font-size: 14px; line-height: 1.5; }
#why .why-n { font-family: 'Marcellus', serif; font-size: 46px; line-height: 1; }
#why .rows { border-top: none; }
#why .rows li:first-child { border-top: var(--hair); }

/* process */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 26px; text-align: start; margin-bottom: 56px;
}
.steps li { border-top: 1px solid rgba(201, 168, 76, 0.55); padding: 28px 4px 0; }
.step-n { display: block; font-family: 'Marcellus', serif; font-size: 40px; color: var(--gold-dk); line-height: 1; margin-bottom: 22px; }
.steps h3 { font-size: 18px; margin-bottom: 10px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.9; }

/* contact */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 56px; align-items: start; margin-top: 60px;
}
.wa-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 36px 28px; border: 1px solid rgba(201, 168, 76, 0.45);
  background: rgba(var(--ink-rgb), 0.04);
}
.wa-card-qr { width: 200px; height: 200px; padding: 10px; background: #fff; object-fit: contain; }
.wa-card h3 { margin: 4px 0 0; font-size: 22px; }
.wa-card p { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.9; color: rgba(var(--ink-rgb), 0.65); }
.contact-aside { display: flex; flex-direction: column; gap: 34px; }
.contact-list { margin: 0; display: flex; flex-direction: column; border-top: var(--hair); }
.contact-list > div { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: var(--hair); }
.contact-list dt { font-family: var(--font-ar); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); min-width: 92px; }
.contact-list dd { margin: 0; font-size: 16px; color: var(--ink); }

/* --------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--bg-foot);
  border-top: 1px solid rgba(201, 168, 76, 0.5);
  padding: clamp(44px, 7vw, 58px) clamp(18px, 5vw, 26px) 26px;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  padding-bottom: 26px;
}
.footer-brand img { height: 44px; width: auto; }
.footer-tag {
  margin: 0; font-family: var(--font-ar); font-size: 15px; line-height: 1.8;
  color: rgba(var(--ink-rgb), 0.58); max-width: 34ch;
}
.footer-reach {
  margin-inline-start: auto; font-style: normal;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 15px; color: rgba(var(--ink-rgb), 0.7);
}
.footer-reach a { color: rgba(var(--ink-rgb), 0.7); }
.footer-reach a:hover { color: var(--gold); }
.footer-reach span { color: rgba(201, 168, 76, 0.5); }

.footer-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  padding: 20px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
}
.footer-links, .footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.footer-social { margin-inline-start: auto; }
.footer-links a, .footer-social a { font-size: 14px; color: rgba(var(--ink-rgb), 0.62); }
.footer-links a:hover, .footer-social a:hover { color: var(--gold); }
.footer-social { gap: 12px; }
.footer-social a {
  position: relative; overflow: hidden;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.35);
  transition: color 0.28s, box-shadow 0.28s, transform 0.28s;
}
/* the gold ground rises from the bottom on hover instead of snapping on */
.footer-social a::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-social a svg { position: relative; z-index: 1; }
.footer-social a:hover {
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--gold), 0 8px 18px rgba(201, 168, 76, 0.28);
}
.footer-social a:hover::before { transform: translateY(0); }
.copy {
  max-width: 1200px; margin: 22px auto 0;
  font-size: 13px; color: rgba(var(--ink-rgb), 0.38); text-align: center;
}

/* ------------------------------------------------------ floating action --- */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 60;
  display: flex; align-items: center; gap: 13px;
  padding: 9px; padding-inline-end: 24px;
  background: var(--wa); color: #06240F; border-radius: 999px;
  animation: waPulse 2.8s ease-in-out infinite;
  transition: transform 0.22s, background 0.22s;
}
.wa-float:hover { background: #1EBE5A; color: #06240F; transform: translateY(-2px) scale(1.02); }
.wa-badge { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; color: var(--wa); }
.wa-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.25; font-family: var(--font-ar); }
.wa-text strong { font-weight: 700; font-size: 15px; }
.wa-text small { font-size: 12px; color: rgba(6, 36, 15, 0.72); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ------------------------------------------------------------- narrower --- */
@media (max-width: 720px) {
  .header-row { flex-wrap: wrap; row-gap: 10px; }
  .header-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }

  .main-nav {
    display: flex; flex-direction: column; align-items: stretch;
    overflow: visible; flex-wrap: nowrap;
    counter-reset: navi;
    position: absolute; inset-inline: 0; top: 100%;
    margin: 0; padding: 6px clamp(18px, 5vw, 26px) 14px;
    background:
      radial-gradient(rgba(201, 168, 76, 0.1) 1px, transparent 1px) 0 0 / 22px 22px,
      var(--bg-deep);
    border-top: 1px solid rgba(201, 168, 76, 0.5);
    border-bottom: 1px solid rgba(201, 168, 76, 0.28);
    box-shadow: 0 20px 28px rgba(0, 0, 0, 0.32);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-toggle:checked ~ .main-nav {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  .main-nav a {
    display: flex; align-items: center; gap: 16px;
    min-height: 52px; padding: 4px 0; white-space: normal;
    font-family: 'Marcellus', var(--font-ar), serif;
    font-size: 17px; color: rgba(var(--ink-rgb), 0.86);
    border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }
  .main-nav a::before {
    counter-increment: navi;
    content: counter(navi, decimal-leading-zero);
    font-family: 'Marcellus', serif; font-size: 12px; letter-spacing: 0.1em;
    color: var(--gold); flex-shrink: 0;
  }

  .nav-toggle:checked ~ .header-actions .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .header-actions .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-actions .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .wa-float { padding-inline-end: 9px; }
  .wa-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- print --- */
@media print {
  .site-header, .wa-float, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------- hero: before/after --- */
/* Bassmait — Hero section with before/after comparison.
   Colors scoped to .hero so nothing else on the site is affected.
   All other hero styles (.hero, .dots, .kicker, .hero-sub, .hero-desc, .cta-row, .stats, .btn)
   are UNCHANGED and already exist on the site. */
.hero {
  --font-ar: 'Cairo', sans-serif;
  --ink: #F3EFE6;
  --ink-rgb: 243, 239, 230;
  --gold: #C9A84C;
  --gold-lt: #E3CB8C;
  --bg: #12122A;
  --wa: #25D366;
}

/* 1. Layout */
/* hero split: text (start/right) + before/after comparison (end/left) */
.hero-split { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; text-align: start; }
.hero-split .hero-media { padding-top: 0; } /* caption shares the kicker's line */
.hero-split .hero-desc { margin-inline: 0; }
.hero-split .cta-row { justify-content: flex-start; margin-bottom: 44px; }
.hero.hero-top { padding-top: clamp(40px, 6vw, 64px); }
.hero-split h1 { font-size: clamp(34px, 4.2vw, 54px); }
.hero-media { display: flex; flex-direction: column; gap: 14px; }
.hero-media-cap { margin: 0; font-family: var(--font-ar); font-size: 17px; font-weight: 600; color: rgba(var(--ink-rgb), .8); }
.hero-media-cap em { font-style: normal; color: var(--gold); }
.journey-hero { margin: 0; }
.journey-hero .bx { box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.journey-hero .bx-layer { padding: 24px; gap: 14px; }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-desc { margin-inline: auto; }
  .hero-split .cta-row { justify-content: center; margin-bottom: 36px; }
  .hero-split .hero-media { text-align: start; max-width: 560px; margin-inline: auto; width: 100%; padding-top: 0; }
  .hero-media-cap { text-align: center; }
}

/* 2. Before / after comparison */
.bx { position: relative; display: grid; border-radius: 18px; overflow: hidden; border: 1px solid rgba(201,168,76,.35); user-select: none; }
.bx-layer { grid-area: 1 / 1; padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; font-family: var(--font-ar); }
.bx-before { background: #1C1C24; color: #8E8E98; filter: grayscale(1); }
.bx-after  { background: linear-gradient(135deg, #16163A, #0E0E22); color: var(--ink);
  clip-path: inset(0 0 0 calc(100% - var(--p))); }
.bx-tag { align-self: flex-start; font-size: 15px; font-weight: 700; padding: 4px 16px; border-radius: 999px; }
.bx-before .bx-tag { background: #2A2A33; color: #A5A5AE; }
.bx-after .bx-tag  { background: var(--gold); color: var(--bg); }
.bx-search { display: flex; align-items: center; gap: 12px; border-radius: 999px; padding: 12px 20px; font-size: 16px; font-weight: 600; max-width: 520px; }
.bx-before .bx-search { background: #26262E; color: #9A9AA4; }
.bx-after .bx-search  { background: #F3EFE6; color: #191932; }
.bx-g { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 18px; }
.bx-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bx-results li { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 12px; }
.bx-results b { font-size: 16px; font-weight: 700; line-height: 1.5; }
.bx-results small { font-size: 13.5px; line-height: 1.6; }
.bx-before li { background: #22222A; }
.bx-before li b { color: #B4B4BC; }
.bx-before .bx-you { opacity: .55; border: 1px dashed #55555F; background: transparent; }
.bx-after li { background: rgba(243,239,230,.05); color: rgba(243,239,230,.55); }
.bx-after .bx-you { background: rgba(201,168,76,.12); border: 1px solid var(--gold); color: var(--ink); padding: 16px 18px; }
.bx-after .bx-you b { font-size: 18px; color: var(--ink); }
.bx-after .bx-you small { color: var(--gold-lt); }
.bx-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.bx-actions i { font-style: normal; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.bx-actions i.wa { background: var(--wa); color: #fff; }
.bx-verdict { margin: auto 0 0; font-size: clamp(16px, 1.8vw, 19px); font-weight: 600; line-height: 1.7; }
.bx-before .bx-verdict strong { color: #C8C8D0; }
.bx-after .bx-verdict strong { color: var(--gold); }
.bx-handle { position: absolute; top: 0; bottom: 0; right: var(--p); width: 2px; margin-right: -1px; background: var(--gold); pointer-events: none; box-shadow: 0 0 18px rgba(201,168,76,.6); }
.bx-handle span { position: absolute; top: 50%; right: 0; width: 44px; height: 44px; margin: -22px 0 0 0; transform: translateX(50%); border-radius: 50%; background: var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.bx-handle span::before {
  content: ''; position: absolute; inset: 0; background-color: var(--bg);
  --arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7 3 12l5 5M16 7l5 5-5 5M4 12h16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask: var(--arrow-icon) no-repeat center / 20px 20px;
  mask: var(--arrow-icon) no-repeat center / 20px 20px;
}
.bx[data-edge="start"] .bx-handle span { transform: translateX(0); }
.bx[data-edge="end"] .bx-handle span { transform: translateX(100%); }
.bx-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* 3. Small screens */
@media (max-width: 720px) {
  .bx-layer { padding: 20px 16px; gap: 14px; }
  .bx-search { font-size: 14px; padding: 10px 16px; }
  .bx-results li { padding: 10px 12px; }
  .bx-results b { font-size: 14.5px; }
  .bx-after .bx-you b { font-size: 15.5px; }
  .bx-results small { font-size: 12.5px; }
  .bx-actions i { font-size: 12px; padding: 4px 11px; }
  .bx-handle span { width: 40px; height: 40px; margin-top: -20px; }
}
