/* ============================================================
   MEDALS WAY — طريق الأوسمة
   Design system: "Obsidian & Gold"
   ============================================================ */

:root {
  /* Brand palette */
  --ink: #07080C;          /* page ground */
  --coal: #0C0E14;         /* deep section */
  --surface: #121521;      /* card */
  --surface-2: #171B2A;    /* raised card */
  --gold-1: #F9E9A8;       /* highlight */
  --gold-2: #EFCF6E;       /* bright gold */
  --gold-3: #D4A73B;       /* core gold */
  --gold-4: #A8721C;       /* deep gold */
  --gold-5: #6E4A0F;       /* shadow gold */
  --ivory: #F7F3E8;
  --sand: #D9CFB4;
  --muted: #9BA1B0;
  --line: rgba(212, 167, 59, .16);
  --line-strong: rgba(212, 167, 59, .38);
  --glow: rgba(212, 167, 59, .12);
  --grad-gold: linear-gradient(115deg, #8C5E14 0%, #D4A73B 25%, #F9E9A8 50%, #D4A73B 75%, #8C5E14 100%);
  --grad-gold-btn: linear-gradient(180deg, #F2D77E 0%, #D4A73B 55%, #B67F22 100%);
  --font-ar: "Cairo", "Tajawal", "Segoe UI", sans-serif;
  --font-en: "Outfit", "Cairo", sans-serif;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-1: 0 20px 60px rgba(0, 0, 0, .45);
  --shadow-gold: 0 10px 40px rgba(212, 167, 59, .22);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-ar);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { font-family: var(--font-en); letter-spacing: .01em; }

::selection { background: rgba(212, 167, 59, .35); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1220px, 92vw); margin-inline: auto; }

/* ---------- texture / ambient ---------- */
.grain::before {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 3;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-2%,2%) }
  40% { transform: translate(2%,-1%) } 60% { transform: translate(-1%,-2%) }
  80% { transform: translate(1%,2%) }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .pl-mark { width: 110px; animation: plPulse 1.6s var(--ease-out) infinite; filter: drop-shadow(0 0 34px rgba(212,167,59,.35)); }
@keyframes plPulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.06) } }
#preloader .pl-bar {
  width: 160px; height: 2px; margin-top: 28px;
  background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden;
}
#preloader .pl-bar i {
  display: block; height: 100%; width: 40%;
  background: var(--grad-gold-btn);
  animation: plBar 1.1s ease-in-out infinite;
}
@keyframes plBar { 0% { transform: translateX(-160px) } 100% { transform: translateX(160px) } }
[dir="rtl"] #preloader .pl-bar i { animation-name: plBarR; }
@keyframes plBarR { 0% { transform: translateX(160px) } 100% { transform: translateX(-160px) } }

/* ============================================================
   SCROLL PROGRESS + HEADER
   ============================================================ */
#scrollbar {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: var(--grad-gold-btn); z-index: 120;
  box-shadow: 0 0 12px rgba(212,167,59,.6);
}

#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s, height .45s, box-shadow .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  height: 68px;
  background: rgba(7, 8, 12, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
#header .container { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand svg, .brand img { height: 46px; width: auto; filter: drop-shadow(0 2px 12px rgba(212,167,59,.35)); }
.brand .b-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand .b-ar { font-weight: 800; font-size: 19px; color: var(--ivory); }
.brand .b-en {
  font-family: var(--font-en); font-weight: 600; font-size: 10.5px;
  letter-spacing: .42em; color: var(--gold-2); text-transform: uppercase;
}
html[lang="en"] .brand .b-en { font-family: var(--font-ar); letter-spacing: .04em; font-size: 12px; }
html[lang="en"] #hero h1 { font-size: clamp(30px, 4.6vw, 54px); }

#nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
#nav a {
  padding: 9px 15px; border-radius: 99px;
  font-size: 15px; font-weight: 600; color: var(--sand);
  transition: color .3s, background .3s;
  position: relative; white-space: nowrap;
}
#nav a:hover { color: var(--gold-1); }
#nav a.active { color: var(--gold-2); background: rgba(212,167,59,.08); }

.lang-toggle {
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--gold-2); border-radius: 99px;
  padding: 8px 18px; font-size: 13.5px; font-weight: 700;
  font-family: var(--font-en);
  transition: all .3s; flex-shrink: 0;
}
.lang-toggle:hover { background: rgba(212,167,59,.12); box-shadow: 0 0 20px rgba(212,167,59,.18); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; margin-inline-start: auto;
}
.burger span { width: 24px; height: 2px; background: var(--gold-2); transition: .35s; border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 99px;
  font-size: 16px; font-weight: 800; line-height: 1;
  border: 0; position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  will-change: transform;
}
.btn-gold {
  background: var(--grad-gold-btn);
  color: #241703;
  box-shadow: var(--shadow-gold);
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; height: 100%; width: 60%;
  inset-inline-start: -80%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: inset-inline-start .7s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(212,167,59,.4); }
