/* =====================================================
   WAHAJ — Cinematic Marketing Agency Website
   ===================================================== */

:root {
  /* Brand palette derived from the visual identity */
  --bg-deep:        #0c0604;       /* near-black with warm undertone */
  --bg-base:        #140805;       /* primary background */
  --bg-card:        #1c0c08;       /* card surface */
  --bg-elevated:    #271310;       /* elevated surface */

  --ember:          #ff5a1f;       /* signature ember orange */
  --ember-bright:   #ff7a3d;       /* brighter highlight */
  --ember-deep:     #c2360a;       /* deep ember */
  --ember-soft:     #ff9f6b;       /* soft tint */
  --copper:         #b86a3d;       /* metallic copper from columns */
  --copper-light:   #d99467;
  --gold-spark:     #ffb84d;       /* spark accents */

  --text-primary:   #fff5ec;       /* warm white */
  --text-secondary: #c9a896;       /* warm muted */
  --text-tertiary:  #8a6a5b;       /* warm dim */
  --text-faint:     #4a352c;

  --border:         rgba(255, 90, 31, 0.14);
  --border-strong:  rgba(255, 90, 31, 0.32);

  --font-display:   'Reem Kufi', sans-serif;
  --font-body:      'Tajawal', sans-serif;
  --font-serif:     'Cormorant Garamond', serif;
  --font-latin:     'Inter', sans-serif;

  --max-width:      1320px;
  --pad-x:          clamp(1.25rem, 4vw, 3.5rem);

  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.7, 0, 0.3, 1);
}

/* ================== LIGHT MODE VARIABLES ================== */
body.light-mode {
  --bg-deep:        #f5f0eb;
  --bg-base:        #faf6f2;
  --bg-card:        #ffffff;
  --bg-elevated:    #ede8e3;

  --ember:          #e04a10;
  --ember-bright:   #ff5a1f;
  --ember-deep:     #c2360a;
  --ember-soft:     #d97040;
  --copper:         #b86a3d;
  --copper-light:   #c9845a;
  --gold-spark:     #d4920a;

  --text-primary:   #1a0d08;
  --text-secondary: #5a3a28;
  --text-tertiary:  #8a6a5b;
  --text-faint:     #c8b0a0;

  --border:         rgba(200, 80, 30, 0.14);
  --border-strong:  rgba(200, 80, 30, 0.30);
}

