/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Brand colors */
  --ink: #1F2A26;            /* near-black, warm */
  --forest: #1B4D3E;         /* primary dark green */
  --forest-deep: #133A30;    /* deeper shade */
  --moss: #2D6A4F;           /* accent green */
  --cream: #F5F1E8;          /* warm off-white */
  --sand: #EDE6D3;           /* warmer cream */
  --gold: #E9A23B;           /* accent warm */
  --gold-bright: #F5B84B;    /* brighter gold */
  --line: rgba(15, 27, 23, 0.12);
  --line-strong: rgba(15, 27, 23, 0.24);
  --muted: rgba(15, 27, 23, 0.6);

  /* Dark surface tokens */
  --on-dark-ink: #F5F1E8;
  --on-dark-muted: rgba(245, 241, 232, 0.65);
  --on-dark-line: rgba(245, 241, 232, 0.15);

  /* Type */
  --font-display: 'Baloo Bhaijaan 2', 'Noto Naskh Arabic', system-ui, sans-serif;
  --font-body: 'Baloo Bhaijaan 2', 'Noto Naskh Arabic', system-ui, sans-serif;
  --font-latin: 'Rubik', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.11 0 0 0 0 0.09 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.latin { font-family: var(--font-latin); font-feature-settings: normal; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo-img { transform: scale(1.04); }

@media (max-width: 560px) {
  .logo-img { height: 34px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  inset: auto 18px 4px;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--forest); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  margin-right: 20px;
  padding: 12px 22px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: var(--ink); transform: translateY(-2px); }
.nav-cta .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.nav-cta:hover .arrow { transform: translateX(-4px); }

.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--forest);
    color: var(--cream);
  }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--cream);
  overflow: hidden;
}

