/* =========================================================
   منظمة نعمة للإغاثة والتنمية — تصميم الموقع
   الألوان من الشعار: فيروزي الزيتون + أخضر السنبلة.
   كل الاتجاهات بخصائص منطقية لتعمل بالعربية والإنجليزية.
   ========================================================= */
@font-face { font-family: "Alexandria"; src: url("../fonts/Alexandria.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/Tajawal-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/Tajawal-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("../fonts/Tajawal-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --brand: #08788d;
  --brand-2: #00afc6;
  --accent: #b8d034;
  --ink: #16333b;
  --ink-soft: color-mix(in srgb, var(--ink) 72%, #fff);
  --paper: #f6f8f2;
  --white: #fff;
  --tint: color-mix(in srgb, var(--brand) 7%, var(--paper));
  --accent-soft: color-mix(in srgb, var(--accent) 22%, #fff);
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --deep: color-mix(in srgb, var(--brand) 55%, #04222a);

  --font-display: "Alexandria", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(10, 40, 48, .06), 0 12px 32px -14px rgba(10, 52, 62, .28);
  --shadow-lg: 0 2px 4px rgba(10, 40, 48, .05), 0 30px 60px -22px rgba(10, 52, 62, .38);
  --header-h: 76px;
}
html[lang="en"] { --font-display: "Alexandria", "Segoe UI", system-ui, sans-serif; --font-body: "Tajawal", "Segoe UI", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.85;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--ink); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 200; }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
html[dir="rtl"] .ico.flip { transform: scaleX(-1); }

/* انتقالات سلسة بين الصفحات (المتصفحات الحديثة) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* شريط تقدم القراءة */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 120; transform-origin: var(--origin, right); transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--accent), var(--brand-2)); pointer-events: none; }
html[dir="ltr"] .progress { --origin: left; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 1rem/1.2 var(--font-display); text-decoration: none; cursor: pointer;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0; color: var(--fg); background: var(--bg);
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .3s, background .3s, color .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--bg) 70%, transparent); }
.btn:active { transform: scale(.97); }
.btn-accent { --bg: var(--accent); --fg: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { --bg: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.06rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font: 600 1rem var(--font-display); color: var(--brand); text-decoration: none; }
.link-arrow .ico { transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  transition: transform .45s var(--ease-out), background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(12, 74, 87, .5); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 44px; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-name { font: 700 1.02rem/1.25 var(--font-display); }
.brand-name small { display: block; font: 500 .7rem var(--font-body); color: var(--ink-soft); }
html[dir="rtl"] .brand-name small { direction: ltr; text-align: right; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav ul a {
  position: relative; display: block; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  padding: .45rem .8rem; border-radius: 999px; transition: color .2s, background .2s;
}
.nav ul a::after { content: ""; position: absolute; inset-inline: .8rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { font-weight: 700; }
.nav-extra { display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; padding: .45rem .8rem; border-radius: 999px; transition: background .2s; }
.lang-switch:hover { background: var(--white); }
.lang-switch[lang="en"] { font-family: "Alexandria", system-ui, sans-serif; }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .menu-btn {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--white); cursor: pointer; position: relative; z-index: 2; color: var(--ink);
  }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out), background .2s; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; inset-inline-start: 0; }
  .menu-lines::before { transform: translateY(-6px); } .menu-lines::after { transform: translateY(6px); }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: stretch; gap: 2rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; background: var(--paper);
    clip-path: circle(0 at var(--cx, 90%) 38px); visibility: hidden; transition: clip-path .6s var(--ease-out), visibility 0s .6s;
  }
  html[dir="rtl"] .nav { --cx: 10%; }
  .nav.is-open { clip-path: circle(150% at var(--cx, 90%) 38px); visibility: visible; transition: clip-path .7s var(--ease-out); }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav ul a { font: 700 clamp(1.5rem, 6vw, 2.1rem) var(--font-display); padding: .4rem 0; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out); }
  .nav ul a::after { inset-inline: 0 auto; width: 2.5rem; bottom: 0; }
  .nav.is-open ul a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }
  .nav-extra { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Animated backgrounds ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 46vmax; height: 46vmax; background: color-mix(in srgb, var(--brand-2) 55%, transparent); inset-inline-end: -12vmax; top: -18vmax; }
