/* ═══════════════════════════════════════════════════════
   Syrian Project · syrianproject.com
   A Startup13 product
   Master stylesheet
   ═══════════════════════════════════════════════════════ */
:root {
  --teal: #054d47;
  --teal-deep: #02312d;
  --teal-soft: #1a6b62;
  --cream: #d9d3ba;
  --cream-light: #ebe6d2;
  --paper: #faf7ee;
  --paper-warm: #f5f0e0;
  --gold: #b8892b;
  --gold-light: #d4ac4f;
  --gold-pale: #e8cf87;
  --terracotta: #a85e3f;
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --muted: #7a7668;
  --line: rgba(20, 20, 20, 0.1);
  --line-gold: rgba(184, 137, 43, 0.32);
  --line-cream: rgba(217, 211, 186, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Tajawal', sans-serif;
  font-weight: 400;
  line-height: 1.85;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--gold); color: var(--teal-deep); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 920px; margin: 0 auto; padding: 0 2rem; }

.display { font-family: 'Aref Ruqaa', serif; font-weight: 700; line-height: 1.25; }
.amiri { font-family: 'Amiri', serif; }
.kufi { font-family: 'Reem Kufi', sans-serif; }

/* ═══════════════════ CURSOR GLOW ═══════════════════ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(184, 137, 43, 0.10) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s; mix-blend-mode: multiply;
  will-change: transform; opacity: 0;
}

/* ═══════════════════ NAV ═══════════════════ */
nav.main-nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  background: rgba(250, 247, 238, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s ease;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.logo-link { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.logo-svg-nav { width: 110px; height: auto; overflow: visible; }
.logo-svg-nav path { fill: var(--teal); transition: fill 0.4s; }
.logo-link:hover .logo-svg-nav path { fill: var(--gold); }
@keyframes navShimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.85; } }
.logo-svg-nav path:nth-child(odd) { animation: navShimmer 4s ease-in-out infinite; }
.logo-svg-nav path:nth-child(even) { animation: navShimmer 4s ease-in-out infinite 2s; }

.nav-menu {
  display: flex; gap: 1.8rem; align-items: center;
  font-family: 'Tajawal', sans-serif; font-size: 0.92rem; font-weight: 500;
  color: var(--ink-soft);
}
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0; transition: color 0.3s; position: relative;
}
.nav-item > a::before, .nav-item > button::before {
  content: ''; position: absolute; bottom: -4px; right: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.4s ease;
}
.nav-item:hover > a, .nav-item:hover > button { color: var(--teal); }
.nav-item.active > a { color: var(--teal); }
.nav-item.active > a::before { width: 100%; }
.nav-item:hover > a::before, .nav-item:hover > button::before { width: 100%; }
.nav-caret { transition: transform 0.3s; font-size: 0.75rem; opacity: 0.5; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; padding: 0.7rem 0;
  box-shadow: 0 20px 50px rgba(5, 77, 71, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s ease;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 0.55rem 1.4rem;
  font-size: 0.9rem; color: var(--ink-soft);
  transition: all 0.25s; border-right: 2px solid transparent;
}
.nav-dropdown a:hover { background: var(--cream-light); color: var(--teal); border-color: var(--gold); padding-right: 1.7rem; }
.menu-btn { display: none; font-size: 1.5rem; color: var(--teal); cursor: pointer; }

/* ═══════════════════ HERO (HOME) ═══════════════════ */
.hero {
  min-height: 100vh;
  padding: 9rem 2rem 5rem;
  display: flex; align-items: center;
  background: radial-gradient(ellipse at top, var(--paper) 0%, var(--paper-warm) 100%);
  position: relative; overflow: hidden;
}
.skyline { position: absolute; bottom: 0; right: 0; left: 0; width: 100%; height: 38%; z-index: 1; pointer-events: none; }
.skyline svg { width: 100%; height: 100%; display: block; }
.skyline-back { opacity: 0.14; }
.skyline-front { opacity: 0.26; }
.hero-inner { max-width: 1200px; width: 100%; margin: 0 auto; position: relative; z-index: 5; }

.hero-mark {
  display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem;
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; font-family: 'Tajawal', sans-serif;
}
.hero-mark .line { height: 1px; background: var(--gold); flex: 0 0 50px; }
.hero-mark .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.hero-logo-wrap {
  display: flex; align-items: center; gap: 2.5rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.logo-svg-hero { width: clamp(220px, 28vw, 360px); height: auto; overflow: visible; }
.logo-svg-hero path { fill: var(--teal); }
.hero-logo-text { flex: 1; min-width: 260px; }
.hero-title {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.15; color: var(--teal);
  margin-bottom: 0.5rem; letter-spacing: -0.005em;
}
.hero-subtitle {
  font-family: 'Reem Kufi', sans-serif; font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--gold); letter-spacing: 0.08em;
}
.hero-sub {
  font-family: 'Amiri', serif; font-weight: 400; font-style: italic;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  color: var(--ink-soft); max-width: 820px; margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-lede {
  font-size: 1.1rem; line-height: 2; color: var(--ink-soft);
  max-width: 720px; font-weight: 400;
}
.hero-lede strong { color: var(--teal); font-weight: 700; }
.hero-lede em { font-style: normal; color: var(--gold); font-family: 'Amiri', serif; font-weight: 700; font-size: 1.1em; }

.hero-cta { display: flex; gap: 2rem; margin-top: 3rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 1rem 2rem; background: var(--teal);
  color: var(--cream); font-weight: 600; font-size: 0.95rem;
  border-radius: 2px; transition: all 0.4s;
  box-shadow: 0 8px 24px rgba(5, 77, 71, 0.22);
  position: relative; overflow: hidden;
  font-family: inherit;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-soft));
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(5, 77, 71, 0.36); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 2; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.9rem;
  color: var(--teal); font-weight: 600; font-size: 0.95rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--teal);
  transition: all 0.3s; font-family: inherit;
}
.btn-ghost:hover { gap: 1.5rem; color: var(--gold); border-color: var(--gold); }

