/*
Theme Name: Mohamed Shehab 2026
Theme URI: https://mohamedshehab.com/
Author: Mohamed Shehab
Author URI: https://mohamedshehab.com/
Description: قالب هبوط عربي (RTL) لمحمد شهاب — خبير إعلانات ممولة ونمو المتاجر الإلكترونية. مبني للتحويل عبر واتساب، مع إثبات رقمي وأسئلة شائعة وبيانات منظمة.
Version: 2.5.2
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: msh2026
Tags: rtl-language-support, one-column, custom-colors, landing-page
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root{
  --bg:#060C10;
  --bg-alt:#091419;
  --surface:#0D1B22;
  --surface-2:#12272F;
  --line:rgba(125,200,205,.14);
  --line-soft:rgba(125,200,205,.08);
  --teal:#2FD4BE;
  --teal-2:#17A893;
  --teal-glow:rgba(47,212,190,.16);
  --gold:#E8BE77;
  --gold-soft:rgba(232,190,119,.14);
  --text:#EAF5F6;
  --text-2:#A6BEC5;
  --muted:#7A939B;
  --ok:#3DDC97;
  --no:#E2707A;
  --r-sm:10px;
  --r:16px;
  --r-lg:24px;
  --maxw:1180px;
  --pad:clamp(18px,4vw,28px);
  --sp:clamp(64px,8vw,116px);
  --ff:"IBM Plex Sans Arabic","Cairo",-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:92px}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff);
  font-size:17px;
  line-height:1.85;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
h1,h2,h3,h4{margin:0;line-height:1.35;font-weight:700;letter-spacing:-.01em}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:6px}
::selection{background:var(--teal);color:#042022}

.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.section{padding-block:var(--sp);position:relative}
.section--alt{background:
  radial-gradient(1100px 420px at 50% 0%, rgba(47,212,190,.05), transparent 70%),
  var(--bg-alt);
  border-block:1px solid var(--line-soft);
}
.skip-link{position:absolute;inset-inline-start:-9999px;top:0;background:var(--teal);color:#04201F;padding:10px 18px;z-index:999;border-radius:0 0 10px 0}
.skip-link:focus{inset-inline-start:0}

/* ==========================================================================
   3. Type helpers
   ========================================================================== */
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:13px;font-weight:600;letter-spacing:.04em;
  color:var(--teal);margin-bottom:18px;
}
.eyebrow::before{content:"";width:28px;height:1px;background:linear-gradient(90deg,transparent,var(--teal))}
.eyebrow--gold{color:var(--gold)}
.eyebrow--gold::before{background:linear-gradient(90deg,transparent,var(--gold))}

.h1{font-size:clamp(32px,5.4vw,58px);line-height:1.22;font-weight:700;letter-spacing:-.02em;text-wrap:balance}
.h2{font-size:clamp(27px,4vw,44px);line-height:1.3;letter-spacing:-.02em;text-wrap:balance}
.h3{font-size:clamp(19px,2vw,23px);line-height:1.45;text-wrap:balance}
.lead{font-size:clamp(16px,1.5vw,19px);color:var(--text-2);max-width:62ch;text-wrap:pretty}
.muted{color:var(--muted)}
.tint{color:var(--teal)}
.tint-gold{color:var(--gold)}
.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;direction:ltr;display:inline-block}