/* Decorative dotted grid behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27, 77, 62, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(27, 77, 62, 0.08);
  border: 1px solid rgba(27, 77, 62, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1200px;
}

.hero-title .line {
  display: block;
  margin-bottom: 16px;
}
.hero-title .line > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.3s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.45s; }

.hero-title .accent {
  color: var(--forest);
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  right: -0.05em;
  left: -0.05em;
  height: 0.18em;
  background: var(--gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  animation: highlight 0.8s var(--ease-out) 1s forwards;
}

.hero-title .emphasis {
  font-style: italic;
  font-family: 'Noto Naskh Arabic', serif;
  font-weight: 500;
  color: var(--moss);
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes highlight {
  to { transform: scaleX(1); }
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.hero-description {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(15, 27, 23, 0.75);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-description strong {
  color: var(--forest);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(27, 77, 62, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.btn .arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: transform 0.35s var(--ease);
}
.btn-ghost .arrow-circle { background: var(--ink); color: var(--cream); }
.btn:hover .arrow-circle { transform: translateX(-6px) rotate(-45deg); }
.btn-ghost:hover .arrow-circle { background: var(--cream); color: var(--ink); }

/* Hero sidecard - UGC visual hint */
.hero-sidecard {
  position: absolute;
  left: 32px;
  bottom: 150px;
  width: 220px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 20px;
  padding: 20px;
  transform: rotate(-5deg);
  box-shadow: 0 30px 60px -20px rgba(15, 27, 23, 0.35);
  opacity: 0;
  animation: cardIn 1s var(--ease-out) 0.6s forwards;
}
@keyframes cardIn {
  from { opacity: 0; transform: rotate(-15deg) translateY(40px); }
  to { opacity: 1; transform: rotate(-5deg) translateY(0); }
}
.hero-sidecard-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-latin);
  color: var(--gold-bright);
  margin-bottom: 12px;
  font-weight: 700;
}
.hero-sidecard-quote {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-sidecard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 241, 232, 0.2);
}
.hero-sidecard-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  flex-shrink: 0;
}
.hero-sidecard-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.hero-sidecard-name small {
  display: block;
  color: rgba(245, 241, 232, 0.6);
  font-weight: 400;
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .hero-sidecard { display: none; }
}
@media (max-width: 768px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas { width: 100%; }
  .btn { flex: 1; justify-content: center; padding: 16px 24px; font-size: 15px; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-family: var(--font-latin);
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.4s forwards;
}
.scroll-hint-line {
  width: 60px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--forest);
  transform: translateX(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%, 20% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
@media (max-width: 768px) { .scroll-hint { display: none; } }

/* ============================================================
   STATS STRIP
============================================================ */
.stats {
  background: #1B3A34;
  color: var(--cream);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--on-dark-line);
}

.stat {
  padding: 56px 40px;
  border-left: 1px solid var(--on-dark-line);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.stat:last-child { border-left: none; }
.stat:hover { background: var(--forest-deep); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.stat-num .plus {
  color: var(--gold);
  font-size: 0.6em;
  font-weight: 700;
}
.stat-num .unit {
  font-size: 0.35em;
  font-weight: 500;
  color: var(--on-dark-muted);
  margin-right: 4px;
}
.stat-label {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  font-weight: 500;
}
.stat-index {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(245, 241, 232, 0.3);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--on-dark-line); }
  .stat:nth-child(2n) { border-left: none; }
  .stat { padding: 36px 24px; }
}

/* ============================================================
   SECTION HEADER (reusable)
============================================================ */
.section {
  padding: 140px 0;
  position: relative;
}
.section.is-hidden {
  display: none;
}
@media (max-width: 768px) { .section { padding: 80px 0; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 24px;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 900px;
}
.section-title .em {
  color: var(--forest);
  font-style: italic;
  font-family: 'Noto Naskh Arabic', serif;
  font-weight: 500;
}

.section-lede {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(15, 27, 23, 0.72);
  margin-top: 28px;
}

/* ============================================================
   ABOUT TEASER
============================================================ */
.about {
  background: var(--cream);
  position: relative;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}
@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding: 0;
  color: var(--cream);
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(19, 58, 48, 0.48) 0%, rgba(27, 77, 62, 0.34) 52%, rgba(15, 27, 23, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
}

.about-visual-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  position: absolute;
  top: 112px;
  right: 40px;
  left: 40px;
  z-index: 2;
  color: var(--cream);
}
.about-visual-quote::before {
  content: '"';
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 180px;
  color: var(--gold);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.about-visual-meta {
  position: absolute;
  bottom: 40px;
  right: 40px;
  left: 40px;
  z-index: 2;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 241, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 232, 0.7);
}

.about-visual-corner {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-latin);
  font-weight: 800;
  color: var(--ink);
  font-size: 12px;
  transform: rotate(-10deg);
  text-align: center;
  line-height: 1.1;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(15, 27, 23, 0.8);
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-stat {
  padding: 24px 0;
  border-left: 1px solid var(--line);
  padding-right: 24px;
}
.about-stat:last-child { border-left: none; }
.about-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
}
.about-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.35s var(--ease);
}
.work-link-form {
  margin: 0;
}
.work-link-form .link-arrow {
  background: transparent;
}
.link-arrow:hover {
  border-bottom-color: var(--forest);
  gap: 20px;
}
.link-arrow .arrow { font-size: 20px; }

/* ============================================================
   SERVICES
============================================================ */
.services {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: 'خدماتنا';
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 800;
  color: rgba(27, 77, 62, 0.05);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .services-header { grid-template-columns: 1fr; gap: 24px; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  cursor: pointer;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--forest);
  box-shadow: 0 24px 60px -20px rgba(15, 27, 23, 0.15);
}

.service-card-highlight {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.service-card-highlight .service-index {
  color: var(--gold-bright);
}
.service-card-highlight .service-title {
  color: var(--cream);
}
.service-card-highlight .service-desc {
  color: rgba(245, 241, 232, 0.75);
}
.service-card-highlight .service-icon {
  background: rgba(245, 241, 232, 0.12);
  color: var(--gold-bright);
}
.service-card-highlight .service-arrow {
  color: var(--gold-bright);
}

.service-card.featured {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  grid-column: span 1;
  grid-row: span 2;
}
@media (max-width: 600px) { .service-card.featured { grid-row: span 1; } }

.service-index {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 24px;
}
.service-card.featured .service-index { color: var(--gold-bright); }

.service-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.service-card.featured .service-title {
  color: var(--cream);
  font-size: 36px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 27, 23, 0.7);
  margin-bottom: auto;
}
.service-card.featured .service-desc {
  color: rgba(245, 241, 232, 0.75);
  font-size: 17px;
}

