/* ============================================================
   idrf.online — eCommerce Landscape MENA 2026 (/ecommerce-landscape-mena-2026/)
   Nav · footer · tokens reused from /ecom-landscapes (and /new)
   Light page · light cards · brand yellow · minimal reveal motion
   ============================================================ */

/* ── FONTS (shared with /new) ── */
@font-face{font-family:'Rainer';src:url('/assets/new/fonts/Rainer-Bold-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Rainer';src:url('/assets/new/fonts/Rainer-Bold-cyrillic.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Rainer';src:url('/assets/new/fonts/Rainer-Light-latin.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Rainer';src:url('/assets/new/fonts/Rainer-Light-cyrillic.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Regular-latin.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Regular-cyrillic.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Medium-latin.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Medium-cyrillic.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Semibold-latin.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Semibold-cyrillic.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Bold-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Graphik';src:url('/assets/new/fonts/Graphik-Bold-cyrillic.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* Инлайновые иконки (бывший шрифт Tabler). width/height:1em переводит
   font-size в пиксели; vertical-align повторяет посадку глифа шрифта на
   базовую линию, поэтому визуально ничего не смещается. */
svg.ti{width:1em;height:1em;vertical-align:-.125em;flex:none}

/* ── TOKENS ── */
:root{
  --bg:#FFFFFF;
  --surface:#FFFFFF;
  --surface-2:#F9FAFB;
  --gray-chip:#F3F4F6;
  --ink:#000000;
  --text-2:rgba(0,0,0,.62);
  --text-3:rgba(0,0,0,.42);
  --border:#E5E7EB;
  --border-soft:rgba(0,0,0,.06);
  --yellow:#FFCE34;
  --yellow-hover:#F1BE1E;
  --yellow-soft:rgba(255,206,52,.22);
  --shadow:0 1px 2px rgba(0,0,0,.04),0 4px 20px rgba(0,0,0,.03);
  --pill:999px;
  --maxw:1200px;
  --font:'Graphik','Helvetica Neue',Arial,sans-serif;
  --font-h1:'Rainer','Graphik',sans-serif;
  --fs-body:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);font-size:var(--fs-body);background:var(--bg);color:var(--ink);width:100%;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}

/* ── NAV (same as /new) ── */
.nav{display:flex;align-items:center;justify-content:space-between;padding:15px 36px;border-bottom:1px solid var(--border-soft);position:sticky;top:0;z-index:100;background:rgba(255,255,255,.9);backdrop-filter:blur(10px)}
.nav-logo{display:flex;align-items:center;gap:14px;flex-shrink:0}
.nav-logo a{display:inline-flex;align-items:center}
.nav-logo img{display:block;width:auto}
.nav-logo-idrf{height:45px}
.nav-logo-24{height:45px}
.nav-logo-sep{width:1px;height:32px;background:var(--border);flex-shrink:0}
.nav-links{display:flex;gap:22px}
.nl{font-size:12px;color:var(--text-2);cursor:pointer;transition:color .2s;white-space:nowrap;text-decoration:none}.nl:hover{color:var(--ink)}
.nl.active{font-weight:700;color:var(--ink)}
.nav-right{display:flex;gap:8px;align-items:center}
.nav-cta{display:inline-flex;align-items:center;gap:6px;padding:9px 20px;border-radius:var(--pill);font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;background:var(--yellow);color:var(--ink);border:none;text-decoration:none;transition:background .2s}
.nav-cta:hover{background:var(--yellow-hover)}
.nav-logo .nav-logo-circle{display:none}
.nav-logo-circle img{height:40px;width:auto;display:block}
.nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;padding:9px;background:none;border:0;cursor:pointer}
.nav-burger span{display:block;width:100%;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-burger.open span:nth-child(2){opacity:0}
.nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── FOOTER (dark — same as /new) ── */
.site-footer{padding:56px 36px 40px;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;background:#0E0E12;color:#fff;border-top:1px solid rgba(255,255,255,.10)}
.site-footer .fl{font-size:15px;font-weight:700;color:#fff;margin-bottom:10px;letter-spacing:-.2px}
.site-footer .fl-logo{height:30px;width:auto;display:block;margin-bottom:14px}
.site-footer .fd{font-size:13px;color:rgba(255,255,255,.5);line-height:1.65;max-width:240px;margin-bottom:20px}
.fsoc{display:flex;gap:9px}
.fsoc a{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s,border-color .2s,background .2s}
.fsoc a:hover{color:var(--yellow);border-color:rgba(255,206,52,.4);background:rgba(255,206,52,.06)}
.fsoc svg{width:16px;height:16px;fill:currentColor;display:block}
.site-footer .fc-ttl{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:1.2px;color:rgba(255,255,255,.35);margin-bottom:16px}
.site-footer .fc-lnk{font-size:15px;color:rgba(255,255,255,.55);margin-bottom:11px;display:inline-block;text-decoration:none;transition:color .2s}
.site-footer .fc-lnk:hover{color:#fff}
.foot-copy{padding:18px 36px;background:#0E0E12;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.35)}
.foot-copy a{color:rgba(255,255,255,.35);text-decoration:none;transition:color .2s}
.foot-copy a:hover{color:var(--yellow)}
.foot-mid{display:flex;gap:20px;align-items:center}

/* ── shared content edges (centered container) ── */
.nav,.hero,.site-footer,.foot-copy{
  padding-inline:max(36px,calc((100% - var(--maxw)) / 2));
}


/* ══════════════════ PAGE ══════════════════ */
.sec,.hero{max-width:calc(var(--maxw) + 72px);margin:0 auto;padding:88px 36px}
.sec--soft{max-width:none;background:var(--surface-2);border-block:1px solid var(--border-soft)}
.sec-inner{max-width:var(--maxw);margin:0 auto}
.eyebrow{font-size:13px;font-weight:600;color:var(--text-3);letter-spacing:.4px;text-transform:uppercase;margin-bottom:10px}
.sec-head{margin-bottom:40px;max-width:760px}
.sec-head--row{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.sec-ttl{font-size:40px;font-weight:700;letter-spacing:-.8px;line-height:1.1}
.sec-lede{font-size:18px;color:var(--text-2);line-height:1.6;margin-top:18px}

/* ── buttons ── */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:var(--pill);font-size:15px;font-weight:600;text-decoration:none;border:1.5px solid transparent;transition:background .2s,border-color .2s,transform .2s;white-space:nowrap}
.btn svg.ti{font-size:18px}
.btn small{font-size:12px;font-weight:500;opacity:.55;margin-left:2px}
.btn:hover{transform:translateY(-1px)}
.btn--yellow{background:var(--yellow);color:var(--ink)}
.btn--yellow:hover{background:var(--yellow-hover)}
.btn--ghost{background:var(--surface);color:var(--ink);border-color:var(--border)}
.btn--ghost:hover{border-color:var(--ink)}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#2a2a2a}

/* ── HERO: intro + actions left, tall map right ── */
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);grid-template-areas:"intro map" "actions map";grid-template-rows:auto 1fr;column-gap:64px;padding-top:56px;padding-bottom:88px}
.hero-intro{grid-area:intro}
.hero-map{grid-area:map;margin:0}
.hero-actions{grid-area:actions;align-self:start;margin-top:36px}
.crumbs{display:flex;gap:8px;font-size:13px;color:var(--text-3);margin-bottom:22px}
.crumbs a{text-decoration:none;color:var(--text-2);transition:color .2s}
.crumbs a:hover{color:var(--ink)}
h1.ht{font-family:var(--font-h1);font-size:68px;font-weight:700;letter-spacing:-1.5px;line-height:1.02;margin-bottom:32px}
h1.ht em{font-style:normal;display:inline-block;background:linear-gradient(transparent 62%,var(--yellow) 62%,var(--yellow) 92%,transparent 92%);padding:0 4px;margin-left:-4px}
.stats{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);margin-bottom:32px;overflow:hidden}
.stats li{padding:18px 18px 16px;border-left:1px solid var(--border)}
.stats li:first-child{border-left:0}
.stats b{display:block;font-size:34px;font-weight:700;letter-spacing:-1px;line-height:1;font-variant-numeric:tabular-nums}
.stats span{display:block;font-size:13px;color:var(--text-3);margin-top:6px}
.lede{font-size:19px;line-height:1.6;color:var(--ink);margin-bottom:14px}
.lede-2{font-size:16px;line-height:1.6;color:var(--text-2)}

.map-frame{display:block;position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--border);box-shadow:0 2px 6px rgba(0,0,0,.04),0 24px 60px rgba(0,0,0,.08);transition:transform .35s ease,box-shadow .35s ease;background:var(--yellow)}
.map-frame img{display:block;width:100%;height:auto}
.map-frame:hover{transform:translateY(-3px);box-shadow:0 2px 6px rgba(0,0,0,.05),0 30px 70px rgba(0,0,0,.12)}
.map-zoom{position:absolute;right:14px;bottom:14px;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:var(--pill);background:rgba(255,255,255,.94);font-size:13px;font-weight:600;box-shadow:0 2px 10px rgba(0,0,0,.12);opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s}
.map-frame:hover .map-zoom,.map-frame:focus-visible .map-zoom{opacity:1;transform:none}

.dl-badge{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;background:var(--yellow-soft);border-radius:12px;padding:12px 16px;margin-bottom:18px}
.dl-badge svg.ti{font-size:18px;margin-top:1px}
.dl-btns{display:flex;gap:10px;flex-wrap:wrap}
.dl-note{font-size:13px;color:var(--text-3);margin-top:14px}

/* ── categories ── */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cat-card{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface);text-decoration:none;transition:border-color .25s,box-shadow .25s,transform .25s}
.cat-card:hover{border-color:var(--ink);box-shadow:var(--shadow);transform:translateY(-2px)}
.cat-top{display:flex;justify-content:space-between;align-items:baseline}
.cat-num{font-size:12px;font-weight:600;color:var(--text-3);letter-spacing:.6px}
.cat-count{font-size:26px;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.cat-count small{font-size:12px;font-weight:500;color:var(--text-3);letter-spacing:0}
.cat-name{font-size:19px;font-weight:600;letter-spacing:-.2px;line-height:1.25;position:relative;padding-top:12px}
.cat-name::before{content:"";position:absolute;top:0;left:0;width:28px;height:3px;border-radius:2px;background:var(--yellow);transition:width .3s ease}
.cat-card:hover .cat-name::before{width:56px}
.cat-subs{font-size:14px;color:var(--text-2);line-height:1.55}

/* ── method ── */
.method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.m-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:28px}
.m-num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--yellow);font-size:13px;font-weight:700;margin-bottom:18px}
.m-card h3{font-size:19px;font-weight:600;letter-spacing:-.2px;line-height:1.3;margin-bottom:10px}
.m-card p{font-size:15px;color:var(--text-2);line-height:1.65}

/* ── submit + usage ── */
.duo{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}
.cta-card,.use-card{border-radius:20px;padding:40px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.cta-card{background:var(--yellow)}
.use-card{background:var(--surface);border:1px solid var(--border)}
.cta-ttl{font-size:30px;font-weight:700;letter-spacing:-.5px;line-height:1.15}
.cta-card p,.use-card p{font-size:16px;line-height:1.6;max-width:520px}
.cta-card p{color:rgba(0,0,0,.75)}
.use-card p{color:var(--text-2)}
.use-card a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--yellow);text-decoration-thickness:2px}
.cta-card .btn{margin-top:10px}
.cta-card .cta-alt{font-size:14px;color:rgba(0,0,0,.65)}
.cta-alt a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;user-select:all}