body.light-mode .grain-overlay { opacity: 0.03; }
body.light-mode .ambient-glow { opacity: 0.15; }
body.light-mode .ag-1 { background: #ffb88a; }
body.light-mode .ag-2 { background: #ffcca0; }
body.light-mode .ag-3 { background: #e8a070; }
body.light-mode .col { opacity: 0.25; }
body.light-mode .nav.scrolled {
  background: rgba(250, 246, 242, 0.92);
  border-bottom: 1px solid var(--border);
}
body.light-mode .loader { background: #f5f0eb; }
body.light-mode .mobile-menu {
  background: #faf6f2;
  border-left: 1px solid var(--border);
}
body.light-mode .stat {
  filter: none;
}
body.light-mode .service-card,
body.light-mode .contact-card,
body.light-mode .showcase-item {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ================== LIGHT MODE — REVIEWS CINEMA ================== */
body.light-mode .reviews-cinema {
  background: radial-gradient(ellipse at center top, #f0e8e0 0%, #faf6f2 55%, #ede8e3 100%);
}
body.light-mode .reviews-cinema::before {
  background: radial-gradient(ellipse at center, rgba(200, 80, 30, 0.07) 0%, transparent 60%);
}
body.light-mode .reviews-cinema::after {
  background: radial-gradient(ellipse at center, transparent 30%, rgba(240, 232, 224, 0.6) 100%);
}
body.light-mode .review-card-inner {
  background: linear-gradient(155deg,
              rgba(255, 255, 255, 0.97) 0%,
              rgba(250, 246, 242, 0.98) 50%,
              rgba(237, 232, 227, 1) 100%);
  border: 1px solid rgba(200, 80, 30, 0.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(200, 80, 30, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
body.light-mode .review-card[data-pos="active"] .review-card-inner {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.12),
    0 0 40px rgba(200, 80, 30, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(200, 80, 30, 0.3);
}
body.light-mode .review-card-inner::before {
  background: linear-gradient(135deg,
              rgba(200, 80, 30, 0.25),
              transparent 30%,
              transparent 70%,
              rgba(220, 120, 60, 0.15));
}
body.light-mode .review-text {
  color: #1a0d08;
}
body.light-mode .card-quote-mark {
  color: var(--ember);
  opacity: 0.12;
}
body.light-mode .review-divider {
  background: linear-gradient(90deg, transparent, var(--ember-deep), transparent);
  opacity: 0.35;
}
body.light-mode .author-avatar {
  background: linear-gradient(135deg, var(--ember), var(--ember-deep));
  color: #fff;
  border-color: rgba(200, 80, 30, 0.35);
  box-shadow: 0 4px 14px rgba(200, 80, 30, 0.25);
}
body.light-mode .author-name {
  color: var(--ember-deep);
}
body.light-mode .author-role {
  color: var(--text-tertiary);
}
body.light-mode .cinema-arrow {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(200, 80, 30, 0.25);
  color: var(--ember-deep);
}
body.light-mode .cinema-arrow:hover {
  background: rgba(200, 80, 30, 0.1);
  border-color: var(--ember);
  box-shadow: 0 0 20px rgba(200, 80, 30, 0.2);
}
body.light-mode .cinema-dot {
  background: rgba(200, 80, 30, 0.2);
}
body.light-mode .cinema-dot.is-active {
  background: linear-gradient(90deg, var(--ember), var(--gold-spark));
  box-shadow: 0 0 10px rgba(200, 80, 30, 0.4);
}
body.light-mode .marble-floor {
  background:
    radial-gradient(ellipse at center top,
                    rgba(200, 80, 30, 0.1) 0%,
                    rgba(212, 146, 10, 0.04) 30%,
                    transparent 70%),
    linear-gradient(180deg, rgba(200, 170, 150, 0.25) 0%, transparent 80%);
  opacity: 0.5;
}
body.light-mode .dust-particle {
  background: radial-gradient(circle, rgba(212, 146, 10, 0.7), transparent 70%);
}
body.light-mode .reviews-title,
body.light-mode .reviews-sub {
  color: var(--text-secondary);
}

/* ================== LTR PHONE NUMBERS ================== */
a[href^="tel"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
a[href^="tel"] .card-content {
  direction: rtl;
}
a[href^="tel"] .card-value {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.footer-col a[href^="tel"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

/* ================== THEME TOGGLE & LANG BUTTONS ================== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle, .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: rgba(255, 90, 31, 0.04);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.theme-toggle:hover, .lang-toggle:hover {
  border-color: var(--ember);
  color: var(--text-primary);
  background: rgba(255, 90, 31, 0.1);
  transform: translateY(-1px);
}
.theme-toggle svg, .lang-toggle svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .nav-controls {
    display: flex !important;
    gap: 0.5rem;
    margin-inline-start: auto;
    margin-inline-end: 1rem;
  }
  .theme-toggle, .lang-toggle {
    padding: 0.6rem;
    border-radius: 50%;
    justify-content: center;
  }
  .theme-toggle span, .lang-toggle span {
    display: none;
  }
  .theme-toggle svg, .lang-toggle svg {
    width: 18px;
    height: 18px;
    margin: 0;
  }
  .nav-inner { gap: 1rem; }
}

@media (max-width: 420px) {
  .nav-controls { gap: 0.4rem; margin-inline-end: 0.6rem; }
  .theme-toggle, .lang-toggle {
    padding: 0.5rem;
  }
  .theme-toggle svg, .lang-toggle svg {
    width: 16px;
    height: 16px;
  }
}

/* ================== RESET ================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 17.5px;
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

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

::selection { background: var(--ember); color: var(--bg-deep); }

/* ================== CUSTOM CURSOR ================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--ember);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid var(--ember);
  border-radius: 50%;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, transform 0.15s linear;
  mix-blend-mode: difference;
}
.cursor-ring.hover {
  width: 70px; height: 70px;
  border-color: var(--ember-bright);
}

@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ================== LOADER ================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; position: relative; }
.loader-logo-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto 2rem; }
.loader-logo {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 30px rgba(255, 90, 31, 0.5));
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 20px rgba(255, 90, 31, 0.4)); }
  50%      { filter: brightness(1.2) drop-shadow(0 0 50px rgba(255, 90, 31, 0.8)); }
}
.loader-spark {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--gold-spark);
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
  animation: spark-twinkle 1.8s ease-in-out infinite;
}
.loader-spark.s1 { top: -10px; left: 20%; animation-delay: 0s; }
.loader-spark.s2 { top: 20%; right: -15px; animation-delay: 0.4s; width: 10px; height: 10px; }
.loader-spark.s3 { bottom: 10%; left: -10px; animation-delay: 0.8s; width: 16px; height: 16px; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}
.loader-bar {
  width: 200px; height: 1px;
  background: rgba(255,90,31,0.15);
  margin: 0 auto 1rem;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  animation: load 1.4s ease-in-out infinite;
}
@keyframes load {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}
.loader-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--ember-soft);
}

/* ================== ATMOSPHERIC LAYERS ================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjAwIDIwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nMycvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScgb3BhY2l0eT0nMC43Jy8+PC9zdmc+");
  mix-blend-mode: overlay;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  transform: translateZ(0);
  will-change: transform;
}
.ag-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--ember-deep) 0%, transparent 70%); top: -10%; right: -15%; animation: float-glow 18s ease-in-out infinite; }
.ag-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--ember) 0%, transparent 70%); bottom: 20%; left: -10%; animation: float-glow 22s ease-in-out infinite reverse; }
.ag-3 { width: 400px; height: 400px; background: radial-gradient(circle, var(--copper) 0%, transparent 70%); top: 50%; right: 30%; animation: float-glow 25s ease-in-out infinite; opacity: 0.2; }
@keyframes float-glow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(40px, -40px, 0); }
}

/* ================== TYPOGRAPHY HELPERS ================== */
.italic { font-style: italic; font-family: var(--font-serif); font-weight: 400; }
em { font-style: italic; font-family: var(--font-serif); color: var(--ember-soft); }
strong { color: var(--text-primary); font-weight: 700; }

/* ================== NAV ================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease-out);
}
.nav.scrolled {
  padding: 0.9rem 0;
  background: rgba(12, 6, 4, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
body.light-mode .nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .nav.scrolled .nav-logo img {
  filter: brightness(0) invert(0);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo img {
  height: 70px;
  width: auto;             /* preserve aspect ratio (HTML width attr is for CLS only) */
  filter: brightness(1.05);
  transition: transform 0.4s var(--ease-out);
}
.nav-logo:hover img { transform: scale(1.06); }

.nav-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  margin-inline-start: auto;
  margin-inline-end: 1.5rem;
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  padding: 0.5rem 0;
}
.nav-link span {
  position: relative;
  display: inline-block;
}
.nav-link span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width 0.4s var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover span::after { width: 100%; left: 0; right: auto; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(255,90,31,0.08), rgba(255,90,31,0.02));
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ember-deep), var(--ember));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.nav-cta:hover { border-color: var(--ember); transform: translateY(-2px); }
.nav-cta:hover::before { opacity: 1; }
.nav-cta-arrow { transition: transform 0.3s; }
.nav-cta:hover .nav-cta-arrow { transform: translateX(-4px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 24px; height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--bg-deep);
  border-left: 1px solid var(--border);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-cta {
  margin-top: auto;
  background: var(--ember);
  color: var(--bg-deep) !important;
  padding: 1rem !important;
  text-align: center;
  border-radius: 100px;
  border: none !important;
  font-weight: 700;
}

/* Mobile controls bar (theme + lang) */
.mobile-controls {
  display: flex;
  gap: 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.mobile-theme-btn, .mobile-lang-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: rgba(255,90,31,0.05);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.mobile-theme-btn:active, .mobile-lang-btn:active {
  transform: scale(0.95);
  background: rgba(255,90,31,0.15);
  border-color: var(--ember);
  color: var(--text-primary);
}

/* Fun mobile entrance animations */
@keyframes mob-slide-in {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mob-pop {
  0%   { opacity: 0; transform: scale(0.85) translateY(12px); }
  70%  { transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mob-shimmer {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); }
  50%      { box-shadow: 0 0 18px 4px rgba(255,90,31,0.22); }
}

.mobile-menu.open a {
  animation: mob-slide-in 0.42s var(--ease-out) both;
}
.mobile-menu.open a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.1s;  }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { animation-delay: 0.2s;  }
.mobile-menu.open a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open .mobile-cta    { animation: mob-pop 0.5s var(--ease-out) 0.3s both; }
.mobile-menu.open .mobile-controls { animation: mob-pop 0.5s var(--ease-out) 0.38s both; }

.mobile-cta { animation: mob-shimmer 2.5s ease-in-out infinite; }

/* ================== HERO ================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad-x) 6rem;
  overflow: hidden;
}

/* Cinematic light columns inspired by the brand visual */
.hero-columns {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.col {
  position: absolute;
  top: -10%;
  width: 14%;
  height: 130%;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(184, 106, 61, 0.0) 0px,
      rgba(184, 106, 61, 0.18) 2px,
      rgba(184, 106, 61, 0.05) 4px,
      rgba(217, 148, 103, 0.22) 6px,
      rgba(120, 60, 30, 0.18) 10px
    ),
    linear-gradient(135deg, rgba(217, 148, 103, 0.25), rgba(120, 60, 30, 0.4));
  filter: blur(0.5px);
  opacity: 0.7;
}
.col-left {
  left: -2%;
  transform: skewX(-12deg) skewY(2deg);
  transform-origin: top left;
  border-radius: 0 50% 0 0;
  box-shadow: 30px 0 120px rgba(255, 90, 31, 0.15);
}
.col-right {
  right: -2%;
  transform: skewX(12deg) skewY(-2deg);
  transform-origin: top right;
  border-radius: 50% 0 0 0;
  box-shadow: -30px 0 120px rgba(255, 90, 31, 0.15);
}

/* Floating sparks */
.hero-spark {
  position: absolute;
  fill: var(--gold-spark);
  filter: drop-shadow(0 0 10px rgba(255, 184, 77, 0.8));
  z-index: 2;
  animation: float-spark 6s ease-in-out infinite;
}
.spark-1 { top: 15%; left: 8%; width: 28px; height: 28px; animation-delay: 0s; }
.spark-2 { top: 70%; left: 4%; width: 40px; height: 40px; animation-delay: 1.5s; }
.spark-3 { top: 25%; right: 6%; width: 50px; height: 50px; animation-delay: 0.8s; }
.spark-4 { top: 80%; right: 10%; width: 22px; height: 22px; animation-delay: 2.5s; }
@keyframes float-spark {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50%      { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-latin);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-bottom: 2.5rem;
}
.eyebrow-line {
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember));
}
.eyebrow-line:last-child { background: linear-gradient(-90deg, transparent, var(--ember)); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--ember-bright), var(--gold-spark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 122, 61, 0.4));
}
.hero-title .dot {
  color: var(--ember);
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.85;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2.2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--ember-bright), var(--ember-deep));
  color: var(--bg-deep);
  box-shadow: 0 8px 30px rgba(255, 90, 31, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-spark), var(--ember));
  opacity: 0;
  transition: opacity 0.4s;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 90, 31, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  background: rgba(255, 90, 31, 0.04);
}
.btn-ghost:hover {
  border-color: var(--ember);
  background: rgba(255, 90, 31, 0.1);
  transform: translateY(-3px);
}
.play-icon {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--bg-deep);
  font-size: 0.85rem;
  padding-right: 2px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 245, 236, 0.02);
  backdrop-filter: blur(8px);
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--ember-bright), var(--gold-spark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ember);
  font-weight: 700;
}
.stat-label {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin-right: 0.5rem;
  display: block;
  width: 100%;
}
.stat-divider {
  width: 1px; height: 30px;
  background: var(--border-strong);
}