.section-head{max-width:760px;margin-bottom:clamp(38px,5vw,60px)}
.section-head.center{margin-inline:auto;text-align:center}
.section-head p{margin-top:16px}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 28px;border-radius:999px;border:1px solid transparent;
  font-weight:600;font-size:16px;cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
  white-space:nowrap;
}
.btn svg{width:19px;height:19px;flex:none}
.btn--wa{
  background:linear-gradient(135deg,#2FD4BE,#19A78F);
  color:#03211D;
  box-shadow:0 10px 28px -10px rgba(47,212,190,.55);
}
.btn--wa:hover{transform:translateY(-2px);box-shadow:0 16px 36px -12px rgba(47,212,190,.7)}
.btn--ghost{background:transparent;border-color:var(--line);color:var(--text)}
.btn--ghost:hover{border-color:var(--teal);background:rgba(47,212,190,.06)}
.btn--gold{background:var(--gold);color:#241a06;box-shadow:0 10px 28px -12px rgba(232,190,119,.6)}
.btn--gold:hover{transform:translateY(-2px)}
.btn--sm{padding:11px 20px;font-size:15px}
.btn--block{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(6,12,16,.78);
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid var(--line-soft);
  transition:box-shadow .2s ease,background .2s ease;
}
.admin-bar .site-header{top:32px}
.site-header.is-stuck{box-shadow:0 14px 40px -24px rgba(0,0,0,.9)}
.header-inner{display:flex;align-items:center;gap:20px;min-height:74px}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand__avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid var(--line);flex:none}
.brand__name{font-weight:700;font-size:16px;letter-spacing:.14em;line-height:1.2}
.brand__role{display:block;font-size:11.5px;color:var(--muted);letter-spacing:0;font-weight:400;margin-top:3px;line-height:1.4;max-width:250px}
.main-nav{margin-inline-start:auto}
.main-nav ul{display:flex;gap:6px;align-items:center}
.main-nav a{
  display:block;padding:9px 14px;border-radius:999px;font-size:15px;color:var(--text-2);
  transition:color .16s ease,background .16s ease;
}
.main-nav a:hover{color:var(--text);background:rgba(255,255,255,.04)}
.header-cta{flex:none}
.nav-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:12px;padding:9px 11px;cursor:pointer}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--text);border-radius:2px}
.nav-toggle span+span{margin-top:5px}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;
  padding-block:clamp(54px,7vw,92px) clamp(48px,6vw,80px);
  background:
    radial-gradient(900px 500px at 88% 8%, rgba(47,212,190,.13), transparent 62%),
    radial-gradient(760px 460px at 8% 88%, rgba(232,190,119,.07), transparent 62%),
    var(--bg);
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(var(--line-soft) 1px,transparent 1px),linear-gradient(90deg,var(--line-soft) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:radial-gradient(700px 400px at 70% 20%,#000,transparent 75%);
  mask-image:radial-gradient(700px 400px at 70% 20%,#000,transparent 75%);
  opacity:.55;
}
.hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(30px,5vw,64px);align-items:center}
.hero__title{margin-bottom:20px}
.hero__title .hl{color:var(--teal)}
.hero__note{margin-top:18px;font-size:14px;color:var(--muted);display:flex;align-items:center;gap:8px}
.hero__note svg{width:15px;height:15px;flex:none;color:var(--teal)}

.hero__media{position:relative}
.hero__photo{
  border-radius:var(--r-lg);border:1px solid var(--line);
  background:linear-gradient(160deg,var(--surface-2),var(--surface));
  overflow:hidden;box-shadow:0 40px 80px -46px rgba(0,0,0,.95);
  aspect-ratio:1/1;
}
.hero__photo img{width:100%;height:100%;object-fit:cover}
.hero__badge{
  position:absolute;inset-inline-start:-22px;bottom:-16px;
  max-width:min(320px,94%);
  background:rgba(9,20,25,.95);border:1px solid var(--line);
  border-radius:var(--r);padding:15px 18px;
  box-shadow:0 24px 48px -22px rgba(0,0,0,.95);
  backdrop-filter:blur(8px);
}
.hero__badge em{
  display:block;font-style:normal;font-size:11.5px;font-weight:600;
  color:var(--teal);letter-spacing:.02em;margin-bottom:7px;
}
.hero__badge b{
  display:block;font-size:clamp(16px,1.8vw,20px);color:var(--gold);
  line-height:1.35;margin-bottom:8px;font-weight:700;
}
.hero__badge span{font-size:12px;color:var(--text-2);line-height:1.6;display:block}

/* proof strip */
.proof-strip{
  position:relative;z-index:1;
  margin-top:clamp(36px,5vw,58px);
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft);border-radius:var(--r);overflow:hidden;
}
.proof-strip div{background:var(--bg-alt);padding:20px 18px;text-align:center}
.proof-strip b{display:block;font-size:clamp(20px,2.4vw,27px);color:var(--teal);line-height:1.2}
.proof-strip span{font-size:13px;color:var(--muted)}

