/* =========================================================
   TRENDS Observatory — hero recreation
   ========================================================= */

:root{
  --navy-950:#04070d;
  --navy-900:#060b16;
  --navy-800:#0a1626;
  --navy-700:#0e1f34;
  --teal:#3fd3e6;
  --teal-dim:#2aa8b8;
  --orange:#e8934a;
  --orange-dim:#c97a38;
  --text-0:#f5f8fb;
  --text-1:#c9d6e4;
  --text-2:#8fa2b8;
  --card-bg:rgba(6,14,26,0.55);
  --card-border:rgba(143,190,210,0.25);
  --header-h:76px;
  font-size:16px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background:#0a1626;
  color:var(--text-1);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;}
ul{list-style:none;margin:0;padding:0;}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:linear-gradient(180deg, rgba(4,7,13,0.96), rgba(4,7,13,0.86));
  border-bottom:1px solid rgba(143,190,210,0.12);
  backdrop-filter: blur(6px);
}
.header-inner{
  max-width:1600px; margin:0 auto;
  height:var(--header-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 28px; gap:24px;
}
.brand{display:flex; align-items:center; gap:14px; min-width:0;}
.brand-badge{
  width:42px;height:42px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 35% 30%, #123246, #05121c);
  border:1px solid rgba(143,190,210,0.35);
  font-size:8px; font-weight:700; letter-spacing:0.5px; color:var(--teal);
  flex:none;
}
.brand-text{display:flex; flex-direction:column; line-height:1.15;}
.brand-text strong{font-size:15px; font-weight:700; color:var(--text-0); letter-spacing:0.2px;}
.brand-text strong .thin{font-weight:400; color:var(--text-1);}
.brand-text em{font-style:normal; font-size:11px; color:var(--text-2);}
.brand-divider{width:1px; height:34px; background:rgba(143,190,210,0.25);}
.brand-text.obs strong{font-style:italic;}

.main-nav{display:flex; align-items:center; gap:6px;}
.nav-item{position:relative;}
.nav-link{
  display:flex; align-items:center; gap:6px;
  padding:10px 12px; font-size:14px; color:var(--text-1);
  border-radius:6px; transition:color .15s, background .15s;
  white-space:nowrap;
}
.nav-link:hover, .nav-link.plain:hover{color:var(--text-0); background:rgba(143,190,210,0.08);}
.nav-link .caret{width:11px;height:11px;transition:transform .15s;}
.nav-item.open .nav-link .caret{transform:rotate(180deg);}

.dropdown{
  position:absolute; top:calc(100% + 8px); left:0;
  min-width:200px; padding:8px;
  background:var(--navy-800); border:1px solid var(--card-border);
  border-radius:10px; box-shadow:0 18px 40px rgba(0,0,0,0.45);
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
  z-index:60;
}
.nav-item.open .dropdown{opacity:1; visibility:visible; transform:translateY(0);}
.dropdown a{display:block; padding:9px 12px; font-size:13.5px; border-radius:6px; color:var(--text-1);}
.dropdown a:hover{background:rgba(63,211,230,0.12); color:var(--teal);}

.header-actions{display:flex; align-items:center; gap:10px; position:relative;}
.icon-btn, .lang-toggle{
  display:flex; align-items:center; gap:6px;
  width:auto; height:38px; padding:0 10px;
  border-radius:8px; color:var(--text-1);
  border:1px solid transparent;
}
.icon-btn{width:38px; justify-content:center; padding:0;}
.icon-btn svg, .lang-toggle svg{width:17px;height:17px;}
.icon-btn:hover, .lang-toggle:hover{background:rgba(143,190,210,0.1); color:var(--text-0);}
.lang-toggle span{font-size:12.5px; font-weight:600; letter-spacing:0.4px;}

/* ---------------- Slim language bar (overlays the hero image, no bar background) ---------------- */
.lang-bar{
  position:absolute; top:0; left:0; right:0; z-index:60;
  display:flex; justify-content:flex-end;
  padding:18px 28px;
  background:none; border:none; backdrop-filter:none;
}
.lang-bar .lang-toggle{
  color:var(--text-0);
  text-shadow:0 1px 6px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.6);
}
.lang-bar .lang-toggle:hover{background:rgba(4,7,13,0.45);}
@media (max-width:600px){
  .lang-bar{padding:12px 14px;}
}

.search-box{
  position:absolute; top:calc(100% + 10px); right:0;
  width:300px; max-width:80vw;
  background:var(--navy-800); border:1px solid var(--card-border);
  border-radius:10px; padding:6px;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
}
.search-box.open{opacity:1; visibility:visible; transform:translateY(0);}
.search-box input{
  width:100%; background:transparent; border:none; outline:none;
  color:var(--text-0); font-size:14px; padding:8px 10px;
}

/* ---------------- Hero ---------------- */
.hero{position:relative;}
.hero-media{
  position:relative;
  width:100%;
  aspect-ratio:1672/941;
  overflow:hidden;
  background:var(--navy-950);
}

@media (max-width:980px){
  .hero-media{
    height:80vh;
  }
}

.hero-media > img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}
.hero-overlay{
  position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(4,7,13,0.4) 0%, rgba(4,7,13,0) 12%),
    linear-gradient(to bottom, rgba(4,7,13,0) 52%, rgba(4,7,13,0.55) 74%, rgba(4,7,13,0.9) 100%);
}
.hero-layer{position:absolute;}

/* generic positioned card using custom props --x/--y/--w set inline */
.trend-card, .survey-card, .sentiment-card{
  left:var(--x); top:var(--y); width:var(--w);
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:10px; padding:.6em .8em;
  backdrop-filter:blur(3px);
  font-size:clamp(9px, 0.85vw, 14px);
}
.card-label{display:block; font-size:0.75em; letter-spacing:0.6px; color:var(--text-2); text-transform:uppercase; margin-bottom:.35em;}
.trend-value{color:var(--teal); font-weight:700; font-size:1.5em; display:flex; align-items:baseline; gap:.5em;}
.trend-value small{color:var(--orange); font-size:.42em; font-weight:600; display:inline-flex; align-items:center; gap:2px;}
.trend-value small .tiny{width:.9em;height:.9em;}
.sparkline{width:100%; height:2.2em; margin-top:.3em; stroke:var(--teal); stroke-width:2;}

.survey-value{color:var(--teal); font-weight:700; font-size:1.7em; line-height:1;}
.card-sub{display:block; font-size:.75em; color:var(--text-2); margin:.2em 0 .5em;}
.survey-people{display:flex; gap:.3em;}
.survey-people svg{width:1.1em; height:1.1em; color:var(--teal); opacity:.85;}

/* title — centered on the page rather than left-aligned with the icon columns */
.title-block{left:46%; top:var(--y); width:var(--w); max-width:560px; transform:translateX(-50%); text-align:center;}
.title-block h1{
  margin:0 0 .15em; color:var(--text-0); font-weight:700;
  font-size:clamp(20px, 3vw, 46px); letter-spacing:-0.5px; line-height:1.05;
  font-family: "Montserrat-Bold";
}
.title-block h2{
  margin:0 0 .5em; color:var(--text-0); font-weight:700;
  font-size:clamp(11px, 1.7vw, 27px); line-height:1.25;
  white-space:nowrap;
}
.title-block .accent{color:var(--orange);}
.title-block .tagline{
  position:relative;
  margin:0; color:var(--text-2); font-style:italic;
  font-size:clamp(10px, 1vw, 16px);
  padding-top:.6em; display:inline-block;
}
.title-block .tagline::before{
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:56px; height:1px; background:var(--teal);
}

