/* ============================================================
   SADAGA GROUP — style.css
   Mobile-first, warm & premium community organisation
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=Cairo:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Colour palette — dusty mauve & deep purple */
  --c-bg:          #F8F4F8;
  --c-bg-2:        #F0E8F2;
  --c-bg-3:        #E5D5EA;
  --c-card:        #FFFFFF;
  --c-cream:       #FBF8F5;
  --c-terra:       #9B78AB;
  --c-terra-light: #C2AAD0;
  --c-terra-pale:  #F0EAF6;
  --c-olive:       #B09AB6;
  --c-olive-light: #CDBBD2;
  --c-olive-pale:  #EDE5F2;
  --c-brown:       #3C1C58;
  --c-brown-mid:   #5C3878;
  --c-text:        #1C0A2E;
  --c-text-mid:    #4E326A;
  --c-text-soft:   #907098;
  --c-border:      #DDD0E5;
  --c-white:       #FFFFFF;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(60,28,88,.06);
  --shadow-sm: 0 4px 16px rgba(60,28,88,.09);
  --shadow-md: 0 8px 32px rgba(60,28,88,.12);
  --shadow-lg: 0 16px 48px rgba(60,28,88,.16);

  /* Radius */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-full: 999px;

  /* Spacing scale */
  --sp-xs:  .5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-arabic:  'Cairo', 'Segoe UI', Tahoma, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
  --t-fast: .18s;
  --t-med:  .32s;

  /* Nav height */
  --nav-h:    68px;
  --ticker-h: 40px;
}

/* ---------- TICKER / MARQUEE ---------- */
.ticker {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 999;
  height: var(--ticker-h);
  background: linear-gradient(90deg, #1A0A35 0%, #3C1C58 35%, #5C3878 65%, #280E48 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(180,150,255,.15);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}
.ticker__track--en,
.ticker__track--ar {
  position: absolute;
  top: 0; left: 0;
  height: var(--ticker-h);
  align-items: center;
}
.ticker__track--en {
  opacity: 1;
}
.ticker__track--ar {
  opacity: 0;
  animation-direction: reverse;
}
body.lang-ar .ticker__track--en { opacity: 0; }
body.lang-ar .ticker__track--ar { opacity: 1; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 0 2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  font-family: var(--ff-body);
  flex-shrink: 0;
}
body.lang-ar .ticker__item {
  font-family: var(--ff-arabic);
  letter-spacing: 0;
  font-size: .82rem;
}
.ticker__dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #C2AAD0;
  flex-shrink: 0;
}
.ticker__item strong {
  color: #DDD0E5;
  font-weight: 700;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: opacity .22s ease;
}
body.lang-switching {
  opacity: 0;
  pointer-events: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Arabic RTL ---------- */
[lang="ar"] body,
body.lang-ar {
  font-family: var(--ff-arabic);
  direction: rtl;
}
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar p,
body.lang-ar span,
body.lang-ar li,
body.lang-ar a,
body.lang-ar button {
  font-family: var(--ff-arabic);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  line-height: 1.2;
  color: var(--c-brown);
}
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4 {
  font-family: var(--ff-arabic);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--c-text-mid); font-size: 1rem; }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-terra);
  background: var(--c-terra-pale);
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-sm);
}
body.lang-ar .section-tag { letter-spacing: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}
section { padding: var(--sp-xl) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-terra);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(155,120,171,.32);
}
.btn-primary:hover {
  background: var(--c-brown);
  box-shadow: 0 6px 28px rgba(60,28,88,.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--c-brown);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover {
  background: var(--c-bg-2);
  border-color: var(--c-terra);
  color: var(--c-terra);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--c-terra);
  padding: .85rem 0;
  font-weight: 600;
}
.btn-ghost .arrow { transition: transform var(--t-fast) var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
body.lang-ar .btn-ghost:hover .arrow { transform: translateX(-4px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(248,244,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.nav.scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.nav__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--c-terra) 0%, var(--c-brown) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--ff-arabic);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nav__logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-text strong {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--c-brown);
  font-weight: 600;
}
.nav__logo-text span {
  font-size: .7rem;
  color: var(--c-text-soft);
  font-weight: 400;
  letter-spacing: .06em;
}
body.lang-ar .nav__logo-text strong { font-family: var(--ff-arabic); }

.nav__links {
  display: none;
  gap: var(--sp-md);
}
.nav__link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
  letter-spacing: .01em;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--c-terra);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--t-fast) var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--c-terra); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}