@media (max-width: 720px) {
  .hero-stats { flex-direction: column; gap: 1.2rem; padding: 1.5rem; border-radius: 24px; }
  .stat-divider { width: 30px; height: 1px; }
  .stat-label { width: auto; }
}

.hero-scroll {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-latin);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  z-index: 5;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--ember), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--gold-spark);
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

.hero-marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.marquee-track span:nth-child(even) { color: var(--ember); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================== SECTION SHARED ================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 5;
}

section {
  position: relative;
  padding: 8rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-latin);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-bottom: 2.5rem;
}
.label-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ember);
}
.label-line {
  width: 60px;
  height: 1px;
  background: var(--ember);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.section-title-center { text-align: center; max-width: 900px; margin: 0 auto 4rem; }
.title-accent {
  background: linear-gradient(135deg, var(--ember-bright), var(--gold-spark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================== ABOUT ================== */
.about {
  background: linear-gradient(180deg, var(--bg-base), var(--bg-deep));
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 1.6rem;
  max-width: 560px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 600px) {
  .about-pillars { grid-template-columns: 1fr; }
}
.pillar {
  padding: 1.8rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.04), transparent);
  transition: all 0.4s var(--ease-out);
}
.pillar:hover {
  border-color: var(--ember);
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.08), transparent);
}
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--ember);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.pillar p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 0;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.visual-frame {
  position: relative;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.frame-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 90, 31, 0.18), transparent 65%);
}
.visual-logo {
  width: 55%;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05) drop-shadow(0 0 40px rgba(255, 90, 31, 0.3));
  position: relative;
  z-index: 2;
  animation: gentle-float 6s ease-in-out infinite;
}
@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.visual-orbit {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
.orbit-1 { inset: 5%; animation: rotate 30s linear infinite; }
.orbit-2 { inset: 18%; border-color: var(--border); animation: rotate 22s linear infinite reverse; border-style: dashed; }
.orbit-3 { inset: 30%; animation: rotate 18s linear infinite; }
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.visual-spark {
  position: absolute;
  fill: var(--gold-spark);
  filter: drop-shadow(0 0 12px rgba(255, 184, 77, 0.8));
}
.vs1 { top: 8%; right: 12%; width: 30px; height: 30px; animation: spark-twinkle 3s ease-in-out infinite; }
.vs2 { bottom: 12%; left: 10%; width: 22px; height: 22px; animation: spark-twinkle 3s ease-in-out infinite 1.5s; }

.visual-caption {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.caption-ar {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ember-soft);
}
.caption-en {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* ================== SERVICES ================== */
.services {
  background: var(--bg-deep);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.service-card::after {
  content: attr(data-num);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: var(--font-serif);
  font-size: 12rem;
  font-style: italic;
  color: var(--ember);
  opacity: 0.04;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s;
  line-height: 1;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--ember);
  background: var(--bg-elevated);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 0.12; transform: scale(1.1) rotate(-5deg); }

.service-num {
  font-family: var(--font-latin);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--ember-soft);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 70px; height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.1), rgba(255, 90, 31, 0.02));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ember-bright);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease-out);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.05);
  background: linear-gradient(135deg, var(--ember), var(--ember-deep));
  color: var(--bg-deep);
  border-color: var(--ember);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}
