/* ══════════════════════════════════════════════
   مؤسسة الزهراء الدولية — Al-Zahra International
   Editorial-ledger direction · RTL-first · AR/EN
   ══════════════════════════════════════════════ */

:root {
  --maroon: #8B1E1E;
  --maroon-deep: #6E1414;
  --maroon-ink: #430C0C;
  --gold: #A9823F;
  --gold-soft: #CBB07E;
  --cream: #F6F3EC;
  --cream-deep: #ECE7DA;
  --paper: #FCFAF4;
  --ink: #1B1613;
  --ink-soft: #4C433C;
  --muted: #8A7F74;
  --line: rgba(27, 22, 19, 0.10);
  --line-strong: rgba(27, 22, 19, 0.20);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
  --font-quote: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* fine paper grain */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  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='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 8px;
  background: var(--maroon); color: #fff; padding: 10px 18px; border-radius: var(--radius); z-index: 200;
}
.skip-link:focus { inset-inline-start: 12px; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

::selection { background: var(--maroon); color: var(--cream); }

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 150;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  transform: scaleX(0); transform-origin: right;
}
[dir="ltr"] .scroll-progress span { transform-origin: left; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: .01em;
  padding: 15px 34px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; position: relative; overflow: hidden; white-space: nowrap;
  transition: transform .5s var(--ease), color .35s, border-color .35s, box-shadow .5s;
  will-change: transform;
}
.btn-primary { background: var(--maroon); color: var(--cream); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; background: var(--maroon-deep);
  transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(67, 12, 12, 0.7); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--maroon); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--maroon); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ══════════ Header ══════════ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.88); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 10px 40px -30px rgba(67, 12, 12, 0.6);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 88px;
}

.header-left { display: flex; align-items: center; gap: 12px; }
.header-right { display: flex; align-items: center; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.05) rotate(-1deg); }
.brand-word { display: flex; flex-direction: column; line-height: 1.4; text-align: right; }
.brand-word-1 { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--maroon); }
.brand-word-2 { font-size: 0.67rem; letter-spacing: .02em; color: var(--muted); }

/* Compact header CTA — slim outline pill */
.btn-header {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; letter-spacing: .01em;
  padding: 9px 20px; border-radius: 100px;
  background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon);
  cursor: pointer; transition: background .3s, color .3s, transform .4s var(--ease);
}
.btn-header:hover { background: var(--maroon); color: var(--cream); transform: translateY(-2px); }

.main-nav { display: flex; gap: 36px; justify-content: center; }
.main-nav a {
  position: relative; font-weight: 500; font-size: 0.98rem; color: var(--ink-soft);
  padding: 8px 2px; transition: color .3s;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 2px; inset-inline-start: 0; width: 0; height: 1.5px;
  background: var(--maroon); transition: width .4s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--maroon); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.lang-switch {
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: .06em;
  color: var(--maroon); background: transparent; border: 1.5px solid var(--line-strong);
  border-radius: 100px; padding: 8px 14px; cursor: pointer; min-width: 48px;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.lang-switch:hover { border-color: var(--maroon); background: var(--maroon); color: var(--cream); transform: translateY(-2px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--maroon); transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════ Hero ══════════ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 clamp(72px, 10vw, 120px); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 90% at 85% -5%, rgba(169, 130, 63, 0.10), transparent 55%), var(--cream);
}
.hero-watermark {
  position: absolute; z-index: -1; inset-inline-end: -4%; top: 50%;
  width: min(52vw, 640px); transform: translateY(-50%);
  opacity: 0.055; filter: saturate(0.6); pointer-events: none; will-change: transform;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  grid-template-areas: "seal copy";
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.hero-copy  { grid-area: copy; }
.hero-aside { grid-area: seal; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: .06em; color: var(--maroon);
  margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--gold); }