/* offer chips under the hero CTA */
.offer-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.offer-chips li{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--line);border-radius:999px;
  padding:8px 16px;font-size:14px;color:var(--text-2);
  background:rgba(47,212,190,.05);
}
.offer-chips svg{width:15px;height:15px;color:var(--teal);flex:none}

/* offer card in the final CTA */
.offer-card{
  margin:34px auto 0;text-align:start;
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:linear-gradient(160deg,rgba(47,212,190,.07),transparent 55%),var(--surface);
  overflow:hidden;
}
.offer-card__head{
  padding:16px 24px;border-bottom:1px solid var(--line-soft);
  font-size:14px;font-weight:600;color:var(--teal);letter-spacing:.02em;
  background:rgba(255,255,255,.02);
}
.offer-card ul{display:grid;grid-template-columns:repeat(3,1fr)}
.offer-card li{
  display:block;padding:24px 22px;
  border-inline-start:1px solid var(--line-soft);
}
.offer-card li:first-child{border-inline-start:0}
.offer-card svg{width:24px;height:24px;color:var(--teal);margin-bottom:12px}
.offer-card b{display:block;font-size:16.5px;margin-bottom:6px;color:var(--text)}
.offer-card span{font-size:14px;color:var(--text-2);line-height:1.75}

/* ==========================================================================
   7. Clients marquee
   ========================================================================== */
.clients{padding-block:34px;border-block:1px solid var(--line-soft);background:var(--bg-alt)}
.clients__label{text-align:center;font-size:13px;color:var(--muted);margin-bottom:18px}
.clients__list{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.clients__list li{
  border:1px solid var(--line);border-radius:999px;padding:8px 18px;
  font-size:14.5px;color:var(--text-2);background:rgba(255,255,255,.02);
}

/* ==========================================================================
   8. Case study
   ========================================================================== */
.case{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,56px);align-items:center}
.case__metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:28px}
.metric{
  border:1px solid var(--line);border-radius:var(--r);padding:20px;
  background:linear-gradient(150deg,rgba(47,212,190,.07),transparent 60%),var(--surface);
}
.metric b{display:block;font-size:clamp(26px,3.4vw,38px);color:var(--teal);line-height:1.1;margin-bottom:6px}
.metric span{font-size:13.5px;color:var(--text-2)}
.metric--gold{background:linear-gradient(150deg,var(--gold-soft),transparent 60%),var(--surface)}
.metric--gold b{color:var(--gold)}

.case__panel{
  border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;
  background:var(--surface);box-shadow:0 40px 90px -50px rgba(0,0,0,.95);
}
.case__panel-head{display:flex;align-items:center;gap:8px;padding:13px 18px;border-bottom:1px solid var(--line-soft);background:var(--surface-2)}
.case__panel-head i{width:9px;height:9px;border-radius:50%;background:var(--muted);opacity:.5;display:block}
.case__panel-head em{margin-inline-start:auto;font-style:normal;font-size:12px;color:var(--muted)}
.case__rows{padding:8px}
.case__row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 14px;border-radius:12px}
.case__row+.case__row{border-top:1px solid var(--line-soft)}
.case__row span{font-size:14.5px;color:var(--text-2)}
.case__row b{font-size:17px;color:var(--text);font-variant-numeric:tabular-nums;direction:ltr}
.case__row b.up{color:var(--teal)}
.bar{height:6px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden;margin-top:8px}
.bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--teal-2),var(--teal))}
.case__shot{display:block;border-top:1px solid var(--line-soft)}
.case__shot img{width:100%}
.disclaimer{
  margin-top:26px;border-inline-start:3px solid var(--gold);
  background:var(--gold-soft);border-radius:0 var(--r-sm) var(--r-sm) 0;
  padding:14px 18px;font-size:14px;color:var(--text-2);
}
.disclaimer b{color:var(--gold)}

/* ==========================================================================
   9. Generic cards grid
   ========================================================================== */