/* mid icon row */
.mid-row{
  left:var(--x); top:var(--y); width:var(--w);
  display:flex; justify-content:space-between; gap:0;
}
@media (max-width:780px){
  .mid-row{
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

.mid-row li{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:.6em;
  flex:1; padding:0 .5em; position:relative;
  font-size:clamp(8px, .78vw, 13px); color:var(--text-1);
  cursor:pointer; outline:none; transition:transform .15s ease;
}
.mid-row li + li::before{
  content:""; position:absolute; left:0; top:.2em; bottom:.2em; width:1px;
  background:rgba(143,190,210,0.25);
}
.mid-row svg{width:2.3em; height:2.3em; color:var(--teal); transition:filter .15s ease;}
.mid-row li.orange svg{color:var(--orange);}
.mid-row li:hover, .mid-row li:focus-visible, .mid-row li:active{transform:scale(1.08);}
.mid-row li:hover svg, .mid-row li:focus-visible svg, .mid-row li:active svg{filter:brightness(1.35);}

/* CTA row — centered under the centered title */
.cta-row{left:46%; top:var(--y); transform:translateX(-50%); display:flex; gap:.9em; align-items:center; justify-content:center;}
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  padding:1.5em 1.5em; border-radius:999px;
  font-size:clamp(10px, .95vw, 15px); font-weight:600;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn svg{width:1.1em;height:1.1em;}
.btn-primary{background:linear-gradient(135deg, var(--teal-dim), #1c7686); color:#04121a; box-shadow:0 8px 22px rgba(63,211,230,0.25);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 12px 28px rgba(63,211,230,0.35);}
.btn-outline{background:transparent; color:var(--orange); border:1px solid var(--orange-dim);}
.btn-outline:hover{background:rgba(232,147,74,0.12); transform:translateY(-2px);}

/* left / right icon columns */
.left-col, .right-col{position:absolute; inset:0; overflow:visible; pointer-events:none;}
.pin{position:absolute; display:flex; align-items:center; gap:.6em; pointer-events:auto;}
.pin-circle{
  flex:none; width:clamp(20px, 3.9vw, 60px); height:clamp(20px, 3.9vw, 60px);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 35% 30%, rgba(15,40,55,0.9), rgba(4,10,18,0.9));
  border:1.4px solid var(--teal-dim);
}
.pin-circle svg{width:46%; height:46%;}
.pin-circle.teal{color:var(--teal); border-color:rgba(63,211,230,0.55);}
.pin-circle.orange{color:var(--orange); border-color:rgba(232,147,74,0.55);}
.pin-circle.mixed{
  color:var(--teal); border-color:transparent;
  background:
    radial-gradient(circle at 35% 30%, rgba(15,40,55,0.9), rgba(4,10,18,0.9)) padding-box,
    linear-gradient(135deg, var(--teal), var(--orange)) border-box;
  border:1.4px solid transparent;
}
.pin-circle.mixed svg{stroke:url(#grad-mixed);}
.pin-text h4{
  margin:0; font-size:clamp(7px, .68vw, 12.5px); font-weight:700; color:var(--text-0);
  text-transform:uppercase; letter-spacing:.3px; white-space:nowrap;
}

/* left column: icon aligned with the title line, description wraps below it.
   The container itself is offset by half the icon's width so the icon's
   center (not its edge) lands on --x — keeps the icon flush against the
   text instead of using a transform on the icon, which would visually
   shift it away from the text without the text following. */
.pin-left{
  left:calc(var(--x) - clamp(10px, 1.95vw, 30px)); top:var(--y);
  transform:translateY(-50%);
  align-items:flex-start;
  gap:.3em;
}
.pin-left .pin-text p{
  margin:.3em 0 0; font-size:clamp(6px, .58vw, 10.5px); color:var(--text-2);
  max-width:13em; line-height:1.35; white-space:normal;
}
.pin-left .pin-circle.teal ~ .pin-text h4{color:var(--teal);}
.pin-left .pin-circle.orange ~ .pin-text h4{color:var(--orange);}

/* enhance on hover, keyboard focus, or touch */
.pin-left{outline:none; border-radius:8px; transition:transform .15s ease;}
.pin-left .pin-circle{transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;}
.pin-left:hover,
.pin-left:focus-visible,
.pin-left:active{
  transform:translateY(-50%) scale(1.03);
}
.pin-left:hover .pin-circle,
.pin-left:focus-visible .pin-circle,
.pin-left:active .pin-circle{
  filter:brightness(1.35);
  transform:scale(1.12);
  box-shadow:0 0 18px currentColor;
}

.pin-topic{
  cursor:pointer;
  opacity:.8;
  transition:opacity .15s ease;
  gap:.12em;
}
.pin-topic .pin-circle{
  width:clamp(14px, 2.5vw, 38px); height:clamp(14px, 2.5vw, 38px);
  transition:transform .15s ease, filter .15s ease;
}
.pin-topic .pin-text h4{
  font-size:clamp(6px, .4vw, 8px); letter-spacing:.2px;
  text-shadow:0 1px 4px rgba(0,0,0,0.85), 0 0 10px rgba(0,0,0,0.6);
  white-space:normal; max-width:9.5em; line-height:1.3;
  overflow-wrap:break-word;
}
.pin-topic:hover,
.pin-topic:focus-visible,
.pin-topic:active{
  opacity:1;
}
.pin-topic:hover .pin-circle,
.pin-topic:focus-visible .pin-circle,
.pin-topic:active .pin-circle{
  filter:brightness(1.3); transform:scale(1.1);
}

/* label to the left of the icon: anchor the row's right edge (icon side) at x */
.label-left{right:calc(100% - var(--x)); left:auto; top:var(--y); transform:translateY(-50%);}
.label-left .pin-text{text-align:right;}
.label-left .pin-circle{transform:translateX(50%);}

/* label to the right of the icon: anchor the row's left edge (icon side) at x */
.label-right{left:var(--x); top:var(--y); transform:translateY(-50%);}
.label-right .pin-circle{transform:translateX(-50%);}

/* label below the icon: icon centered on the point, text centered beneath */
.label-below{left:var(--x); top:var(--y); transform:translate(-50%,-50%); flex-direction:column;}
.label-below .pin-text{text-align:center;}

/* sentiment card */
.sentiment-card .sentiment-body{display:flex; align-items:center; gap:.8em;}
.donut{width:3.6em; height:3.6em; flex:none;}
.donut-bg{fill:none; stroke:rgba(143,190,210,0.2); stroke-width:3.6;}
.donut-val{fill:none; stroke:var(--teal); stroke-width:3.6; stroke-linecap:round; transform:rotate(-90deg); transform-origin:center; stroke-dasharray:0 100;}
.donut text{fill:var(--text-0); font-size:9px; font-weight:700; font-family:inherit;}
.sentiment-meta{display:flex; flex-direction:column; line-height:1.1;}
.sentiment-meta strong{color:var(--text-0); font-size:1.4em;}
.sentiment-meta span{color:var(--text-2); font-size:.75em;}
.mini-bars{display:flex; align-items:flex-end; gap:3px; height:2.4em; margin-left:auto;}
.mini-bars i{width:5px; border-radius:2px 2px 0 0; background:linear-gradient(180deg, var(--teal), var(--teal-dim)); height:var(--h); display:block; opacity:.85;}

/* social column */
.social-col{
  position:absolute; right:1.4%; top:50.5%; bottom:auto;
  display:flex; flex-direction:column; gap:.7em;
}
.social-col a{
  width:clamp(18px,2.6vw,36px); height:clamp(18px,2.6vw,36px);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(232,147,74,0.5); color:var(--orange);
  transition:background .15s, transform .15s;
}
.social-col a svg{width:48%; height:48%;}
.social-col a:hover{background:rgba(232,147,74,0.15); transform:translateY(-2px);}

/* bottom strip: scroll-to-explore + stats, overlaid on the hero photo */
.hero-stats-row{
  left:var(--x); top:var(--y); width:var(--w);
  display:flex; align-items:center; flex-wrap:nowrap;
  gap:clamp(8px,1.4vw,20px);
}

.scroll-cta{
  display:flex; align-items:center; gap:.6em; color:var(--teal);
  font-size:clamp(9px,.9vw,13px); font-weight:600; letter-spacing:.3px; text-transform:uppercase;
  text-shadow:0 1px 6px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.7);
  flex:none;
  margin-right:clamp(40px,7vw,130px);
  cursor:pointer; outline:none; transition:transform .15s ease, opacity .15s ease;
}
.scroll-cta svg:first-child{width:1.4em;height:1.4em; animation:bob 1.8s ease-in-out infinite;}
.scroll-cta .chev{width:1em;height:1em;}
@keyframes bob{0%,100%{transform:translateY(0);}50%{transform:translateY(4px);}}
.scroll-cta:hover, .scroll-cta:focus-visible, .scroll-cta:active{transform:scale(1.06);}

.stat{display:flex; align-items:center; gap:.55em; flex:none; cursor:pointer; outline:none; transition:transform .15s ease;}
.stat:hover, .stat:focus-visible, .stat:active{transform:scale(1.06);}
.stat + .stat{
  border-left:1px solid rgba(143,190,210,0.25);
  padding-left:clamp(10px,1.8vw,26px);
}
.stat-icon{
  width:clamp(24px,2.4vw,38px); height:clamp(24px,2.4vw,38px); border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
  border:1px solid currentColor;
  filter:drop-shadow(0 1px 5px rgba(0,0,0,0.85));
  transition:filter .15s ease;
}
.stat-icon svg{width:50%;height:50%;}
.stat-icon.teal{color:var(--teal);}
.stat-icon.orange{color:var(--orange);}
.stat:hover .stat-icon, .stat:focus-visible .stat-icon, .stat:active .stat-icon{filter:drop-shadow(0 1px 5px rgba(0,0,0,0.85)) brightness(1.35);}
.stat-num{align-items:flex-start; flex-direction:column; gap:.1em; font-family: inherit;}
.stat strong{
  font-size:clamp(13px,1.4vw,22px); font-weight:600; color:var(--text-0);
  text-shadow:0 1px 6px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.7);
}
.stat strong.teal-text{color:var(--teal);}
.stat strong.orange-text{color:var(--orange);}
.stat-text{
  font-size:clamp(7px,.75vw,12px); color:var(--text-1); line-height:1.3;
  text-shadow:0 1px 6px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.7);
}

/* ---------------- placeholder sections ---------------- */
.page-section{padding:96px 24px; background:var(--navy-950);}
.page-section.alt{background:var(--navy-900);}
.section-inner{max-width:980px; margin:0 auto;}
.eyebrow{display:inline-block; color:var(--teal); font-size:13px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; margin-bottom:12px;}
.page-section h2{color:var(--text-0); font-size:clamp(24px,3vw,38px); margin:0 0 16px;}
.page-section p{font-size:16px; line-height:1.7; color:var(--text-1); max-width:64ch;}
.page-section .btn{margin-top:28px;}

.objectives-grid, .focus-grid{
  display:grid; gap:18px; margin:28px 0 8px;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
}
.obj-card, .focus-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:12px;
  padding:22px; scroll-margin-top:110px;
  transition:border-color .3s, background .3s;
}
.obj-card h3{color:var(--text-0); margin:0 0 8px; font-size:17px;}
.obj-card p{margin:0; font-size:14px; color:var(--text-2);}
.focus-card{text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px;}
.focus-card svg{width:30px; height:30px; color:var(--teal);}
.focus-card h3{margin:0; font-size:14.5px; color:var(--text-0); font-weight:600;}
.focus-card.flash{border-color:var(--teal); background:rgba(63,211,230,0.12);}

/* ---------------- responsive ---------------- */
@media (max-width:900px){
  .main-nav{display:none;}
  .brand-text.obs{display:none;}
  .brand-divider{display:none;}
  .pin-left .pin-text p{display:none;}
  .hero-footer{justify-content:center; text-align:center;}
  .scroll-cta{margin-right:0; width:100%; justify-content:center;}
}
@media (max-width:600px){
  .header-inner{padding:0 14px;}
  .brand-text em{display:none;}
}

/* Below ~1200px the topic-pin label font has hit its minimum size (see the
   clamp() floor on .pin-topic .pin-text h4) but the % based spacing between
   pins keeps shrinking with the viewport, so permanently-visible labels start
   colliding with their neighbors and clipping past the image edge. Below that
   width, show labels only on hover/focus/tap instead. */
@media (max-width:1200px){
  .pin-topic .pin-text{
    opacity:0; transform:scale(.9);
    transition:opacity .15s ease, transform .15s ease;
    pointer-events:none;
  }
  .pin-topic:hover .pin-text,
  .pin-topic:focus-visible .pin-text,
  .pin-topic:active .pin-text{
    opacity:1; transform:scale(1);
  }
}

/* =========================================================
   PAGE 2: Understanding Society — scoped under .page2-wrap so
   its selectors (many shared names like .hero, .btn, .container)
   never collide with the rules above.
   ========================================================= */
.page2-wrap{
  --bg-navy:        #0a1626;
  --bg-navy-deep:   #04101d;
  --panel-bg:       #0b1f34;
  --panel-border:   rgba(255,255,255,0.07);
  --teal:           #34c3c1;
  --teal-soft:      rgba(52,195,193,0.35);
  --gold:           #c98a4b;
  --gold-soft:      rgba(201,138,75,0.35);
  --blue:           #4f8fd6;
  --blue-soft:      rgba(79,143,214,0.35);
  --text-white:     #f3f6f8;
  --text-body:      #b9c3cc;
  --text-muted:     #8b98a5;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --container-w: 1160px;

  background: var(--bg-navy) url('assets/page2-hero-bg.png') center / cover no-repeat fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Undo the page-1 global svg{width:1em;height:1em} reset — page 2's icons
   size themselves via their own width/height HTML attributes (16px arrows,
   26px feature icons, 32px mini icons, the 220px GM-photo ring), and the
   1em override was shrinking all of them, most visibly making the
   decorative rings behind the GM photo collapse to nearly nothing. */
.page2-wrap svg{ width: auto; height: auto; }

.page2-wrap .container{
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.page2-wrap .btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 22px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.page2-wrap .btn--outline{
  color: var(--teal);
  border: 1.5px solid var(--teal);
  background: transparent;
}
.page2-wrap .btn--outline:hover{
  background: var(--teal);
  color: var(--bg-navy-deep);
  transform: translateY(-1px);
}
.page2-wrap .btn__arrow{ transition: transform 0.25s ease; }
.page2-wrap .btn--outline:hover .btn__arrow{ transform: translateX(3px); }

.page2-wrap .hero{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}
.page2-wrap .hero__bg{ position: absolute; inset: 0; z-index: 0; }
.page2-wrap .hero__bg-img{ width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page2-wrap .hero__overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,14,25,0.95) 0%, rgba(4,14,25,0.86) 30%, rgba(6,20,35,0.55) 58%, rgba(6,20,35,0.35) 100%),
    linear-gradient(0deg, rgba(3,10,18,0.55) 0%, rgba(3,10,18,0) 35%);
}
.page2-wrap .hero__inner{
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; width: 100%;
}
.page2-wrap .hero__content{ max-width: 620px; margin-top: -120px; }
.page2-wrap .hero__inner.container{ max-width: none; padding-left: 28px; padding-right: 28px; }
.page2-wrap .hero__title{
  font-family: var(--font-head); font-weight: 700; color: var(--text-white);
  font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.18; margin: 0 0 22px; letter-spacing: -0.01em;
}
.page2-wrap .hero__subtitle{ font-size: 16px; color: #dbe2e8; 
  /* max-width: 500px;  */
  margin: 0 0 34px; }
.page2-wrap .hero__features{ display: flex; justify-content: flex-end; }
.page2-wrap .feature-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.page2-wrap .feature-item{ --arc-x: 0px; display: flex; align-items: center; gap: 16px; cursor: default; transform: translateX(var(--arc-x)); }
.page2-wrap .feature-item:nth-child(1){ --arc-x: -130px; }
.page2-wrap .feature-item:nth-child(2){ --arc-x: -23px; }
.page2-wrap .feature-item:nth-child(3){ --arc-x: 0px; }
.page2-wrap .feature-item:nth-child(4){ --arc-x: -23px; }
.page2-wrap .feature-item:nth-child(5){ --arc-x: -130px; }
.page2-wrap .feature-icon{
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--teal); background: rgba(6,20,33,0.55); border: 1.5px solid var(--teal-soft);
  box-shadow: 0 0 0 6px rgba(52,195,193,0.06); backdrop-filter: blur(2px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.page2-wrap .feature-item:hover .feature-icon,
.page2-wrap .feature-item:active .feature-icon{
  transform: scale(1.08); border-color: var(--teal); background: rgba(52,195,193,0.12);
  box-shadow: 0 0 0 8px rgba(52,195,193,0.1), 0 0 18px rgba(52,195,193,0.4);
}
.page2-wrap .feature-label{ 
  /* font-family: var(--font-head);  */
  font-weight: 500; 
  font-size: 14.5px; 
  color: var(--text-white); 
  line-height: 1.35; }
.page2-wrap .feature-item:nth-child(4) .feature-icon,
.page2-wrap .feature-item:nth-child(5) .feature-icon{ color: var(--gold); border-color: var(--gold-soft); box-shadow: 0 0 0 6px rgba(201,138,75,0.06); }
.page2-wrap .feature-item:nth-child(4):hover .feature-icon,
.page2-wrap .feature-item:nth-child(4):active .feature-icon,
.page2-wrap .feature-item:nth-child(5):hover .feature-icon,
.page2-wrap .feature-item:nth-child(5):active .feature-icon{
  border-color: var(--gold); background: rgba(201,138,75,0.12);
  box-shadow: 0 0 0 8px rgba(201,138,75,0.1), 0 0 18px rgba(201,138,75,0.4);
}

.page2-wrap .split{ position: relative; z-index: 2; margin-top: -110px; padding: 0; background: rgba(4,16,29,0.8); }
.page2-wrap .split__grid{ max-width: none; padding: 0 8px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
.page2-wrap .panel{
  border: 1px solid var(--panel-border); border-radius: 14px; padding: 40px 38px;
  outline: none; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.page2-wrap .panel--overview{ background: linear-gradient(180deg, rgba(12,33,54,0.55) 0%, rgba(7,21,35,0.55) 100%) !important; backdrop-filter: blur(6px); }
.page2-wrap .panel--gm{ background: linear-gradient(180deg, rgba(17,42,68,0.55) 0%, rgba(10,28,47,0.55) 100%); backdrop-filter: blur(6px); }
.page2-wrap .panel:hover,
.page2-wrap .panel:focus-visible,
.page2-wrap .panel:active{
  transform: translateY(-3px);
  border-color: var(--teal-soft);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35), 0 0 0 1px rgba(52,195,193,0.15);
}
.page2-wrap .panel__title{ 
  /* font-family: var(--font-head);  */
  font-weight: 700; font-size: 20px; letter-spacing: 0.03em; color: var(--text-white); margin: 0 0 14px; }
.page2-wrap .panel__title--sm{ font-size: 15px; letter-spacing: 0.08em; color: var(--teal); font-weight: 600; margin-bottom: 18px; }
.page2-wrap .panel__rule{ width: 46px; height: 3px; border-radius: 2px; background: var(--teal); margin-bottom: 22px; }
.page2-wrap .panel__text{ font-size: 15px; color: var(--text-body); margin: 0 0 18px; }
.page2-wrap .mini-feature-list{ list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--panel-border); display: flex; justify-content: space-between; gap: 10px; }
.page2-wrap .mini-feature{
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding-right: 10px; border-right: 1px solid var(--panel-border);
  outline: none; cursor: pointer;
}
.page2-wrap .mini-feature:last-child{ border-right: none; padding-right: 0; }
.page2-wrap .mini-icon{
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--gold); border: 1.4px solid var(--gold-soft);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.page2-wrap .mini-feature:nth-child(1) .mini-icon{ color: var(--teal); border-color: var(--teal-soft); }
.page2-wrap .mini-feature:nth-child(2) .mini-icon{ color: var(--blue); border-color: var(--blue-soft); }
.page2-wrap .mini-feature:nth-child(3) .mini-icon{ color: var(--gold); border-color: var(--gold-soft); }
.page2-wrap .mini-feature:nth-child(4) .mini-icon{ color: var(--teal); border-color: var(--teal-soft); }
.page2-wrap .mini-feature:nth-child(5) .mini-icon{ color: var(--blue); border-color: var(--blue-soft); }
.page2-wrap .mini-feature:hover .mini-icon,
.page2-wrap .mini-feature:focus-visible .mini-icon,
.page2-wrap .mini-feature:active .mini-icon{
  transform: scale(1.1);
  filter: brightness(1.3);
  box-shadow: 0 0 16px currentColor;
}
.page2-wrap .mini-label{ font-size: 12.5px; font-weight: 500; color: var(--text-white); line-height: 1.35; }
.page2-wrap .gm{ display: grid; grid-template-columns: 225px 1fr; gap: 28px; align-items: start; }
.page2-wrap .gm__photo{ position: relative; width: 250px; height: 250px; margin-top: 18px; flex: none; border-radius: 50%; background: #0d3846; display: flex; align-items: center; justify-content: center; }
.page2-wrap .gm__photo-rings{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; filter: drop-shadow(0 0 3px rgba(226,167,101,0.5)); }
.page2-wrap .gm__photo-img{ position: relative; z-index: 1; display: block; width: 60%; height: 60%; object-fit: cover; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); }
.page2-wrap .gm__content{ position: relative; margin-left: 14px; }
.page2-wrap .gm__quote-mark{ font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 54px; line-height: 1; color: var(--gold); display: block; margin-top: 10px; margin-bottom: 4px; }
.page2-wrap .gm__text{ font-size: 14.5px; margin-bottom: 14px; }
.page2-wrap .gm__signature{ margin-top: 20px; }
.page2-wrap .gm__sig-mark{ font-family: 'Sacramento', cursive; font-size: 34px; line-height: 1; color: var(--teal); margin: 0 0 4px; }
.page2-wrap .gm__name{ 
  /* font-family: var(--font-head);  */
  font-weight: 600; font-size: 15px; color: var(--teal); margin: 0; }
.page2-wrap .gm__role, .page2-wrap .gm__org{ font-size: 13px; color: var(--text-muted); margin: 2px 0 0; }

@media (max-width: 980px){
  .page2-wrap .hero{ min-height: auto; padding-top: 90px; }
  .page2-wrap .hero__inner{ grid-template-columns: 1fr; }
  .page2-wrap .hero__features{ justify-content: flex-start; margin-top: 44px; }
  .page2-wrap .feature-item{ --arc-x: 0px !important; }
  .page2-wrap .mini-feature-list{ flex-wrap: wrap; }
  .page2-wrap .mini-feature{ flex: 1 1 40%; border-right: none; }
}
@media (max-width: 620px){
  .page2-wrap .container{ padding: 0 20px; }
  .page2-wrap .hero__title{ font-size: 2rem; }
  .page2-wrap .panel{ padding: 30px 24px; }
  .page2-wrap .gm{ grid-template-columns: 1fr; }
  .page2-wrap .mini-feature{ flex: 1 1 100%; }
}

/* =========================================================
   PAGE 3: Social Change Index — scoped under .map-wrap for the
   same reason as .page2-wrap (its own :root palette and several
   generic class names like .btn-outline collide with the rest
   of the site otherwise).
   ========================================================= */
.map-wrap{
  --bg: #0a1626;
  --card: #0d1c30;
  --card-2: #0f2138;
  --panel: #0a1728;
  --border: rgba(255, 255, 255, 0.07);
  --text: #eaf1fb;
  --text-dim: #9fb3c8;
  --text-dimmer: #6f849c;
  --teal: #2dd4bf;
  --teal-mid: #3d9cd6;
  --gold: #d9a84e;
  --orange: #e0a458;
  --font: "Segoe UI", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;

  display: block;
  padding-top: 18px;
  padding-bottom: 20px;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(45, 212, 191, 0.08), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(217, 168, 78, 0.06), transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.map-wrap .page{
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 32px 45px;
}

.map-wrap h1, .map-wrap h2, .map-wrap h3 { margin: 0; }
.map-wrap button { font-family: inherit; cursor: pointer; }

/* ---- hero card ---- */
.map-wrap .index-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  aspect-ratio: 1651 / 560;
  min-height: 420px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  margin: 0 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.map-wrap .index-card:hover, .map-wrap .index-card:active {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(45, 212, 191, 0.15);
  transform: translateY(-2px);
}
.map-wrap .index-content { position: relative; z-index: 3; padding: 16px 38px 38px; }
.map-wrap .index-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 8px;
}
.map-wrap .index-title h1 {
  font-size: 22px; letter-spacing: 1.5px; font-weight: 600; color: #ead6be;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.map-wrap .index-title p { margin: 4px 0 0; color: #ead6be; font-size: 13.5px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.map-wrap .tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  background: rgba(6, 14, 26, 0.6); backdrop-filter: blur(6px);
  border: 1px solid var(--border); padding: 5px; border-radius: 999px; margin-right: 60px;
  flex:none;
}
.map-wrap .tab {
  display: flex; align-items: center; gap: 6px; border: none; background: transparent;
  color: var(--text-dim); font-size: 12.5px; font-weight: 600; padding: 8px 14px;
  border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; white-space: nowrap;
}
.map-wrap .tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.map-wrap .tab.active { background: linear-gradient(135deg, #1a8f82, #0d4a44); color: var(--text); }

/* ---- body: stat panel + map ---- */
.map-wrap .index-body { position: relative; }
.map-wrap .stat-panel {
  position: absolute; top: 0px; left: 0; z-index: 2; width: 210px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 16px;
  padding: 18px 38px 22px; display: flex; flex-direction: column;
}
.map-wrap .stat-kicker { margin: 0 0 8px; font-size: 13px; letter-spacing: 1px; font-weight: 400; color: var(--teal); line-height: 1.5; }
.map-wrap .stat-value { font-size: 46px; font-weight: 650; color: var(--teal); line-height: 1; font-variant-numeric: tabular-nums; }
.map-wrap .stat-value .stat-unit { font-size: 26px; font-weight: 700; }
.map-wrap .stat-caption { margin: 6px 0 12px; color: var(--gold); font-weight: 600; font-size: 13px; }
.map-wrap .legend { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.map-wrap .legend li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #ddc0a7; }
.map-wrap .legend li:nth-child(2) { color: #ead6be; }
.map-wrap .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 8px currentColor; }
.map-wrap .dot-high { background: var(--teal); color: var(--teal); }
.map-wrap .dot-mid { background: #ead6be; color: #ead6be; }
.map-wrap .dot-low { background: var(--orange); color: var(--orange); }

/* ---- map (full-bleed card background) ---- */
.map-wrap .map-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block; z-index: 0; transform: scale(1.08) translateX(2%) translateY(-6%); transform-origin: top;
}
.map-wrap .map-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform: scale(1.08) translateX(2%) translateY(-6%); transform-origin: top;
  overflow: visible; z-index: 1; pointer-events: none;
}
.map-wrap .leader-line { stroke: var(--gold); stroke-width: 1; opacity: 0.5; stroke-dasharray: 2 3; }
.map-wrap .labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.map-wrap .chip {
  position: absolute; transform: translate(-50%, -50%);
  background: rgba(8, 18, 32, 0.88); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  padding: 6px 10px; min-width: 88px; backdrop-filter: blur(3px);
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6);
  animation: mapChipFadeUp 0.45s ease both; pointer-events: auto;
}
@keyframes mapChipFadeUp {
  from { opacity: 0; transform: translate(-50%, -42%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.map-wrap .chip-name { font-size: 10.5px; color: var(--text-dim); white-space: nowrap; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.map-wrap .flag-ic { width: 14px; height: 9.3px; flex: none; border-radius: 1px; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.25); }
.map-wrap .chip-value { font-size: 15px; font-weight: 800; color: var(--text); }
.map-wrap .chip-high .chip-value { color: var(--teal); }
.map-wrap .chip-mid .chip-value { color: #ead6be; }
.map-wrap .chip-low .chip-value { color: var(--orange); }
.map-wrap .chip-highlight {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(33, 168, 160, 0.14));
  border-color: rgba(45, 212, 191, 0.55); padding: 9px 14px; min-width: 108px;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25), 0 10px 24px -8px rgba(45, 212, 191, 0.35);
}
.map-wrap .chip-highlight .chip-name { color: #bdf5ec; }
.map-wrap .chip-highlight .chip-value { font-size: 18px; color: var(--teal); }
.map-wrap .report-btn {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  background: rgba(6, 14, 26, 0.35); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4); color: var(--text);
  font-size: 12.5px; font-weight: 600; padding: 10px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.map-wrap .report-btn:hover { background: rgba(6, 14, 26, 0.55); border-color: rgba(255, 255, 255, 0.65); transform: translateX(2px); }

/* ---- reports & publications ---- */
.map-wrap .reports-row { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; margin: 20px 10px 0; }
.map-wrap .reports-row > * { min-width: 0; }
.map-wrap .reports-card, .map-wrap .magazine-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 26px 38px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.map-wrap .reports-card:hover, .map-wrap .reports-card:active,
.map-wrap .magazine-card:hover, .map-wrap .magazine-card:active {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}
.map-wrap .reports-card { display: flex; gap: 28px; align-items: flex-start; min-width: 0; }
.map-wrap .reports-info { flex: 0 0 280px; align-self: stretch; display: flex; flex-direction: column; }
.map-wrap .reports-heading h2 {
  font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; color: #ead6be; white-space: nowrap;
}
.map-wrap .reports-heading p { margin: 8px 0 22px; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.map-wrap .pub-scroll { position: relative; flex: 1; min-width: 0; }
.map-wrap .pub-grid {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px;
}
.map-wrap .pub-grid::-webkit-scrollbar { display: none; }
.map-wrap .pub-card {
  position: relative; flex: 0 0 150px; height: 250px; border-radius: 14px; overflow: hidden;
  scroll-snap-align: start; border: 1px solid var(--border); cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display:block; text-decoration:none; color:inherit;
}
.map-wrap .pub-card:hover { transform: translateY(-3px); border-color: rgba(45, 212, 191, 0.35); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); }
.map-wrap .pub-card-pulse { animation: mapCardPulse 0.8s ease 2; }
@keyframes mapCardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
  50% { box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.35); }
}
.map-wrap .pub-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 12px 12px; opacity: 0.12;
}
.map-wrap .pub-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 10, 20, 0.88) 100%);
}
.map-wrap .cover-1, .map-wrap .cover-2, .map-wrap .cover-3, .map-wrap .cover-4 { background-size: cover; background-position: center; }
/* .map-wrap .cover-1 { background-image: url("assets/publication/Publication-13.jpg"); }
.map-wrap .cover-2 { background-image: url("assets/publication/Publication-14.jpg"); }
.map-wrap .cover-3 { background-image: url("assets/publication/Publication-13.jpg"); }
.map-wrap .cover-4 { background-image: url("assets/publication/Publication-14.jpg"); } */
.map-wrap .pub-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px; border-radius: 999px; color: #fff;
}
.map-wrap .pub-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.map-wrap .pub-body h3 { font-size: 13px; font-weight: 700; line-height: 1.3; color: #fff; }
.map-wrap .pub-body p { margin: 0; font-size: 10.5px; color: rgba(255, 255, 255, 0.75); line-height: 1.4; }
.map-wrap .pub-next, .map-wrap .pub-prev {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(6, 14, 26, 0.7); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; line-height: 1;
  cursor: pointer; backdrop-filter: blur(4px); z-index: 3;
  transition: background 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.map-wrap .pub-next { right: -10px; }
.map-wrap .pub-prev { left: -10px; }
.map-wrap .pub-next:hover, .map-wrap .pub-prev:hover { background: rgba(6, 14, 26, 0.9); }
.map-wrap .pub-next[disabled], .map-wrap .pub-prev[disabled] { opacity: 0; visibility: hidden; pointer-events: none; }
.map-wrap .btn-outline, .map-wrap .btn-solid {
  border-radius: 999px; padding: 11px 22px; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border);
}
.map-wrap .btn-outline {
  background: linear-gradient(135deg, #1a8f82, #0d4a44); color: var(--text); border: none;
  align-self: flex-start; margin-top: 4px; padding: 10px 16px;
}
.map-wrap .btn-outline:hover { filter: brightness(1.08); }
.map-wrap .btn-solid { background: linear-gradient(135deg, #1a8f82, #0d4a44); color: var(--text); border: none; margin-top: 4px; }
.map-wrap .btn-solid:hover { filter: brightness(1.08); }

/* ---- magazine ---- */
.map-wrap .magazine-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.map-wrap .magazine-card h2 {
  font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; color: #ead6be;
}
.map-wrap .magazine-card p { margin: 10px 0 20px; color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.map-wrap .magazine-stack { position: relative; width: 100%; height: 180px; margin-top: 20px; margin-bottom: 8px; }
.map-wrap .mag {
  position: absolute; width: 108px; height: 140px; border-radius: 10px; right: 30%; top: 0;
  background-size: cover; background-position: center;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.65); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  cursor: pointer;
}
.map-wrap .mag-1 {
  width: 130px; height: 180px;
  /* background-image: url("assets/Magazine/Magazine-1.jpg"); */
  transform: rotate(-4deg); z-index: 3; display: flex; align-items: flex-end; padding: 10px;
}
.map-wrap .mag-2 {
  width: 130px; height: 180px;
  /* background-image: url("assets/Magazine/Magazine-2.jpg"); */
  transform: translateX(26px) rotate(4deg); z-index: 2;
}
.map-wrap .mag-3 { background: transparent; transform: translateX(52px) rotate(10deg); z-index: 1; }
.map-wrap .mag-title {
  font-size: 13px; font-weight: 800; color: #fff; line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* magazine hover animation */
.map-wrap .magazine-stack:hover .mag-1 {
  transform: translateX(-70px) translateY(-4px) rotate(0deg);
  box-shadow: 0 22px 34px -14px rgba(0, 0, 0, 0.75);
}
.map-wrap .magazine-stack:hover .mag-2 {
  transform: translateX(70px) translateY(-4px) rotate(0deg);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.7);
}

/* ---- toast ---- */
.map-wrap .toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: #101f36; border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text);
  font-size: 13px; padding: 12px 20px; border-radius: 12px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.7);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50; max-width: 90vw; text-align: center;
}
.map-wrap .toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .map-wrap .index-card { aspect-ratio: auto; min-height: 520px; }
  .map-wrap .reports-row { grid-template-columns: 1fr; margin-top: 60px; }
  .map-wrap .magazine-card { align-items: flex-start; text-align: left; }
  .map-wrap .magazine-stack { display: flex; justify-content: center; }
}
@media (max-width: 620px) {
  .map-wrap .index-title h1 { font-size: 18px; }
  .map-wrap .stat-value { font-size: 38px; }
  .map-wrap .tabs { gap: 4px; }
  .map-wrap .tab { padding: 7px 10px; font-size: 11.5px; }
  .map-wrap .index-card { min-height: 640px; }
  .map-wrap .stat-panel { width: calc(100% - 40px); }
  .map-wrap .report-btn { right: 16px; bottom: 16px; padding: 8px 14px; font-size: 11.5px; }
  .map-wrap .reports-card { flex-direction: column; align-items: stretch; }
  .map-wrap .reports-info { flex: 0 0 auto; }
  .map-wrap .pub-scroll { width: 100%; }
  .map-wrap .reports-card, .map-wrap .magazine-card { padding: 22px 20px; }
}

/* =========================================================
   FOOTER: Partners + MOU + Live Dashboard — scoped under
   .footer-wrap for the same reason as .page2-wrap / .map-wrap
   (generic class names like .panel and .btn-outline collide
   with the rest of the site otherwise).
   ========================================================= */
  .footer-wrap{
    
  background-color: #0a1626;
  }
.footer-wrap .page{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px 0;
}

/* ---- shared panel look ---- */
.footer-wrap .split-section{
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  width: calc(100vw - 20px);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: calc(-50vw + 10px);
  margin-right: calc(-50vw + 10px);
  box-sizing: border-box;
  border: 1px solid rgba(160,190,210,0.35);
  border-radius: 18px;
  overflow:hidden;
}

.footer-wrap .panel{
  position:relative;
  background: linear-gradient(160deg, #0a1c2e 0%, #061625 100%);
  overflow:hidden;
  padding: 26px 38px;
  min-height: 140px;
  transition: transform 0.3s ease;
}
.footer-wrap .panel:hover, .footer-wrap .panel:active{
  transform: scale(1.02);
}

.footer-wrap .panel-inner{ position:relative; z-index:2; max-width: 560px; }

.footer-wrap .panel-title{
  margin:0 0 12px;
  /* font-family: "Segoe UI", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; */
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ead6be;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.footer-wrap .panel-text{
  margin: 0 0 20px;
  color: #c3d2df;
  font-size: 13px;
  line-height: 1.6;
  max-width: 440px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.7);
}

/* ---- buttons ---- */
.footer-wrap .btn-solid{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1a8f82, #0d4a44);
  color: #eef5f4;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: filter 0.25s ease, transform 0.2s ease;
}
.footer-wrap .btn-solid:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.footer-wrap .btn-solid .arrow{ transition: transform 0.25s ease; }
.footer-wrap .btn-solid:hover .arrow{ transform: translateX(3px); }

/* ---- our partners ---- */
.footer-wrap .partners-panel{
  padding-bottom: 22px;
  min-height: 260px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 24px;
  flex-wrap: wrap;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.footer-wrap .partners-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("assets/partners-globe.png");
  background-size: 160% auto;
  background-position: 42% 0%;
  background-repeat: no-repeat;
  z-index:0;
}
.footer-wrap .partners-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(160deg, rgba(10,28,46,0.88) 0%, rgba(6,22,37,0.85) 100%);
  z-index:1;
}

.footer-wrap .partners-panel .panel-inner{ flex: 1 1 290px; min-width: 290px; }

.footer-wrap .partners-panel .panel-text{ max-width: 290px; }

.footer-wrap .partner-avatars{
  position: relative;
  z-index: 2;
  display:flex;
  align-items:center;
  gap: 16px;
  flex-shrink: 0;
}

.footer-wrap .avatar-circle{
  position:relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #eef1f3;
  border: 1.5px dashed #c99b5f;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow: 0 0 0 4px rgba(3,10,19,0.6);
}

.footer-wrap .avatar-logo{ font-size: 1.5rem; line-height:1; }

.footer-wrap .avatar-caption{
  position:absolute;
  top: 100%;
  left:50%;
  transform: translateX(-50%);
  margin-top: 6px;
  width: 90px;
  text-align:center;
  font-size: 0.5rem;
  line-height:1.2;
  color: #62727e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity:0;
  pointer-events:none;
  transition: opacity 0.2s ease;
}
.footer-wrap .avatar-circle:hover .avatar-caption{ opacity:1; }

.footer-wrap .avatar-more{
  background: rgba(6,20,33,0.9);
  border-style: dashed;
  border-color: #c99b5f;
}
.footer-wrap .avatar-more span{
  font-size: 0.52rem;
  font-weight:700;
  letter-spacing: 0.04em;
  color: #e0b478;
  text-align:center;
}

/* ---- partner logo tiles ---- */
.footer-wrap .partner-logos{
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  flex: 1 1 440px;
  min-width: 440px;
  max-width: 600px;
}

.footer-wrap .partner-logo{
  display:block;
  width: 100%;
  aspect-ratio: 708 / 282;
  padding: 0;
  border: 1px solid rgba(201,155,95,0.45);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(3,10,19,0.55);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.footer-wrap .partner-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit: contain;
}
.footer-wrap .partner-logo:hover,
.footer-wrap .partner-logo:focus-visible{
  transform: translateY(-2px);
  border-color: #e0b478;
  box-shadow: 0 0 0 3px rgba(3,10,19,0.55), 0 8px 18px rgba(0,0,0,0.35);
  outline: none;
}

/* ---- partner popup ---- */
.partner-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
  background: rgba(2,8,16,0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.partner-modal.is-open{ opacity:1; visibility:visible; }
.partner-modal__dialog{
  position: relative;
  max-width: min(920px, 100%);
  max-height: 100%;
  display:flex;
  flex-direction:column;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.partner-modal.is-open .partner-modal__dialog{ transform: none; }
.partner-modal__img{
  display:block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  width:auto;
  height:auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.partner-modal__caption{
  margin-top: 12px;
  text-align:center;
  font-size: 0.85rem;
  color: #d6dde3;
}
.partner-modal__close{
  position:absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #c99b5f;
  background: #0b1f34;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.partner-modal__close:hover,
.partner-modal__close:focus-visible{ background: #c98a4b; outline:none; }
body.modal-open{ overflow:hidden; }

/* ---- mou & collaborations ---- */
.footer-wrap .mou-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  background-image:
    linear-gradient(160deg, rgba(10,28,46,0.88) 0%, rgba(6,22,37,0.85) 100%),
    url("assets/image_shakehand.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* ---- live observatory dashboard ---- */
.footer-wrap .dashboard-section{
  margin-top: 20px;
  width: calc(100vw - 20px);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: calc(-50vw + 10px);
  margin-right: calc(-50vw + 10px);
  box-sizing: border-box;
}

.footer-wrap .dashboard-inner{
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0c2032 0%, #061625 100%);
  border: 1px solid rgba(120,150,170,0.16);
  border-radius: 22px;
  padding: 34px 40px 32px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.footer-wrap .dashboard-inner::before{
  content: "";
  position: absolute; top: -40%; right: -10%; width: 55%; aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(45,212,191,0.16) 0%, rgba(45,212,191,0) 70%);
  pointer-events: none;
}
.footer-wrap .dashboard-inner::after{
  content: "";
  position: absolute; bottom: -50%; left: -6%; width: 40%; aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(224,180,120,0.12) 0%, rgba(224,180,120,0) 70%);
  pointer-events: none;
}
.footer-wrap .dashboard-inner:hover, .footer-wrap .dashboard-inner:active{
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.65);
}

.footer-wrap .eyebrow{
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  margin:0 0 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ead6be;
}
.footer-wrap .eyebrow::before{
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #4fe0d8;
  box-shadow: 0 0 0 4px rgba(79,224,216,0.18), 0 0 10px rgba(79,224,216,0.7);
  animation: dashPulse 2.2s ease-in-out infinite;
}
@keyframes dashPulse{ 0%,100%{opacity:1;} 50%{opacity:.45;} }

.footer-wrap .dashboard-title{
  position: relative; z-index: 1;
  margin: 0 0 22px;
  font-size: clamp(12.5px, 1vw, 14px);
  font-weight: 300;
  letter-spacing: 0;
  color: #c3cdd4;
}

.footer-wrap .stats-row{
  position: relative; z-index: 1;
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.footer-wrap .stat-card{
  background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(120,150,170,0.16);
  border-radius: 14px;
  padding: 20px 14px;
  text-align:center;
  display: flex; flex-direction: column; align-items: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.footer-wrap .stat-card:hover{
  border-color: rgba(201,155,95,0.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.55);
  background: linear-gradient(160deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
}
.footer-wrap .stat-card--highlight{
  border-color: rgba(46,196,196,0.4);
  background: linear-gradient(160deg, rgba(79,224,216,0.14) 0%, rgba(79,224,216,0.02) 100%);
}
.footer-wrap .stat-card--highlight:hover{ border-color: #4fe0d8; }

.footer-wrap .stat-icon{
  width: 46px;
  height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(224,180,120,0.4);
  border-radius: 50%;
  background: rgba(224,180,120,0.08);
  margin-bottom: 14px;
  color: #e0b478;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-wrap .stat-card:hover .stat-icon{
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(224,180,120,0.1), 0 0 16px rgba(224,180,120,0.35);
}
.footer-wrap .stat-icon svg{
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.footer-wrap .stat-card--highlight .stat-icon{
  color: #4fe0d8;
  border-color: rgba(79,224,216,0.45);
  background: rgba(79,224,216,0.1);
}
.footer-wrap .stat-card--highlight:hover .stat-icon{
  box-shadow: 0 0 0 6px rgba(79,224,216,0.12), 0 0 16px rgba(79,224,216,0.45);
}

.footer-wrap .stat-number{
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #e0b478;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(224,180,120,0.35);
  font-family: "Montserrat-Medium";
}
.footer-wrap .stat-number--teal{ color: #4fe0d8; text-shadow: 0 0 22px rgba(79,224,216,0.4); }

.footer-wrap .stat-label{
  font-size: 0.76rem;
  color: #93a2ae;
  line-height:1.35;
}

/* ---- responsive ---- */
@media (max-width: 980px){
  .footer-wrap .split-section{ grid-template-columns: 1fr; }
  .footer-wrap .partners-panel{ border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer-wrap .stats-row{ grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 620px){
  .footer-wrap .page{ padding: 0 18px 0; }
  .footer-wrap .partners-panel{ flex-wrap: wrap; }
  .footer-wrap .avatar-circle{ width: 60px; height: 60px; }
  .footer-wrap .avatar-logo{ font-size: 1.15rem; }
  .footer-wrap .dashboard-section{ padding: 0 18px; }
  .footer-wrap .panel{ padding: 26px 22px; }
  .footer-wrap .stats-row{ grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   ARABIC RTL SITE LAYER — header, mobile nav, footer, inner-page components
   Added for the full Arabic-language, multi-page rebuild. Keeps the same
   navy/teal/orange visual identity, card language, spacing and radii used
   throughout the sections above; this layer only adds the site chrome
   (header/footer/mobile nav) and the inner-page building blocks the
   original design.html mockup didn't include.
   ========================================================================= */

:root{
  --font-ar:"Cairo","Montserrat","Segoe UI",Tahoma,Arial,sans-serif;
}
html[dir="rtl"] body{
  direction:rtl;
  text-align:right;
  font-family:var(--font-ar);
}
html[dir="rtl"] .page2-wrap,
html[dir="rtl"] .map-wrap{ font-family:var(--font-ar); }
html[dir="rtl"] .gm__sig-mark{ font-family:'Sacramento', cursive; } /* signature stays script-style */

/* Flip directional glyphs/icons (chevrons, arrows) so "forward" reads
   toward the left, as expected in RTL. Apply the .flip-rtl class to any
   icon/glyph that visually implies horizontal direction. */
html[dir="rtl"] .flip-rtl{ transform:scaleX(-1); display:inline-block; }

/* ---------------- Skip link (a11y) ---------------- */
.skip-link{
  position:fixed; top:-60px; left:50%; transform:translateX(-50%);
  background:var(--teal); color:#04121a; font-weight:700; font-size:14px;
  padding:10px 18px; border-radius:0 0 10px 10px; z-index:200; transition:top .15s ease;
}
.skip-link:focus{ top:0; }

/* ---------------- Header / nav (real content) ---------------- */
.brand{ cursor:pointer; }
.brand-text strong{ font-family:var(--font-ar); }
html[dir="rtl"] .dropdown{ left:auto; right:0; }
html[dir="rtl"] .search-box{ right:auto; left:0; }
.nav-link.plain{ }
.main-nav a.nav-link{ }
.nav-item.current > .nav-link{ color:var(--teal); }

/* Mobile nav toggle button (hamburger) — hidden on desktop */
.nav-toggle{
  display:none; width:38px; height:38px; border-radius:8px;
  align-items:center; justify-content:center; color:var(--text-1);
}
.nav-toggle svg{ width:20px; height:20px; }
.nav-toggle:hover{ background:rgba(143,190,210,0.1); color:var(--text-0); }

/* Mobile off-canvas panel */
.mobile-nav{
  position:fixed; inset:0; z-index:150;
  visibility:hidden; pointer-events:none;
}
.mobile-nav.open{ visibility:visible; pointer-events:auto; }
.mobile-nav__backdrop{
  position:absolute; inset:0; background:rgba(3,8,15,0.6);
  opacity:0; transition:opacity .2s ease;
}
.mobile-nav.open .mobile-nav__backdrop{ opacity:1; }
.mobile-nav__panel{
  position:absolute; top:0; right:0; height:100%; width:min(320px,86vw);
  background:var(--navy-800); border-left:1px solid var(--card-border);
  padding:20px 18px 30px; overflow-y:auto;
  transform:translateX(100%); transition:transform .22s ease;
  display:flex; flex-direction:column; gap:4px;
}
html[dir="rtl"] .mobile-nav__panel{ right:auto; left:0; border-left:none; border-right:1px solid var(--card-border); transform:translateX(-100%); }
.mobile-nav.open .mobile-nav__panel{ transform:translateX(0); }
.mobile-nav__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.mobile-nav__close{ width:36px; height:36px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--text-1); }
.mobile-nav__close svg{ width:18px; height:18px; }
.mobile-nav__close:hover{ background:rgba(143,190,210,0.1); }
.mnav-link{
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 10px; font-size:15px; font-weight:600; color:var(--text-0);
  border-bottom:1px solid rgba(143,190,210,0.1);
}
.mnav-group{ border-bottom:1px solid rgba(143,190,210,0.1); }
.mnav-group > .mnav-link{ border-bottom:none; }
.mnav-group .caret{ width:12px; height:12px; transition:transform .15s ease; color:var(--text-2); }
.mnav-group.open .caret{ transform:rotate(180deg); }
.mnav-sub{ max-height:0; overflow:hidden; transition:max-height .2s ease; padding:0 10px; }
.mnav-group.open .mnav-sub{ max-height:400px; padding-bottom:8px; }
.mnav-sub a{ display:block; padding:9px 6px; font-size:13.5px; color:var(--text-2); }
.mnav-sub a:hover{ color:var(--teal); }
.mnav-cta{ margin-top:16px; }

@media (max-width:900px){
  .nav-toggle{ display:flex; }
}

/* ---------------- Global toast (site-wide, not just map-wrap) ---------------- */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%, 16px);
  background:#101f36; border:1px solid rgba(255,255,255,0.14); color:var(--text-0);
  font-size:13.5px; padding:12px 20px; border-radius:12px; line-height:1.5;
  box-shadow:0 16px 34px -14px rgba(0,0,0,0.7);
  opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease;
  z-index:200; max-width:90vw; text-align:center;
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ---------------- Back to top ---------------- */
.back-to-top{
  position:fixed; bottom:26px; left:26px; z-index:90;
  width:46px; height:46px; border-radius:50%;
  background:var(--navy-800); border:1px solid var(--card-border); color:var(--teal);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,0.4);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
}
html[dir="rtl"] .back-to-top{ left:auto; right:26px; }
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top svg{ width:20px; height:20px; transform:rotate(-90deg); }
html[dir="rtl"] .back-to-top svg{ transform:rotate(90deg); }
.back-to-top:hover{ color:var(--text-0); border-color:var(--teal-dim); }

/* ---------------- Inner-page hero banner ---------------- */
.page-hero{
  position:relative; overflow:hidden;
  min-height:280px; display:flex; align-items:flex-end;
  padding:150px 0 46px;
}
.page-hero__bg{ position:absolute; inset:0; z-index:0; }
.page-hero__bg img{ width:100%; height:100%; object-fit:cover; }
.page-hero__bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(4,7,13,0.55) 0%, rgba(6,13,24,0.88) 78%, rgba(6,13,24,0.98) 100%);
}
.page-hero__inner{ position:relative; z-index:1; max-width:1160px; margin:0 auto; padding:0 28px; width:100%; }
.breadcrumb{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:var(--text-2); margin-bottom:16px; background-color: transparent; }
.breadcrumb a{ color:var(--text-2); }
.breadcrumb a:hover{ color:var(--teal); }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color:var(--teal); }
.page-hero h1{ color:var(--text-0); font-size:clamp(26px,3.6vw,44px); margin:0 0 12px; font-weight:700; font-family: "Montserrat-bold"; }
.page-hero p{ color:var(--text-1); font-size:16px; max-width:62ch; margin:0; line-height:1.7; }

/* ---------------- Generic content section shell ---------------- */
.content-section{ padding:70px 0; background:var(--navy-950); }
.content-section.alt{ background:var(--navy-900); }
/* Vision & Mission / Core Values sit between the page2-wrap and map-wrap
   blocks on the homepage, so match their navy tone instead of the darker
   site-wide default — keeps the long scroll from reading as flat black. */
#vision-mission.content-section{ background:#0a1626; }
#values.content-section{ background:#0f2138; }
.content-section .wrap{ max-width:1160px; margin:0 auto; padding:0 28px; }
.content-section .wrap--narrow{ max-width:880px; }
.section-head{ margin-bottom:34px; max-width:74ch; }
.section-head .eyebrow{ display:block; }
.section-head h2{ color:var(--text-0); font-size:clamp(22px,2.8vw,32px); margin:0 0 12px; font-weight:700; }
.section-head p{ color:var(--text-1); font-size:15.5px; line-height:1.8; margin:0; }
.anchor-target{ scroll-margin-top:100px; }

/* ---------------- Value / capability cards ---------------- */
.value-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; }
.value-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:14px;
  padding:26px 24px; transition:transform .2s ease, border-color .2s ease;
}
.value-card:hover{ transform:translateY(-3px); border-color:rgba(63,211,230,0.4); }
.value-card .v-icon{
  width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--teal); border:1.4px solid rgba(63,211,230,0.4); margin-bottom:16px; flex:none;
}
.value-card:nth-child(even) .v-icon{ color:var(--orange); border-color:rgba(232,147,74,0.4); }
.value-card .v-icon svg{ width:22px; height:22px; }
.value-card h3{ color:var(--text-0); font-size:16.5px; margin:0 0 8px; font-weight:700; }
.value-card p{ color:var(--text-2); font-size:14px; line-height:1.7; margin:0; }

/* ---------------- Study stat blocks (climate / cohesion pages) ---------------- */
.study-header{ display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:8px; }
.study-header .btn{ flex:none; }
.study-meta{ display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 4px; }
.study-tag{
  font-size:12px; font-weight:700; letter-spacing:.3px; padding:6px 14px; border-radius:999px;
  background:rgba(63,211,230,0.12); color:var(--teal); border:1px solid rgba(63,211,230,0.3);
}
.stat-block-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin:20px 0 6px; }
.stat-block{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:12px;
  padding:18px 16px; text-align:center;
}
.stat-block strong{ display:block; font-size:26px; font-weight:800; color:var(--teal); }
.stat-block span{ display:block; font-size:12.5px; color:var(--text-2); margin-top:6px; line-height:1.5; }
.study-subsection{ padding:30px 0; border-top:1px solid rgba(143,190,210,0.12); }
.study-subsection:first-of-type{ border-top:none; }
.study-subsection h3{ color:var(--text-0); font-size:19px; margin:0 0 12px; display:flex; align-items:center; gap:10px; }
.study-subsection h3 .num{ color:var(--teal); font-size:13px; font-weight:800; border:1px solid rgba(63,211,230,0.4); border-radius:50%; width:26px; height:26px; display:flex; align-items:center; justify-content:center; flex:none; }
.study-subsection p{ color:var(--text-1); font-size:15px; line-height:1.85; margin:0; }
.indicator-chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.indicator-chip{
  font-size:13px; padding:8px 14px; border-radius:999px; background:rgba(143,190,210,0.08);
  border:1px solid var(--card-border); color:var(--text-1);
}
.data-note{
  margin-top:10px; font-size:12.5px; color:var(--text-2); background:rgba(143,190,210,0.06);
  border-inline-start:3px solid var(--teal-dim); padding:10px 14px; border-radius:0 8px 8px 0; line-height:1.6;
}
html[dir="rtl"] .data-note{ border-inline-start:3px solid var(--teal-dim); }

/* ---------------- Research theme / MOU / partner cards ---------------- */
.card-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.theme-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:14px; padding:24px;
  display:flex; align-items:flex-start; gap:14px; transition:transform .2s ease, border-color .2s ease; cursor:pointer;
}
.theme-card:hover{ transform:translateY(-3px); border-color:rgba(63,211,230,0.4); }
.theme-card .t-icon{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--teal); background:rgba(63,211,230,0.1); flex:none; }
.theme-card .t-icon svg{ width:22px; height:22px; }
.theme-card h3{ color:var(--text-0); font-size:15.5px; margin:0 0 6px; font-weight:700; }
.theme-card p{ color:var(--text-2); font-size:13px; margin:0; line-height:1.65; }

.mou-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:14px; padding:26px;
  transition:transform .2s ease, border-color .2s ease;
  cursor:pointer;
}
.mou-card:hover,
.mou-card:focus-visible{ transform:translateY(-3px); border-color:rgba(232,147,74,0.4); outline:none; }
.mou-card .m-badge{ display:flex; align-items:center; justify-content:center; height:72px; padding:8px 12px; border-radius:10px; background:#fff; border:1px solid rgba(232,147,74,0.35); margin-bottom:16px; overflow:hidden; }
.mou-card .m-badge img{ max-width:100%; max-height:100%; object-fit:contain; display:block; }
.mou-card h3{ color:var(--text-0); font-size:16px; margin:0 0 8px; font-weight:700; }
.mou-card p{ color:var(--text-2); font-size:13.5px; line-height:1.75; margin:0; }

.partner-type-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; }
.partner-type-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:12px; padding:20px;
  text-align:center; transition:transform .2s ease, border-color .2s ease;
}
.partner-type-card:hover{ transform:translateY(-3px); border-color:rgba(63,211,230,0.4); }
.partner-type-card .p-icon{ width:40px; height:40px; margin:0 auto 12px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--teal); border:1.4px solid rgba(63,211,230,0.35); }
.partner-type-card .p-icon svg{ width:19px; height:19px; }
.partner-type-card h3{ color:var(--text-0); font-size:14.5px; margin:0; font-weight:600; }