/* ── company list ── */
.co-list{display:flex;flex-direction:column;gap:10px}
.co-block{background:var(--surface);border:1px solid var(--border);border-radius:16px;scroll-margin-top:96px;transition:border-color .2s}
.co-block[open]{border-color:rgba(0,0,0,.18)}
.co-block summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px}
.co-block summary::-webkit-details-marker{display:none}
.co-ttl{font-size:18px;font-weight:600;letter-spacing:-.2px}
.co-meta{display:inline-flex;align-items:center;gap:12px;font-size:13px;color:var(--text-3);white-space:nowrap}
.co-meta svg.ti{font-size:18px;color:var(--ink);transition:transform .3s ease}
.co-block[open] .co-meta svg.ti{transform:rotate(180deg)}
.co-block summary:hover .co-ttl{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:4px}
.co-body{padding:4px 24px 24px;display:grid;grid-template-columns:repeat(2,1fr);gap:22px 32px}
.co-block[open] .co-body{animation:coIn .35s ease}
@keyframes coIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.co-sub-ttl{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--text-3);margin-bottom:10px}
.co-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.co-chips li{font-size:14px;line-height:1;padding:8px 12px;border-radius:var(--pill);background:var(--gray-chip);color:var(--ink)}

/* ── previous editions ── */
.more-lnk{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.more-lnk svg.ti{transition:transform .2s}
.more-lnk:hover svg.ti{transform:translateX(3px)}
.prev-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.prev-card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--surface);text-decoration:none;transition:box-shadow .25s,transform .25s,border-color .25s}
.prev-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(0,0,0,.18)}
.prev-img{aspect-ratio:4/3;overflow:hidden;background:var(--surface-2);border-bottom:1px solid var(--border)}
.prev-img img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .5s ease}
.prev-card:hover .prev-img img{transform:scale(1.04)}
.prev-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px}
.prev-yr{font-size:12px;font-weight:600;color:var(--text-3);letter-spacing:.4px}
.prev-ttl{font-size:15px;font-weight:600;line-height:1.35}