.service-card > p {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}
.service-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-right: 0.5rem;
}
.service-card li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--ember);
  border-radius: 50%;
  display: inline-block;
}

.service-arrow {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-size: 1.4rem;
  color: var(--ember);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s var(--ease-out);
  z-index: 2;
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card-feature {
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--bg-card), rgba(255, 90, 31, 0.05));
}
.service-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.3rem 0.9rem;
  background: var(--ember);
  color: var(--bg-deep);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.1em;
  z-index: 3;
}

/* ================== APPROACH / TIMELINE ================== */
.approach {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-base));
}
.approach-timeline {
  position: relative;
  margin-top: 5rem;
  padding-right: 4rem;
}
@media (max-width: 720px) {
  .approach-timeline { padding-right: 3rem; }
}
.timeline-line {
  position: absolute;
  top: 0; bottom: 0;
  right: 1.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--ember) 0%, var(--ember) 70%, transparent);
}
@media (max-width: 720px) {
  .timeline-line { right: 1rem; }
}

.timeline-step {
  position: relative;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (max-width: 720px) {
  .timeline-step { gap: 1.5rem; padding-bottom: 3rem; }
}
.timeline-step:last-child { padding-bottom: 0; }

.step-marker {
  position: relative;
  width: 60px; height: 60px;
  margin-right: -22px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--ember);
  display: grid;
  place-items: center;
  z-index: 2;
}
@media (max-width: 720px) {
  .step-marker { width: 44px; height: 44px; margin-right: -10px; }
}
.step-num {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ember);
}
.step-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ember);
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.step-content {
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
}
.step-content:hover {
  border-color: var(--ember);
  transform: translateX(-8px);
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ================== WORK / SHOWCASE ================== */
.work {
  background: var(--bg-base);
}
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.work-header p {
  max-width: 320px;
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.work-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}
@media (max-width: 980px) {
  .work-showcase { grid-template-columns: 1fr; }
}

.showcase-feature {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
}
.showcase-feature:hover {
  transform: translateY(-6px);
  border-color: var(--ember);
}
.feature-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease-cinematic);
}
.showcase-feature:hover .feature-image img { transform: scale(1.06); }
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 6, 4, 0.95));
}
.feature-meta {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 2.5rem;
  z-index: 2;
}
.feature-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--ember-soft);
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}
.feature-meta h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.feature-meta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 480px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.showcase-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
}
.showcase-item:hover {
  transform: translateY(-6px);
  border-color: var(--ember);
}
.item-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease-out);
}
.showcase-item:hover .item-bg { transform: scale(1.08); }