.lang-toggle__btn {
  padding: .3rem .75rem;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text-soft);
  transition: all var(--t-fast) var(--ease);
}
.lang-toggle__btn.active {
  background: var(--c-white);
  color: var(--c-terra);
  box-shadow: var(--shadow-xs);
}
.lang-toggle__btn[data-lang="ar"] { font-family: var(--ff-arabic); }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-brown);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: calc(var(--nav-h) + var(--ticker-h)) 0 0 0;
  background: var(--c-bg);
  padding: var(--sp-lg) var(--sp-md);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  z-index: 999;
  overflow-y: auto;
}
body.lang-ar .nav__mobile { transform: translateX(-100%); }
.nav__mobile.open { transform: translateX(0); }
.nav__mobile-links { display: flex; flex-direction: column; gap: var(--sp-sm); margin-bottom: var(--sp-xl); }
.nav__mobile-link {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--c-brown);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__mobile-link::after {
  content: '›';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-terra-light);
  transition: transform var(--t-fast) var(--ease);
}
body.lang-ar .nav__mobile-link::after { content: '‹'; }
.nav__mobile-link:hover { color: var(--c-terra); }
.nav__mobile-link:hover::after { transform: translateX(4px); }
body.lang-ar .nav__mobile-link:hover::after { transform: translateX(-4px); }

/* ---------- HERO ---------- */
.hero {
  min-height: auto;
  padding-top: calc(var(--nav-h) + var(--ticker-h) + var(--sp-md));
  padding-bottom: var(--sp-xl);
  background: linear-gradient(160deg, var(--c-bg) 0%, #EDD8F0 55%, #E0C8E8 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,154,182,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,120,171,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  gap: var(--sp-xl);
  align-items: center;
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: var(--sp-md);
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-terra);
  flex-shrink: 0;
}
.hero__eyebrow-text {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-terra);
}
body.lang-ar .hero__eyebrow-text { letter-spacing: 0; }
.hero__title {
  margin-bottom: var(--sp-md);
  font-size: clamp(2.2rem, 6vw, 4rem);
}
.hero__title em {
  font-style: italic;
  color: var(--c-terra);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--c-text-mid);
  max-width: 52ch;
  margin-bottom: var(--sp-lg);
  line-height: 1.75;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-bottom: var(--sp-xl); }
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--c-text-soft);
}
.hero__trust-item svg { color: var(--c-olive); }
.hero__trust-divider { width: 1px; height: 18px; background: var(--c-border); }

/* Hero visual */
.hero__visual {
  position: relative;
  z-index: 1;
  order: -1; /* image first on mobile */
}
.hero__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img { width: 100%; height: auto; display: block; }