/* ---------------- Report / publication grid (reports.html) ---------------- */
.filter-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.filter-chip{
  font-size:13px; font-weight:600; padding:9px 18px; border-radius:999px;
  background:rgba(143,190,210,0.08); border:1px solid var(--card-border); color:var(--text-2);
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover{ color:var(--text-0); }
.filter-chip.active{ background:linear-gradient(135deg,#1a8f82,#0d4a44); color:#fff; border-color:transparent; }
.report-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:20px; }
.report-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:14px; overflow:hidden;
  transition:transform .2s ease, border-color .2s ease; display:flex; flex-direction:column;
}
.report-card[hidden]{ display:none; }
.report-card:hover{ transform:translateY(-4px); border-color:rgba(63,211,230,0.4); }
.report-card__top{ padding:20px 22px 0; }
.report-card .r-tag{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:.4px; color:var(--teal); background:rgba(63,211,230,0.12); padding:5px 12px; border-radius:999px; margin-bottom:14px; }
.report-card h3{ color:var(--text-0); font-size:16px; margin:0 0 8px; font-weight:700; line-height:1.4; }
.report-card p{ color:var(--text-2); font-size:13.5px; line-height:1.7; margin:0; }
.report-card__bottom{ padding:16px 22px 22px; margin-top:auto; display:flex; align-items:center; gap:8px; }
.report-card__bottom .link-cta{ font-size:13px; font-weight:700; color:var(--orange); display:inline-flex; align-items:center; gap:6px; }
.report-card__bottom .link-cta svg{ width:14px; height:14px; }

/* ---------------- Magazine issues ---------------- */
.issue-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:18px; max-width:640px; }
.issue-card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:12px; padding:22px 16px;
  text-align:center; transition:transform .2s ease, border-color .2s ease;
}
.issue-card:hover{ transform:translateY(-3px); border-color:rgba(232,147,74,0.4); }
.issue-card .i-num{ font-size:26px; font-weight:800; color:var(--orange); margin-bottom:6px; }
.issue-card span{ font-size:12.5px; color:var(--text-2); }

