/* =========================================================
   منظمة نعمة للإغاثة والتنمية — الملف التعريفي
   ألوان مأخوذة من الشعار: فيروزي الزيتون + أخضر السنبلة
   ========================================================= */
/* خطوط مستضافة محلياً (رخصة OFL) */
@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 700; font-display: swap; }

:root {
  --teal: #00afc6;
  --teal-deep: #08788d;
  --teal-ink: #0c4a57;
  --lime: #b8d034;
  --lime-soft: #e7efc4;
  --ink: #16333b;
  --ink-soft: #4a6168;
  --paper: #f5f8f1;
  --white: #ffffff;
  --line: rgba(22, 51, 59, 0.14);
  --mist: #e4ece0;

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

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); -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;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.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: 100; }
.skip:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(245, 248, 241, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(12, 74, 87, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--ink-soft); direction: ltr; text-align: right; }
.nav { display: flex; gap: .25rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
  padding: .45rem .9rem; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--lime-soft); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer;
  }
  .menu-btn span { display: block; width: 16px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
  .menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .nav {
    position: absolute; inset-inline: var(--gutter); top: calc(100% + .4rem);
    flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: .5rem; box-shadow: 0 20px 40px -20px rgba(12, 74, 87, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .8rem 1rem; border-radius: 12px; }
  .brand-name { font-size: .9rem; white-space: nowrap; }
  .brand img { width: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; margin: 0 0 1.4rem;
  font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.25; letter-spacing: 0;
  color: var(--ink);
}
.hero h1 .l2 { display: block; font-size: .56em; font-weight: 500; color: var(--teal-deep); margin-top: .2em; }
.hero .lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); max-width: 36em; color: var(--ink-soft); margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 400px); }
.hero-art::before {
  content: ""; position: absolute; inset: 0 -4% 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 208, 52, .28), rgba(0, 175, 198, .10) 70%, transparent);
}

/* الشعار المتحرك — اللحظة المتحركة الرئيسية في الصفحة */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.logo-anim { position: relative; width: 100%; aspect-ratio: 840 / 964; }
.logo-anim img { position: absolute; inset: 0; width: 100%; height: 100%; }
.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) .2s both;
}
.la-olive {
  transform-origin: 58% 82%;
  animation: grow 1.2s cubic-bezier(.2, .8, .2, 1.05) 1.35s 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 0 0 0);    transform: none; opacity: 1; }
}
@keyframes write { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-2deg); } }
@supports not (mask: conic-gradient(#000, #000)) and not (-webkit-mask: conic-gradient(#000, #000)) {
  .la-wheat { animation: fade 1s ease .2s both; }
}
@keyframes fade { from { opacity: 0; } }

.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .15s; }
.hero-copy > :nth-child(2) { animation-delay: .35s; }
.hero-copy > :nth-child(3) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(62%, 270px); margin-bottom: .5rem; }
  .hero { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Section scaffolding ---------- */
section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.2; margin: 0; }
.section-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(to left, var(--lime), transparent); align-self: center; min-width: 40px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-text p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 2; margin: 0; max-width: 34em; }
.facts { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.facts div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; }
.facts dt { font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------- Values ---------- */
.values { background: var(--teal-ink); color: #eaf4f2; position: relative; overflow: hidden; }
.values .section-head::after { background: linear-gradient(to left, var(--lime), transparent); }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(1.2rem, 3vw, 2.5rem); }
.values-list li { padding: 1.3rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.2); }
.values-list h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0 0 .4rem; line-height: 1.35; }
.values-list li:nth-child(odd) h3 { color: var(--lime); }
.values-list p { margin: 0; color: rgba(234, 244, 242, .78); font-size: 1rem; }
@media (max-width: 960px) { .values-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-list { grid-template-columns: 1fr; } }

/* ---------- About text ---------- */
.about-text p + p { margin-top: 1.1rem; font-size: 1.1rem; color: var(--ink-soft); }
.about-text p.intro { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.9; color: var(--ink); }