.item-bg-1 {
  background:
    radial-gradient(circle at 30% 40%, var(--ember-bright), transparent 60%),
    linear-gradient(135deg, #2d1410, #1a0a08);
}
.item-bg-2 {
  background:
    radial-gradient(circle at 70% 60%, var(--copper-light), transparent 50%),
    linear-gradient(45deg, #1a0d08, #2a1812);
}
.item-bg-3 {
  background:
    radial-gradient(circle at 50% 50%, var(--gold-spark), transparent 55%),
    linear-gradient(180deg, #2d1410, #0c0604);
  opacity: 0.85;
}
.item-bg-4 {
  background:
    repeating-linear-gradient(45deg, var(--ember-deep) 0, var(--ember-deep) 2px, transparent 2px, transparent 12px),
    linear-gradient(135deg, #1c0c08, #0c0604);
}

.item-info {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(12,6,4,0.95), transparent);
  z-index: 2;
}
.item-tag {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--ember-soft);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.item-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* ================== TESTIMONIAL ================== */
.testimonial {
  background: var(--bg-deep);
  text-align: center;
  padding: 7rem 0;
}
.testimonial .container { max-width: 900px; }
.quote-mark {
  width: 80px;
  margin: 0 auto 1rem;
  color: var(--ember);
  opacity: 0.4;
}

blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}
.quote-accent {
  background: linear-gradient(135deg, var(--ember-bright), var(--gold-spark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.quote-author {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ember-soft);
}
.quote-role {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ================== CINEMATIC 3D REVIEWS ================== */
.reviews-cinema {
  position: relative;
  background: radial-gradient(ellipse at center top, #1a0a06 0%, var(--bg-deep) 55%, #050201 100%);
  padding: 8rem 0 10rem;
  overflow: hidden;
  isolation: isolate;
}

/* Ambient atmosphere */
.reviews-cinema::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 90, 31, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Vignette */
.reviews-cinema::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(5, 2, 1, 0.85) 100%);
  pointer-events: none;
  z-index: 6;
}

.reviews-cinema .container { position: relative; z-index: 2; }

.reviews-header {
  text-align: center;
  margin-bottom: 4rem;
}
.reviews-header .section-label { justify-content: center; }
.reviews-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.reviews-title .title-accent { 
  background: linear-gradient(135deg, var(--ember-bright), var(--gold-spark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reviews-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-style: italic;
}

/* Golden Dust Particles */
.golden-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.dust-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, var(--gold-spark), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: floatDust linear infinite;
  filter: blur(0.4px);
}
.dust-particle.large {
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, var(--ember-bright), transparent 60%);
}
.dust-particle.tiny {
  width: 2px;
  height: 2px;
}
@keyframes floatDust {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
    transform: translate(0, -10px) scale(1);
  }
  85% {
    opacity: 0.6;
  }
  100% {
    transform: translate(var(--dx, 30px), -100vh) scale(0.3);
    opacity: 0;
  }
}

/* 3D Stage */
.cinema-stage {
  position: relative;
  width: 100%;
  height: 400px;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  margin: 0 auto;
  z-index: 4;
}

.cards-deck {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(0);
}

/* Individual Review Card */
.review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 88vw);
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
  cursor: pointer;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.review-card[data-pos="next"],
.review-card[data-pos="prev"] {
  filter: blur(2px) brightness(0.85) !important;
  opacity: 0.7;
}
.review-card[data-pos="far-next"],
.review-card[data-pos="far-prev"] {
  filter: blur(5px) brightness(0.7) !important;
  opacity: 0.4;
}
.review-card[data-pos="hidden"] {
  filter: blur(8px) brightness(0.5) !important;
  opacity: 0;
}
.review-card[data-pos="active"] {
  filter: blur(0) brightness(1) !important;
}

.review-card-inner {
  position: relative;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(155deg, 
              rgba(40, 20, 14, 0.92) 0%, 
              rgba(28, 12, 8, 0.96) 50%, 
              rgba(20, 8, 5, 0.98) 100%);
  border: 1px solid rgba(255, 184, 77, 0.18);
  padding: 2rem 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  text-align: right;
  direction: rtl;
  backdrop-filter: blur(8px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 10px 40px rgba(255, 90, 31, 0.08),
    inset 0 1px 0 rgba(255, 184, 77, 0.12);
  overflow: hidden;
}

/* Inner shimmer / edge glow */
.review-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, 
              rgba(255, 184, 77, 0.4), 
              transparent 30%, 
              transparent 70%, 
              rgba(255, 122, 61, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

/* Light sweep on hover */
.review-card-inner::after {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 60%; height: 200%;
  background: linear-gradient(115deg, 
              transparent 0%, 
              rgba(255, 184, 77, 0.08) 45%, 
              rgba(255, 184, 77, 0.18) 50%, 
              rgba(255, 184, 77, 0.08) 55%, 
              transparent 100%);
  transform: rotate(8deg);
  transition: left 1.4s var(--ease-cinematic);
  pointer-events: none;
}
.review-card.is-active .review-card-inner::after {
  left: 150%;
}

.card-quote-mark {
  position: absolute;
  top: 0.6rem;
  right: 1.4rem;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--ember);
  opacity: 0.18;
  font-style: italic;
  pointer-events: none;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.review-stars svg {
  width: 17px;
  height: 17px;
  fill: var(--gold-spark);
  filter: drop-shadow(0 0 6px rgba(255, 184, 77, 0.5));
}

.review-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  flex-grow: 0;
  text-align: right;
  position: relative;
  z-index: 2;
}
.review-text .accent {
  background: linear-gradient(135deg, var(--ember-bright), var(--gold-spark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.review-divider {
  width: 60px;
  height: 1px;
  margin: 0 0 1.2rem 0;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0.5;
}

.review-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
  direction: rtl;
}
.author-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--ember-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 184, 77, 0.4);
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
}
.author-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ember-soft);
  font-weight: 600;
}
.author-role {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* Card position states */
.review-card[data-pos="active"] {
  z-index: 10;
  transform: translate(-50%, -50%) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1;
  filter: blur(0) brightness(1);
}
.review-card[data-pos="active"] .review-card-inner {
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(255, 90, 31, 0.18),
    0 0 120px rgba(255, 184, 77, 0.08),
    inset 0 1px 0 rgba(255, 184, 77, 0.18);
  border-color: rgba(255, 184, 77, 0.35);
}

.review-card[data-pos="next"] {
  z-index: 8;
  transform: translate(-50%, -50%) translateX(38%) translateZ(-280px) rotateY(-32deg) scale(0.85);
  opacity: 0.55;
  filter: blur(2.5px) brightness(0.7);
}

.review-card[data-pos="prev"] {
  z-index: 8;
  transform: translate(-50%, -50%) translateX(-38%) translateZ(-280px) rotateY(32deg) scale(0.85);
  opacity: 0.55;
  filter: blur(2.5px) brightness(0.7);
}

.review-card[data-pos="far-next"] {
  z-index: 6;
  transform: translate(-50%, -50%) translateX(58%) translateZ(-520px) rotateY(-42deg) scale(0.7);
  opacity: 0.25;
  filter: blur(5px) brightness(0.5);
}

.review-card[data-pos="far-prev"] {
  z-index: 6;
  transform: translate(-50%, -50%) translateX(-58%) translateZ(-520px) rotateY(42deg) scale(0.7);
  opacity: 0.25;
  filter: blur(5px) brightness(0.5);
}

.review-card[data-pos="hidden"] {
  z-index: 1;
  transform: translate(-50%, -50%) translateZ(-700px) rotateY(0deg) scale(0.4);
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
}

/* Subtle floating animation on active card */
@keyframes activeFloat {
  0%, 100% { 
    transform: translate(-50%, -50%) translateZ(0) rotateY(0deg) rotateX(0deg) scale(1);
  }
  25% {
    transform: translate(-50%, -50%) translateZ(15px) rotateY(2deg) rotateX(-1deg) scale(1.005);
  }
  50% {
    transform: translate(-50%, -50%) translateZ(20px) rotateY(0deg) rotateX(-1.5deg) scale(1.008);
  }
  75% {
    transform: translate(-50%, -50%) translateZ(15px) rotateY(-2deg) rotateX(-1deg) scale(1.005);
  }
}
.review-card[data-pos="active"]:not(.is-transitioning) {
  animation: activeFloat 9s ease-in-out infinite;
}

/* Marble Floor Reflection */
.marble-floor {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%) rotateX(75deg);
  transform-origin: center top;
  width: min(560px, 92vw);
  height: 240px;
  background: 
    radial-gradient(ellipse at center top, 
                    rgba(255, 90, 31, 0.18) 0%, 
                    rgba(255, 184, 77, 0.06) 30%, 
                    transparent 70%),
    linear-gradient(180deg, 
                    rgba(40, 20, 14, 0.4) 0%, 
                    transparent 80%);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}
.marble-floor::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 184, 77, 0.04), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 90, 31, 0.04), transparent 40%);
  border-radius: 50%;
}

/* Navigation */
.cinema-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 5;
}
.cinema-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 184, 77, 0.25);
  background: rgba(28, 12, 8, 0.6);
  backdrop-filter: blur(10px);
  color: var(--ember-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  font-size: 1.3rem;
}
.cinema-arrow:hover {
  background: rgba(255, 90, 31, 0.15);
  border-color: var(--ember);
  color: var(--text-primary);
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(255, 90, 31, 0.3);
}
.cinema-arrow svg {
  width: 18px;
  height: 18px;
}