/* ── motion: hero entrance + scroll reveal (JS-only; without JS everything is visible) ── */
.js .hero-in{opacity:0;transform:translateY(14px);animation:heroIn .7s cubic-bezier(.2,.7,.2,1) forwards}
.js .hero-intro .hero-in:nth-child(2){animation-delay:.06s}
.js .hero-intro .hero-in:nth-child(3){animation-delay:.12s}
.js .hero-intro .hero-in:nth-child(4){animation-delay:.18s}
.js .hero-intro .hero-in:nth-child(5){animation-delay:.24s}
.js .hero-map{animation-delay:.15s}
.js .hero-actions{animation-delay:.3s}
@keyframes heroIn{to{opacity:1;transform:none}}
.js .rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease var(--d,0ms),transform .6s cubic-bezier(.2,.7,.2,1) var(--d,0ms),border-color .25s,box-shadow .25s}
.js .rv.in{opacity:1;transform:none}
.js .cat-card.rv.in:hover,.js .prev-card.rv.in:hover{transform:translateY(-2px);transition-delay:0ms}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .js .hero-in,.js .rv{opacity:1;transform:none;animation:none;transition:none}
  .co-block[open] .co-body{animation:none}
}

/* ── FOCUS / RESPONSIVE ── */
a:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}
@media(max-width:1100px){
  .hero{grid-template-columns:minmax(0,1fr) minmax(0,440px);column-gap:44px}
  h1.ht{font-size:56px}
  .prev-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .cat-grid,.method-grid{grid-template-columns:repeat(2,1fr)}
  .duo{grid-template-columns:1fr}
}
@media(max-width:760px){
  .sec,.hero{padding:56px 20px}
  .nav,.site-footer{padding-left:20px;padding-right:20px}
  .hero{grid-template-columns:1fr;grid-template-areas:"intro" "map" "actions";padding-top:32px;row-gap:28px}
  .hero-actions{margin-top:0}
  h1.ht{font-size:42px;letter-spacing:-1px;margin-bottom:24px}
  .stats b{font-size:28px}
  .lede{font-size:17px}
  .map-zoom{opacity:1;transform:none}
  .sec-ttl{font-size:30px}
  .sec-head{margin-bottom:28px}
  .sec-head--row{flex-direction:column;align-items:flex-start}
  .cat-grid,.method-grid{grid-template-columns:1fr}
  .cta-card,.use-card{padding:28px 24px}
  .cta-ttl{font-size:24px}
  .co-block summary{padding:16px 18px}
  .co-ttl{font-size:16px}
  .co-body{grid-template-columns:1fr;padding:0 18px 20px}
  .dl-btns .btn{flex:1 1 100%;justify-content:center}
  .site-footer{grid-template-columns:1fr;gap:32px;padding:40px 20px 32px}
  .foot-copy{padding:18px 20px;flex-direction:column;align-items:flex-start;gap:10px}
}
@media(max-width:480px){
  .prev-grid{grid-template-columns:1fr}
}
/* ≤680 — burger header (circle logo + menu dropdown) */
@media(max-width:680px){
  .nav{padding:12px 20px}
  .nav-logo .nav-logo-full,.nav-logo .nav-logo-sep,.nav-logo .nav-logo-24{display:none}
  .nav-logo .nav-logo-circle{display:inline-flex}
  .nav-burger{display:flex}
  .nav-links{position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--border-soft);box-shadow:0 10px 26px rgba(0,0,0,.08);padding:4px 20px 12px;display:none}
  .nav-links.open{display:flex}
  .nav-links .nl{padding:13px 2px;font-size:15px;border-bottom:1px solid var(--border-soft)}
  .nav-links .nl:last-child{border-bottom:none}
  .nav-cta{padding:8px 16px;font-size:13px}
}