.service-arrow {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  transition: gap 0.3s var(--ease);
}
.service-card.featured .service-arrow { color: var(--gold-bright); }
.service-card:hover .service-arrow { gap: 16px; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(27, 77, 62, 0.08);
  color: var(--forest);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--forest);
  color: var(--cream);
  transform: rotate(-6deg);
}
.service-card.featured .service-icon {
  background: rgba(245, 241, 232, 0.12);
  color: var(--gold-bright);
  width: 64px;
  height: 64px;
}

/* ============================================================
   PROCESS
============================================================ */
.process {
  background: linear-gradient(135deg, #162F2A 0%, #1F3F37 100%);
  color: var(--cream);
  position: relative;
}

.process .section-tag { color: var(--gold); }
.process .section-tag::before { background: var(--gold); }
.process .section-title { color: var(--cream); }
.process .section-title .em { color: var(--gold); }
.process .section-lede { color: rgba(245, 241, 232, 0.65); }

.process-steps {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--on-dark-line);
  align-items: start;
  transition: all 0.4s var(--ease);
}
.process-step:last-child { border-bottom: 1px solid var(--on-dark-line); }

.process-step:hover {
  padding-right: 20px;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--forest);
  transition: color 0.3s var(--ease);
}
.process-step:hover .process-step-num { color: var(--gold); }

.process-step-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.process-step-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.7);
  max-width: 640px;
}

.process-step-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.process-step-bullets span {
  padding: 6px 14px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.85);
}

.process-step-arrow {
  font-size: 28px;
  color: var(--on-dark-muted);
  transition: all 0.3s var(--ease);
  margin-top: 10px;
}
.process-step:hover .process-step-arrow { color: var(--gold); transform: rotate(-45deg); }

@media (max-width: 800px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step-num { font-size: 52px; }
  .process-step-arrow { display: none; }
}

/* ============================================================
   CLIENTS MARQUEE — rewritten from scratch
============================================================ */
.clients {
  background: var(--cream);
  padding: 120px 0;
  overflow: hidden;
}

.clients-header {
  text-align: center;
  margin-bottom: 80px;
}
.clients .section-tag { justify-content: center; }

/* Outer container: forces LTR so the marquee animation behaves
   identically regardless of the page's RTL direction */
.clients-marquee {
  direction: ltr;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  gap: 0;
  animation: marquee 55s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Each logo cell: fixed box, image perfectly centered */
.client-item {
  flex: 0 0 210px;
  width: 210px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.client-item img {
  display: block;
  max-width: 86%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  transform: scale(var(--logo-scale, 1));
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.client-item:hover img {
  opacity: 1;
  transform: scale(calc(var(--logo-scale, 1) * 1.08));
}

.client-item img[src$="72-your-return.png"],
.client-item img[src$="allure.png"],
.client-item img[src$="dar-alosrah.png"],
.client-item img[src$="kayishha.png"],
.client-item img[src$="lefane.png"],
.client-item img[src$="noh-no7.png"],
.client-item img[src$="pet-market.png"],
.client-item img[src$="rimiya.png"],
.client-item img[src$="saudi-coupons.png"],
.client-item img[src$="teddy-bears.png"] {
  --logo-scale: 1.35;
}

.client-item img[src$="lefane.png"],
.client-item img[src$="teddy-bears.png"] {
  --logo-scale: 1.48;
}

.client-item img[src$="perfume-co.png"],
.client-item img[src$="vm-media.png"] {
  --logo-scale: 1.18;
}

/* Second row reverses direction */
.clients-marquee + .clients-marquee { margin-top: 20px; }
.clients-marquee + .clients-marquee .marquee-track {
  animation-direction: reverse;
  animation-duration: 65s;
}

@media (max-width: 768px) {
  .client-item {
    flex: 0 0 158px;
    width: 158px;
    height: 88px;
  }
  .client-item img {
    max-width: 88%;
    max-height: 58px;
  }
}

/* ============================================================
   WHY US
============================================================ */
.why {
  background: var(--sand);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
}
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.why-card:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-4px);
}
.why-card:hover .why-num { color: var(--gold); }
.why-card:hover .why-desc { color: rgba(245, 241, 232, 0.7); }

.why-num {
  font-family: var(--font-latin);
  font-size: 14px;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  transition: color 0.3s var(--ease);
}

.why-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.why-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(15, 27, 23, 0.7);
  transition: color 0.3s var(--ease);
}