/* Circle spinning logo */
.hero__img--circle {
  display: block;
  width: 100%;
  max-width: 540px;
  margin-top: -155px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 32px rgba(92, 56, 120, 0.22)) drop-shadow(0 4px 12px rgba(155, 120, 171, 0.18));
}
@keyframes hero-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- ANNIVERSARY BANNER ---------- */
.anniversary {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
}
.anniversary__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.anniversary__image {
  display: block;
  width: 100%;
  height: auto;
}
.anniversary__frame::before,
.anniversary__frame::after {
  display: none;
}
.anniversary__topline,
.anniversary__inner,
.anniversary__copy,
.anniversary__year,
.anniversary__headline,
.anniversary__headline-large,
.anniversary__headline-sub,
.anniversary__description,
.anniversary__visual,
.anniversary__mark,
.anniversary__confetti {
  display: none;
}
.anniv-piece {
  position: absolute;
  top: 0;
  opacity: 0;
  border-radius: 999px;
  transform-origin: center;
  animation: anniv-piece-fall linear infinite;
  will-change: transform, opacity;
}
.anniv-piece--front { z-index: 4; opacity: .94; }
.anniv-piece--back { z-index: 1; opacity: .72; filter: saturate(1.1) brightness(1.05); }
.anniv-piece--ribbon {
  width: 4px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFE4B3 0%, #D29A26 55%, #995F0F 100%);
  box-shadow: 0 10px 18px rgba(168, 110, 26, 0.24);
}
.anniv-piece--block {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(180deg, #F7D47F 0%, #C78F2E 100%);
  box-shadow: 0 8px 16px rgba(143, 88, 26, 0.22);
}
@keyframes anniversary-frame-sheen {
  0% { transform: translateX(-130%) rotate(16deg); }
  50% { transform: translateX(130%) rotate(16deg); }
  100% { transform: translateX(-130%) rotate(16deg); }
}
@keyframes anniversary-mark-shimmer {
  0%, 80%, 100% { opacity: 0; transform: translateX(-120%) skewX(-20deg); }
  45% { opacity: .44; transform: translateX(120%) skewX(-20deg); }
}
@keyframes anniv-piece-fall {
  0% {
    transform: translate3d(0, -16vh, 0) rotate(var(--rotation, 0deg));
    opacity: 0;
  }
  10% { opacity: 1; }
  100% {
    transform: translate3d(var(--drift-x, 24px), 120vh, 0) rotate(calc(var(--rotation, 0deg) + 680deg));
    opacity: 0.1;
  }
}

/* Floating stat cards */
.hero__stat-card {
  position: absolute;
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.hero__stat-card--1 { bottom: -20px; left: -20px; }
.hero__stat-card--2 { top: -16px; right: -16px; }
.hero__stat-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__stat-icon--terra { background: var(--c-terra-pale); color: var(--c-terra); }
.hero__stat-icon--olive { background: var(--c-olive-pale); color: var(--c-olive); }
.hero__stat-num { font-family: var(--ff-heading); font-size: 1.25rem; color: var(--c-brown); font-weight: 700; line-height: 1; }
.hero__stat-label { font-size: .72rem; color: var(--c-text-soft); margin-top: 2px; }

/* ---------- ABOUT ---------- */
.about { background: var(--c-white); }
.about__inner {
  display: grid;
  gap: var(--sp-xl);
  align-items: center;
}
.about__visual {
  order: -1;
}
.about__img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 3px solid rgba(155, 120, 171, 0.4);
  position: relative;
  line-height: 0;
}
.about__img { width: 100%; height: auto; display: block; }
.about__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--c-olive);
  opacity: .5;
}
.about__badge {
  position: absolute;
  bottom: var(--sp-md);
  right: var(--sp-md);
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: .85rem var(--sp-sm);
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 110px;
}
body.lang-ar .about__badge { right: auto; left: var(--sp-md); }
.about__badge-num { font-family: var(--ff-heading); font-size: 1.8rem; color: var(--c-terra); font-weight: 700; line-height: 1; }
.about__badge-label { font-size: .72rem; color: var(--c-text-soft); margin-top: 2px; }

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}
.about__value {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.about__value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-terra);
  flex-shrink: 0;
  margin-top: 6px;
}
.about__value p { font-size: .9rem; color: var(--c-text-mid); }