/* ---------- Vision & mission ---------- */
.kicker-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 1rem; line-height: 1.2; }
.kicker-title::after { content: ""; display: block; width: 4.5rem; height: 5px; border-radius: 5px; margin-top: .6rem; background: var(--lime); }
.vision { padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.vision .kicker-title { color: var(--teal-deep); }
.vision-text { margin: 0; max-width: 26em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 3.2vw, 2.4rem); line-height: 1.7; color: var(--ink); }
.mission { background: linear-gradient(115deg, var(--teal-deep) 0%, #0a8fb0 55%, var(--teal) 100%); color: #fff; position: relative; overflow: hidden; }
.mission::before {
  content: ""; position: absolute; inset-inline-end: -6%; top: 50%; width: min(46vw, 520px); aspect-ratio: 840 / 964; transform: translateY(-50%);
  background: url("../img/logo-olive.png") center / contain no-repeat; opacity: .12; filter: brightness(3);
}
.mission-grid { position: relative; display: grid; grid-template-columns: 14rem 1fr; gap: 2rem; align-items: start; }
.mission .kicker-title::after { background: var(--lime); }
.mission p { margin: 0 0 1rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 2; max-width: 38em; }
.mission p:last-child { margin: 0; }
@media (max-width: 760px) { .mission-grid { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- Journey ---------- */
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.milestones { list-style: none; margin: 0; padding: 0; position: relative; }
.milestones::before { content: ""; position: absolute; inset-inline-start: 9px; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--teal), var(--lime)); }
.milestones li { position: relative; padding-inline-start: 2.6rem; padding-bottom: 1.8rem; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45rem; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--teal); }
.milestones b { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--teal-deep); }
.milestones p { margin: .3rem 0 0; color: var(--ink-soft); }
.growth { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.growth figcaption b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.growth figcaption span { display: block; color: var(--ink-soft); font-size: .95rem; }
.g-chart { list-style: none; margin: 1.5rem 0 0; padding: 0; height: 260px; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.4rem, 2vw, 1.2rem); align-items: end; }
.g-chart li { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .4rem; }
.g-bar { width: 100%; max-width: 64px; height: calc(var(--h) * .78); min-height: 6px; border-radius: 10px 10px 4px 4px; background: linear-gradient(to top, var(--teal-deep), var(--teal)); transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease); }
.g-chart li:last-child .g-bar { background: linear-gradient(to top, var(--teal), var(--lime)); }
.g-val { font-weight: 700; font-size: .85rem; color: var(--teal-deep); text-align: center; line-height: 1.3; opacity: 0; transition: opacity .5s; }
.g-year { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.growth.is-visible .g-bar { transform: none; }
.growth.is-visible .g-val { opacity: 1; }
.g-chart li:nth-child(2) .g-bar, .g-chart li:nth-child(2) .g-val { transition-delay: .12s; }
.g-chart li:nth-child(3) .g-bar, .g-chart li:nth-child(3) .g-val { transition-delay: .24s; }
.g-chart li:nth-child(4) .g-bar, .g-chart li:nth-child(4) .g-val { transition-delay: .36s; }
.g-chart li:nth-child(5) .g-bar, .g-chart li:nth-child(5) .g-val { transition-delay: .48s; }
@media (max-width: 860px) { .journey-grid { grid-template-columns: 1fr; } }

/* ---------- Impact 2025 ---------- */
.impact { padding-top: clamp(2rem, 5vw, 3rem); }
.impact-grid { display: grid; grid-template-columns: minmax(240px, 22rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.impact-total {
  border-radius: 24px; color: #fff; padding: 2rem 1.5rem; text-align: center;
  background: linear-gradient(150deg, var(--teal) 0%, #0a8fb0 50%, #0d62a3 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  box-shadow: 0 30px 50px -35px rgba(13, 98, 163, .8);
}
.impact-total svg { width: 110px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; margin-bottom: .6rem; }
.total-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 3.8rem); line-height: 1.1; direction: ltr; font-variant-numeric: tabular-nums; }
.total-label { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-content: center; }
.bars li { display: grid; grid-template-columns: 13rem 1fr 6.5rem; gap: 1rem; align-items: center; }
.bar-name { font-weight: 500; font-size: 1rem; line-height: 1.4; }
.bar-track { height: 14px; background: var(--mist, #e6efe0); border-radius: 14px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: 14px; background: linear-gradient(to left, var(--teal-deep), var(--teal)); transform: scaleX(0); transform-origin: right; transition: transform 1.3s var(--ease); }
.bars li:nth-child(even) .bar-fill { background: linear-gradient(to left, #8fae1f, var(--lime)); }
.impact-grid.is-visible .bar-fill { transform: none; }
.bars li:nth-child(2) .bar-fill { transition-delay: .08s; } .bars li:nth-child(3) .bar-fill { transition-delay: .16s; }
.bars li:nth-child(4) .bar-fill { transition-delay: .24s; } .bars li:nth-child(5) .bar-fill { transition-delay: .32s; }
.bars li:nth-child(6) .bar-fill { transition-delay: .4s; } .bars li:nth-child(7) .bar-fill { transition-delay: .48s; }
.bars li:nth-child(8) .bar-fill { transition-delay: .56s; }
.bar-num { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--teal-deep); direction: ltr; text-align: left; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .impact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .bars li { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Reports timeline ---------- */
.reports-intro { max-width: 40em; color: var(--ink-soft); margin: -1rem 0 2.5rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.timeline::before {
  content: ""; position: absolute; top: 27px; inset-inline: 0 calc((100% - 3rem) / 4 - 29px); height: 3px; background: var(--line); border-radius: 3px;
}
.timeline::after {
  content: ""; position: absolute; top: 27px; inset-inline: 0 calc((100% - 3rem) / 4 - 29px); height: 3px;
  background: linear-gradient(to left, var(--lime), var(--teal)); border-radius: 3px;
  transform: scaleX(0); transform-origin: right center; transition: transform 1.6s var(--ease);
}
.timeline.is-visible::after { transform: scaleX(1); }
.timeline li { position: relative; padding-top: 4.2rem; }
.timeline .dot {
  position: absolute; top: 14px; inset-inline-start: 0; width: 29px; height: 29px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--line); transition: border-color .4s, background .4s; transition-delay: var(--delay, 0s);
}
.timeline.is-visible .dot { border-color: var(--teal); background: var(--white); }
.timeline.is-visible li.pending .dot { border-color: var(--lime); border-style: dashed; }
.report-link { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius); padding: .4rem 0 .8rem; }
.report-year { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; display: block; transition: color .25s; }
.report-label { display: block; margin-top: .6rem; font-weight: 500; color: var(--ink-soft); }
.report-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; color: var(--teal-deep); border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.report-cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.report-link:hover .report-year { color: var(--teal-deep); }
.report-link:hover .report-cta svg { transform: translateX(-4px); }
li.pending .report-year { color: rgba(22, 51, 59, .28); }
li.pending .report-cta { color: var(--ink-soft); border-color: var(--line); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-inline-start: 3rem; }
  .timeline::before, .timeline::after { top: 20px; bottom: 3.5rem; height: auto; width: 3px; inset-inline-start: 13px; inset-inline-end: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top center; background: linear-gradient(to bottom, var(--teal), var(--lime)); }
  .timeline.is-visible::after { transform: scaleY(1); }
  .timeline li { padding: 0 0 2.2rem; }
  .timeline .dot { top: 12px; inset-inline-start: -3rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; padding-block: clamp(2.8rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 88px; background: #fff; border-radius: 20px; padding: 8px; }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.4; }
.site-footer h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 .9rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.socials { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .7rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff;
  transition: background .2s, transform .2s var(--ease);
}
.socials a:hover { background: #fff; color: var(--teal-deep); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.handle { font-weight: 600; font-size: 1.1rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .9rem; opacity: .9; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Report sub-pages ---------- */
.report-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2rem); }
.crumbs { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.report-hero-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.report-hero h1 { font-family: var(--font-display); margin: 0; line-height: 1.1; font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink-soft); }
.report-hero h1 .year {
  display: block; font-weight: 700; font-size: clamp(4.5rem, 16vw, 9.5rem); line-height: .95; color: var(--ink);
  background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal) 45%, var(--lime) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: year-in 1s var(--ease) both;
}
@keyframes year-in { from { opacity: 0; letter-spacing: .12em; } to { opacity: 1; letter-spacing: 0; } }
.report-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.year-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1.6rem; }
.year-tabs a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); padding: .4rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); transition: background .2s, border-color .2s; }
.year-tabs a:hover { border-color: var(--teal); }
.year-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.viewer-wrap { padding-block: 0 clamp(3rem, 7vw, 5rem); }
.viewer {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(12, 74, 87, .55);
  aspect-ratio: 1 / 1.3; max-height: 88vh; width: 100%;
}
@media (min-width: 900px) { .viewer { aspect-ratio: 4 / 3.6; } }
.viewer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer .loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; color: var(--ink-soft); background: var(--white); transition: opacity .4s; }
.viewer.is-loaded .loading { opacity: 0; pointer-events: none; }
.loading img { width: 84px; animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.9); opacity: .6; } }
.viewer-note { margin-top: 1rem; font-size: .95rem; color: var(--ink-soft); }
.empty-state { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--white); }
.empty-state img { width: 110px; margin: 0 auto 1.4rem; opacity: .9; }
.empty-state h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 .6rem; }
.empty-state p { margin: 0 auto 1.6rem; max-width: 32em; color: var(--ink-soft); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .la-olive { animation: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .hero-art, .menu-btn { display: none !important; }
  .values { background: none; color: var(--ink); }
}

/* قطاعات العمل */
.facts .facts-wide { grid-template-columns: 1fr; gap: .7rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li {
  font-family: var(--font-body); font-weight: 500; font-size: .98rem; line-height: 1.4;
  padding: .4rem .85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.chips li:nth-child(odd) { border-color: rgba(0, 175, 198, .45); }
.chips li:nth-child(even) { border-color: rgba(184, 208, 52, .8); }

/* ---------- رابط الترخيص داخل «من نحن» ---------- */
.fact-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--teal-deep); font-weight: 600; text-decoration: none; }
.fact-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.fact-link:hover svg { transform: translateX(-3px); }

/* ---------- صفحة الترخيص الرسمي ---------- */
.license-year { font-size: clamp(2.6rem, 7vw, 4.2rem) !important; }
.license-facts { margin-top: 1.8rem; border-top: 2px solid var(--ink); max-width: 46rem; }
.license-facts div { grid-template-columns: 11rem 1fr; }
.license-frame {
  max-width: 640px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
  padding: clamp(.6rem, 2vw, 1.1rem); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(12, 74, 87, .55);
}
.license-frame img { border-radius: 8px; }