/* ============================================================
   REELS / WORK — 9:16 video showcase
============================================================ */
.reels {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.reels::before {
  content: 'OUR WORK';
  position: absolute;
  top: 60px;
  right: -30px;
  font-family: var(--font-latin);
  font-size: clamp(100px, 14vw, 220px);
  font-weight: 900;
  color: rgba(27, 77, 62, 0.04);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.reels-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .reels-header { grid-template-columns: 1fr; gap: 24px; }
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 72px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px) { .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 540px)  { .reels-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

.reel-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--forest-deep) 0%, var(--forest) 100%);
  cursor: pointer;
  box-shadow: 0 10px 30px -15px rgba(15, 27, 23, 0.25);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.reel-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px -20px rgba(15, 27, 23, 0.4);
}

.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  z-index: 2;
}
.reel-frame:hover .reel-video {
  opacity: 1;
}

/* Placeholder (visible until hover/video loads) */
.reel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(245, 241, 232, 0.55);
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 1;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(245, 184, 75, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(245, 241, 232, 0.04) 0%, transparent 50%);
}

/* Decorative stripes for placeholder texture */
.reel-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 40px,
    rgba(245, 241, 232, 0.025) 40px,
    rgba(245, 241, 232, 0.025) 41px
  );
  pointer-events: none;
}

.reel-placeholder svg {
  opacity: 0.7;
  transition: all 0.4s var(--ease);
}
.reel-frame:hover .reel-placeholder svg {
  transform: scale(1.1);
  opacity: 1;
}

/* Hover hint */
.reel-hover-hint {
  position: absolute;
  bottom: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.reel-hover-hint span {
  padding: 8px 16px;
  background: rgba(15, 27, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(245, 241, 232, 0.15);
}
.reel-frame:hover .reel-hover-hint { opacity: 0; }

/* Badge (top-left in RTL: top-right) */
.reel-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  padding: 6px 12px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 800;
  border-radius: 999px;
  transform: rotate(-2deg);
}

/* Card meta below frame */
.reel-meta {
  padding: 0 4px;
  text-align: center;
}
.reel-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}
.reel-category {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.reels-footer {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ============================================================
   CTA Block
============================================================ */
.cta-block {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 184, 75, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245, 241, 232, 0.08) 0%, transparent 50%);
}

.cta-inner {
  padding: 120px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  max-width: 900px;
  margin-inline: auto;
}
.cta-title .em {
  color: var(--gold-bright);
  font-style: italic;
  font-family: 'Noto Naskh Arabic', serif;
  font-weight: 500;
}

.cta-subtitle {
  font-size: 20px;
  color: rgba(245, 241, 232, 0.8);
  margin-bottom: 48px;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.cta-buttons .btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(245, 184, 75, 0.55);
}
.cta-buttons .btn-primary .arrow-circle { background: var(--ink); color: var(--gold); }
.cta-buttons .btn-primary:hover .arrow-circle { background: var(--ink); color: var(--gold-bright); }

.cta-buttons .btn-ghost {
  border-color: rgba(245, 241, 232, 0.3);
  color: var(--cream);
}
.cta-buttons .btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.cta-buttons .btn-ghost .arrow-circle { background: var(--cream); color: var(--ink); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--on-dark-line);
}
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 24px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(245, 241, 232, 0.9);
  max-width: 380px;
  margin-bottom: 28px;
}
.footer-tagline strong { color: var(--gold-bright); font-weight: 700; }

.footer-col h4 {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(245, 241, 232, 0.75);
  font-size: 15px;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold-bright); }

.footer-link-form {
  margin: 0;
}
.footer-link-form button {
  color: rgba(245, 241, 232, 0.75);
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}
.footer-link-form button:hover {
  color: var(--gold-bright);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(245, 241, 232, 0.08);
  color: var(--cream);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.5);
}

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  transition: all 0.3s var(--ease);
  animation: fadeUp 0.6s var(--ease-out) 1.8s backwards;
}
.whatsapp-float:hover { transform: scale(1.08) rotate(-8deg); }
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* ============================================================
   Fade-in-on-scroll utility
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== FIX: show video poster instead of placeholder ===== */
.reel-video {
  opacity: 1 !important;
}

.reel-placeholder {
  opacity: 0 !important;
  pointer-events: none;
}
