/* Ahmed Hassan — landing page. Tokens from the personal brand system. */
:root {
  --black: #0b0b0b;
  --surface: #161616;
  --surface-alt: #111111;
  --cream: #faf3e3;
  --white: #ffffff;
  --ink-muted: #b9bab9;
  --orange: #ff6b0a;
  --orange-deep: #e85a00;
  --on-orange: #0b0b0b;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-soft: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --focus: #faf3e3;
  --whatsapp: #25d366;

  --font-ar-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-ar-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-en-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --font-en-head: "Archivo", system-ui, sans-serif;
  --font-en-body: "Inter", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 40px; --space-6: 64px; --space-7: 96px; --space-8: 128px;
  --radius-sm: 8px; --radius-md: 16px; --radius-pill: 999px;

  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font-en-body); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
html[lang="ar"] body { font-family: var(--font-ar-body); font-size: 17px; line-height: 1.75; }
img { max-width: 100%; }
a { color: var(--cream); }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* One page, two languages: only the active language is shown. */
html[lang="ar"] [data-lang="en"],
html[lang="en"] [data-lang="ar"] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--cream); color: var(--black); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--black); }

.container { position: relative; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }

.d-only { display: block; }
.m-only, .m-nav { display: none; }

/* ---------- Icons ---------- */
.ah-icon { flex: none; display: block; }
[dir="rtl"] .ah-flip { transform: scaleX(-1); }

/* ---------- Button ---------- */
.ah-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); max-width: 100%; border: 2px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-en-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, filter .15s ease; white-space: nowrap; }
html[lang="ar"] .ah-btn { font-family: var(--font-ar-display); text-transform: none; letter-spacing: 0; }
.ah-btn-sm { height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.ah-btn-md { height: 52px; padding: 0 var(--space-5); font-size: 16px; }
.ah-btn-lg { height: 64px; padding: 0 var(--space-6); font-size: 18px; }
.ah-btn-primary { background: var(--orange); color: var(--on-orange); }
.ah-btn-primary:hover { background: var(--orange-deep); color: var(--on-orange); }
.ah-btn-secondary { background: transparent; border-color: var(--cream); color: var(--cream); }
.ah-btn-secondary:hover { background: var(--cream); color: var(--black); }
.ah-btn-whatsapp { background: var(--whatsapp); color: var(--on-orange); }
.ah-btn-whatsapp:hover { filter: brightness(0.92); color: var(--on-orange); }

/* ---------- Language toggle ---------- */
.lang-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--hairline); border-radius: var(--radius-pill); }
.lang-opt { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); font-family: var(--font-en-head); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.lang-opt[lang="ar"] { font-family: var(--font-ar-display); font-size: 16px; }
.lang-opt:hover { color: var(--white); }
.lang-opt[aria-current="page"] { background: var(--cream); color: var(--black); cursor: default; }
.updated { display: inline-block; margin-bottom: 4px; }