.grid{display:grid;gap:16px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
.grid--2{grid-template-columns:repeat(2,1fr)}
.card{
  border:1px solid var(--line);border-radius:var(--r);padding:26px 24px;
  background:var(--surface);position:relative;
  transition:border-color .2s ease,transform .2s ease,background .2s ease;
}
.card:hover{border-color:rgba(47,212,190,.4);transform:translateY(-3px)}
.card__n{
  font-size:13px;font-weight:700;color:var(--teal);letter-spacing:.08em;
  display:inline-block;margin-bottom:12px;direction:ltr;
}
.card h3{margin-bottom:10px;font-size:19px;text-wrap:balance}
.card p{font-size:15px;color:var(--text-2);line-height:1.8}
.card--gold .card__n{color:var(--gold)}

/* method steps */
.steps{display:grid;gap:14px}
.step{
  display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;
  border:1px solid var(--line);border-radius:var(--r);padding:22px 24px;background:var(--surface);
  transition:border-color .2s ease,background .2s ease;
}
.step:hover{border-color:rgba(47,212,190,.38)}
.step__n{
  width:44px;height:44px;border-radius:50%;flex:none;
  display:grid;place-items:center;font-weight:700;font-size:15px;direction:ltr;
  color:var(--teal);border:1px solid rgba(47,212,190,.35);background:rgba(47,212,190,.08);
}
.step h3{font-size:18px;margin-bottom:7px}
.step p{font-size:15px;color:var(--text-2)}

/* deliverables */
.deliver{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.deliver li{
  display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;
  border:1px solid var(--line);border-radius:var(--r);padding:20px 22px;background:var(--surface);
}
.deliver svg{width:22px;height:22px;color:var(--teal);flex:none;margin-top:3px}
.deliver b{display:block;font-size:16.5px;margin-bottom:5px}
.deliver span{font-size:14.5px;color:var(--text-2);line-height:1.75}

/* fit / not fit */
.fit{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.fit__col{border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;background:var(--surface)}
.fit__col--yes{border-color:rgba(61,220,151,.28);background:linear-gradient(160deg,rgba(61,220,151,.06),transparent 55%),var(--surface)}
.fit__col--no{border-color:rgba(226,112,122,.22);background:linear-gradient(160deg,rgba(226,112,122,.05),transparent 55%),var(--surface)}
.fit__head{display:flex;align-items:center;gap:11px;margin-bottom:20px;font-weight:700;font-size:18px}
.fit__icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:15px}
.fit__col--yes .fit__icon{background:rgba(61,220,151,.14);color:var(--ok)}
.fit__col--no .fit__icon{background:rgba(226,112,122,.12);color:var(--no)}
.fit__col li{position:relative;padding-inline-start:26px;margin-bottom:14px;font-size:15.5px;color:var(--text-2);line-height:1.75}
.fit__col li::before{position:absolute;inset-inline-start:0;top:0;font-weight:700}
.fit__col--yes li::before{content:"✓";color:var(--ok)}
.fit__col--no li::before{content:"✕";color:var(--no)}

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq{max-width:900px;margin-inline:auto;display:grid;gap:12px}
.faq__item{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);overflow:hidden}
.faq__item[open]{border-color:rgba(47,212,190,.38)}
.faq__item summary{list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::marker{content:""}
.faq__q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 24px;background:transparent;border:0;cursor:pointer;text-align:start;
  font-weight:600;font-size:16.5px;line-height:1.6;
}
.faq__q:hover{color:var(--teal)}
.faq__q i{
  width:26px;height:26px;border-radius:50%;flex:none;display:grid;place-items:center;
  border:1px solid var(--line);font-style:normal;font-size:16px;color:var(--teal);
  transition:transform .22s ease,background .22s ease;
}
.faq__item[open] .faq__q i{transform:rotate(45deg);background:rgba(47,212,190,.12)}
.faq__a{padding:0 24px 22px;font-size:15.5px;color:var(--text-2);line-height:1.9}
.faq__a p+p{margin-top:12px}

/* ==========================================================================
   11. Final CTA
   ========================================================================== */
.final{
  position:relative;overflow:hidden;text-align:center;
  background:
    radial-gradient(760px 380px at 50% 0%, rgba(47,212,190,.14), transparent 68%),
    var(--bg-alt);
  border-block:1px solid var(--line);
}
.final .container{position:relative;z-index:1;max-width:820px}
.final .btn-row{justify-content:center}
.final__meta{margin-top:26px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;font-size:14px;color:var(--muted)}
.final__meta span{display:inline-flex;align-items:center;gap:7px}
.final__meta svg{width:15px;height:15px;color:var(--teal)}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer{background:var(--bg);border-top:1px solid var(--line-soft);padding-block:52px 96px;font-size:15px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px;margin-bottom:34px}
.site-footer h4{font-size:15px;margin-bottom:16px;color:var(--text)}
.site-footer a{color:var(--text-2);transition:color .16s ease}
.site-footer a:hover{color:var(--teal)}
.site-footer li{margin-bottom:10px;font-size:14.5px}
.footer-about p{color:var(--muted);font-size:14.5px;max-width:42ch;margin-top:14px;line-height:1.8}
.footer-legal{
  border-top:1px solid var(--line-soft);padding-top:22px;
  display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;
  font-size:13.5px;color:var(--muted);
}
.footer-note{font-size:13px;color:var(--muted);line-height:1.8;margin-top:18px;max-width:80ch}

/* ==========================================================================
   13. Floating WhatsApp
   ========================================================================== */
.wa-float{
  position:fixed;inset-inline-start:20px;bottom:20px;z-index:90;
  display:inline-flex;align-items:center;gap:10px;
  background:#25D366;color:#04241A;font-weight:600;font-size:15px;
  padding:13px 20px;border-radius:999px;
  box-shadow:0 16px 36px -14px rgba(37,211,102,.75);
  transition:transform .2s ease,box-shadow .2s ease;
}
.wa-float:hover{transform:translateY(-3px);box-shadow:0 22px 44px -16px rgba(37,211,102,.9)}
.wa-float svg{width:21px;height:21px;flex:none}

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

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (max-width:1024px){
  .hero__grid{grid-template-columns:1fr;gap:38px}
  .hero__media{max-width:420px;margin-inline:auto;width:100%}
  .case{grid-template-columns:1fr}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  /* Anchored to the header itself, so no magic offsets to keep in sync with
     the admin bar or a taller brand block. */
  .main-nav{
    position:absolute;top:100%;inset-inline:0;margin:0;
    background:#070E13;border-bottom:1px solid var(--line);
    box-shadow:0 26px 44px -26px rgba(0,0,0,.95);
    padding:12px var(--pad) 20px;display:none;
    max-height:calc(100dvh - 100%);overflow-y:auto;
  }
  .main-nav.is-open{display:block}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:2px}
  .main-nav a{padding:14px 10px;font-size:16px;border-radius:12px}
  .nav-toggle{display:block;margin-inline-start:auto;order:3}
  .header-cta{display:none}
  .header-inner{min-height:64px}
  .brand__role{max-width:200px;font-size:11px}
}
@media (max-width:560px){
  .brand__role{display:none}
  .brand__name{font-size:15px;letter-spacing:.1em}
}
@media (max-width:720px){
  body{font-size:16px;line-height:1.8}
  .grid--3,.grid--4,.grid--2,.deliver,.fit,.case__metrics{grid-template-columns:1fr}
  .offer-card ul{grid-template-columns:1fr}
  .offer-card li{border-inline-start:0;border-top:1px solid var(--line-soft);padding:20px}
  .offer-card li:first-child{border-top:0}
  .offer-chips li{font-size:13.5px;padding:7px 14px}
  .proof-strip{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .step{grid-template-columns:1fr;gap:12px}
  .btn{width:100%}
  .btn-row{gap:10px}
  .hero__badge{position:static;max-width:none;margin-top:14px}
  .wa-float{inset-inline-start:14px;bottom:14px;padding:12px 17px;font-size:14px}
  .faq__item summary{list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::marker{content:""}
.faq__q{padding:17px 18px;font-size:15.5px}
  .faq__a{padding:0 18px 18px}
}

/* ==========================================================================
   16. Inner page content
   ========================================================================== */
.entry{color:var(--text-2);font-size:17px;max-width:none}
.entry h2{font-size:clamp(22px,2.6vw,30px);margin:34px 0 14px;color:var(--text)}
.entry h3{font-size:20px;margin:26px 0 10px;color:var(--text)}
.entry p{margin-bottom:16px}
.entry ul,.entry ol{margin:0 0 18px;padding-inline-start:22px}
.entry ul li{list-style:disc;margin-bottom:9px}
.entry ol li{list-style:decimal;margin-bottom:9px}
.entry a{color:var(--teal);text-decoration:underline;text-underline-offset:4px}
.entry img{border-radius:var(--r);margin:18px 0}
.entry blockquote{border-inline-start:3px solid var(--teal);padding:8px 18px;margin:20px 0;background:rgba(47,212,190,.05);border-radius:0 var(--r-sm) var(--r-sm) 0}

/* ==========================================================================
   17. Documented cases (proof)
   ========================================================================== */
.section--band{
  background:linear-gradient(180deg,rgba(47,212,190,.035),transparent 60%),var(--bg);
  border-block:1px solid var(--line-soft);
}

.cases{display:grid;gap:clamp(22px,3vw,34px)}

.case-card{
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:linear-gradient(165deg,rgba(47,212,190,.05),transparent 46%),var(--surface);
  padding:clamp(24px,3.4vw,40px);
  box-shadow:0 40px 90px -60px rgba(0,0,0,.95);
}
.case-card__head{
  display:flex;flex-wrap:wrap;gap:18px 26px;align-items:flex-start;justify-content:space-between;
  padding-bottom:22px;margin-bottom:26px;border-bottom:1px solid var(--line-soft);
}
.case-card__sector{font-size:clamp(21px,2.4vw,27px);margin-bottom:8px}
.case-card__meta{font-size:14.5px;color:var(--muted);line-height:1.7}
.case-card__headline{
  font-size:clamp(15px,1.6vw,17px);color:var(--text-2);
  border:1px solid rgba(232,190,119,.3);background:var(--gold-soft);
  border-radius:999px;padding:10px 20px;white-space:nowrap;
}
.case-card__headline b{color:var(--gold);font-size:1.18em;font-variant-numeric:tabular-nums}

.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}
.kpis li{
  border:1px solid var(--line);border-radius:var(--r);padding:20px 18px;
  background:rgba(255,255,255,.02);
}
.kpis li.is-primary{
  border-color:rgba(47,212,190,.42);
  background:linear-gradient(150deg,rgba(47,212,190,.11),transparent 62%),rgba(255,255,255,.02);
}
.kpis b{
  display:block;font-size:clamp(23px,2.7vw,31px);line-height:1.15;color:var(--text);
  margin-bottom:7px;font-variant-numeric:tabular-nums;
}
.kpis li.is-primary b{color:var(--teal)}
.kpis b em{font-style:normal;font-size:.55em;font-weight:600;color:var(--text-2);margin-inline-start:3px}
.kpis span{font-size:13.5px;color:var(--muted);line-height:1.65;display:block}

.case-card__notes{display:grid;gap:12px;margin-bottom:28px}
.case-card__notes p{
  font-size:14.5px;color:var(--text-2);line-height:1.85;
  border-inline-start:2px solid rgba(47,212,190,.45);padding-inline-start:16px;
}
.case-card__notes strong{color:var(--text);font-weight:600}

/* screenshots */
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:13px}
.shot{margin:0}
.shot__btn{
  display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:var(--r-sm);
  background:#f4f6f7;cursor:zoom-in;overflow:hidden;position:relative;line-height:0;
  transition:border-color .18s ease,transform .18s ease;
}
.shot__btn:hover{border-color:var(--teal);transform:translateY(-2px)}
.shot__btn img{width:100%;height:118px;object-fit:cover;object-position:top right}
.shot__zoom{
  position:absolute;inset-block-end:8px;inset-inline-end:8px;
  background:rgba(6,12,16,.86);color:var(--teal);
  font-size:11.5px;line-height:1;padding:6px 10px;border-radius:999px;
  opacity:0;transition:opacity .18s ease;
}
.shot__btn:hover .shot__zoom,.shot__btn:focus-visible .shot__zoom{opacity:1}
.shot figcaption{font-size:13px;color:var(--muted);margin-top:9px;text-align:center}