/* ---------------- Forms (contact / subscribe) ---------------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:13px; font-weight:600; color:var(--text-1); }
.form-field input, .form-field textarea{
  background:rgba(143,190,210,0.06); border:1px solid var(--card-border); border-radius:10px;
  padding:12px 14px; font-size:14px; color:var(--text-0); font-family:inherit; outline:none;
  transition:border-color .15s ease, background .15s ease;
}
.form-field input:focus, .form-field textarea:focus{ border-color:var(--teal-dim); background:rgba(63,211,230,0.06); }
.form-field textarea{ resize:vertical; min-height:120px; }
.form-field .field-error{ font-size:12px; color:var(--orange); min-height:16px; }
.form-field.invalid input, .form-field.invalid textarea{ border-color:#e0674f; }
.form-actions{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.form-note{ font-size:12.5px; color:var(--text-2); }
.contact-card{ background:var(--card-bg); border:1px solid var(--card-border); border-radius:16px; padding:34px; }
.form-success{
  display:none; align-items:center; gap:12px; background:rgba(63,211,230,0.1);
  border:1px solid rgba(63,211,230,0.35); color:var(--text-0); border-radius:12px; padding:16px 18px; font-size:14px;
}
.form-success.show{ display:flex; }
.form-success svg{ width:22px; height:22px; color:var(--teal); flex:none; }

.subscribe-inline{ display:flex; gap:10px; flex-wrap:wrap; max-width:420px; }
.subscribe-inline input{
  flex:1; min-width:160px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14);
  border-radius:999px; padding:11px 18px; font-size:13.5px; color:#fff; outline:none;
}
.subscribe-inline input::placeholder{ color:rgba(255,255,255,0.5); }
.subscribe-inline button{ flex:none; }

/* ---------------- FAQ accordion ---------------- */
.faq-list{ max-width:820px; }
.faq-item{ border-bottom:1px solid rgba(143,190,210,0.15); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 4px; text-align:start; color:var(--text-0); font-size:15.5px; font-weight:600;
}
.faq-q .caret{ width:14px; height:14px; color:var(--teal); flex:none; transition:transform .2s ease; }
.faq-item.open .faq-q .caret{ transform:rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .22s ease; }
.faq-a p{ padding:0 4px 20px; margin:0; color:var(--text-2); font-size:14px; line-height:1.8; max-width:70ch; }
.faq-item.open .faq-a{ max-height:260px; }