.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.petal { position: absolute; top: -40px; width: 14px; height: 14px; animation: fall linear infinite; opacity: 0; }
@keyframes fall {
  0% { transform: translateY(-40px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 0.7; }
  50% { transform: translateY(50vh) rotate(180deg) translateX(-30px); opacity: 0.85; }
  90% { opacity: 0.4; }
  100% { transform: translateY(110vh) rotate(360deg) translateX(20px); opacity: 0; }
}

/* ═══════════════════ INNER PAGE HERO (compact) ═══════════════════ */
.page-hero {
  padding: 9rem 2rem 4rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23054d47' stroke-width='0.4' opacity='0.05'%3E%3Cpath d='M40 5 L75 40 L40 75 L5 40 Z'/%3E%3Cpath d='M40 20 L60 40 L40 60 L20 40 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px;
  pointer-events: none;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  font-family: 'Reem Kufi', sans-serif; font-size: 0.78rem;
  color: var(--muted); letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.breadcrumb a {
  transition: color 0.3s;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { color: var(--gold); border-color: var(--gold); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--teal); font-weight: 600; }

.page-mark {
  display: flex; align-items: center; gap: 1rem;
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; margin-bottom: 1.5rem;
}
.page-mark .line { height: 1px; background: var(--gold); flex: 0 0 50px; }
.page-mark .en {
  font-family: 'Reem Kufi', sans-serif; opacity: 0.6;
  text-transform: uppercase; font-weight: 500;
}

.page-title {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.2; color: var(--teal);
  margin-bottom: 1rem;
}
.page-subtitle {
  font-family: 'Amiri', serif; font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--muted); max-width: 720px;
  line-height: 1.7;
}

/* ═══════════════════ PAGE CONTENT ═══════════════════ */
.page-content { padding: 5rem 0; }
.page-content .narrow > p {
  font-size: 1.08rem; line-height: 2.05; color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.page-content .narrow > p strong { color: var(--teal); font-weight: 700; }
.page-content .narrow > p em {
  font-style: normal; color: var(--gold); font-family: 'Amiri', serif;
  font-weight: 700; font-size: 1.1em;
}
.page-content h2 {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--teal); margin: 3rem 0 1.2rem;
  line-height: 1.3;
}
.page-content h2 .en {
  display: block; font-family: 'Reem Kufi', sans-serif;
  font-size: 0.7rem; color: var(--gold); letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 0.4rem; font-weight: 500;
}
.page-content h3 {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  font-size: 1.3rem; color: var(--teal);
  margin: 2rem 0 0.8rem;
}

/* Feature grid (used on many pages) */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
  margin: 2.5rem 0;
}
.feature-card {
  padding: 1.8rem 1.6rem; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: 4px;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.5s ease;
}
.feature-card:hover {
  transform: translateY(-3px); border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(5, 77, 71, 0.1);
}
.feature-card:hover::before { width: 100%; }
.feature-num {
  font-family: 'Aref Ruqaa', serif; font-size: 1.6rem;
  color: var(--gold); margin-bottom: 0.6rem;
}
.feature-title {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  color: var(--teal); font-size: 1.15rem; margin-bottom: 0.3rem;
}
.feature-en {
  font-family: 'Reem Kufi', sans-serif; font-size: 0.7rem;
  color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.feature-desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.8; }