.b2 { width: 34vmax; height: 34vmax; background: color-mix(in srgb, var(--accent) 60%, transparent); inset-inline-start: -10vmax; bottom: -16vmax; animation-duration: 28s; animation-delay: -6s; }
.b3 { width: 22vmax; height: 22vmax; background: color-mix(in srgb, var(--brand) 40%, transparent); inset-inline-start: 38%; top: 30%; animation-duration: 34s; opacity: .35; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vmax, 3vmax) scale(1.12); }
  100% { transform: translate(-3vmax, 5vmax) scale(.94); }
}
.grain { position: absolute; inset: -50%; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font: 600 .92rem var(--font-display); color: var(--brand); background: color-mix(in srgb, var(--white) 70%, transparent);
  border: 1px solid var(--line); padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.4rem; backdrop-filter: blur(8px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-title { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.12; margin-bottom: 1.4rem; font-weight: 800; }
html[lang="ar"] .hero-title { line-height: 1.3; }
.hero-title .w:last-child > span { background: linear-gradient(100deg, var(--brand), var(--brand-2) 50%, color-mix(in srgb, var(--accent) 80%, var(--brand))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block-end: .1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: relative; max-width: 460px; justify-self: center; width: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.orbit { position: absolute; inset: -8%; }
.orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--brand) 30%, transparent); animation: spin 60s linear infinite; }
.orbit span + span { inset: 9%; border-style: solid; border-color: color-mix(in srgb, var(--accent) 45%, transparent); animation-duration: 42s; animation-direction: reverse; }
.orbit span::after { content: ""; position: absolute; top: 50%; inset-inline-start: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.orbit span + span::after { background: var(--brand-2); box-shadow: 0 0 18px var(--brand-2); top: 12%; inset-inline-start: 18%; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-anim { position: relative; width: 78%; margin: 11% auto; aspect-ratio: 840 / 965; filter: drop-shadow(0 30px 40px rgba(8, 80, 95, .18)); }
.logo-anim img { position: absolute; inset: 0; width: 100%; height: 100%; }
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.la-wheat { -webkit-mask: conic-gradient(from 150deg at 47% 42%, #000 var(--sweep), transparent calc(var(--sweep) + 1deg)); mask: conic-gradient(from 150deg at 47% 42%, #000 var(--sweep), transparent calc(var(--sweep) + 1deg)); animation: sweep 1.9s cubic-bezier(.55, .1, .25, 1) .3s both; }
.la-olive { transform-origin: 58% 82%; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1.05) 1.4s both, sway 6s ease-in-out 3.2s infinite; }
.la-text { animation: write 1.1s cubic-bezier(.6, .1, .3, 1) 2.2s both; }
@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 361deg; } }
@keyframes grow { from { clip-path: inset(100% 0 0 0); transform: rotate(-10deg) scale(.85); opacity: .3; } to { clip-path: inset(0); transform: none; opacity: 1; } }
@keyframes write { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes sway { 50% { transform: rotate(-2deg); } }
.float-badge { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; padding: .7rem 1rem; border-radius: 18px;
  background: color-mix(in srgb, var(--white) 82%, transparent); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite, pop .8s var(--ease-out) both; }
.float-badge .ico { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--brand); }
.float-badge b { font: 800 1.25rem/1.1 var(--font-display); color: var(--ink); }
.float-badge small { font-size: .78rem; color: var(--ink-soft); line-height: 1.2; }
.fb-1 { inset-inline-start: -8%; bottom: 2%; animation-delay: 0s, 2.8s; }
.fb-2 { inset-inline-end: -4%; top: 10%; animation-delay: -3s, 3.1s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pop { from { opacity: 0; scale: .7; } }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* تقسيم العناوين إلى كلمات متحركة */
[data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); animation: word-up .9s var(--ease-out) forwards; animation-delay: calc(.1s + var(--wi) * .07s); }
@keyframes word-up { to { transform: none; } }
.split-in { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
.hero-copy .split-in:nth-of-type(1), .page-hero .kicker { animation-delay: .05s; }
.lead.split-in { animation-delay: .45s; }
.hero-actions.split-in, .report-actions.split-in { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.no-js .split-in, .no-js [data-split] .w > span { opacity: 1; transform: none; animation: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 1.1rem 0; transform: rotate(-1.2deg) scale(1.02); margin-block: -.8rem 2rem; position: relative; z-index: 2; }
html[dir="ltr"] .marquee { transform: rotate(1.2deg) scale(1.02); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: .7rem; font: 600 1.15rem var(--font-display); white-space: nowrap; }
.marquee .ico { color: var(--accent); width: 1.4em; height: 1.4em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.section-head .kicker { margin-bottom: 1rem; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }

/* ظهور العناصر عند التمرير */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Impact ---------- */
.impact { background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.impact::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(60rem 30rem at 85% 0%, color-mix(in srgb, var(--brand-2) 45%, transparent), transparent 60%), radial-gradient(40rem 25rem at 0% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%); }
.impact .section-head h2 { color: #fff; }
.impact-grid { display: grid; grid-template-columns: minmax(260px, .8fr) 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.impact-total { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; justify-self: center; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 5; }
.ring .ring-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s var(--ease-out) .2s; }
.impact-total.is-in .ring-fill { stroke-dashoffset: 8; }
.impact-total-num { text-align: center; }
.impact-total .num { display: block; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.impact-total .lbl { font-size: 1.15rem; color: rgba(255,255,255,.75); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; }
.bar-name { font-weight: 500; }
.bar-num { font: 700 1.05rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--accent); }
.bar-track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--accent)); transform: scaleX(0); transform-origin: var(--o, right); transition: transform 1.6s var(--ease-out); transition-delay: calc(.2s + var(--d, 0) * 110ms); }
html[dir="ltr"] .bar-fill { --o: left; }
html[dir="rtl"] .bar-fill { background: linear-gradient(270deg, var(--brand-2), var(--accent)); }
.bars li.is-in .bar-fill { transform: scaleX(1); }

/* ---------- Sectors ---------- */
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.sector a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s; }
.sector a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--brand), var(--deep)); clip-path: circle(0 at var(--x, 85%) 15%); transition: clip-path .7s var(--ease-out); }
html[dir="ltr"] .sector a::before { --x: 15%; }
.sector a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: #fff; }
.sector a:hover::before { clip-path: circle(150% at var(--x, 85%) 15%); }
.sector-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--accent-soft); color: var(--brand); margin-bottom: 1.2rem; transition: background .4s, color .4s, transform .6s var(--ease-out); }
.sector-icon .ico { width: 30px; height: 30px; }
.sector a:hover .sector-icon { background: rgba(255,255,255,.14); color: var(--accent); transform: rotate(-8deg) scale(1.05); }
.sector h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.sector p { font-size: .98rem; color: var(--ink-soft); margin: 0; transition: color .4s; }
.sector a:hover p { color: rgba(255,255,255,.8); }
.sector-arrow { margin-top: auto; padding-top: 1rem; width: 2.2rem; height: auto; opacity: .35; transition: opacity .3s, transform .4s var(--ease-out); }
.sector a:hover .sector-arrow { opacity: 1; color: var(--accent); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-link { position: absolute; inset: 0; z-index: 2; }
.card-link:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.card-cover { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card-cover img { transform: scale(1.07); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.22rem; margin: .7rem 0 .5rem; transition: color .3s; }
.card:hover h3 { color: var(--brand); }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .9rem; color: var(--ink-soft); }
.meta-sector { display: inline-flex; align-items: center; gap: .35rem; }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .92rem; color: var(--ink-soft); padding-top: .9rem; border-top: 1px solid var(--line); }
.card-foot span { display: inline-flex; align-items: center; gap: .35rem; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font: 600 .95rem var(--font-display); color: var(--brand); }
.card-more .ico { transition: transform .35s var(--ease-out); }
.card:hover .card-more .ico { transform: translateX(5px); }
html[dir="rtl"] .card:hover .card-more .ico { transform: scaleX(-1) translateX(5px); }
.chip { display: inline-flex; align-items: center; gap: .3rem; font: 600 .8rem/1 var(--font-display); padding: .42rem .75rem; border-radius: 999px; background: var(--tint); color: var(--brand); }
.chip-ongoing { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 35%, var(--ink)); }
.chip-ongoing::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.chip-completed { background: color-mix(in srgb, var(--brand) 12%, #fff); }
.chip-planned { background: #f3eee2; color: #7a5a1a; }
.news-grid .is-big { grid-column: span 2; flex-direction: row; }
.news-grid .is-big .card-cover { aspect-ratio: auto; flex: 1.1; min-height: 100%; }
.news-grid .is-big .card-body { flex: 1; justify-content: center; padding: 2rem; }
.news-grid .is-big h3 { font-size: 1.6rem; }
@media (max-width: 760px) { .news-grid .is-big { grid-column: auto; flex-direction: column; } .news-grid .is-big .card-cover { aspect-ratio: 16/10; } }

/* أغلفة بديلة مولّدة بألوان الهوية */
.cover--art { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--deep)); }
.cover--art.art-1 { background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.cover--art.art-2 { background: linear-gradient(135deg, var(--deep), color-mix(in srgb, var(--accent) 45%, var(--brand))); }
.cover--art.art-3 { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, var(--brand)), var(--brand)); }
.art-pattern { position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 1.4px); background-size: 22px 22px; transition: transform 1.4s var(--ease-out); }
.art-pattern::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; inset-inline-end: -20%; top: -30%; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 30px rgba(255,255,255,.12), 0 0 0 60px rgba(255,255,255,.06); }
.art-icon { position: relative; width: 30%; height: auto; max-width: 96px; stroke-width: 1.2; opacity: .95; transition: transform 1s var(--ease-out); }
.card:hover .art-pattern { transform: scale(1.12) rotate(3deg); }
.card:hover .art-icon { transform: scale(1.1) rotate(-6deg); }