/* sectors, deliberately without figures */
.sectors{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:900px;margin-inline:auto}
.sectors li{
  border:1px solid var(--line);border-radius:var(--r-sm);
  padding:14px 24px;font-size:15.5px;color:var(--text-2);
  background:rgba(255,255,255,.02);
  transition:border-color .18s ease,color .18s ease;
}
.sectors li:hover{border-color:rgba(47,212,190,.4);color:var(--text)}

/* ==========================================================================
   18. Lightbox
   ========================================================================== */
.lightbox{
  position:fixed;inset:0;z-index:200;display:none;
  background:rgba(4,9,12,.93);backdrop-filter:blur(6px);
  padding:clamp(16px,4vw,44px);
  overflow:auto;
}
.lightbox.is-open{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px}
.lightbox__img{
  max-width:100%;border-radius:var(--r-sm);border:1px solid var(--line);
  background:#fff;box-shadow:0 40px 90px -40px rgba(0,0,0,.9);
  cursor:zoom-in;flex:none;
}
.lightbox__img.is-zoom{max-width:none;width:auto;cursor:zoom-out}
.lightbox.is-open{align-items:flex-start}
.lightbox.is-open .lightbox__img{margin-inline:auto}
.lightbox__cap{font-size:14px;color:var(--text-2);text-align:center;max-width:70ch}
.lightbox__hint{font-size:12.5px;color:var(--muted)}
.lightbox__close{
  position:fixed;top:16px;inset-inline-end:16px;z-index:201;
  width:44px;height:44px;border-radius:50%;cursor:pointer;
  border:1px solid var(--line);background:rgba(13,27,34,.95);color:var(--text);
  font-size:22px;line-height:1;display:grid;place-items:center;
}
.lightbox__close:hover{border-color:var(--teal);color:var(--teal)}
body.lb-open{overflow:hidden}