/* ---------------- Standard site footer (all pages) ---------------- */
.site-footer{ background:var(--navy-950); border-top:1px solid rgba(143,190,210,0.12); padding:56px 0 0; }
.site-footer .wrap{ max-width:1280px; margin:0 auto; padding:0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-col h4{ color:var(--text-0); font-size:14px; margin:0 0 18px; font-weight:700; letter-spacing:.3px; }
.footer-col p{ color:var(--text-2); font-size:13.5px; line-height:1.8; margin:0 0 14px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ color:var(--text-2); font-size:13.5px; transition:color .15s ease; }
.footer-col a:hover{ color:var(--teal); }
.footer-social{ display:flex; gap:10px; margin-top:14px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(232,147,74,0.4); color:var(--orange);
}
.footer-social a svg{ width:16px; height:16px; }
.footer-social a:hover{ background:rgba(232,147,74,0.12); }
.footer-bottom{
  border-top:1px solid rgba(143,190,210,0.1); padding:20px 0; display:flex; flex-wrap:wrap;
  align-items:center; justify-content:space-between; gap:10px; font-size:12.5px; color:var(--text-2);
}
.footer-bottom a{ color:var(--text-2); }
.footer-bottom a:hover{ color:var(--teal); }

@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .page-hero{ padding:130px 0 34px; min-height:220px; }
  .form-grid{ grid-template-columns:1fr; }
  .content-section{ padding:50px 0; }
}