.hero-title {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.45; letter-spacing: 0;
  margin-bottom: 24px; text-wrap: balance;
}
.hero-tagline {
  font-family: var(--font-quote); font-weight: 600; color: var(--maroon);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.7;
  margin-bottom: 22px; position: relative; padding-inline-start: 24px;
}
.hero-tagline::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(var(--gold), var(--gold-soft)); border-radius: 3px;
}
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-group {
  margin-top: 30px; font-size: 0.85rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-group::before { content: ''; width: 22px; height: 1px; background: var(--gold-soft); }

.hero-aside { display: flex; justify-content: center; align-items: center; }
.hero-seal {
  position: relative;
  width: min(300px, 76%); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -40px rgba(67, 12, 12, 0.45), 0 0 0 10px rgba(246,243,236,0.5), 0 0 0 11px rgba(169,130,63,0.2);
  animation: sealFloat 7s ease-in-out infinite;
}
.seal-ring {
  position: absolute; inset: 10px; border-radius: 50%;
  border: 1px dashed rgba(169, 130, 63, 0.45);
  animation: spin 32s linear infinite;
  pointer-events: none;
}
.seal-logo {
  width: 58%; height: 58%;
  object-fit: contain; object-position: center;
  position: relative; z-index: 1;
  display: block; flex-shrink: 0;
}

/* ══════════ Stats ══════════ */
.stats { background: var(--maroon); color: var(--cream); position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stats::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 15% 0%, rgba(255,255,255,0.05), transparent 60%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat { padding: clamp(40px, 6vw, 64px) 20px; text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; inset-inline-start: 0; top: 28%; bottom: 28%; width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.2; margin-bottom: 10px;
  font-feature-settings: 'tnum'; color: #fff;
}
.stat-label { font-size: 0.92rem; letter-spacing: .01em; color: rgba(246, 243, 236, 0.8); }

/* ══════════ Sections ══════════ */
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section-head { max-width: 660px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.section-kicker::before, .section-kicker::after { content: ''; width: 24px; height: 1px; background: var(--gold-soft); }
.section-title {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.5; text-wrap: balance;
  position: relative; display: inline-block;
}
/* gold underline that draws in when the section reveals */
.section-head .section-title::after {
  content: ''; position: absolute; bottom: -12px; inset-inline-start: 50%;
  width: 56px; height: 2px; background: var(--gold);
  transform: translateX(50%) scaleX(0); transform-origin: center;
  transition: transform .8s var(--ease) .35s;
}
[dir="ltr"] .section-head .section-title::after { transform: translateX(-50%) scaleX(0); }
.reveal.in .section-title::after,
.section-head.reveal.in .section-title::after { transform: translateX(50%) scaleX(1); }
[dir="ltr"] .reveal.in .section-title::after,
[dir="ltr"] .section-head.reveal.in .section-title::after { transform: translateX(-50%) scaleX(1); }
.section-intro { margin-top: 26px; color: var(--ink-soft); font-size: 1.06rem; }

/* ══════════ Services (5 cards: 3 + 2) ══════════ */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 24px);
  counter-reset: svc;
}
.service-card {
  grid-column: span 2;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3.2vw, 42px) clamp(24px, 2.4vw, 34px);
  position: relative; counter-increment: svc; overflow: hidden;
  transition: background .5s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.service-card.card-wide { grid-column: span 3; }
.service-card::after {
  content: '0' counter(svc); position: absolute; top: 24px; inset-inline-end: 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--gold-soft);
  opacity: .55; transition: opacity .4s, transform .5s var(--ease);
}
.service-card:hover {
  background: var(--paper); transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: 0 34px 60px -44px rgba(67, 12, 12, 0.55);
}
.service-card:hover::after { opacity: 1; transform: translateY(-2px); }
.service-icon {
  display: inline-grid; place-content: center; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(139, 30, 30, 0.06); color: var(--maroon); margin-bottom: 24px;
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.service-card:hover .service-icon { background: var(--maroon); color: var(--cream); transform: rotate(-6deg) scale(1.06); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--ink); margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ══════════ About ══════════ */
.about-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.about-copy > p { color: var(--ink-soft); font-size: 1.1rem; margin: 22px 0 38px; max-width: 60ch; }
.about-copy strong { color: var(--maroon); font-weight: 700; }
.about-copy .section-kicker, .about-copy .section-title { text-align: start; }
.about-copy .section-title { display: block; }

.differentiators { list-style: none; display: grid; gap: 4px; }
.differentiators li { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.differentiators li:last-child { border-bottom: 1px solid var(--line); }
.diff-idx {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--gold);
  flex-shrink: 0; min-width: 44px; line-height: 1.4;
}
.differentiators h4 { font-size: 1.12rem; color: var(--ink); margin-bottom: 5px; font-weight: 700; }
.differentiators p { color: var(--muted); font-size: 0.96rem; }

.about-aside { position: sticky; top: 120px; }
.about-quote {
  background: var(--maroon); color: var(--cream); border-radius: var(--radius);
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3vw, 40px); position: relative; overflow: hidden;
  box-shadow: 0 50px 90px -60px rgba(67, 12, 12, 0.7);
}
.about-quote::before {
  content: '”'; position: absolute; top: -18px; inset-inline-start: 24px;
  font-family: Georgia, serif; font-size: 9rem; color: rgba(255, 255, 255, 0.08); line-height: 1;
}
.about-quote::after { content: ''; position: absolute; inset: 0; background: url("assets/logo-mark-light.png") no-repeat; background-position: 120% 120%; background-size: 55%; opacity: 0.06; }
.about-quote p { font-family: var(--font-quote); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.9; position: relative; }
.about-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 0.82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }

/* ══════════ Team (3 members) ══════════ */
.team { background: var(--paper); border-block: 1px solid var(--line); }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  max-width: 920px; margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--cream-deep);
  border: 1px solid var(--line); display: grid; place-content: center; margin-bottom: 20px;
  position: relative; overflow: hidden; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.team-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .9s var(--ease);
}
[dir="rtl"] .team-photo::before { transform: translateX(110%); }
.team-card:hover .team-photo::before { transform: translateX(110%); }
[dir="rtl"] .team-card:hover .team-photo::before { transform: translateX(-110%); }
.team-photo::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .5s var(--ease); }
.team-card:hover .team-photo { border-color: var(--gold-soft); transform: translateY(-6px); box-shadow: 0 30px 50px -38px rgba(67,12,12,.5); }
.team-card:hover .team-photo::after { transform: scaleX(1); }
.team-photo span { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--maroon); opacity: .5; }
.team-card h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 3px; font-weight: 700; }
.team-card figcaption p { font-size: 0.9rem; color: var(--muted); }

/* ══════════ Contact ══════════ */
.contact { background: var(--cream-deep); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 5vw, 64px); align-items: start; margin-bottom: clamp(40px, 5vw, 56px); }
.contact-copy .section-kicker, .contact-copy .section-title, .contact-copy .section-intro { text-align: start; }
.contact-copy .section-intro { max-width: 44ch; }

.contact-details { list-style: none; display: grid; gap: 26px; margin-top: 38px; }
.contact-details li { display: flex; gap: 18px; align-items: flex-start; }
.ci { display: inline-grid; place-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--maroon); transition: background .4s, color .4s, transform .5s var(--ease); }
.contact-details li:hover .ci { background: var(--maroon); color: var(--cream); transform: translateY(-2px); }
.ci svg { width: 22px; height: 22px; }
.contact-details strong { display: block; color: var(--ink); font-size: 0.86rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.contact-details span, .contact-details a { display: block; color: var(--ink-soft); font-size: 0.98rem; width: fit-content; }
.contact-details a:hover { color: var(--maroon); }

.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: 0 50px 100px -70px rgba(67, 12, 12, 0.4); }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 0; border: none; border-bottom: 1.5px solid var(--line-strong);
  background: transparent; width: 100%; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--maroon); }
.field textarea { resize: vertical; min-height: 96px; }
.form-status { font-size: 0.94rem; min-height: 1.2em; }
.form-status.ok { color: #2f7d46; }
.form-status.err { color: var(--maroon); }
.contact-form .btn { margin-top: 6px; }

.map-embed {
  position: relative; overflow: hidden;
  height: clamp(280px, 34vw, 380px); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -60px rgba(67, 12, 12, 0.5);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }
.map-link {
  position: absolute; bottom: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--maroon);
  font-size: 0.86rem; font-weight: 600; padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(0,0,0,.35);
  transition: transform .4s var(--ease), border-color .3s;
}
.map-link:hover { transform: translateY(-2px); border-color: var(--gold); }

.form-hours { font-size: 0.85rem; color: var(--muted); margin-top: -8px; }
.field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 0; border: none; border-bottom: 1.5px solid var(--line-strong);
  background: transparent; width: 100%; transition: border-color .3s; cursor: pointer;
}
.field select:focus { outline: none; border-bottom-color: var(--maroon); }

.admin-link { color: inherit; border-bottom: 1px dotted rgba(246,243,236,.4); transition: color .3s; }
.admin-link:hover { color: var(--gold-soft); }