/* ---------- About teaser ---------- */
.about-teaser { overflow: hidden; }
.about-teaser-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-teaser-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--tint)); animation: morph 18s ease-in-out infinite; }
.about-teaser-art img { width: 62%; will-change: transform; }
@keyframes morph { 50% { border-radius: 58% 42% 40% 60% / 45% 60% 40% 55%; } }
.statement { font: 600 clamp(1.4rem, 2.6vw, 2.05rem)/1.6 var(--font-display); color: var(--ink); margin-bottom: 2rem; }
.statement .sw { opacity: .18; transition: opacity .3s; }
.statement .sw.on { opacity: 1; }
.no-js .statement .sw { opacity: 1; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.vm { padding: 1.4rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.vm h3 { font-size: 1.1rem; margin: .7rem 0 .3rem; }
.vm p { font-size: .98rem; color: var(--ink-soft); margin: 0; }
.vm-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--brand); }

/* ---------- Reports ---------- */
.reports-home { background: var(--tint); }
.reports-home-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.report-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.report-item a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem; padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .45s var(--ease-out), box-shadow .45s, background .3s; }
.report-item a:hover { transform: translateX(-6px); box-shadow: var(--shadow); }
html[dir="ltr"] .report-item a:hover { transform: translateX(6px); }
.report-year { font: 800 1.7rem/1 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.report-title { font-weight: 500; }
.report-cta { display: inline-flex; align-items: center; gap: .4rem; font: 600 .9rem var(--font-display); color: var(--brand); }
.is-pending .report-cta, .is-pending .report-year { color: var(--ink-soft); }
.report-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.4rem; }
.report-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s; }
.report-card a:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.rc-cover { aspect-ratio: 3 / 3.4; background: linear-gradient(160deg, var(--brand), var(--deep)); position: relative; overflow: hidden; }
.rc-cover img { width: 100%; height: 100%; object-fit: cover; }
.rc-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; color: #fff; }
.rc-art::before { content: ""; position: absolute; inset-inline-end: -30%; bottom: -25%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--accent) 80%, transparent); transition: transform 1s var(--ease-out); }
.report-card a:hover .rc-art::before { transform: scale(1.15) translate(-6%, -6%); }
.rc-art img { width: 54px; filter: brightness(0) invert(1); opacity: .9; position: relative; }
.rc-art b { position: relative; font: 800 clamp(3rem, 6vw, 4.2rem)/1 var(--font-display); letter-spacing: -.03em; }
.is-pending .rc-cover { filter: grayscale(.7); opacity: .8; }
.rc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.rc-year { font: 700 .85rem var(--font-display); color: var(--brand); }
.rc-title { font: 700 1.15rem var(--font-display); }
.rc-sum { font-size: .95rem; color: var(--ink-soft); }
.rc-body .report-cta { margin-top: auto; padding-top: .8rem; }
.big-year { font: 800 clamp(4rem, 12vw, 8.5rem)/1 var(--font-display); letter-spacing: -.04em; margin: 0 0 .3rem;
  background: linear-gradient(110deg, var(--brand), var(--brand-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.report-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.report-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.year-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 2rem; }
.year-tabs a { text-decoration: none; font: 600 1rem var(--font-display); color: var(--ink); padding: .45rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); transition: all .25s; }
.year-tabs a:hover { border-color: var(--ink); }
.year-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.viewer { position: relative; aspect-ratio: 1 / 1.25; max-height: 88vh; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.viewer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer .loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--ink-soft); transition: opacity .4s; }
.viewer .loading img { width: 70px; animation: breathe 1.6s ease-in-out infinite; }
.viewer.is-loaded .loading { opacity: 0; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(.88); opacity: .55; } }