/* ---------- Desktop nav ---------- */
.ah-nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 11, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.ah-nav-inner { display: flex; align-items: center; gap: var(--space-5); max-width: 1200px; margin: 0 auto; padding: var(--space-3) var(--space-4); }
.ah-nav-name { font-family: var(--font-en-display); font-size: 20px; line-height: 1; color: var(--cream); text-decoration: none; white-space: nowrap; }
html[lang="ar"] .ah-nav-name { font-family: var(--font-ar-display); font-weight: 900; font-size: 22px; line-height: 1.2; }
.ah-nav-links { display: flex; gap: var(--space-4); margin-inline-start: auto; }
.ah-nav-link { font-size: 16px; font-weight: 500; color: var(--ink-muted); text-decoration: none; padding: var(--space-2) 0; border-bottom: 2px solid transparent; }
.ah-nav-link:hover { color: var(--white); }
.ah-nav-end { display: flex; align-items: center; gap: var(--space-3); }
/* Tablet and phone: the full link row doesn't fit, so use the hamburger nav (same as mobile). */
@media (max-width: 1100px) {
  .ah-nav.d-nav { display: none !important; }
  .m-nav { display: block; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .m-nav-bar, .m-menu { padding-inline: var(--gutter); }
  .m-menu .ah-btn { width: auto; align-self: flex-start; }
}

/* ---------- Mobile nav ---------- */
.m-nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 11, 0.94); border-bottom: 1px solid var(--hairline); }
.m-nav-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.m-nav-name { font-family: var(--font-en-display); font-size: 18px; line-height: 1; color: var(--cream); text-decoration: none; white-space: nowrap; }
html[lang="ar"] .m-nav-name { font-family: var(--font-ar-display); font-weight: 900; font-size: 20px; line-height: 1.2; }
.m-nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.m-nav .lang-opt { min-width: 36px; height: 30px; font-size: 13px; }
.m-nav .lang-opt[lang="ar"] { font-size: 14px; }
.menu-btn { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--hairline-strong); background: transparent; color: var(--cream); cursor: pointer; padding: 0; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.m-menu { padding: 4px 16px 20px; display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.m-menu[hidden] { display: none; }
.m-menu > a:not(.ah-btn) { padding: 14px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 17px; font-weight: 500; color: var(--cream); text-decoration: none; }
.m-menu .ah-btn { margin-top: 16px; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.hero-glow { position: absolute; top: -12%; inset-inline-end: -18%; width: 1100px; height: 1100px; border-radius: 50%; background: radial-gradient(circle, rgba(232,90,0,0.42) 0%, rgba(232,90,0,0.12) 38%, rgba(11,11,11,0) 66%); pointer-events: none; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.09; mix-blend-mode: overlay; pointer-events: none; }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 4vw, 64px); }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-eyebrow { margin: 0; font-family: var(--font-en-head); font-weight: 600; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white); display: flex; align-items: center; gap: 12px; }
.hero-eyebrow .bar { width: 32px; height: 2px; background: var(--orange); display: inline-block; flex: none; }
/* In RTL the flex row already puts the bar on the right, as in the design. */
html[lang="ar"] .hero-eyebrow { align-self: flex-start; }
/* English-only text inside the Arabic page: keep its own LTR flow and left alignment. */
.en-inline { direction: ltr; unicode-bidi: isolate; text-align: left; }
.hero-eyebrow .en-inline { min-width: 0; }
.hero-heads { display: flex; flex-direction: column; gap: 18px; }
html[lang="ar"] .hero-heads { gap: 14px; }
.hero-title { margin: 0; font-family: var(--font-en-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 78px); line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase; color: var(--cream); }
html[lang="ar"] .hero-title { font-family: var(--font-ar-display); font-weight: 900; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.32; letter-spacing: 0; text-transform: none; }
.hl { color: var(--orange); }
.brush-word { position: relative; display: inline-block; white-space: nowrap; }
.brush-word svg { position: absolute; inset-inline-start: -4%; bottom: -0.2em; width: 108%; height: 0.32em; }
html[lang="ar"] .brush-word svg { bottom: -0.12em; height: 0.3em; }
.hero-sub { margin: 0; font-family: var(--font-en-head); font-weight: 700; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: 0.01em; text-transform: uppercase; color: var(--cream); }
html[lang="ar"] .hero-sub { font-family: var(--font-ar-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; letter-spacing: 0; text-transform: none; }
.hero-lede { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink-muted); }
html[lang="ar"] .hero-lede { max-width: 580px; font-size: 19px; line-height: 1.8; }
.hero-cta-wrap { display: flex; flex-direction: column; gap: 14px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); max-width: 460px; }
html[lang="ar"] .hero-note { font-size: 15px; line-height: 1.7; }
.hero-media { flex: 1 1 380px; min-width: 0; position: relative; height: clamp(420px, 44vw, 600px); }
.hero-media-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-media-inner picture { display: contents; }
.hero-media img { width: min(130%, 600px); max-width: none; height: auto; max-height: 100%; object-fit: contain; display: block; flex: none; }
.hero-media-m { position: relative; height: 240px; width: 100%; }
.hero-media-m .hero-media-inner img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }

/* ---------- Proof bar ---------- */
.proof { border-bottom: 1px solid var(--hairline); }
.proof-inner { max-width: 1200px; margin: 0 auto; padding: 64px var(--gutter); display: flex; flex-direction: column; gap: 56px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.ah-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.ah-stat-value { font-family: var(--font-en-display); font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
[dir="rtl"] .ah-stat-value { text-align: right; }
.ah-stat-affix { color: var(--orange); }
.ah-stat-label { margin: 0; font-size: 16px; color: var(--ink-muted); }
html[lang="ar"] .ah-stat-label { font-size: 17px; }
.trusted { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.trusted-label { margin: 0; font-family: var(--font-en-head); font-weight: 600; font-size: 13px; line-height: 1.6; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-muted); flex: 0 1 auto; min-width: 0; max-width: 100%; }
html[lang="ar"] .trusted-label { font-family: var(--font-ar-body); font-size: 15px; letter-spacing: 0; text-transform: none; }
.logos { flex: 1 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.logos li { height: 64px; border: 1px dashed rgba(255,255,255,0.22); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; padding: 0 12px; text-align: center; font-family: var(--font-en-body); font-size: 13px; color: var(--ink-muted); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: var(--on-orange); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.wa-float:hover { color: var(--on-orange); filter: brightness(0.92); }
/* With JS, the button starts hidden and is shown only once the hero CTAs (and any
   other WhatsApp button) are off screen. Without JS it simply stays visible. */
.wa-float { transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.js .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
.cal-note { margin: 0 0 12px; padding: 0 4px; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
html[lang="ar"] .cal-note { font-size: 14px; line-height: 1.6; }

/* ---------- Mobile (matches the 390px artboards) ---------- */
@media (max-width: 760px) {
  .d-only, .d-nav { display: none !important; }
  .m-only { display: block; }
  .m-nav { display: block; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas > * { width: 100%; }
  .ah-btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 24px; text-align: center; line-height: 1.3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }

  /* Compact hero so both CTAs sit in the first screen (390x844 and 360x740). */
  .hero-inner { padding-top: 16px; padding-bottom: 40px; gap: 24px; }
  .hero-copy { gap: 14px; }
  .hero-media-m { height: 128px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.14em; gap: 8px; line-height: 1.5; }
  .hero-eyebrow .bar { width: 20px; }
  .hero-heads, html[lang="ar"] .hero-heads { gap: 6px; }
  .hero-title { font-size: 30px; line-height: 1; }
  html[lang="ar"] .hero-title { font-size: 28px; line-height: 1.3; }
  .hero-sub { font-size: 16px; }
  html[lang="ar"] .hero-sub { font-size: 18px; line-height: 1.4; }
  .hero-lede { font-size: 16px; line-height: 1.55; }
  html[lang="ar"] .hero-lede { font-size: 16px; line-height: 1.7; }
  .hero-cta-wrap { gap: 10px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .ah-btn { min-height: 48px; padding-top: 10px; padding-bottom: 10px; font-size: 16px; }

  /* Room at the end of the page so the floating button never sits on the footer text. */
  body { padding-bottom: 88px; }
}

/* =====================================================================
   Sections below the proof bar
   ===================================================================== */
.section { position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: clamp(96px, 9vw, 128px) var(--gutter); }
.section--alt { background: var(--surface-alt); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section--line { border-top: 1px solid var(--hairline); }
.stack { display: flex; flex-direction: column; }

/* ---------- Section header ---------- */
.ah-sh { max-width: 760px; }
.ah-overline { margin: 0 0 var(--space-3); font-family: var(--font-en-head); font-size: 13px; line-height: 1.2; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-muted); }
html[lang="ar"] .ah-overline { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; }
.ah-sh-title { margin: 0; font-family: var(--font-en-display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1; text-transform: uppercase; color: var(--cream); }
html[lang="ar"] .ah-sh-title { font-family: var(--font-ar-display); font-weight: 900; line-height: 1.25; text-transform: none; }
.ah-hl { position: relative; display: inline-block; white-space: nowrap; }
.ah-brush { position: absolute; inset-inline-start: -4%; bottom: -0.22em; width: 108%; height: 0.32em; fill: var(--orange); pointer-events: none; }
[dir="rtl"] .ah-brush { transform: scaleX(-1); }
html[lang="ar"] .ah-sh-title .ah-brush { bottom: -0.34em; }

/* ---------- Body text helpers ---------- */
.lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-muted); }
.lead--white { color: var(--white); }
html[lang="ar"] .lead { line-height: 1.9; }
.note-bar { margin: 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--orange); font-size: 17px; line-height: 1.7; color: var(--ink-muted); }
html[lang="ar"] .note-bar { line-height: 1.9; }
.label { margin: 0; font-family: var(--font-en-head); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-muted); }
.label--wide { letter-spacing: 0.4em; }
html[lang="ar"] .label { font-family: var(--font-ar-body); font-size: 15px; letter-spacing: 0; text-transform: none; }

/* ---------- At a glance (quiet, quotable summary) ---------- */
.glance { border-bottom: 1px solid var(--hairline); }
.glance-inner { max-width: 1200px; margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; }
.glance-label { margin: 0; flex: 0 0 auto; font-family: var(--font-en-head); font-weight: 600; font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-muted); }
html[lang="ar"] .glance-label { font-family: var(--font-ar-body); font-size: 15px; letter-spacing: 0; text-transform: none; }
.glance-text { margin: 0; flex: 1 1 520px; min-width: 0; max-width: 820px; font-size: 16px; line-height: 1.7; color: var(--ink-muted); }
html[lang="ar"] .glance-text { font-size: 17px; line-height: 1.9; }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { flex: 1 1 380px; min-width: 0; position: relative; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.about-photo picture { display: contents; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0) 65%, rgba(11,11,11,0.35) 100%); }
.badge { position: absolute; inset-inline-end: 16px; bottom: 24px; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--black); border: 1px solid var(--hairline-strong); display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--cream); }
html[lang="ar"] .badge { font-family: var(--font-ar-display); font-size: 14px; letter-spacing: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.about-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about-copy .ah-sh + .lead { margin-top: 8px; }

/* ---------- Industries ---------- */
.ind-head { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 80px); align-items: flex-end; }
.ind-head > .ah-sh { flex: 1 1 520px; min-width: 0; }
.ind-head > .lead { flex: 1 1 380px; min-width: 0; }
.cards-2 { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 32px; }
.cards-2 > .card { flex: 1 1 460px; }
.card-title { margin: 0; font-family: var(--font-en-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1; text-transform: uppercase; color: var(--cream); }
html[lang="ar"] .card-title { font-family: var(--font-ar-display); font-weight: 900; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; text-transform: none; }
.card-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0 0 28px; list-style: none; border-bottom: 1px solid var(--hairline); }
.card-stat-one { display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); }
.small-muted { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
html[lang="ar"] .small-muted { font-size: 15px; }
.ind-group { display: flex; flex-direction: column; gap: 4px; }
.ind-group .label { margin-bottom: 8px; }
.ind-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ind-list li { padding: 12px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.ind-list li:last-child { border-bottom: 0; }
html[lang="ar"] .ind-list li { font-size: 17px; line-height: 1.7; }
.ind-list strong { font-weight: 600; color: var(--cream); }
.card-note { margin: auto 0 0; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--black); font-size: 15px; line-height: 1.6; color: var(--ink-muted); border-inline-start: 2px solid var(--orange); }
html[lang="ar"] .card-note { font-size: 16px; line-height: 1.8; }

/* ---------- Services ---------- */
.svc-banner { position: relative; width: 100%; border-radius: var(--radius-md); overflow: hidden; background: var(--black); aspect-ratio: 21 / 9; max-height: 420px; }
.svc-banner picture { display: contents; }
.svc-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.svc-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,0.5) 100%); }
.ah-svc { display: flex; flex-direction: column; gap: var(--space-5); }
.ah-svc .ah-overline { margin: 0 0 calc(-1 * var(--space-4)); letter-spacing: 0.2em; }
.ah-svc-title { margin: 0; font-family: var(--font-en-head); font-weight: 700; font-size: 32px; line-height: 1.15; color: var(--cream); }
html[lang="ar"] .ah-svc-title { font-family: var(--font-ar-display); line-height: 1.4; }
.ah-svc-part { display: flex; flex-direction: column; gap: var(--space-2); }
.ah-svc-label { margin: 0; font-family: var(--font-en-head); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
html[lang="ar"] .ah-svc-label { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; }
.ah-svc-text { margin: 0; font-size: 16px; color: var(--white); }
html[lang="ar"] .ah-svc-text { font-size: 17px; }
.ah-steps { position: relative; display: grid; grid-template-columns: repeat(var(--ah-steps, 3), minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.ah-step { position: relative; display: flex; flex-direction: column; gap: var(--space-3); }
.ah-step:not(:last-child)::after { content: ""; position: absolute; top: 19px; inset-inline-start: 48px; width: calc(100% + var(--space-3) - 56px); height: 1px; background: var(--hairline); }
.ah-step-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--black); border: 2px solid var(--orange); color: var(--cream); font-family: var(--font-en-head); font-weight: 700; font-size: 14px; flex: none; }
.ah-step-text { font-size: 16px; font-weight: 500; color: var(--white); }
html[lang="ar"] .ah-step-text { font-size: 17px; }
.ah-svc-out { margin: 0; font-family: var(--font-en-head); font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--cream); }
html[lang="ar"] .ah-svc-out { font-family: var(--font-ar-display); line-height: 1.6; }
.ah-svc-outcome { padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.svc-meta { border-radius: 12px; background: var(--black); border: 1px solid var(--hairline-soft); padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; }
.svc-meta > div { display: flex; flex-direction: column; gap: 8px; }
.svc-meta dt { font-family: var(--font-en-head); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
html[lang="ar"] .svc-meta dt { font-family: var(--font-ar-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.svc-meta dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--white); }
html[lang="ar"] .svc-meta dd { font-size: 17px; line-height: 1.75; }

/* ---------- Speaking ---------- */
.cover { position: relative; border-radius: var(--radius-md); overflow: hidden; height: clamp(260px, 36vw, 500px); background: var(--surface); }
.cover picture { display: contents; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0) 45%, rgba(11,11,11,0.85) 100%); }
.spk-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); }
.spk-intro { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.spk-intro .lead { max-width: 560px; }
html[lang="ar"] .spk-intro .lead { max-width: 580px; }
.spk-venues-wrap { flex: 1 1 360px; min-width: 0; }
.spk-venues-wrap .label { margin-bottom: 12px; }
.spk-venues { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.spk-venues li { padding: 16px 0; border-top: 1px solid var(--hairline); font-size: 17px; color: var(--cream); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.spk-venues li:last-child { border-bottom: 1px solid var(--hairline); }
.spk-venues small { font-size: 13px; color: var(--ink-muted); }
html[lang="ar"] .spk-venues small { font-size: 14px; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.topic { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--hairline); padding: 20px 24px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.topic-num { font-size: 13px; color: var(--ink-muted); }
.topic-title { margin: 0; font-family: var(--font-en-display); font-weight: 400; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: var(--cream); }
html[lang="ar"] .topic-title { font-family: var(--font-ar-display); font-weight: 700; font-size: 22px; line-height: 1.4; text-transform: none; }
.topic-sub { display: block; margin-top: 6px; font-family: var(--font-en-body); font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--ink-muted); text-align: right; }
.gallery-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.gallery { flex: 3 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery figure { position: relative; margin: 0; height: 100%; border-radius: var(--radius-md); overflow: hidden; min-height: 240px; background: var(--surface); }
.gallery picture { display: contents; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,11,0.22); }
.invite { flex: 2 1 340px; min-width: 0; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--hairline); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.invite-title { margin: 0; font-family: var(--font-en-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; text-transform: uppercase; color: var(--cream); }
html[lang="ar"] .invite-title { font-family: var(--font-ar-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.5; text-transform: none; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.faq > .ah-sh { flex: 1 1 320px; min-width: 0; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; }
.ah-faq { border-bottom: 1px solid var(--hairline); }
.ah-faq-h { margin: 0; }
.ah-faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; border: 0; background: none; color: var(--cream); font-family: var(--font-en-head); font-size: 20px; font-weight: 700; line-height: 1.35; text-align: start; cursor: pointer; }
html[lang="ar"] .ah-faq-q { font-family: var(--font-ar-display); line-height: 1.6; }
.ah-faq-icon { color: var(--ink-muted); transition: transform .2s ease, color .2s ease; }
.ah-faq-q:hover .ah-faq-icon, .ah-faq-q[aria-expanded="true"] .ah-faq-icon { color: var(--orange); }
.ah-faq-q[aria-expanded="true"] .ah-faq-icon { transform: rotate(45deg); }
.ah-faq-body { padding: 0 0 var(--space-4); max-width: 68ch; font-size: 16px; color: var(--ink-muted); }
html[lang="ar"] .ah-faq-body { font-size: 17px; line-height: 1.8; }
.ah-faq-body p { margin: 0; }

/* ---------- Final CTA + Cal.com ---------- */
.final { position: relative; overflow: hidden; }
.final-glow { position: absolute; inset-inline-start: -12%; bottom: -40%; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(232,90,0,0.38) 0%, rgba(11,11,11,0) 65%); pointer-events: none; }
.final-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
@media (min-width: 1000px) { .final-copy { position: sticky; top: 120px; } }
.final-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.final-copy .lead { max-width: 480px; line-height: 1.6; }
html[lang="ar"] .final-copy .lead { font-size: 19px; line-height: 1.8; max-width: 500px; }
.cal-card { flex: 1 1 460px; min-width: 0; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--hairline); padding: clamp(8px, 1.5vw, 20px); }
.cal-embed { width: 100%; min-height: 560px; overflow: auto; border-radius: 12px; }
.cal-fallback { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.cal-url { font-family: var(--font-en-body); font-size: 15px; color: var(--cream); text-decoration: none; word-break: break-all; }
.cal-embed.is-loaded .cal-fallback { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-id { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-family: var(--font-en-display); font-size: 20px; color: var(--cream); }
html[lang="ar"] .footer-name { font-family: var(--font-ar-display); font-weight: 900; font-size: 21px; }
.footer-title { font-family: var(--font-en-body); font-size: 13px; color: var(--ink-muted); }
.social { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-en-body); font-size: 15px; }
.social a { text-decoration: none; padding: 10px 0; display: inline-flex; align-items: center; gap: 8px; }
.copy { font-size: 13px; color: var(--ink-muted); }
html[lang="ar"] .copy { font-size: 14px; }

@media (max-width: 760px) {
  .ind-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* Chips: rows stretch to equal height (grid default); text centered vertically. */
  .ind-list li, .ind-list li:last-child { display: flex; align-items: center; padding: 8px 10px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); font-size: 13px; line-height: 1.45; background: var(--black); }
  /* The longest chip takes the full row, so an odd list never ends with a lone chip. */
  .ind-list li.chip-full { grid-column: 1 / -1; }
  html[lang="ar"] .ind-list li { font-size: 14px; line-height: 1.45; }
  .svc-banner { aspect-ratio: 4 / 3; max-height: none; }
  .final-copy, .invite { align-items: stretch; }
  .final-copy .ah-btn, .invite .ah-btn, .svc-cta .ah-btn { width: 100%; }
}
@media (max-width: 640px) {
  .ah-steps { grid-template-columns: 1fr; }
  .ah-step { flex-direction: row; align-items: center; }
  .ah-step:not(:last-child)::after { top: 48px; inset-inline-start: 19px; width: 1px; height: calc(100% + var(--space-3) - 56px); }
}

/* Short desktop screens (e.g. 1280x800, 1366x768, 1440x900): pull the hero up and
   size the headline by screen height so both CTAs sit in the first screen.
   Phones (<=760px) and desktops taller than 900px keep the rules above. */
@media (min-width: 761px) and (max-height: 900px) {
  .hero-inner { padding-top: 24px; padding-bottom: 48px; }
  .hero-copy { gap: 18px; }
  .hero-heads, html[lang="ar"] .hero-heads { gap: 10px; }
  .hero-title { font-size: clamp(38px, 6.6vh, 60px); }
  html[lang="ar"] .hero-title { font-size: clamp(34px, 5.6vh, 52px); line-height: 1.28; }
  .hero-sub { font-size: clamp(18px, 2.6vh, 24px); }
  html[lang="ar"] .hero-sub { font-size: clamp(20px, 2.8vh, 26px); }
  .hero-lede { font-size: 17px; line-height: 1.55; }
  html[lang="ar"] .hero-lede { font-size: 18px; line-height: 1.7; }
  .hero-media { height: clamp(380px, calc(100vh - 170px), 600px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