/* Sub-pillars / quick links grid (3 cols) */
.subnav-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem; margin: 3rem 0;
}
.subnav-card {
  display: block; padding: 2rem 1.6rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; transition: all 0.4s; position: relative;
  overflow: hidden;
}
.subnav-card::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s ease;
}
.subnav-card:hover { transform: translateX(-4px); border-color: var(--gold); }
.subnav-card:hover::before { transform: scaleY(1); }
.subnav-card-title { font-family: 'Aref Ruqaa', serif; color: var(--teal); font-size: 1.15rem; margin-bottom: 0.3rem; }
.subnav-card-en { font-family: 'Reem Kufi', sans-serif; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.8rem; }
.subnav-card-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.subnav-card-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.9rem; color: var(--teal); font-weight: 600; font-size: 0.85rem;
  transition: gap 0.3s;
}
.subnav-card:hover .subnav-card-arrow { gap: 0.9rem; }

/* Process / steps */
.process-list {
  margin: 2rem 0; padding-right: 0;
  border-right: 2px solid var(--line-gold);
}
.process-step {
  position: relative; padding-right: 2rem; padding-bottom: 1.8rem;
  padding-top: 0.2rem;
}
.process-step::before {
  content: ''; position: absolute; top: 0.6rem; right: -8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.process-step-num {
  font-family: 'Aref Ruqaa', serif; color: var(--gold);
  font-size: 0.95rem; margin-bottom: 0.2rem;
}
.process-step-title {
  font-family: 'Aref Ruqaa', serif; color: var(--teal);
  font-size: 1.15rem; margin-bottom: 0.3rem;
}
.process-step-desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.85; }

/* Inline list (bullets, but elegant) */
.elegant-list { margin: 1.5rem 0 2rem; }
.elegant-list li {
  position: relative; padding-right: 2rem; padding-bottom: 1rem;
  color: var(--ink-soft); font-size: 1rem; line-height: 1.85;
}
.elegant-list li::before {
  content: ''; position: absolute; top: 0.6em; right: 0.4rem;
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg);
}

/* CTA Block */
.cta-block {
  margin: 4rem 0 0;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--cream); border-radius: 4px;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d4ac4f' stroke-width='0.4' opacity='0.18'%3E%3Cpath d='M50 5 L75 30 L75 70 L50 95 L25 70 L25 30 Z'/%3E%3Cpath d='M50 25 L65 40 L65 60 L50 75 L35 60 L35 40 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px;
}
.cta-block-inner { position: relative; z-index: 2; }
.cta-block h3 { font-family: 'Aref Ruqaa', serif; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--cream); margin-bottom: 0.7rem; }
.cta-block p { color: rgba(217, 211, 186, 0.85); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; max-width: 640px; }
.cta-block .cta-buttons { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cta-block .btn-primary { background: var(--gold); color: var(--teal-deep); }
.cta-block .btn-primary::before { background: linear-gradient(135deg, var(--gold-light), var(--gold-pale)); }
.cta-block .btn-ghost { color: var(--cream); border-color: var(--cream); }
.cta-block .btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ═══════════════════ HOMEPAGE SECTIONS (kept) ═══════════════════ */
section { padding: 7rem 0; position: relative; }
.section-mark {
  display: flex; align-items: center; gap: 1.2rem;
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; margin-bottom: 2rem;
}
.section-mark .num { font-family: 'Aref Ruqaa', serif; font-weight: 700; font-size: 1.3rem; }
.section-mark .line { height: 1px; background: var(--gold); flex: 1; max-width: 180px; }
.section-en {
  font-family: 'Reem Kufi', sans-serif; font-weight: 400;
  color: var(--muted); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.7;
}
.section-title {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.2; color: var(--teal); margin-bottom: 1.2rem;
}
.section-sub {
  font-family: 'Amiri', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  color: var(--muted); margin-bottom: 3.5rem; max-width: 760px;
}

.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.about-visual {
  aspect-ratio: 3/4;
  background: linear-gradient(165deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: 6px; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(5, 77, 71, 0.28);
}
.about-visual::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d9d3ba' stroke-width='0.4' opacity='0.3'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z'/%3E%3Cpath d='M30 15 L45 30 L30 45 L15 30 Z'/%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px;
  animation: drift 50s linear infinite;
}
@keyframes drift { 0% { background-position: 0 0; } 100% { background-position: 80px 80px; } }
.about-visual-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; z-index: 2; padding: 2.5rem;
  gap: 1.5rem;
}
.about-logo-mark { width: 70%; opacity: 0.95; }
.about-logo-mark path { fill: var(--cream); }
.about-visual-tag {
  color: var(--cream); font-family: 'Aref Ruqaa', serif;
  font-size: 1.05rem; opacity: 0.85; text-align: center; letter-spacing: 0.05em;
}
.about-visual-tag .by { display: block; font-family: 'Reem Kufi', sans-serif; font-size: 0.7rem; letter-spacing: 0.3em; margin-top: 0.4rem; color: var(--gold-light); }
.about-body p { font-size: 1.08rem; line-height: 2.05; color: var(--ink-soft); margin-bottom: 1.5rem; }
.about-body p strong { color: var(--teal); font-weight: 700; }
.about-body p em { font-style: normal; color: var(--gold); font-family: 'Amiri', serif; font-weight: 700; font-size: 1.12em; }