/* ---------- IMPACT ---------- */
.impact {
  background: linear-gradient(150deg, #2C1245 0%, #180830 100%);
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.impact__inner { position: relative; z-index: 1; }
.impact__header { text-align: center; margin-bottom: var(--sp-xl); }
.impact__header h2 { color: var(--c-white); }
.impact__header p { color: rgba(255,255,255,.6); max-width: 48ch; margin: var(--sp-sm) auto 0; }
.impact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .95rem;
}
.impact__card {
  background: linear-gradient(145deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(255,255,255,.15);
  border-top: 2px solid rgba(194,170,208,.55);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.impact__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(194,170,208,.12) 0%, transparent 70%);
  pointer-events: none;
}
.impact__card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.09) 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.impact__card-icon {
  display: none;
}
.impact__num {
  font-family: var(--ff-heading);
  font-size: clamp(1.7rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: .3rem;
  letter-spacing: -.02em;
  position: relative;
}
body.lang-ar .impact__num { font-family: var(--ff-arabic); }
.impact__num span { color: rgba(194,170,208,.95); }
.impact__label {
  font-size: .6rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  margin-bottom: .35rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .03em;
}
body.lang-ar .impact__label { letter-spacing: 0; font-size: .65rem; }
.impact__desc {
  display: block;
  margin-top: .85rem;
  color: rgba(255,255,255,0.92);
  font-size: .95rem;
  line-height: 1.7;
  word-break: break-word;
}

/* ---------- ACTIVITIES ---------- */
.activities { background: var(--c-bg); }
.activities__header { margin-bottom: var(--sp-xl); max-width: 56ch; }
.activities__header p { margin-top: var(--sp-sm); }
.activities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.activity-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .85rem .5rem;
  text-align: center;
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.activity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
  background: var(--c-terra);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t-med) var(--ease);
}
body.lang-ar .activity-card::before { left: auto; right: 0; border-radius: 0 4px 4px 0; }
.activity-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.activity-card:hover::before { transform: scaleY(1); }
.activity-card__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .55rem;
  position: relative; z-index: 1;
}
.activity-card__icon--terra  { background: var(--c-terra-pale);  color: var(--c-terra); }
.activity-card__icon--olive  { background: var(--c-olive-pale);  color: var(--c-olive); }
.activity-card__icon--brown  { background: var(--c-bg-3);        color: var(--c-brown); }
.activity-card h3 {
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.25;
  position: relative; z-index: 1;
}
.activity-card p { line-height: 1.6; position: relative; z-index: 1; }
.activity-card__list {
  list-style: none;
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  position: relative;
  z-index: 1;
}
.activity-card__list li {
  font-size: .82rem;
  color: var(--c-text-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.activity-card__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--c-terra);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}
body.lang-ar .activity-card__list li { padding-left: 0; padding-right: 1rem; }
body.lang-ar .activity-card__list li::before { left: auto; right: 0; }
.activity-card__coming-up {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-white);
  background: var(--c-terra);
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  margin-top: var(--sp-sm);
  margin-bottom: .5rem;
  position: relative;
  z-index: 1;
}
body.lang-ar .activity-card__coming-up { letter-spacing: 0; }

/* Courses list as chip tags */
.activity-card__list--courses {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: .4rem;
}
.activity-card__list--courses li {
  background: var(--c-terra-pale);
  color: var(--c-terra) !important;
  padding: .28rem .75rem !important;
  border-radius: var(--r-full);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}
.activity-card__list--courses li::before { display: none !important; }
body.lang-ar .activity-card__list--courses li { padding: .28rem .75rem !important; }

/* Mobile tile: hide text content so only icon + title show */
@media (max-width: 639px) {
  .activity-card > p:not(.activity-card__coming-up),
  .activity-card__list,
  .activity-card__coming-up { display: none; }
}