/* ══════════ Footer ══════════ */
.site-footer { background: var(--maroon-ink); color: var(--cream); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; padding: clamp(56px, 7vw, 88px) var(--gutter) clamp(40px, 5vw, 56px); }
.footer-logo { height: 88px; width: auto; opacity: .95; }
.footer-name { font-weight: 600; margin: 22px 0 8px; font-size: 1.04rem; max-width: 34ch; }
.footer-tag { font-family: var(--font-quote); font-weight: 500; color: var(--gold-soft); font-size: 1rem; }
.footer-group {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 0.9rem; color: rgba(246, 243, 236, 0.85);
  border-bottom: 1px solid rgba(203, 176, 126, 0.4); padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.footer-group:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-nav h4, .footer-contact h4 { font-size: 0.76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.footer-nav a, .footer-contact p { color: rgba(246, 243, 236, 0.78); font-size: 0.97rem; transition: color .3s; width: fit-content; }
.footer-nav a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 12px; }
.social a { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--cream); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.social a:hover { background: var(--maroon); border-color: var(--maroon); transform: translateY(-4px); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 24px var(--gutter); text-align: center; font-size: 0.87rem; color: rgba(246, 243, 236, 0.58); }

/* ══════════ Motion ══════════ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sealFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* orchestrated hero load */
.hero-anim { opacity: 0; transform: translateY(28px); animation: heroIn 1s var(--ease-out) forwards; }
.hero-copy .hero-anim:nth-child(1) { animation-delay: .1s; }
.hero-copy .hero-anim:nth-child(2) { animation-delay: .22s; }
.hero-copy .hero-anim:nth-child(3) { animation-delay: .34s; }
.hero-copy .hero-anim:nth-child(4) { animation-delay: .46s; }
.hero-copy .hero-anim:nth-child(5) { animation-delay: .58s; }
.hero-copy .hero-anim:nth-child(6) { animation-delay: .7s; }
.hero-aside.hero-anim { animation-delay: .5s; opacity: 0; transform: scale(.94); animation-name: sealIn; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes sealIn { to { opacity: 1; transform: none; } }

/* ══════════ English (LTR) ══════════ */
body.lang-en {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-quote: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.65;
}
body.lang-en .brand-word-1,
body.lang-en .hero-title,
body.lang-en .section-title,
body.lang-en .service-card h3 { letter-spacing: -0.015em; }
body.lang-en .hero-title { line-height: 1.08; font-weight: 600; }
body.lang-en .section-title { line-height: 1.15; }
body.lang-en .hero-tagline,
body.lang-en .about-quote p,
body.lang-en .footer-tag { font-weight: 500; font-style: italic; }
body.lang-en .stat-num { font-weight: 600; }
body.lang-en .lang-switch { font-family: 'Inter', sans-serif; }

/* ══════════ Responsive ══════════ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "copy"; }
  .hero-aside { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card.card-wide { grid-column: span 1; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand-word { display: none; }
  .btn-header { display: none; }
  .main-nav {
    position: fixed; inset: 88px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px;
    transform: translateY(-130%); transition: transform .5s var(--ease); box-shadow: 0 30px 50px -30px rgba(67,12,12,.4);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .team-grid { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 560px) {
  .cards-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat::after { display: none !important; }
  .stat:not(:first-child) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero-cta .btn { flex: 1; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
}

/* ── LTR (English) overrides ── */
[dir="ltr"] .about-quote::before { inset-inline-start: auto; inset-inline-end: 24px; }
[dir="ltr"] .brand-word { text-align: left; }
[dir="ltr"] .hero-inner { grid-template-areas: "copy seal"; }
[dir="ltr"] .hero-watermark { inset-inline-end: auto; inset-inline-start: -4%; }

/* ══════════ Al-Zahera theme (logistics sister site) ══════════
   Same design system — primary hue remapped to the navy of the
   Al-Zahera logo. Everything else inherits. */
body.theme-zahera {
  --maroon: #1D3059;
  --maroon-deep: #14234A;
  --maroon-ink: #0B1531;
}
body.theme-zahera .service-icon { background: rgba(29, 48, 89, 0.07); }
body.theme-zahera .hero::before {
  background: radial-gradient(120% 90% at 85% -5%, rgba(169, 130, 63, 0.10), transparent 55%), var(--cream);
}

/* logistics stats bar has 3 items */
body.theme-zahera .stats-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  body.theme-zahera .stats-grid { grid-template-columns: 1fr; }
  body.theme-zahera .stat::after { display: none; }
  body.theme-zahera .stat:not(:first-child) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* ══════════ Sister-site logo button ══════════ */
.sister-logo {
  display: inline-grid; place-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--paper);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.sister-logo img { height: 28px; width: auto; }
.sister-logo:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 22px -14px rgba(0,0,0,.4); }

/* ══════════ Page wipe (sister-site transition) ══════════ */
.page-wipe {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--maroon); transform: translateY(101%);
  pointer-events: none; will-change: transform;
}