/* ---------- Inner page hero ---------- */
.page-hero, .detail-hero, .article-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1, .article-hero h1, .detail-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.2; margin-bottom: 1rem; max-width: 22ch; }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: none; }
.page-hero .blob, .article-hero .blob, .detail-hero .blob { opacity: .35; }
.page-hero--404 { min-height: 80vh; display: grid; place-items: center; }
.page-hero--404 .lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { color: var(--brand); }
.detail-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.detail-hero .card-meta { margin-bottom: 1rem; }
.detail-cover { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .art-icon { max-width: 130px; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-top: 1rem; }
.detail-side { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1rem; }
.article-cover { margin-top: -1rem; }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Prose ---------- */
.prose { font-size: 1.15rem; }
.prose--article { font-size: 1.2rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; } .prose h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; margin: 0 0 1.2em; } .prose li { margin-bottom: .35em; } .prose li::marker { color: var(--brand); }
.prose blockquote { margin: 2rem 0; padding: 1.4rem 1.8rem; border-inline-start: 4px solid var(--accent); background: var(--white); border-radius: var(--radius-sm); font: 500 1.25rem/1.7 var(--font-display); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 2rem 0; } .prose figure img { border-radius: var(--radius-sm); width: 100%; }
.prose figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: .5rem; text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; border-radius: var(--radius-sm); overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin: 2rem 0; }
.gallery a { aspect-ratio: 1; overflow: hidden; border-radius: 12px; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery a:hover img { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 26, 31, .92); display: grid; place-items: center; padding: 1rem; animation: fade-in .3s; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 10px; animation: zoom-in .45s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; } } @keyframes zoom-in { from { transform: scale(.92); opacity: 0; } }
.share { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 600; }
.share span { margin-inline-end: .4rem; }
.share a, .share button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .3s var(--ease-out); }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.share .is-done { background: var(--accent); color: var(--ink); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.facts { margin: 0; padding: 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 1.1rem; }
.facts div { display: grid; gap: .1rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--ink-soft); }
.facts dd { margin: 0; font: 600 1.1rem var(--font-display); }
.vm-band { background: var(--deep); color: #fff; }
.vm-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.vm-card { padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.vm-card .vm-icon { background: rgba(255,255,255,.1); color: var(--accent); width: 54px; height: 54px; }
.vm-card h2 { margin: 1.2rem 0 .7rem; font-size: 1.7rem; }
.vm-card p { font-size: 1.2rem; line-height: 1.9; color: rgba(255,255,255,.88); margin: 0; }
.vm-card .sw { opacity: .3; } .vm-card .sw.on { opacity: 1; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; position: relative; }
.journey::before { content: ""; position: absolute; top: 1.15rem; inset-inline: 0; height: 2px; background: var(--line); }
.journey li { position: relative; padding-top: 3rem; }
.journey li::before { content: ""; position: absolute; top: .55rem; inset-inline-start: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--brand); transition: background .4s .3s; }
.journey li.is-in::before { background: var(--accent); }
.j-year { font: 800 2rem/1 var(--font-display); color: var(--brand); display: block; margin-bottom: .6rem; }
.journey p { color: var(--ink-soft); margin: 0; }
.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; counter-reset: v; }
.values-grid li { padding: 1.8rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s; }
.values-grid li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.v-num { font: 800 .95rem var(--font-display); color: var(--accent); background: var(--ink); border-radius: 10px; padding: .25rem .6rem; }
.values-grid h3 { margin: 1rem 0 .4rem; font-size: 1.25rem; }
.values-grid p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---------- Filters & pager ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; align-items: center; }
.filters a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .5rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); transition: all .25s; }
.filters a:hover { border-color: var(--ink); }
.filters a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters-sep { width: 1px; height: 24px; background: var(--line); margin-inline: .3rem; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.pager a[aria-current="page"] { background: var(--ink); color: #fff; }
.empty-state { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--white) 60%, transparent); color: var(--ink-soft); }
.empty-state img { margin: 0 auto 1.2rem; opacity: .85; animation: breathe 3s ease-in-out infinite; }
.empty-state p { margin: 0; font-size: 1.1rem; }