.cinema-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.cinema-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 184, 77, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s var(--ease-out);
}
.cinema-dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ember), var(--gold-spark));
  box-shadow: 0 0 12px rgba(255, 184, 77, 0.6);
}
.cinema-dot:hover:not(.is-active) {
  background: rgba(255, 184, 77, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .reviews-cinema { padding: 5rem 0 6rem; }
  .cinema-stage { 
    height: 420px;
    perspective: 1200px;
  }
  .review-card {
    width: min(320px, 90vw);
  }
  .review-card-inner {
    padding: 2.4rem 1.8rem 2rem;
  }
  .review-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  .review-card[data-pos="next"] {
    transform: translate(-50%, -50%) translateX(28%) translateZ(-180px) rotateY(-25deg) scale(0.78);
    opacity: 0.35;
  }
  .review-card[data-pos="prev"] {
    transform: translate(-50%, -50%) translateX(-28%) translateZ(-180px) rotateY(25deg) scale(0.78);
    opacity: 0.35;
  }
  .review-card[data-pos="far-next"],
  .review-card[data-pos="far-prev"] {
    opacity: 0;
  }
  .marble-floor {
    width: 90vw;
    height: 160px;
    bottom: 2rem;
  }
  .cinema-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card[data-pos="active"]:not(.is-transitioning) {
    animation: none;
  }
  .dust-particle {
    animation: none;
    opacity: 0;
  }
}

/* ================== CONTACT ================== */
.contact {
  background: linear-gradient(180deg, var(--bg-deep), #0a0402);
  padding: 8rem 0 6rem;
  overflow: hidden;
}
.contact-inner {
  position: relative;
  text-align: center;
}
.contact-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 22rem);
  font-weight: 900;
  color: var(--ember);
  opacity: 0.04;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}
.contact .section-label {
  position: relative; z-index: 2;
  justify-content: center;
}
.contact-title {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.contact-sub {
  position: relative; z-index: 2;
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 4rem;
}
.contact-actions {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-actions { grid-template-columns: 1fr; max-width: 480px; }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
  text-align: right;
}
.contact-card:hover {
  background: var(--bg-elevated);
  border-color: var(--ember);
  transform: translateY(-4px);
}
.card-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--ember-bright);
  display: grid;
  place-items: center;
}
.card-icon svg { width: 22px; height: 22px; }
.card-content { flex: 1; }
.card-label {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.card-value {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
}
.card-arrow {
  color: var(--ember);
  font-size: 1.3rem;
  transition: transform 0.3s;
}
.contact-card:hover .card-arrow { transform: translateX(-6px); }

/* ================== FOOTER ================== */
.footer {
  background: var(--bg-deep);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 60px;
  width: auto;             /* preserve aspect ratio */
  margin-bottom: 1.2rem;
  filter: brightness(1.05);
}
.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ember-soft);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--ember-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
}
.heart {
  color: var(--ember);
  display: inline-block;
  animation: spark-twinkle 2s ease-in-out infinite;
}