/* Activity card watermark images — full card cover */
.activity-card--health::after,
.activity-card--arts::after,
.activity-card--language::after,
.activity-card--events::after,
.activity-card--skills::after,
.activity-card--social::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  pointer-events: none;
}
.activity-card--health::after   { background-image: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?w=300&q=60&auto=format'); }
.activity-card--arts::after     { background-image: url('https://images.unsplash.com/photo-1452860606245-08befc0ff44b?w=300&q=60&auto=format'); }
.activity-card--language::after { background-image: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?w=300&q=60&auto=format'); }
.activity-card--events::after   { background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=300&q=60&auto=format'); }
.activity-card--skills::after   { background-image: url('https://images.unsplash.com/photo-1596495578065-6e0763fa1178?w=400&q=70&auto=format&fit=crop'); }
.activity-card--social::after   { background-image: url('https://images.unsplash.com/photo-1543269865-cbf427effbad?w=300&q=60&auto=format'); }

/* ---------- GALLERY ---------- */
.gallery { background: var(--c-bg-2); }
.gallery__header { text-align: center; margin-bottom: var(--sp-xl); }
.gallery__header p { max-width: 48ch; margin: var(--sp-sm) auto 0; }
.gallery__strips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  margin: 0 calc(-1 * var(--sp-md));
  direction: ltr;
}
.gallery__strip { overflow: hidden; }
.gallery__strip-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: gallery-scroll 80s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.gallery__strip-track--reverse {
  animation-direction: reverse;
  animation-duration: 80s;
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gallery__strip-track img {
  height: 260px;
  width: auto;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: var(--c-bg-3);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery__strip-track img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 36px rgba(92,56,120,.22);
  position: relative;
  z-index: 1;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--c-white); }
.testimonials__header { text-align: center; margin-bottom: var(--sp-xl); }

/* Carousel — 3-up on all sizes */
.testimonials__carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--sp-sm);
}
.testimonials__track {
  display: flex;
  gap: 1.25rem;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.testimonials__track .testimonial-card {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  min-width: 0;
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  margin-top: var(--sp-lg);
}
.testimonials__dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: var(--c-border);
  padding: 0;
  transition: all .38s var(--ease);
  cursor: pointer;
}
.testimonials__dot.active {
  background: var(--c-terra);
  width: 26px;
}
.testimonials__dot:hover:not(.active) { background: var(--c-terra-light); }
.testimonial-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-md);
  position: relative;
}
.testimonial-card__quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--c-terra-pale);
  font-family: Georgia, serif;
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-md);
}
body.lang-ar .testimonial-card__quote { left: auto; right: var(--sp-md); }
.testimonial-card__text {
  font-size: .95rem;
  font-style: italic;
  color: var(--c-text-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-md);
  padding-top: var(--sp-md);
}
body.lang-ar .testimonial-card__text { font-style: normal; }
.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-terra-pale), var(--c-olive-pale));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-terra);
  font-weight: 700;
  font-size: .9rem;
}
.testimonial-card__name { font-weight: 600; font-size: .9rem; color: var(--c-brown); }
.testimonial-card__role { font-size: .78rem; color: var(--c-text-soft); }
.testimonial-card__stars { color: #C2AAD0; font-size: .9rem; margin-top: 2px; }

/* ---------- PARTNERS ---------- */
.partners { background: var(--c-bg-2); }
.partners__header { text-align: center; margin-bottom: var(--sp-xl); }
.partners__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}
.partners__subheading {
  width: 100%;
  margin: 1.5rem 0 .75rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--c-brown);
  letter-spacing: .02em;
  text-transform: none;
}
.partner-badge {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow var(--t-fast);
  min-width: 200px;
}
.partner-badge:hover { box-shadow: var(--shadow-sm); }
.partner-badge__logo {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--c-bg-3);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.partner-badge__logo--img {
  width: auto;
  min-width: 90px;
  height: 54px;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}
.partner-badge__logo--img[src] {
  display: inline-block;
}
.partner-badge__logo--img {
  max-width: 130px;
}
.partner-badge__name { font-size: 1.05rem; font-weight: 600; color: var(--c-text-mid); }
.partner-badge__logo--rwob { height: 80px; min-width: 110px; max-width: 160px; }

/* ---------- GET INVOLVED ---------- */
.cta-section {
  background: linear-gradient(150deg, var(--c-terra-pale) 0%, var(--c-bg-2) 100%);
  text-align: center;
}
.cta-section h2 { max-width: 18ch; margin: 0 auto var(--sp-sm); }
.cta-section > .container > p { max-width: 52ch; margin: 0 auto var(--sp-xl); }
.cta-cards {
  display: grid;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.cta-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  border: 1px solid var(--c-border);
  transition: all var(--t-med) var(--ease);
}
.cta-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cta-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--c-terra-pale);
  color: var(--c-terra);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-sm);
}
.cta-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.cta-card p { font-size: .85rem; }
.cta-section .btn-primary { margin: 0 auto; display: inline-flex; }