/* Counters */
.counters { padding: 6rem 2rem; border-top: 1px solid var(--line); background: var(--paper); }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.counter-item { position: relative; padding: 1.5rem; }
.counter-item:not(:last-child)::after {
  content: ''; position: absolute; top: 20%; bottom: 20%; left: 0; width: 1px;
  background: var(--line-gold);
}
.counter-num {
  font-family: 'Aref Ruqaa', serif; font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.counter-label { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }

/* ═══════════════════ FOOTER ═══════════════════ */
footer {
  background: var(--teal-deep); color: rgba(217, 211, 186, 0.7);
  padding: 5rem 2rem 2rem; font-size: 0.9rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(217, 211, 186, 0.15);
}
.footer-brand .logo-svg-footer { width: 140px; height: auto; margin-bottom: 1.5rem; }
.footer-brand .logo-svg-footer path { fill: var(--cream); }
.footer-brand p { color: rgba(217, 211, 186, 0.65); line-height: 1.85; font-size: 0.9rem; max-width: 320px; }
.footer-by {
  margin-top: 1.2rem; padding-top: 1.2rem;
  border-top: 1px dashed rgba(217, 211, 186, 0.18);
  color: var(--gold-light); font-family: 'Reem Kufi', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.footer-col h4 {
  font-family: 'Aref Ruqaa', serif; color: var(--cream);
  font-size: 1.05rem; margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(217, 211, 186, 0.65); font-size: 0.88rem;
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li .en {
  display: block; font-family: 'Reem Kufi', sans-serif;
  font-size: 0.66rem; opacity: 0.5; letter-spacing: 0.1em;
  margin-top: 2px; text-transform: uppercase;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
  color: rgba(217, 211, 186, 0.5); font-size: 0.8rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { transition: color 0.25s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ═══════════════════ REVEAL ANIMATIONS ═══════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.hero-stagger > * { opacity: 0; transform: translateY(20px); animation: heroFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-stagger > *:nth-child(1) { animation-delay: 0.2s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.45s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.85s; }
.hero-stagger > *:nth-child(4) { animation-delay: 1.1s; }
.hero-stagger > *:nth-child(5) { animation-delay: 1.35s; }
@keyframes heroFade { to { opacity: 1; transform: translateY(0); } }

.logo-svg-hero path { opacity: 0; transform: translateY(6px); transform-box: fill-box; transform-origin: center; }
.logo-svg-hero.draw path { animation: logoDraw 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes logoDraw { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
  .nav-menu { display: none; position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; background: var(--paper); padding: 1.4rem 2rem; gap: 0.5rem;
    border-bottom: 1px solid var(--line); max-height: 80vh; overflow-y: auto; }
  .nav-menu.open { display: flex; }
  .menu-btn { display: block; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-item > button { padding: 0.7rem 0; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 0 0 0.5rem 0;
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .nav-item.expanded .nav-dropdown { max-height: 600px; }
  .nav-dropdown a { padding: 0.4rem 1rem; font-size: 0.85rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .counters-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .counter-item:not(:last-child)::after { display: none; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 1; }
  section { padding: 5rem 0; }
  .hero { padding: 7.5rem 1.5rem 4rem; min-height: auto; }
  .page-hero { padding: 7.5rem 1.5rem 3rem; }
  .page-content { padding: 3.5rem 0; }
  .hero-logo-wrap { gap: 1.5rem; }
  .cta-block { padding: 2rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .petal { display: none; }
}