/* ================== REVEAL ANIMATIONS ================== */
.reveal, .reveal-up {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up { transform: translateY(40px); }
.reveal.in-view, .reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals */
.about-pillars .pillar.in-view:nth-child(1) { transition-delay: 0.1s; }
.about-pillars .pillar.in-view:nth-child(2) { transition-delay: 0.2s; }
.about-pillars .pillar.in-view:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card.in-view:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card.in-view:nth-child(2) { transition-delay: 0.15s; }
.services-grid .service-card.in-view:nth-child(3) { transition-delay: 0.25s; }
.services-grid .service-card.in-view:nth-child(4) { transition-delay: 0.05s; }
.services-grid .service-card.in-view:nth-child(5) { transition-delay: 0.15s; }
.services-grid .service-card.in-view:nth-child(6) { transition-delay: 0.25s; }
.timeline-step.in-view:nth-child(2) { transition-delay: 0.1s; }
.timeline-step.in-view:nth-child(3) { transition-delay: 0.2s; }
.timeline-step.in-view:nth-child(4) { transition-delay: 0.3s; }
.timeline-step.in-view:nth-child(5) { transition-delay: 0.4s; }
.showcase-grid .showcase-item.in-view:nth-child(1) { transition-delay: 0.1s; }
.showcase-grid .showcase-item.in-view:nth-child(2) { transition-delay: 0.2s; }
.showcase-grid .showcase-item.in-view:nth-child(3) { transition-delay: 0.3s; }
.showcase-grid .showcase-item.in-view:nth-child(4) { transition-delay: 0.4s; }
.contact-actions .contact-card.in-view:nth-child(1) { transition-delay: 0.1s; }
.contact-actions .contact-card.in-view:nth-child(2) { transition-delay: 0.2s; }
.contact-actions .contact-card.in-view:nth-child(3) { transition-delay: 0.3s; }

/* Hero word reveals are handled separately for cinematic stagger */
.hero-title .word.reveal-up { display: inline-block; }
.hero-title .word.in-view { transition-delay: calc(var(--i, 0) * 100ms); }

/* ================== RESPONSIVE TWEAKS ================== */
@media (max-width: 720px) {
  section { padding: 5rem 0; }
  .hero { padding-top: 7rem; padding-bottom: 4rem; }
  .hero-scroll { display: none; }
  .work-header { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: right; }
}

/* ================== MOBILE FULL OVERHAUL (max-width: 480px) ================== */
@media (max-width: 480px) {

  :root { --pad-x: 1.1rem; }
  body { overflow-x: hidden; cursor: auto; }

  /* Loader */
  .loader-logo-wrap { width: 110px; height: 110px; }
  .loader-bar { width: 140px; }
  .loader-text { font-size: 0.8rem; }

  /* Ambient */
  .ag-1 { width: 260px; height: 260px; }
  .ag-2 { width: 220px; height: 220px; }
  .ag-3 { display: none; }

  /* Nav */
  .nav { padding: 1rem 0; }
  .nav.scrolled { padding: 0.7rem 0; }
  .nav-inner { padding: 0 var(--pad-x); gap: 0; }
  .nav-logo img { height: 52px; }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 6rem var(--pad-x) 5rem;
    align-items: flex-start;
  }
  .hero-columns, .hero-spark { display: none; }
  .hero-eyebrow { font-size: 0.95rem; letter-spacing: 0.18em; gap: 0.6rem; margin-bottom: 1.4rem; }
  .eyebrow-line { width: 28px; }
  .hero-title {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
    line-height: 1;
    margin-bottom: 1.4rem;
    letter-spacing: -0.03em;
  }
  .hero-sub { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.8rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 2rem; }
  .btn { padding: 1rem 1.5rem; font-size: 1rem; justify-content: center; width: 100%; }
  .hero-stats {
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.2rem;
    border-radius: 18px;
    width: 100%;
  }
  .stat-num { font-size: 2rem; }
  .stat-plus { font-size: 1.3rem; }
  .stat-label { font-size: 0.88rem; width: auto; }
  .stat-divider { width: 100%; height: 1px; }
  .hero-marquee { padding: 0.9rem 0; }
  .marquee-track { font-size: 1.05rem; gap: 1.5rem; }

  /* Sections */
  section { padding: 3.5rem 0; }
  .section-label { font-size: 0.95rem; gap: 0.55rem; margin-bottom: 1.3rem; }
  .label-line { width: 32px; }
  .section-title { font-size: clamp(2.2rem, 8vw, 3.2rem); margin-bottom: 1rem; line-height: 1.1; }
  .section-title-center { margin-bottom: 1.8rem; }

  /* About */
  .about-grid { gap: 2.2rem; }
  .about-text p { font-size: 1rem; max-width: 100%; }
  .about-pillars { grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
  .pillar { padding: 1.3rem 1.1rem; }
  .pillar h4 { font-size: 1.1rem; }
  .about-visual { max-width: 260px; margin: 0 auto; }
  .visual-caption { bottom: -2rem; }
  .caption-ar { font-size: 1.15rem; }
  .caption-en { font-size: 0.98rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .service-card { padding: 1.6rem 1.3rem; border-radius: 14px; }
  .service-card::after { font-size: 6rem; }
  .service-icon { width: 52px; height: 52px; margin-bottom: 1.2rem; border-radius: 12px; }
  .service-icon svg { width: 24px; height: 24px; }
  .service-card h3 { font-size: 1.2rem; }
  .service-card > p { font-size: 1.1rem; }
  .service-card li { font-size: 1.05rem; }
  .service-badge { top: 1.3rem; right: 1.3rem; left: auto; font-size: 0.72rem; }

  /* Approach / Timeline */
  .approach-timeline { padding-right: 2.2rem; margin-top: 3rem; }
  .timeline-line { right: 0.65rem; }
  .timeline-step { gap: 0.9rem; padding-bottom: 2.2rem; }
  .step-marker { width: 36px; height: 36px; margin-right: -6px; }
  .step-num { font-size: 1rem; }
  .step-content { padding: 1.1rem 1.2rem; border-radius: 12px; }
  .step-content h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
  .step-content p { font-size: 1.1rem; }
  .step-content:hover { transform: translateX(-4px); }

  /* Work */
  .work-header { flex-direction: column; align-items: flex-start; gap: 0.8rem; margin-bottom: 1.8rem; }
  .work-header p { max-width: 100%; font-size: 1.1rem; }
  .work-showcase { grid-template-columns: 1fr; gap: 1rem; }
  .showcase-feature { aspect-ratio: 3/2; border-radius: 14px; }
  .feature-meta { padding: 1.3rem; }
  .feature-meta h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
  .feature-meta p { font-size: 1.05rem; }
  .feature-tag { font-size: 0.85rem; letter-spacing: 0.15em; }
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .showcase-item { border-radius: 11px; }
  .item-info { padding: 0.9rem; }
  .item-info h4 { font-size: 0.92rem; }
  .item-tag { font-size: 0.66rem; }

  /* Testimonial */
  .testimonial { padding: 3.5rem 0; }
  blockquote p { font-size: clamp(1.15rem, 4.5vw, 1.6rem); margin-bottom: 1.8rem; }
  .quote-mark { width: 50px; }

  /* Contact */
  .contact { padding: 3.5rem 0 3rem; }
  .contact-bg-text { font-size: clamp(4rem, 18vw, 9rem); }
  .contact-title { font-size: clamp(1.9rem, 7vw, 2.8rem); margin-bottom: 1rem; }
  .contact-sub { font-size: 0.98rem; margin-bottom: 2rem; }
  .contact-actions { grid-template-columns: 1fr; max-width: 100%; gap: 0.8rem; }
  .contact-card { padding: 1.1rem; border-radius: 13px; gap: 1rem; }
  .card-icon { width: 40px; height: 40px; border-radius: 10px; }
  .card-icon svg { width: 19px; height: 19px; }
  .card-label { font-size: 0.95rem; }
  .card-value { font-size: 1.1rem; }
  .card-arrow { font-size: 1.1rem; }

  /* Footer */
  .footer { padding: 2.5rem 0 1.2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 1.8rem; }
  .footer-brand img { height: 44px; margin-bottom: 0.9rem; }
  .footer-brand p { font-size: 1.05rem; max-width: 100%; }
  .footer-col h5 { font-size: 1.1rem; margin-bottom: 0.9rem; }
  .footer-col a { font-size: 1.05rem; padding: 0.35rem 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; font-size: 0.95rem; padding-top: 1.2rem; }

  /* Mobile Menu */
  .mobile-menu { width: 100vw; padding: 4.5rem 1.4rem 2rem; gap: 1.1rem; }
  .mobile-menu a { font-size: 1.25rem; }
  .mobile-cta { padding: 0.9rem !important; font-size: 1rem; }

  /* Animations: fun on mobile */
  .reveal, .reveal-up { transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
  .reveal-up { transform: translateY(22px); }

  /* WhatsApp */
  .whatsapp-float { bottom: 1rem; left: 1rem; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

/* Tablet tweaks (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {

  :root { --pad-x: 1.5rem; }

  .hero { padding: 6.5rem var(--pad-x) 5rem; }
  .hero-title { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { gap: 0.85rem; }
  .btn { padding: 1rem 1.8rem; }
  .hero-stats { gap: 1.5rem; padding: 1.4rem 1.8rem; border-radius: 20px; }
  .stat-num { font-size: 2.1rem; }

  section { padding: 4.5rem 0; }
  .section-title { font-size: clamp(2rem, 6vw, 3rem); }

  .about-pillars { grid-template-columns: 1fr; }
  .about-grid { gap: 3rem; }

  .services-grid { grid-template-columns: 1fr; }

  .work-showcase { grid-template-columns: 1fr; }
  .showcase-feature { aspect-ratio: 4/3; }

  .contact-actions { grid-template-columns: 1fr; max-width: 420px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .mobile-menu { width: 85vw; }
}
/* ===== Wrapper ===== */
.wa-widget-wrapper {
  position: fixed;
  bottom: 2rem;
  left: -0.5rem;
  right: auto;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  direction: rtl;
}
/* Lock widget to the same visual position in both languages */
body.lang-en .wa-widget-wrapper,
html[lang="en"] .wa-widget-wrapper {
  left: -0.5rem !important;
  right: auto !important;
  direction: rtl !important;
}

/* ===== Bottom row ===== */
.wa-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
}

/* ===== WhatsApp Button ===== */
.whatsapp-float {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
  animation: wa-pulse 2.5s ease-in-out infinite;
  position: relative;
  z-index: 9992;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65), 0 4px 12px rgba(0,0,0,0.3);
  animation: none;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0); }
}

/* ===== Mascot ===== */
.wa-mascot-container {
  filter: drop-shadow(0 4px 14px rgba(255,90,31,0.55));
  flex-shrink: 0;
  position: relative;
  z-index: 9991;
  display: flex;
  align-items: flex-start;
  margin-top: -40px;
}

/* Right arm waves */
.wa-arm-left {
  animation: wa-wave-l 0.48s ease-in-out infinite alternate;
  transform-origin: 88px 52px;
}
@keyframes wa-wave-l {
  from { transform: rotate(-22deg); }
  to   { transform: rotate(16deg); }
}

/* Left arm static — no animation */

/* Body bounce */
.wa-mascot-container svg {
  animation: wa-bounce 1.1s ease-in-out infinite alternate;
}
@keyframes wa-bounce {
  from { transform: translateY(0px); }
  to   { transform: translateY(-6px); }
}

/* ===== Speech Bubble ===== */
.wa-bubble {
  background: #fff5ec;
  color: #140805;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 4px 18px rgba(255,90,31,0.3);
  border: 1.5px solid #ff5a1f;
  white-space: nowrap;
  direction: rtl;
  margin-bottom: 8px;
  margin-left: 4px;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.3s, transform 0.35s ease 0.3s;
}
.wa-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 18px;
  border: 5px solid transparent;
  border-top-color: #ff5a1f;
}