/* ---------- CONTACT MAP ---------- */
.contact__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  height: 300px;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ---------- CONTACT ---------- */
.contact { background: var(--c-white); }
.contact__inner { display: grid; gap: var(--sp-xl); }
.contact__info h2 { margin-bottom: var(--sp-sm); }
.contact__info > p { margin-bottom: var(--sp-lg); }
.contact__items { display: flex; flex-direction: column; gap: var(--sp-md); }
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
}
.contact__item-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--c-terra-pale);
  color: var(--c-terra);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__item-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-soft); margin-bottom: 2px; }
body.lang-ar .contact__item-label { letter-spacing: 0; }
.contact__item-value { font-size: .95rem; color: var(--c-text-mid); }
.contact__item-value a:hover { color: var(--c-terra); }

.contact__socials { display: flex; gap: var(--sp-sm); margin-top: var(--sp-lg); }
.social-btn {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-mid);
  transition: all var(--t-fast);
  font-size: 1.1rem;
}
.social-btn:hover { background: var(--c-terra); color: white; border-color: var(--c-terra); }

/* Contact form */
.contact__form-wrap {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-lg) var(--sp-md);
}
.contact__form-wrap h3 { margin-bottom: var(--sp-md); font-size: 1.25rem; }
.form-group { margin-bottom: var(--sp-md); }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-brown);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem var(--sp-sm);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-family: inherit;
  font-size: .95rem;
  color: var(--c-text);
  transition: border-color var(--t-fast);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-terra);
  box-shadow: 0 0 0 3px rgba(155,120,171,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; gap: var(--sp-sm); }

/* Form validation */
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"],
.form-group select[aria-invalid="true"] {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217,83,79,.12);
}
.form-error {
  display: block;
  font-size: .78rem;
  color: #c0392b;
  margin-top: .3rem;
  min-height: 1rem;
  font-weight: 500;
}

/* Submit button states */
.btn-spinner { display: none; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#formSubmitBtn.is-loading .btn-icon-send { display: none; }
#formSubmitBtn.is-loading .btn-spinner { display: inline-block; }
#formSubmitBtn:disabled { opacity: .7; cursor: not-allowed; }

/* Feedback banners */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  margin-top: 1.25rem;
  animation: fb-in .35s ease;
}
.form-feedback[hidden] { display: none; }
@keyframes fb-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-feedback svg { flex-shrink: 0; margin-top: .1rem; }
.form-feedback strong { display: block; font-size: .95rem; margin-bottom: .25rem; }
.form-feedback p { font-size: .88rem; margin: 0; line-height: 1.5; }
.form-feedback a { text-decoration: underline; }
.form-feedback--success {
  background: #f0faf4;
  border: 1.5px solid #27ae60;
  color: #1e7e34;
}
.form-feedback--success svg { color: #27ae60; }
.form-feedback--error {
  background: #fff5f5;
  border: 1.5px solid #d9534f;
  color: #a94442;
}
.form-feedback--error svg { color: #d9534f; }
.form-feedback--error a { color: #a94442; }

/* ---------- ROOTS TO WELLBEING ---------- */
.roots {
  background: linear-gradient(160deg, #f4f0f8 0%, #ede4f4 100%);
  padding: var(--sp-2xl) 0;
}
.roots__inner { max-width: 1100px; }
.roots__header { text-align: center; margin-bottom: var(--sp-xl); }
.roots__header h2 { margin-top: .5rem; }
.roots__current {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-terra);
  margin: .4rem auto 0;
  letter-spacing: .01em;
}
.roots__header p { color: var(--c-text-mid); max-width: 620px; margin: .75rem auto 0; }

.roots__body {
  display: grid;
  gap: var(--sp-xl);
}
@media (min-width: 1024px) {
  .roots__body { grid-template-columns: 1fr 1fr; align-items: start; }
}

.roots__desc p {
  color: var(--c-text-mid);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: .9rem;
}
.roots__desc p:last-child { margin-bottom: 0; }

.roots__details { display: flex; flex-direction: column; gap: var(--sp-sm); }

.roots__detail-card {
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-md);
}
.roots__detail-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(155,120,171,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-terra);
}
.roots__detail-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-terra);
  margin-bottom: .25rem;
}
body.lang-ar .roots__detail-label { letter-spacing: 0; }
.roots__detail-val {
  font-size: .92rem;
  color: var(--c-text-mid);
  line-height: 1.55;
}
.roots__detail-val a { color: var(--c-terra); text-decoration: underline; }
.roots__detail-val a:hover { color: var(--c-brown); }