.btn-gold:hover::after { inset-inline-start: 120%; }
.btn-ghost {
  background: transparent; color: var(--gold-1);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(212,167,59,.08); box-shadow: 0 0 30px rgba(212,167,59,.15); }
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; padding: 110px 0; }
section.tinted { background: var(--coal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--gold-2); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 42px; height: 1.5px;
  background: linear-gradient(to right, transparent, var(--gold-3));
}
[dir="ltr"] .eyebrow::before { background: linear-gradient(to left, transparent, var(--gold-3)); }

.sec-head { max-width: 780px; margin-bottom: 64px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after {
  content: ""; width: 42px; height: 1.5px;
  background: linear-gradient(to left, transparent, var(--gold-3));
}
[dir="ltr"] .sec-head.center .eyebrow::after { background: linear-gradient(to right, transparent, var(--gold-3)); }

h1, h2, h3 { font-weight: 900; line-height: 1.42; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h2 .g, h1 .g {
  background: var(--grad-gold);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.sec-head p { color: var(--muted); font-size: 17.5px; margin-top: 16px; }

/* reveal-on-scroll */
.rv { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s } .rv-d2 { transition-delay: .16s }
.rv-d3 { transition-delay: .24s } .rv-d4 { transition-delay: .32s }
.rv-d5 { transition-delay: .40s } .rv-d6 { transition-delay: .48s }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(212,167,59,.10), transparent 60%),
    radial-gradient(900px 600px at 10% 95%, rgba(212,167,59,.06), transparent 60%),
    var(--ink);
}
#particles { position: absolute; inset: 0; z-index: 0; }
#hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(7,8,12,.7) 100%);
}
.hero-grid {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 99px;
  padding: 8px 20px; margin-bottom: 26px;
  font-size: 13.5px; font-weight: 700; color: var(--gold-1);
  background: rgba(212,167,59,.06);
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(212,167,59,.6);
  animation: ping 2.2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(212,167,59,.55) }
  70% { box-shadow: 0 0 0 11px rgba(212,167,59,0) }
  100% { box-shadow: 0 0 0 0 rgba(212,167,59,0) }
}
#hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  margin-bottom: 22px;
}
#hero .lead {
  color: var(--muted); font-size: clamp(16px, 1.6vw, 19.5px);
  max-width: 560px; margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 58px; }

/* hero medal visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.medal-wrap { position: relative; width: min(400px, 78vw); aspect-ratio: 270/330; }
.medal-wrap .halo {
  position: absolute; inset: -18%;
  background:
    radial-gradient(circle at 50% 38%, rgba(212,167,59,.22), transparent 55%),
    conic-gradient(from 0deg, transparent 0 40%, rgba(212,167,59,.10) 50%, transparent 60% 100%);
  border-radius: 50%;
  animation: haloSpin 14s linear infinite;
  filter: blur(6px);
}
@keyframes haloSpin { to { transform: rotate(360deg) } }
.medal-wrap > svg, .medal-wrap > img {
  position: relative; z-index: 2; width: 100%; height: 100%;
  filter: drop-shadow(0 26px 60px rgba(0,0,0,.55)) drop-shadow(0 0 46px rgba(212,167,59,.22));
  animation: medalFloat 6.5s ease-in-out infinite;
}
@keyframes medalFloat {
  0%,100% { transform: translateY(0) rotate(-1.2deg) }
  50% { transform: translateY(-20px) rotate(1.2deg) }
}
.orbit {
  position: absolute; inset: 0; z-index: 1;
  border: 1px dashed rgba(212,167,59,.22); border-radius: 50%;
  animation: orbitSpin 30s linear infinite;
}
.orbit.o2 { inset: -12%; animation-duration: 46s; animation-direction: reverse; border-color: rgba(212,167,59,.12); }
.orbit i {
  position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 14px rgba(212,167,59,.9);
}
@keyframes orbitSpin { to { transform: rotate(360deg) } }

/* hero stats */
.hero-stats {
  position: relative; z-index: 6;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(12, 14, 20, .55);
  backdrop-filter: blur(14px);
  overflow: hidden;
  margin-top: 8px;
}
.hero-stats .stat {
  padding: 30px 20px; text-align: center; position: relative;
}
.hero-stats .stat + .stat::before {
  content: ""; position: absolute; top: 22%; bottom: 22%; inset-inline-start: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--line-strong), transparent);
}
.stat .num {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; line-height: 1.15;
  background: var(--grad-gold); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
  font-family: var(--font-en);
}
.stat .lbl { color: var(--sand); font-size: 14.5px; font-weight: 600; margin-top: 4px; }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 6; color: var(--gold-3); opacity: .8;
}
.scroll-hint svg { width: 26px; height: 26px; animation: hint 1.8s infinite; }
@keyframes hint { 0%,100% { transform: translateY(0); opacity: .5 } 50% { transform: translateY(8px); opacity: 1 } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--sand); margin-bottom: 18px; font-size: 17px; }
.about-copy p strong { color: var(--gold-1); font-weight: 800; }