/* ---------------- Utility ---------------- */
.mt-0{ margin-top:0 !important; }
.text-center{ text-align:center; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
@media (max-width:800px){ .two-col{ grid-template-columns:1fr; } }
.badge-inprogress{
  display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600;
  color:var(--orange); background:rgba(232,147,74,0.1); border:1px solid rgba(232,147,74,0.3);
  border-radius:999px; padding:8px 16px;
}
.dashboard-empty-state{
  display:flex; flex-direction:column; align-items:flex-start; gap:10px; max-width:260px;
}

/* =========================================================================
   RESPONSIVE LAYER — tablets & phones
   Below 980px the hero's absolutely-positioned overlay (pins, title, stats
   placed by % over the photo) and the map's %-placed country chips no longer
   line up with their images, and start overlapping each other. At that size
   both switch to normal document flow: the photo becomes a backdrop and the
   content stacks in readable blocks.
   ========================================================================= */

/* Full-bleed footer panels use 100vw, which includes the scrollbar width on
   desktop — clip the stray horizontal scroll that causes. */
html, body{ overflow-x:clip; }

@media (max-width:1200px){
  .footer-wrap .stats-row{ grid-template-columns:repeat(4, 1fr); }
}

@media (max-width:980px){
  /* ---------- Hero: stacked flow layout ---------- */
  .hero-media{
    aspect-ratio:auto; height:auto; min-height:100svh;
    display:flex; flex-direction:column; align-items:stretch;
    gap:32px; padding:84px 24px 36px;
  }
  .hero-media > img{ object-position:center 30%; }
  .hero-overlay{
    background:linear-gradient(180deg, rgba(4,7,13,0.72) 0%, rgba(4,7,13,0.6) 40%, rgba(4,7,13,0.92) 100%);
  }
  .hero-layer{ position:relative; }

  .title-block{
    order:1; left:auto; top:auto; width:100%; max-width:640px;
    margin:0 auto; transform:none;
  }
  .title-block h1{ font-size:clamp(28px, 6.4vw, 44px); }
  .title-block h2{ font-size:clamp(16px, 3.6vw, 24px); white-space:normal; }
  .title-block .tagline{ font-size:13px; }

  .cta-row{
    order:2; left:auto; top:auto; transform:none;
    flex-wrap:wrap; justify-content:center;
  }
  .cta-row .btn{ font-size:14px; padding:14px 24px; }

  .mid-row{
    order:3; left:auto; top:auto; width:100%;
    display:grid; grid-template-columns:repeat(3, 1fr); gap:18px 8px;
  }
  .mid-row li{ font-size:12px; }
  .mid-row li + li::before{ display:none; }

  .left-col{
    order:4; position:relative; inset:auto; pointer-events:auto;
    display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:14px;
    height:auto;
  }
  .pin-left{
    position:relative; left:auto; top:auto; transform:none;
    align-items:center; gap:12px; padding:12px 14px;
    background:rgba(6,14,26,0.6); border:1px solid var(--card-border); border-radius:12px;
  }
  .pin-left:hover, .pin-left:focus-visible, .pin-left:active{ transform:scale(1.02); }
  .pin-left .pin-circle{ width:44px; height:44px; }
  .pin-left .pin-text h4{ font-size:13px; white-space:normal; }
  .pin-left .pin-text p{ display:block; font-size:12px; max-width:none; }

  .right-col{
    order:5; position:relative; inset:auto; pointer-events:auto;
    display:grid; grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); gap:18px 10px;
  }
  .pin-topic{ position:relative; left:auto; top:auto; transform:none; opacity:1; gap:8px; }
  .pin-topic .pin-circle{ width:46px; height:46px; }
  .pin-topic .pin-text{ opacity:1; transform:none; pointer-events:auto; }
  .pin-topic .pin-text h4{ font-size:10.5px; max-width:none; }

  .hero-stats-row{
    order:6; left:auto; top:auto; width:100%;
    display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; align-items:stretch;
  }
  .hero-stats-row .scroll-cta{ grid-column:1 / -1; order:1; font-size:12px; margin:8px 0 0; }
  .hero-stats-row .stat,
  .hero-stats-row .stat + .stat{
    border:1px solid var(--card-border); border-radius:12px;
    background:rgba(6,14,26,0.6); padding:12px 14px;
  }
  .hero-stats-row .stat-icon{ width:36px; height:36px; }
  .hero-stats-row .stat strong{ font-size:22px; }
  .hero-stats-row .stat-text{ font-size:12px; }

  /* ---------- Page 2 ---------- */
  .page2-wrap{ background-attachment:scroll; } /* fixed backgrounds jitter / fail on iOS */
  .page2-wrap .hero__content{ margin-top:0; max-width:none; }
  .page2-wrap .split{ margin-top:0; }
  .page2-wrap .split__grid{ padding:0 12px; }

  /* ---------- Map dashboard: chips become a list below the stats ---------- */
  .map-wrap .index-card{
    aspect-ratio:auto; min-height:0;
    display:flex; flex-direction:column;
  }
  .map-wrap .map-photo{ opacity:.35; transform:none; }
  .map-wrap .map-svg{ display:none; }
  .map-wrap .index-content{ order:1; padding:22px 24px 8px; }
  .map-wrap .index-header{ flex-direction:column; align-items:stretch; }
  .map-wrap .tabs{
    margin-right:0; flex:1 1 auto; max-width:100%;
    flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .map-wrap .tabs::-webkit-scrollbar{ display:none; }
  .map-wrap .tab{ flex:none; }
  .map-wrap .stat-panel{
    position:relative; top:auto; left:auto; width:auto; margin-top:10px;
    background:rgba(6,14,26,0.55); backdrop-filter:blur(4px);
  }
  .map-wrap .labels{
    order:2; position:relative; inset:auto; z-index:3; pointer-events:auto;
    display:grid; grid-template-columns:repeat(auto-fill, minmax(130px, 1fr)); gap:10px;
    padding:8px 24px 18px;
  }
  .map-wrap .chip{
    position:static; transform:none; min-width:0;
    animation-name:mapChipFadeIn;
  }
  .map-wrap .chip-highlight{ grid-column:span 2; }
  .map-wrap .report-btn{
    order:3; position:relative; right:auto; bottom:auto;
    align-self:flex-start; margin:0 24px 22px;
  }
  .map-wrap .reports-row{ margin-top:20px; }
  .map-wrap .reports-heading h2{ white-space:normal; }

  /* ---------- Footer panels ---------- */
  .footer-wrap .partners-panel{ flex-wrap:wrap; }
  .footer-wrap .partner-avatars{ flex-wrap:wrap; }
}
@keyframes mapChipFadeIn{
  from{ opacity:0; transform:translateY(6px); }
  to{ opacity:1; transform:none; }
}

@media (max-width:780px){
  .mid-row{ display:none; }
}

@media (max-width:620px){
  .hero-media{ padding:68px 16px 28px; gap:26px; }
  .cta-row{ width:100%; }
  .cta-row .btn{ flex:1 1 100%; justify-content:center; }
  .left-col{ grid-template-columns:1fr; }
  .right-col{ grid-template-columns:repeat(3, 1fr); }
  .hero-stats-row{ grid-template-columns:repeat(2, 1fr); }

  .page2-wrap .hero__inner.container{ padding-left:16px; padding-right:16px; }
  .page2-wrap .hero__subtitle{ font-size:15px; }
  .page2-wrap .btn{ padding:16px 22px; }
  .page2-wrap .mini-feature{ flex:1 1 40%; }
  .page2-wrap .gm__photo{ margin:48px auto 30px; }
  .page2-wrap .gm__content{ margin-left:0; }
  .page2-wrap .panel{ padding:26px 18px; }

  #vision-mission h2{ font-size:22px !important; }
  .content-section .wrap{ padding:0 16px; }
  .value-grid{ grid-template-columns:1fr; }

  .map-wrap .index-content{ padding:18px 16px 6px; }
  .map-wrap .stat-panel{ padding:18px 20px 20px; }
  .map-wrap .labels{ grid-template-columns:repeat(2, 1fr); padding:8px 16px 16px; }
  .map-wrap .report-btn{ margin:0 16px 18px; }
  .map-wrap .index-card, .map-wrap .reports-row{ margin-left:8px; margin-right:8px; }

  .footer-wrap .partners-panel .panel-inner{ min-width:0; flex-basis:100%; }
  .footer-wrap .partner-avatars{ gap:10px; justify-content:flex-start; }
  .footer-wrap .partner-logos{ width:100%; min-width:0; max-width:none; flex-basis:100%; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  .footer-wrap .partner-logo{ width:100%; }
  .partner-modal__close{ top:-10px; right:-6px; }
  .footer-wrap .avatar-circle{ width:54px; height:54px; }
  .footer-wrap .dashboard-section{ padding:0; }
  .footer-wrap .dashboard-inner{ padding:26px 18px; }
  .footer-wrap .stats-row{ grid-template-columns:repeat(2, 1fr); gap:10px; }
  .footer-wrap .stat-card:last-child:nth-child(odd){ grid-column:1 / -1; }
  .footer-wrap .stat-number{ font-size:1.7rem; }

  .back-to-top{ width:42px; height:42px; bottom:16px; left:16px; }
  html[dir="rtl"] .back-to-top{ left:auto; right:16px; }
}

@media (max-width:380px){
  .right-col{ grid-template-columns:repeat(2, 1fr); }
  .hero-stats-row{ grid-template-columns:1fr; }
  .map-wrap .labels{ grid-template-columns:1fr; }
  .map-wrap .chip-highlight{ grid-column:auto; }
}