.roots__poster-map {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: var(--sp-md);
}
.roots__poster {
  flex-shrink: 0;
}
.roots__map {
  flex: 1;
  min-height: 220px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 3px solid rgba(155, 120, 171, 0.3);
  box-shadow: 0 8px 32px rgba(92, 56, 120, 0.12);
}
.roots__map iframe {
  display: block;
  width: 100%;
  height: 220px;
}
.roots__poster-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
  border: 3px solid rgba(155, 120, 171, 0.3);
  box-shadow: 0 8px 32px rgba(92, 56, 120, 0.12);
}
.roots__poster-img--clickable {
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.roots__poster-img--clickable:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(92, 56, 120, 0.22);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: lb-in .25s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }

.roots__collab {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.roots__collab-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-soft);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}
body.lang-ar .roots__collab-label { letter-spacing: 0; }
.roots__collab-logos { display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; }
.roots__collab-logo { height: 60px; width: auto; object-fit: contain; opacity: .85; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-brown);
  color: rgba(255,255,255,.75);
  padding: var(--sp-xl) 0 var(--sp-lg);
}
.footer__top {
  display: grid;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: var(--sp-lg);
}
.footer__brand { max-width: 280px; }
.footer__brand .nav__logo-mark { background: rgba(255,255,255,.15); }
.footer__brand .nav__logo-text strong { color: white; }
.footer__brand .nav__logo-text span { color: rgba(255,255,255,.5); }
.footer__brand p { font-size: .87rem; color: rgba(255,255,255,.55); margin-top: var(--sp-sm); line-height: 1.7; }
.footer__legal {
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__legal p {
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
  margin-top: 0;
}
.footer__col h4 { color: white; font-size: .85rem; font-family: var(--ff-body); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--sp-sm); }
body.lang-ar .footer__col h4 { letter-spacing: 0; font-family: var(--ff-arabic); }
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul a { font-size: .87rem; color: rgba(255,255,255,.55); transition: color var(--t-fast); }
.footer__col ul a:hover { color: var(--c-terra-light); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  align-items: center;
  text-align: center;
}
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer__bottom .lang-toggle { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.07); }
.footer__bottom .lang-toggle__btn { color: rgba(255,255,255,.5); }
.footer__bottom .lang-toggle__btn.active { background: rgba(255,255,255,.15); color: var(--c-terra-light); }
.footer__socials { display: flex; gap: .75rem; }
.footer__socials .social-btn {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
}
.footer__socials .social-btn:hover { background: var(--c-terra); border-color: var(--c-terra); color: white; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- UTILITY ---------- */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- RESPONSIVE: tablet 640px ---------- */
@media (min-width: 640px) {
  .hero__visual--mobile-inline { display: none; }

  /* Impact: restore full card layout */
  .impact__grid     { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
  .impact__card     { padding: var(--sp-lg) var(--sp-md); border-radius: var(--r-lg); }
  .impact__card-icon {
    display: flex;
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: rgba(155,120,171,.25);
    align-items: center; justify-content: center;
    margin: 0 auto var(--sp-sm);
    color: var(--c-terra-light);
  }
  .impact__num      { font-size: clamp(2.8rem, 5.5vw, 4.5rem); }
  .impact__label    { font-size: .95rem; text-transform: none; letter-spacing: 0; }
  .impact__desc     { display: block; }

  /* Activities: restore full card layout at tablet */
  .activities__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); }
  .activity-card    { padding: var(--sp-md); text-align: left; border-radius: var(--r-lg); }
  .activity-card__icon { border-radius: var(--r-md); margin: 0 0 var(--sp-sm); }
  .activity-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
  .activity-card > p:not(.activity-card__coming-up) { display: block; font-size: .88rem; }
  .activity-card__list { display: flex; }
  .activity-card__coming-up { display: inline-flex; }

  .cta-cards        { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }

  .testimonials__dots { display: flex; }
}