.mission-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(212,167,59,.12), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.mission-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(212,167,59,.55), transparent 35%, transparent 70%, rgba(212,167,59,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.mission-card .q {
  font-size: 60px; line-height: 1; color: var(--gold-3); opacity: .5;
  font-family: Georgia, serif; margin-bottom: 8px;
}
.mission-card p { font-size: 18.5px; font-weight: 600; color: var(--ivory); line-height: 2; }
.mission-card .tag { margin-top: 22px; color: var(--gold-2); font-weight: 800; font-size: 14.5px; letter-spacing: .04em; }

.about-points { display: grid; gap: 14px; margin-top: 30px; }
.about-points li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(212,167,59,.045);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s, background .3s;
}
.about-points li:hover { border-color: var(--line-strong); transform: translateX(-6px); background: rgba(212,167,59,.07); }
[dir="ltr"] .about-points li:hover { transform: translateX(6px); }
.about-points .ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad-gold-btn); color: #241703;
}
.about-points .ic svg { width: 16px; height: 16px; }
.about-points span { color: var(--sand); font-weight: 600; font-size: 15.5px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--coal) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(212,167,59,.13), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover {
  transform: translateY(-10px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(212,167,59,.12);
}
.svc-num {
  position: absolute; top: 20px; inset-inline-end: 26px;
  font-family: var(--font-en); font-size: 54px; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1px rgba(212,167,59,.28);
  line-height: 1;
}
.svc-ic {
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(150deg, rgba(212,167,59,.18), rgba(212,167,59,.05));
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  transition: transform .5s var(--ease-out), background .4s;
}
.svc-card:hover .svc-ic { transform: rotate(-8deg) scale(1.08); background: var(--grad-gold-btn); color: #241703; }
.svc-ic svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 20.5px; margin-bottom: 14px; color: var(--ivory); position: relative; }
.svc-card p { color: var(--muted); font-size: 15.5px; position: relative; }
.svc-card .svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; position: relative; }
.svc-card .svc-tags span {
  font-size: 12.5px; font-weight: 700; color: var(--gold-1);
  background: rgba(212,167,59,.08); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 99px;
}
.svc-note {
  margin-top: 44px; text-align: center;
  padding: 22px 30px; border-radius: 16px;
  border: 1px dashed var(--line-strong);
  color: var(--gold-1); font-weight: 700; font-size: 16.5px;
  background: rgba(212,167,59,.04);
}

/* ============================================================
   AWARDS
   ============================================================ */
#awards {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(212,167,59,.07), transparent 60%),
    var(--coal);
}
.award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.award-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  padding: 34px 26px 30px;
  text-align: center;
  transition: transform .45s var(--ease-out), border-color .4s, box-shadow .45s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.award-card::after {
  content: ""; position: absolute; top: 0; inset-inline: 18%; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-3), transparent);
  opacity: 0; transition: opacity .4s;
}
.award-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.award-card:hover::after { opacity: 1; }
.award-logo {
  height: 96px; display: grid; place-items: center; margin-bottom: 22px;
}
.award-logo img {
  max-height: 96px; max-width: 82%; object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.4));
  transition: transform .5s var(--ease-out);
}
.award-card:hover .award-logo img { transform: scale(1.07); }
.award-logo.on-light {
  background: #FDFDFB; border-radius: 14px; padding: 12px;
  height: 108px; margin: -6px 0 22px;
}
.award-logo.on-light img { max-height: 84px; }
.award-card h3 { font-size: 16.5px; line-height: 1.6; color: var(--ivory); margin-bottom: 6px; }
.award-card .en-name { font-family: var(--font-en); font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.award-card .lvl {
  display: inline-block; margin-top: 14px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  color: var(--gold-2); border: 1px solid var(--line-strong);
  border-radius: 99px; padding: 4px 13px;
  background: rgba(212,167,59,.06);
}

/* ============================================================
   MEDALS (DGEP categories band)
   ============================================================ */
#medals { overflow: hidden; }
#medals .medal-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px; margin-top: 8px;
}
.medal-chip {
  display: flex; align-items: center; gap: 14px;
  border-radius: 16px; padding: 18px 20px;
  background: linear-gradient(150deg, rgba(212,167,59,.09), rgba(212,167,59,.02));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
}
.medal-chip:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(150deg, rgba(212,167,59,.16), rgba(212,167,59,.04)); }
.medal-chip .m-ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #F6E27A, #D4A73B 55%, #8C5E14);
  box-shadow: 0 6px 16px rgba(212,167,59,.35), inset 0 1px 2px rgba(255,255,255,.5);
  color: #3D2A08;
}
.medal-chip .m-ic svg { width: 22px; height: 22px; }
.medal-chip b { display: block; font-size: 15.5px; color: var(--ivory); line-height: 1.5; }
.medal-chip small { color: var(--muted); font-size: 12.5px; font-family: var(--font-en); }