/* ---------- Donate ---------- */
.accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 1.2rem; }
.account { padding: 1.8rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.account::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--accent-soft); z-index: 0; }
.account header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.account h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.account-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--accent); }
.account-icon .ico { width: 26px; height: 26px; }
.account dl { margin: 0; display: grid; gap: .8rem; position: relative; z-index: 1; }
.account dt { font-size: .85rem; color: var(--ink-soft); }
.account dd { margin: 0; }
.copyable { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .6rem .6rem 1rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
html[dir="rtl"] .copyable { padding: .6rem 1rem .6rem .6rem; }
.copyable code { font: 600 1rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; word-break: break-all; }
.copyable button { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--white); color: var(--ink); cursor: pointer; transition: all .25s; }
.copyable button:hover { background: var(--ink); color: #fff; }
.copyable button.is-done { background: var(--accent); color: var(--ink); }
.notice { display: flex; gap: 1rem; align-items: flex-start; margin: 2rem 0; padding: 1.3rem 1.5rem; border-radius: var(--radius-sm); background: var(--accent-soft); }
.notice p { margin: 0; } .notice .ico { margin-top: .35rem; color: var(--brand); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-cards { display: grid; gap: .8rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--brand); flex: none; }
.cc-label { display: block; font-size: .85rem; color: var(--ink-soft); }
.contact-card a, .contact-card span:not(.cc-label):not(.cc-icon) { font: 600 1.05rem var(--font-display); color: var(--ink); text-decoration: none; }
.contact-form { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form h2 { font-size: 1.6rem; margin: 0 0 .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field span { font-weight: 600; font-size: .95rem; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 500; }
.alert-ok { background: var(--accent-soft); } .alert-err { background: #fde8e6; color: #8a1f12; }
.map { margin-top: 3rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); position: relative; }
.footer-cta { background: linear-gradient(120deg, var(--brand), var(--deep)); color: #fff; position: relative; overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; inset-inline-end: -10%; top: -60%; width: 40rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); animation: drift 20s ease-in-out infinite alternate; }
.footer-cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 7vw, 5rem); flex-wrap: wrap; }
.footer-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: .4rem; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 40rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 4rem 2.5rem; }
.footer-brand img { width: 74px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { max-width: 30rem; font-size: 1rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-links, .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-links a, .contact-list a, .contact-list span { color: rgba(255,255,255,.78); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; font-size: 1rem; transition: color .2s, transform .3s var(--ease-out); }
.footer-links a:hover, .contact-list a:hover { color: var(--accent); transform: translateX(-3px); }
html[dir="ltr"] .footer-links a:hover, html[dir="ltr"] .contact-list a:hover { transform: translateX(3px); }
.socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: all .35s var(--ease-out); }
.socials a:hover { background: var(--accent); color: var(--ink); transform: translateY(-4px) rotate(-6deg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.footer-bottom .lang-switch { color: rgba(255,255,255,.85); }
.footer-bottom .lang-switch:hover { background: rgba(255,255,255,.08); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .detail-hero-grid, .about-teaser-grid, .reports-home-grid, .impact-grid, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-art { max-width: 340px; order: -1; }
  .about-teaser-art { max-width: 320px; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .vm-grid, .vm-band-grid, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: .92rem; } .brand-name small { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-badge { padding: .5rem .7rem; } .float-badge b { font-size: 1rem; }
  .fb-1 { inset-inline-start: -2%; bottom: -7%; } .fb-2 { inset-inline-end: -2%; }
  .scroll-cue { display: none; }
  .report-item a { grid-template-columns: auto 1fr; }
  .report-item .report-cta { grid-column: 1 / -1; }
  .journey::before { display: none; }
  .map { aspect-ratio: 4 / 3; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html[data-motion="reduced"] .js .reveal, html[data-motion="reduced"].js .reveal { opacity: 1; transform: none; }