/* ---------- RESPONSIVE: desktop 1024px ---------- */
@media (min-width: 1024px) {
  .impact__grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links  { display: flex; }
  .nav__hamburger { display: none; }

  /* Hero: full height, 2-column, image on right */
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + var(--ticker-h) + var(--sp-xl));
    padding-bottom: var(--sp-2xl);
  }
  .hero__inner  { grid-template-columns: 1fr 1fr; }
  .hero__visual { order: 1; }
  .hero__img--circle { max-width: 460px; margin-top: -30px; }
  .hero__stat-card--1 { bottom: -24px; left: -32px; }
  .hero__stat-card--2 { top: -20px; right: -32px; }

  .about__inner { grid-template-columns: 1fr 1.1fr; }
  .about__visual { order: 1; }

  .activities__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
  .activity-card { padding: var(--sp-lg) var(--sp-md); }
  .activity-card h3 { font-size: 1.1rem; }
  .cta-cards { grid-template-columns: repeat(4, 1fr); }
  .contact__inner { grid-template-columns: 1fr 1fr; }
  .contact__info  { order: 1; }
  .contact__form-wrap { order: 2; }
  .contact__map   { order: 3; grid-column: 1 / -1; height: 360px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  body.lang-ar .footer__bottom { text-align: right; }
}

/* ---------- RTL adjustments ---------- */
body.lang-ar .nav__inner { direction: rtl; }
body.lang-ar .nav__hamburger { direction: ltr; display: flex; }
body.lang-ar .nav__hamburger span { display: block; }
body.lang-ar .hero__inner { direction: rtl; }
body.lang-ar .about__inner { direction: rtl; }
body.lang-ar .hero__eyebrow { flex-direction: row-reverse; }
body.lang-ar .contact__item { flex-direction: row; }
body.lang-ar .about__values { direction: rtl; }
body.lang-ar .hero__ctas { flex-direction: row-reverse; justify-content: flex-end; }
body.lang-ar .about__visual { order: -1; }
@media (min-width: 1024px) {
  body.lang-ar .about__visual { order: 0; }
  body.lang-ar .about__inner  { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .activity-card, .cta-card { transition: none; }
  body { transition: none; }
}

/* ---------- MOBILE ONLY (< 640px) ---------- */
@media (max-width: 639px) {

  /* 1. Hero logo: hide original visual, show inline copy between title & sub */
  .hero__visual:not(.hero__visual--mobile-inline) { display: none !important; }
  .hero__visual--mobile-inline {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
  }
  .hero__img--mobile-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
  }

  /* 2. Activity cards: keep 3-col grid, make cards taller & more readable */
  .activities__grid { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .activity-card { padding: 1rem .4rem; }
  .activity-card__icon { width: 36px; height: 36px; font-size: 1.1rem; margin-bottom: .4rem; }
  .activity-card__name { font-size: .78rem; line-height: 1.3; }

  /* 3. Reviews: 1 card at a time, shorter height */
  .testimonials__track .testimonial-card {
    flex: 0 0 100%;
  }
  .testimonial-card {
    padding: var(--sp-sm) var(--sp-md);
  }
  .testimonial-card__text {
    font-size: .85rem;
    line-height: 1.6;
    margin-bottom: var(--sp-sm);
    padding-top: var(--sp-sm);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
  }
  .testimonial-card__quote { font-size: 2rem; }
  .testimonial-card__avatar { width: 32px; height: 32px; font-size: .75rem; }
}