/* ============================================================
   METHODOLOGY / JOURNEY
   ============================================================ */
#method { background: var(--coal); }
.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.journey::before {
  content: ""; position: absolute; top: 33px; inset-inline: 6%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
}
.step { position: relative; text-align: center; padding-top: 0; }
.step .s-dot {
  width: 66px; height: 66px; margin: 0 auto 22px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--gold-2); font-family: var(--font-en);
  font-size: 21px; font-weight: 800;
  position: relative; z-index: 2;
  transition: transform .4s var(--ease-out), background .4s, color .4s, box-shadow .4s;
}
.step:hover .s-dot {
  transform: scale(1.12);
  background: var(--grad-gold-btn); color: #241703;
  box-shadow: 0 0 0 8px rgba(212,167,59,.12), 0 12px 30px rgba(212,167,59,.3);
}
.step h3 { font-size: 17px; margin-bottom: 8px; color: var(--ivory); }
.step p { font-size: 13.8px; color: var(--muted); }

.fw-strip {
  margin-top: 64px; display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: center;
  padding: 24px 26px; border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(212,167,59,.035);
}
.fw-strip .fw-lbl { color: var(--sand); font-weight: 800; font-size: 15px; margin-inline-end: 6px; }
.fw-strip .fw-chip {
  font-size: 13.5px; font-weight: 700; color: var(--gold-1);
  border: 1px solid var(--line-strong); border-radius: 99px;
  padding: 8px 18px; background: rgba(212,167,59,.07);
  transition: background .3s, transform .3s;
}
.fw-strip .fw-chip:hover { background: rgba(212,167,59,.15); transform: translateY(-2px); }

/* ============================================================
   CLIENTS
   ============================================================ */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  padding: 10px 0;
}
.marquee .track {
  display: flex; gap: 22px; width: max-content;
  animation: scrollX 42s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 52s; }
@keyframes scrollX { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee .track { animation-name: scrollXr; }
@keyframes scrollXr { to { transform: translateX(50%); } }

.client-card {
  width: 250px; flex-shrink: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  padding: 20px 18px 18px;
  text-align: center;
  transition: border-color .3s, transform .3s;
}
.client-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.client-logo {
  height: 86px; border-radius: 12px; background: #FDFDFB;
  display: grid; place-items: center; padding: 10px 14px; margin-bottom: 14px;
}
.client-logo img { max-height: 66px; max-width: 100%; object-fit: contain; }
.client-card b { font-size: 13.5px; color: var(--sand); font-weight: 700; line-height: 1.5; display: block; }

/* ============================================================
   WHY US
   ============================================================ */
#why { background: var(--coal); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface), var(--coal));
  text-align: center;
  transition: transform .45s var(--ease-out), border-color .35s;
}
.why-card:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.why-card .w-ic {
  width: 66px; height: 66px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(246,226,122,.25), rgba(212,167,59,.08));
  border: 1px solid var(--line-strong); color: var(--gold-2);
}
.why-card .w-ic svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-band { padding: 0; }
.cta-inner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 74px 60px;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(212,167,59,.22), transparent 65%),
    linear-gradient(165deg, #171203 0%, #0C0E14 55%);
  border: 1px solid var(--line-strong);
}
.cta-inner::before, .cta-inner::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid rgba(212,167,59,.15);
}
.cta-inner::before { width: 480px; height: 480px; top: -280px; inset-inline-start: -160px; }
.cta-inner::after { width: 380px; height: 380px; bottom: -240px; inset-inline-end: -120px; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { color: var(--sand); max-width: 640px; margin: 0 auto 36px; font-size: 17.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.c-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.c-item:last-child { border-bottom: 0; }
.c-item .c-ic {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(212,167,59,.16), rgba(212,167,59,.04));
  border: 1px solid var(--line-strong); color: var(--gold-2);
}
.c-item .c-ic svg { width: 24px; height: 24px; }
.c-item b { display: block; font-size: 16.5px; color: var(--ivory); margin-bottom: 4px; }
.c-item p, .c-item a.val { color: var(--muted); font-size: 15.5px; }
.c-item a.val:hover { color: var(--gold-1); }
.num-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; font-family: var(--font-en); font-weight: 600; }