@media (max-width:1024px){
  .kpis{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .kpis{grid-template-columns:repeat(2,1fr);gap:10px}
  .kpis li{padding:16px 14px}
  .case-card__head{flex-direction:column;gap:14px}
  .case-card__headline{white-space:normal;text-align:center;width:100%}
  .shots{grid-template-columns:1fr 1fr}
  .shot__btn img{height:96px}
  .sectors li{padding:12px 18px;font-size:14.5px}
}

/* ==========================================================================
   19. Year-over-year table inside a case
   ========================================================================== */
.yoy-wrap{overflow-x:auto;margin-bottom:26px;border:1px solid var(--line);border-radius:var(--r)}
.yoy{width:100%;border-collapse:collapse;min-width:420px;font-size:15px}
.yoy caption{
  caption-side:top;text-align:start;padding:14px 20px;
  font-size:13px;color:var(--teal);font-weight:600;letter-spacing:.02em;
  border-bottom:1px solid var(--line-soft);background:rgba(255,255,255,.02);
}
.yoy th,.yoy td{padding:14px 20px;text-align:start}
.yoy thead th{
  font-size:13.5px;color:var(--muted);font-weight:600;
  border-bottom:1px solid var(--line-soft);background:rgba(255,255,255,.015);
}
.yoy tbody th{font-weight:500;color:var(--text-2);font-size:14.5px}
.yoy tbody tr+tr th,.yoy tbody tr+tr td{border-top:1px solid var(--line-soft)}
.yoy .is-num{
  font-variant-numeric:tabular-nums;direction:ltr;text-align:start;
  color:var(--text);font-weight:600;white-space:nowrap;
}
.yoy tbody tr:nth-child(3) .is-num{color:var(--gold)}
@media (max-width:720px){
  .yoy th,.yoy td{padding:12px 14px;font-size:14px}
  .yoy caption{padding:12px 14px}
}

/* ==========================================================================
   20. Responsive hardening — nothing may push the page sideways
   ========================================================================== */
html{overflow-x:hidden}
img,svg,video,iframe{max-width:100%}

/* Grid and flex children default to min-width:auto, which lets a wide child
   (a table, a long number) stretch its parent past the viewport. */
.cases > *,
.case-card,
.case-card > *,
.grid > *,
.steps > *,
.step > *,
.deliver > *,
.deliver > li > *,
.fit > *,
.kpis > *,
.shots > *,
.hero__grid > *,
.case > *,
.footer-grid > *,
.proof-strip > *,
.header-inner > *{min-width:0}

.yoy-wrap{min-width:0;max-width:100%}
.case-card__meta,
.case-card__headline,
.case-card__notes p,
.kpis span,
.shot figcaption{overflow-wrap:anywhere}

/* ==========================================================================
   21. Breakpoint refinements
   ========================================================================== */
@media (max-width:960px){
  .hero__grid{grid-template-columns:1fr;gap:34px}
  .hero__media{max-width:400px;margin-inline:auto;width:100%}
  .case-card__head{flex-direction:column;align-items:stretch;gap:16px}
  .case-card__headline{white-space:normal;text-align:center}
}

@media (max-width:640px){
  html{scroll-padding-top:76px}
  .shots{grid-template-columns:1fr 1fr;gap:10px}
  .shot__btn img{height:104px}
  .shot figcaption{font-size:12px}
  .yoy{min-width:340px;font-size:14px}
  .yoy th,.yoy td{padding:11px 12px}
  .kpis{gap:10px}
  .kpis li{padding:15px 13px}
  .kpis b{font-size:21px;margin-bottom:5px}
  .kpis b em{font-size:.6em}
  .kpis span{font-size:12.5px}
  .case-card{padding:20px 16px;border-radius:18px}
  .case-card__sector{font-size:20px}
  .case-card__meta{font-size:13.5px}
  .case-card__headline{font-size:14.5px;padding:10px 16px}
  .case-card__notes p{font-size:13.8px;padding-inline-start:13px}
  .section-head{margin-bottom:30px}
  .eyebrow{font-size:12px;margin-bottom:14px}
  .proof-strip div{padding:16px 12px}
  .proof-strip b{font-size:19px}
  .proof-strip span{font-size:12px}
  .hero__badge{padding:13px 15px}
  .hero__badge b{font-size:16px}
  .hero__badge em{font-size:11px}
  .hero__badge span{font-size:11.5px}
  .offer-chips{gap:7px}
  .card{padding:20px 18px}
  .step{padding:18px 18px}
  .fit__col{padding:22px 18px}
  .deliver li{padding:17px 18px}
  .clients__list{gap:8px}
  .clients__list li{padding:7px 14px;font-size:13.5px}
  .final__meta{gap:9px 16px;font-size:13px}
  .footer-legal{font-size:12.5px}
}

@media (max-width:400px){
  :root{--pad:16px}
  .h1{font-size:28px}
  .h2{font-size:24px}
  .kpis b{font-size:19px}
  .shot__btn img{height:88px}
  .btn{padding:14px 20px;font-size:15px}
  .brand__name{font-size:14px;letter-spacing:.08em}
  .brand__avatar{width:38px;height:38px}
}

/* Comfortable tap targets on touch devices */
@media (hover:none){
  .main-nav a{min-height:46px;display:flex;align-items:center}
  .faq__q{min-height:52px}
  .btn{min-height:48px}
  .shot__btn{min-height:44px}
  .sectors li{min-height:44px;display:flex;align-items:center}
  .shot__zoom{opacity:1}
}

/* Short landscape phones */
@media (max-height:520px) and (orientation:landscape){
  .hero{padding-block:34px 30px}
  .site-header{position:static}
}

/* Page behind the open mobile menu stays put */
body.nav-open{overflow:hidden}

/* ==========================================================================
   22. Small-screen affordances and iOS safe areas
   ========================================================================== */
@media (max-width:640px){
  .yoy caption::after{
    content:" · مرّر الجدول أفقيًا";
    color:var(--muted);font-weight:400;
  }
}

/* Keep the floating button clear of the iPhone home indicator */
.wa-float{
  bottom:calc(20px + env(safe-area-inset-bottom, 0px));
  inset-inline-start:calc(20px + env(safe-area-inset-left, 0px));
}
@media (max-width:720px){
  .wa-float{
    bottom:calc(14px + env(safe-area-inset-bottom, 0px));
    inset-inline-start:calc(14px + env(safe-area-inset-left, 0px));
  }
  .site-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px))}
}