/* ===== SHOW / HIDE ===== */
/* Hidden by default */
.wa-mascot-container,
.wa-bubble {
  /* mascot slides in from left */
}
.wa-mascot-container {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.wa-mascot-container.wa-visible {
  opacity: 1;
  transform: translateX(0);
}
.wa-mascot-container.wa-hiding {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
/* bubble */
.wa-bubble.wa-visible {
  opacity: 1;
  transform: translateY(0);
}
.wa-bubble.wa-hiding {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 600px) {
  .wa-widget-wrapper { bottom: 1.5rem; left: -1rem; right: auto; }
  body.lang-en .wa-widget-wrapper,
  html[lang="en"] .wa-widget-wrapper { left: -1rem !important; right: auto !important; }
  .whatsapp-float { width: 52px; height: 52px; }
  .wa-mascot-container svg { width: 58px; height: 62px; }
  .wa-bubble { font-size: 12px; padding: 6px 11px; margin-left: 0; }
  .wa-mascot-container { margin-top: -40px; margin-left: 0; }
}

@media (min-width: 601px) {
  .wa-mascot-container svg { width: 54px; height: 60px; }
}
/* --- 🚀 Global Performance & Anti-Lag Optimizations --- */
/* Force hardware acceleration on cards and grid to prevent scroll stuttering */
.video-card, .video-card-inner, .video-grid {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
}

/* Optimize the moving marquee/bar to prevent layout thrashing */
.marquee, .marquee-content, .moving-bar, .scrolling-text, .ticker {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* Cap extremely heavy glassmorphism blurs that crash mobile GPUs */
.glass, .glass-panel, .video-card-overlay, #videoLightbox, .lightbox-frame {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

@media (max-width: 768px) {
  .glass, .glass-panel, .video-card-overlay, #videoLightbox, .lightbox-frame {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
  }
}

/* Smooth out scrolling and prevent unnecessary repaints */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  -webkit-user-drag: none;
}

/* Inline video playing styles */
.video-card.is-playing-inline .video-card-overlay,
.video-card.is-playing-inline .video-card-play,
.video-card.is-playing-inline .video-card-info,
.video-card.is-playing-inline .video-card-num,
.video-card.is-playing-inline .video-card-corners {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease;
}

.video-card.is-playing-inline video {
  z-index: 10;
  position: relative;
  pointer-events: auto !important; /* Allow clicking native controls */
}

/* ─── Inline Video Controls ─── */
.video-inline-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  transform: translateY(10px);
}

.video-card.is-playing-inline .video-inline-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vic-progress {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s;
  display: flex;
  align-items: center;
  direction: ltr;
}
.vic-progress:hover {
  height: 8px;
}

.vic-progress-fill {
  height: 100%;
  background: var(--gold-spark);
  width: 0%;
  pointer-events: none;
  border-radius: 4px;
}

.vic-progress-thumb {
  position: absolute;
  left: 0%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  pointer-events: none;
  transform: translateX(-50%);
  transition: width 0.2s, height 0.2s;
  z-index: 2;
}
.vic-progress:hover .vic-progress-thumb {
  width: 14px;
  height: 14px;
}

.vic-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
}

.vic-btn {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s var(--ease-out);
  padding: 0;
  text-decoration: none;
}
.vic-btn:hover {
  background: var(--gold-spark);
  border-color: var(--gold-spark);
  transform: scale(1.1);
  color: #000;
}
.vic-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (max-width: 768px) {
  .video-card-info {
    padding: 1rem 0.8rem 0.8rem;
  }
  .video-card-title {
    font-size: 0.95rem;
    line-height: 1.25;
  }
  .video-card-tag {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
  }
  .video-card-play {
    width: 50px;
    height: 50px;
  }
  .video-card-play svg {
    width: 20px;
    height: 20px;
  }
  .video-inline-controls {
    padding: 1rem 0.6rem 0.6rem;
  }
  .vic-buttons {
    gap: 0.5rem;
  }
  .vic-btn {
    width: 32px;
    height: 32px;
  }
  .vic-btn svg {
    width: 16px;
    height: 16px;
  }
}