.c-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  padding: 44px 40px;
  box-shadow: var(--shadow-1);
}
.c-form h3 { font-size: 22px; margin-bottom: 8px; }
.c-form .sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 16px; }
.f-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--sand); margin-bottom: 8px; }
.f-group input, .f-group select, .f-group textarea {
  width: 100%; padding: 14px 18px;
  border-radius: 13px; border: 1px solid var(--line);
  background: rgba(7,8,12,.5); color: var(--ivory);
  font-family: inherit; font-size: 15.5px;
  transition: border-color .3s, box-shadow .3s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  outline: none; border-color: var(--gold-3);
  box-shadow: 0 0 0 4px rgba(212,167,59,.12);
}
.f-group textarea { min-height: 120px; resize: vertical; }
.f-group select { appearance: none; }
.c-form .btn { width: 100%; margin-top: 8px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  background: #05060A;
  padding: 70px 0 0;
}
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 54px; }
.f-brand svg, .f-brand img { height: 74px; margin-bottom: 18px; }
.f-brand p { color: var(--muted); font-size: 14.5px; max-width: 380px; }
footer h4 { color: var(--gold-2); font-size: 15px; letter-spacing: .05em; margin-bottom: 20px; font-weight: 800; }
.f-links li { margin-bottom: 11px; }
.f-links a { color: var(--muted); font-size: 14.5px; transition: color .3s, padding .3s; }
.f-links a:hover { color: var(--gold-1); padding-inline-start: 6px; }
.f-contact li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; align-items: flex-start; }
.f-contact svg { width: 17px; height: 17px; color: var(--gold-3); flex-shrink: 0; margin-top: 5px; }
.f-bottom {
  border-top: 1px solid rgba(212,167,59,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  color: #6B7080; font-size: 13px;
}
.f-bottom .en { font-family: var(--font-en); letter-spacing: .04em; }

/* WhatsApp float */
#wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 100;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1EBE57; color: #fff;
  box-shadow: 0 12px 34px rgba(30,190,87,.45);
  transition: transform .35s var(--ease-out);
  animation: waPulse 2.6s infinite;
}
#wa-float:hover { transform: scale(1.12) translateY(-3px); }
#wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0% { box-shadow: 0 12px 34px rgba(30,190,87,.45), 0 0 0 0 rgba(30,190,87,.45) }
  70% { box-shadow: 0 12px 34px rgba(30,190,87,.45), 0 0 0 18px rgba(30,190,87,0) }
  100% { box-shadow: 0 12px 34px rgba(30,190,87,.45), 0 0 0 0 rgba(30,190,87,0) }
}

/* back to top */
#to-top {
  position: fixed; bottom: 100px; inset-inline-end: 33px; z-index: 100;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(12,14,20,.8);
  color: var(--gold-2); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: .4s;
  backdrop-filter: blur(8px);
}
#to-top.show { opacity: 1; visibility: visible; }
#to-top:hover { background: rgba(212,167,59,.15); }
#to-top svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  #hero .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .medal-wrap { width: min(280px, 60vw); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .journey::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  section { padding: 76px 0; }
  #nav {
    position: fixed; top: 0; bottom: 0; inset-inline-end: -100%;
    width: min(320px, 84vw);
    background: rgba(7,8,12,.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px 34px; gap: 8px;
    border-inline-start: 1px solid var(--line);
    transition: inset-inline-end .5s var(--ease-out);
    margin: 0; z-index: 105;
  }
  #nav.open { inset-inline-end: 0; }
  #nav a { font-size: 19px; padding: 12px 16px; width: 100%; }
  .burger { display: flex; z-index: 106; }
  .lang-toggle { margin-inline-start: auto; }
  .brand .b-txt { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(odd)::before { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 54px 26px; }
  .c-form { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .marquee .track { animation: none; }
}
