/* ==========================================================================
   ALFATEK ADVERTISING AGENCY (αTEK) — شركة ألفا تيك للدعاية والإعلان
   Premier Global Advertising Agency, 3D Digital Studio & Creative Production Hub
   Executive Luxury Dark Aesthetic | Harmonized Typography | Fluid Studio Motion
   ========================================================================== */

:root {
  /* ==========================================================================
     UNIFIED EXECUTIVE LUXURY PALETTE (NO HARSH RAINBOW CLASHES)
     ========================================================================== */
  --bg-main: #090a0f;              /* Deep Velvet Obsidian */
  --bg-surface: #11131a;           /* Titanium Slate */
  --bg-surface-elevated: #161922;  /* Elevated Slate */
  --bg-surface-glass: rgba(17, 19, 26, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(224, 36, 36, 0.45);
  
  --text-primary: #f5f6fa;         /* Crisp Studio White */
  --text-secondary: #8a92a2;       /* Architectural Muted Slate */
  --text-muted: #5e6576;           /* Micro Meta Slate */
  
  /* Authentic Alpha Crimson Brand Accent */
  --accent: #e02424;               /* Alpha Crimson Red */
  --accent-hover: #ef4444;
  --accent-soft: rgba(224, 36, 36, 0.12);
  --accent-glow: 0 0 35px rgba(224, 36, 36, 0.45);
  --accent-dark: #b91c1c;
  
  /* Supporting Luxury Warm Bronze */
  --bronze: #dca565;
  --bronze-soft: rgba(220, 165, 101, 0.14);
  
  /* Typography Scale */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --font-arabic: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Shadows & Easing */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-main);
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fine Grain Texture Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Subtle Atmospheric Spotlight */
.ambient-spotlight {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(224, 36, 36, 0.05) 0%, rgba(38, 70, 255, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* Custom Interactive Kinetic Cursor */
.cursor-dot, .cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(224, 36, 36, 0.4);
  transition: transform 0.15s ease-out, width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.cursor-hover .cursor-ring {
  width: 50px;
  height: 50px;
  border-color: var(--accent);
  background: rgba(224, 36, 36, 0.06);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   HARMONIZED TYPOGRAPHIC SCALE (STRICT PROPORTIONS)
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

h1 em, h2 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Eyebrows & Meta Labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem; /* ~12.8px */
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.eyebrow-num {
  color: var(--accent);
  font-weight: 700;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2.4s infinite;
}

.eyebrow-tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.eyebrow-center {
  justify-content: center;
}

/* Buttons & Direct Links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem; /* ~15.2px */
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.button .arrow-sym {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform var(--transition-fast);
}

.button:hover .arrow-sym {
  transform: translate(3px, -3px);
}

.button-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.button-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.button-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 4px;
  transition: all var(--transition-fast);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link .arrow-sym {
  transition: transform var(--transition-fast);
}

.text-link:hover .arrow-sym {
  transform: translate(3px, -3px);
}

.circle-link {
  width: 52px;
  height: 52px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all var(--transition-normal);
}

.circle-link:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: scale(1.08) rotate(45deg);
  box-shadow: var(--accent-glow);
  border-color: var(--accent);
}

/* ==========================================================================
   TOPLINE ANNOUNCEMENT & REAL-TIME STUDIO CLOCK
   ========================================================================== */
.topline {
  height: 38px;
  background-color: #06070a;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--border-subtle);
}

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

.hq-badge {
  font-weight: 700;
  color: var(--text-primary);
}

.signal-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.topline-slogan {
  color: var(--text-secondary);
}

.live-clock {
  color: var(--bronze);
  font-weight: 500;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 76px;
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

/* Logo — Single Unified Brand Mark — ALFATEK ADVERTISING AGENCY (αTEK) */
.logo {
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.logo:hover {
  transform: translateY(-1px) scale(1.02);
  opacity: 0.96;
}

.site-logo {
  height: 48px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(223, 27, 36, 0.4));
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.logo:hover .site-logo {
  filter: drop-shadow(0 4px 16px rgba(223, 27, 36, 0.65));
}

.site-logo.footer-logo {
  height: 44px;
  max-width: 160px;
}

@media (max-width: 768px) {
  .site-logo {
    height: 38px;
    max-width: 140px;
  }
}

/* Fallback & Legacy Logo Classes */
.logo-badge-container {
  height: 48px;
  width: auto;
  min-width: 48px;
  border-radius: 8px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(224, 36, 36, 0.35));
}

.logo-text-group {
  display: none !important; /* Enforce single logo rule: no duplicate text beside the logo */
}

.logo-main {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.logo-alpha {
  color: var(--accent);
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 1.95rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 16px rgba(224, 36, 36, 0.5);
}

.logo-tek {
  color: #ffffff;
  font-weight: 900;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.logo-subline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Menu */
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

/* Sound Synthesizer Toggle */
.sound-toggle {
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.sound-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.sound-toggle.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.sound-bars span {
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 1px;
}

.sound-toggle.active .sound-bars span {
  animation: sound-eq 0.8s ease-in-out infinite alternate;
}
.sound-toggle.active .sound-bars span:nth-child(2) { animation-delay: 0.2s; }
.sound-toggle.active .sound-bars span:nth-child(3) { animation-delay: 0.4s; }
.sound-toggle.active .sound-bars span:nth-child(4) { animation-delay: 0.1s; }

/* Language Selector */
.languages {
  border: 1px solid var(--border-subtle);
  padding: 3px;
  border-radius: 20px;
  display: inline-flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.languages button {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.languages button:hover {
  color: var(--text-primary);
}

.languages .selected {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

/* Nav CTA */
.nav-cta {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.nav-actions-mobile {
  display: none;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  padding: 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   PAGE ROUTING & VISIBILITY (STANDALONE & MULTI-PAGE COMPATIBLE)
   ========================================================================== */
.page {
  display: none;
  opacity: 0;
  animation: page-fade-in 0.4s var(--ease-out) forwards;
}

.page.active,
.page-standalone,
main > .page:only-child {
  display: block;
  opacity: 1;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HERO SECTION (BALANCED VIEWPORT-FITTING PROPORTIONS)
   ========================================================================== */
.hero {
  min-height: calc(100vh - 114px);
  max-height: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  padding: 0 6vw;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-lede {
  font-size: 1.125rem; /* ~18px */
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2rem;
}

.actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
  max-width: 520px;
}

.stat-pill strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}

.stat-pill span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* HERO 3D ART CONTAINER */
.hero-art {
  height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: grab;
}

.hero-art:active {
  cursor: grabbing;
}

/* Real-Time Kinetic 3D Canvas */
.orbit-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Minimalist Kinetic HUD Pill */
.hero-hud-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(17, 19, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.hud-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hud-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-scroll-indicator .arrow-sym {
  color: var(--accent);
  animation: bounce-y 1.6s infinite;
}

/* ==========================================================================
   SECTIONS & SPACING SYSTEM
   ========================================================================= */
.section {
  padding: 6.5rem 6vw;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */
.intro {
  background-color: #0b0d14;
  border-bottom: 1px solid var(--border-subtle);
}

.split-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5vw;
  margin-bottom: 3.5rem;
}

.split-head-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-head-copy p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.split-cta-wrap {
  margin-top: 1.5rem;
}

/* Credentials Bar */
.credentials-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
}

.cred-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.cred-item h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.cred-item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   FEATURED SERVICES PREVIEW & SOPHISTICATED STUDIO ARTIFACTS
   ========================================================================== */
.services-preview {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-service {
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.featured-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.visual-surface {
  height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #161a25 0%, #0d0f16 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.service-surface-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(9, 10, 15, 0.7);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(6px);
}

/* Artifact 1: Brand Strategy Specimen */
.service-specimen-brand {
  width: 180px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specimen-grid {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
              linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.specimen-card-float {
  width: 140px;
  height: 80px;
  background: #191c28;
  border: 1px solid rgba(220, 165, 101, 0.35);
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: perspective(400px) rotateY(-10deg) rotateX(8deg);
  transition: transform var(--transition-normal);
  z-index: 2;
}

.featured-service:hover .specimen-card-float {
  transform: perspective(400px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.card-foil-mark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bronze);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.specimen-typo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* Artifact 2: Fluid Kinetic Chrome */
.service-specimen-motion {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motion-liquid-core {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #e02424 40%, #1a1e2d 90%);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  animation: liquid-morph 8s ease-in-out infinite alternate;
  box-shadow: 0 0 30px rgba(224, 36, 36, 0.3);
}

.motion-orbit-ring {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotateX(60deg);
  animation: spin-orbit 10s linear infinite;
}

.motion-pulse-wave {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(224, 36, 36, 0.25);
  border-radius: 50%;
  animation: pulse-ring 2.8s infinite;
}

/* Artifact 3: Spatial UI Viewport */
.service-specimen-digital {
  width: 200px;
  height: 130px;
  position: relative;
}

.viewport-frame {
  width: 100%;
  height: 100%;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.viewport-header {
  height: 22px;
  background: #1c202e;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.viewport-header span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.viewport-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 22px);
}

.wave-track {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
}

.wave-track i {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  animation: eq-pulse 1.4s ease-in-out infinite alternate;
}
.wave-track i:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.wave-track i:nth-child(2) { height: 60%; animation-delay: 0.4s; }
.wave-track i:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.wave-track i:nth-child(4) { height: 45%; animation-delay: 0.6s; }
.wave-track i:nth-child(5) { height: 75%; animation-delay: 0.3s; }
.wave-track i:nth-child(6) { height: 35%; animation-delay: 0.5s; }
.wave-track i:nth-child(7) { height: 85%; animation-delay: 0.2s; }
.wave-track i:nth-child(8) { height: 50%; animation-delay: 0.4s; }

.viewport-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  background: var(--accent-soft);
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

/* Creative Campaign Showcases — ALFATEK ADVERTISING AGENCY */
.campaign-specimen-ooh .viewport-frame {
  border-color: rgba(224, 36, 36, 0.4);
  background: linear-gradient(135deg, #141724 0%, #0d0f17 100%);
}

.featured-service-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.service-cat {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.featured-service-content h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 20px;
  max-width: 90%;
}

.service-arrow-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.featured-service:hover .service-arrow-link {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   SELECTED WORK TEASER
   ========================================================================== */
.work-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background-color: #0b0d14;
  color: var(--text-primary);
  min-height: 640px;
  border-bottom: 1px solid var(--border-subtle);
}

.work-teaser-copy {
  padding: 6.5rem 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-teaser-copy p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 1.2rem 0 2.2rem;
}

.collage {
  position: relative;
  min-height: 520px;
  padding: 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  transform: scale(1.04) translateZ(15px) !important;
  border-color: var(--border-strong);
  z-index: 10;
}

.sc-one {
  width: 50%;
  height: 50%;
  top: 10%;
  left: 6%;
  transform: rotate(-4deg);
}

.sc-two {
  width: 46%;
  height: 54%;
  top: 22%;
  right: 6%;
  transform: rotate(5deg);
}

.sc-three {
  width: 42%;
  height: 42%;
  bottom: 8%;
  left: 22%;
  transform: rotate(-2deg);
}

.showcase-visual {
  height: 72%;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.vis-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(9, 10, 15, 0.8);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
}

.sc-vis-1 { background: linear-gradient(135deg, #161c30 0%, #202b54 100%); }
.sc-vis-2 { background: linear-gradient(135deg, #2b1a12 0%, #472d1a 100%); }
.sc-vis-3 { background: linear-gradient(135deg, #122424 0%, #193d3d 100%); }

.showcase-info small {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  display: block;
  letter-spacing: 0.08em;
}

.showcase-info h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-top: 2px;
}

.showcase-visual img,
.card-img-wrap img,
.placeholder-visual-img,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.card-3d:hover .showcase-visual img,
.card-3d:hover .placeholder-visual-img,
.card-3d:hover .portfolio-card img {
  transform: scale(1.04);
}

/* ==========================================================================
   WHY ALFATEK SECTION
   ========================================================================== */
.why {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5vw;
  align-items: start;
}

.why-heading-wrap h2 {
  margin-bottom: 1.25rem;
}

.why-subtext {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
}

.why-seal {
  margin-top: 2.5rem;
  display: inline-block;
  border: 1px dashed rgba(224, 36, 36, 0.4);
  padding: 8px 16px;
  border-radius: 24px;
}

.seal-inner span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reason-card {
  padding: 24px;
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.reason-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  transform: translateX(6px);
}

.reason-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.reason-header b {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

.reason-header h3 {
  font-size: 1.3rem;
}

.reason-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-left: 32px;
  margin-bottom: 0;
}

/* ==========================================================================
   MARKETS STRIP
   ========================================================================== */
.markets-strip {
  background: #0b0d14;
  color: var(--text-primary);
  padding: 6.5rem 6vw;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5vw;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.markets-strip h2 {
  margin-bottom: 1.25rem;
}

.markets-strip-lede {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* Tactical Map Radar */
.map-interactive-container {
  height: 360px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(224, 36, 36, 0.18) 0deg, transparent 50deg, transparent 360deg);
  animation: radar-spin 6s linear infinite;
  pointer-events: none;
}

.radar-rings {
  position: absolute;
  inset: 15%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.radar-rings::after {
  content: '';
  position: absolute;
  inset: 25%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.market-pin {
  position: absolute;
  z-index: 5;
  cursor: pointer;
}

.pin-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.market-pin:hover .pin-code {
  transform: scale(1.15);
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.pin-tooltip {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  border: 1px solid var(--border-strong);
}

.market-pin:hover .pin-tooltip {
  opacity: 1;
}

.pin-uganda {
  top: 55%;
  left: 50%;
}
.pin-uganda .pin-code {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pin-morocco { top: 18%; left: 20%; }
.pin-egypt { top: 22%; right: 18%; }
.pin-tunisia { top: 16%; left: 38%; }
.pin-kenya { top: 62%; left: 62%; }

.flight-paths-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flight-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  opacity: 0.65;
  animation: dash-flow 20s linear infinite;
}

/* ==========================================================================
   PROCESS PREVIEW
   ========================================================================== */
.process-preview {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.process-line {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 3rem;
}

.process-line::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  border-top: 1.5px solid var(--border-strong);
}

.process-step-item {
  padding-top: 32px;
  position: relative;
}

.process-step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-main);
  transition: all var(--transition-fast);
}

.process-step-item:hover::before,
.process-step-item.active-step::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: scale(1.15);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
}

.process-step-item h3 {
  font-size: 1.25rem;
  margin: 10px 0 6px;
}

.process-step-item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   CTA CALLOUT BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, #141724 0%, #0d0f16 100%);
  color: var(--text-primary);
  padding: 6.5rem 6vw;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.cta-content {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   INNER PAGES (ABOUT, SERVICES, WORK, MARKETS, PROCESS, INSIGHTS, CONTACT)
   ========================================================================== */
.inner-page {
  padding: 0 6vw 7rem;
}

.page-hero {
  padding: 5rem 0 3.5rem;
  max-width: 860px;
}

.page-hero p:not(.eyebrow) {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 1.2rem;
  max-width: 640px;
}

/* Studio Hero Artwork */
.studio-hero-art {
  height: 320px;
  background: linear-gradient(135deg, #111420 0%, #1a1e30 100%);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.studio-art-bg {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: 100%;
}

.studio-badge-group {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.studio-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.studio-quote {
  position: relative;
  max-width: 580px;
}

.quote-sym {
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent);
  position: absolute;
  top: -16px;
  left: -16px;
  opacity: 0.5;
}

.studio-quote p {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.copy-block {
  padding: 2.5rem 0;
  max-width: 900px;
}

.large-lede {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-weight: 600;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2.5rem 0;
}

.value-card {
  padding: 28px;
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.value-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
}

.value-card h3 {
  font-size: 1.4rem;
  margin: 12px 0 8px;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-box {
  background: var(--bg-surface);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.pillar-box h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.pillar-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   SERVICES FULL DIRECTORY
   ========================================================================== */
.service-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5vw;
  align-items: end;
}

.service-hero-desc {
  font-size: 1.15rem !important;
}

.services-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--border-strong);
  padding-bottom: 12px;
  margin-top: 2.5rem;
}

.services-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.services-hint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 70px 1.2fr 1.6fr 50px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 18px;
}

.service-row.open {
  background: var(--bg-surface);
  border-bottom-color: transparent;
}

.service-row b {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

.service-row h3 {
  font-size: 1.25rem;
  margin: 0;
}

.service-row p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
}

.service-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-size: 1.2rem;
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-row:hover button {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.service-detail {
  display: none;
  background: var(--bg-surface);
  padding: 0 20px 24px 90px;
  border-bottom: 1px solid var(--border-subtle);
}

.service-row.open + .service-detail {
  display: block;
}

.service-detail-inner {
  background: #0f121a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.service-detail-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.service-deliverables-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.service-tags {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* FAQ SECTION */
.faq {
  margin-top: 5rem;
  max-width: 800px;
}

.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding-top: 12px;
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   PORTFOLIO (OUR WORK)
   ========================================================================== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.filter {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: 24px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.project-card.hidden {
  display: none;
}

.project-media {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-bg-0 { background: linear-gradient(135deg, #10162a 0%, #1a2548 100%); }
.pm-bg-1 { background: linear-gradient(135deg, #24160f 0%, #3e2617 100%); }
.pm-bg-2 { background: linear-gradient(135deg, #0e1e20 0%, #17383a 100%); }
.pm-bg-3 { background: linear-gradient(135deg, #20132b 0%, #381f4d 100%); }
.pm-bg-4 { background: linear-gradient(135deg, #142214 0%, #203d20 100%); }
.pm-bg-5 { background: linear-gradient(135deg, #28141c 0%, #461f30 100%); }

.project-graphic-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-graphic-svg {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 10, 15, 0.75);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.project-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.project-meta-row small {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.project-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.project-card-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.view-case-btn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.project-card:hover .view-case-btn {
  color: var(--accent);
}

/* ==========================================================================
   MARKETS PAGE
   ========================================================================== */
.market-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: start;
}

.abstract-map {
  height: 480px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  position: sticky;
  top: 100px;
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
              linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 35px 35px;
}

.map-center-hq {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hq-radar-ring {
  position: absolute;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.ring-a {
  width: 100px;
  height: 100px;
  top: -30px;
  left: -30px;
  animation: pulse-ring 2.8s infinite;
}
.ring-b {
  width: 180px;
  height: 180px;
  top: -70px;
  left: -70px;
  animation: pulse-ring 2.8s infinite 1.4s;
}

.hq-core-badge {
  background: var(--accent);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 25px var(--accent);
  z-index: 2;
}

.hq-core-badge b {
  font-family: var(--font-mono);
  font-size: 1rem;
}

.hq-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.market-node-item {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.market-node-item em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.market-node-item:hover em {
  transform: scale(1.15);
  background: var(--accent);
  color: #ffffff;
}

.node-tag {
  background: rgba(9, 10, 15, 0.85);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.node-ma { top: 20%; left: 16%; }
.node-tn { top: 22%; left: 42%; }
.node-eg { top: 25%; right: 14%; }
.node-ke { top: 62%; right: 28%; }

.map-routes-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  opacity: 0.65;
  animation: dash-flow 25s linear infinite;
}

.market-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.market-info-card {
  background: var(--bg-surface);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.market-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.market-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.market-card-head b {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

.market-card-head h3 {
  font-size: 1.35rem;
}

.market-bullet-list {
  list-style: none;
  margin-top: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.market-bullet-list li {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.market-bullet-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ==========================================================================
   PROCESS PAGE (JOURNEY)
   ========================================================================== */
.journey {
  border-top: 1.5px solid var(--border-strong);
  margin-top: 2.5rem;
}

.journey-step {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.8fr;
  gap: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 14px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.journey-step:hover {
  background: var(--bg-surface);
  padding-left: 20px;
}

.journey-step b {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}

.journey-step h3 {
  font-size: 1.45rem;
  margin: 0;
}

.journey-step p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   INSIGHTS PAGE
   ========================================================================== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}

.insight-card {
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.insight-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-art-1 { background: linear-gradient(135deg, #13192a 0%, #1c2744 100%); }
.visual-art-2 { background: linear-gradient(135deg, #221528 0%, #361f42 100%); }
.visual-art-3 { background: linear-gradient(135deg, #251812 0%, #3d261b 100%); }

.art-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 10, 15, 0.75);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.insight-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.insight-content h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-preview {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.read-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.insight-card:hover .read-more {
  color: var(--accent);
}

/* ==========================================================================
   CONTACT PAGE & VERIFIED INQUIRY FORM
   ========================================================================== */
.contact-page {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5vw;
  padding-top: 3.5rem;
}

.contact-subtext {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 1.2rem;
}

.phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ==========================================================================
   ABOUT PAGE: EXECUTIVE LEADERSHIP SHOWCASE
   ========================================================================== */
.about-leadership {
  margin-top: 5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

.leadership-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.leadership-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.leadership-profile-card:hover {
  border-color: rgba(224, 36, 36, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.leader-profile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leader-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  flex-shrink: 0;
}

.avatar-nh {
  background: linear-gradient(135deg, #e02424 0%, #991b1b 100%);
  color: #ffffff;
  border: 2px solid rgba(224, 36, 36, 0.4);
}

.avatar-af {
  background: linear-gradient(135deg, #2b3040 0%, #151822 100%);
  color: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.avatar-pulse {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #25D366;
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
  animation: beacon-glow 2s infinite ease-in-out;
}

.leader-profile-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tag-hub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tag-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.leader-profile-info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.leader-names-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.leader-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.leader-ar-name {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.leader-title {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.leader-bio {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 14px;
  flex-grow: 1;
}

.leader-direct-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.btn-leader-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: all var(--transition-fast);
}

.btn-leader-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-leader-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-mono);
  transition: all var(--transition-fast);
}

.btn-leader-call:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-leader-copy {
  margin-left: auto;
}

/* ==========================================================================
   CONTACT PAGE: EXECUTIVE DIRECT CONTACT SECTION
   ========================================================================== */
.leadership-direct-wrapper {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ldw-header {
  margin-bottom: 0.3rem;
}

.ldw-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 6px;
}

.ldw-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ldw-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.executive-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.executive-contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 24px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.executive-contact-card:hover {
  border-color: rgba(224, 36, 36, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.ecc-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ecc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.ecc-status-beacon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  background: #25D366;
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
  box-shadow: 0 0 8px #25D366;
  animation: beacon-glow 2s infinite ease-in-out;
}

.ecc-lead-meta {
  flex-grow: 1;
}

.ecc-hub-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.ecc-name-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.ecc-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ecc-name-ar {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ecc-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}

.ecc-phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.ecc-phone-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.ecc-phone-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.ecc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ecc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ecc-btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.ecc-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.ecc-btn-call {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.ecc-btn-call:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.ecc-btn-copy {
  margin-left: auto;
}

.studio-desk-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 0.5rem;
}

.sdb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.sdb-row:last-child {
  border-bottom: 0;
}

.sdb-col small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.sdb-link, .sdb-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.sdb-link:hover {
  color: var(--accent);
}

.copy-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.office-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.oh-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

/* Contact Form Styling */
#project-form {
  background: var(--bg-surface);
  padding: 36px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.form-header h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

label span {
  display: block;
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: #0c0e15;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 36, 36, 0.15);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 20px 0;
  cursor: pointer;
  color: var(--text-secondary);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-submit-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.form-message {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e02424;
  min-height: 20px;
  margin: 10px 0;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   GLOBAL SITE FOOTER
   ========================================================================== */
footer {
  background-color: #06070a;
  color: var(--text-primary);
  padding: 5rem 6vw 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  gap: 4vw;
  border-top: 1px solid var(--border-subtle);
}

.footer-manifesto {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 1.2rem 0 1.8rem;
}

.footer-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-socials a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-socials a:hover {
  color: #ffffff;
}

footer h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-links-col, .footer-disciplines-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a, .footer-disciplines-col span, .footer-contact-col p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.6;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--accent);
}

.footer-contact-col a {
  color: var(--accent);
  text-decoration: none;
}

.footer-cta-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--accent) !important;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  margin-top: 2.5rem;
}

.footer-bottom small {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.back-to-top {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent);
}

/* ==========================================================================
   FOOTER: LEADERSHIP CONTACT LINES
   ========================================================================== */
.footer-leader-line {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.footer-leader-line:last-of-type {
  margin-bottom: 1.2rem;
}

.fll-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fll-flag {
  font-size: 1rem;
}

.fll-meta small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fll-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fll-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.fll-links a:hover, .fll-wa:hover {
  color: var(--accent);
}

.fll-wa {
  color: #25D366 !important;
  font-weight: 700;
}

.fll-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.footer-studio-info {
  margin-top: 0.4rem;
}

.footer-studio-info p {
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   FLOATING WHATSAPP DROPDOWN MENU
   ========================================================================== */
.float-actions-wrap {
  position: fixed;
  z-index: 851;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-wa-dropdown {
  position: relative;
}

.float-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.float-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.wa-float-icon {
  flex-shrink: 0;
}

.wa-beacon-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #e02424;
  border: 2px solid var(--bg-main);
  border-radius: 50%;
  animation: beacon-glow 2s infinite ease-in-out;
}

.float-wa-label {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.float-wa-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 310px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.float-wa-panel.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.fwa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.025);
}

.fwa-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fwa-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #25D366;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fwa-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 6px #25D366;
  animation: beacon-glow 2s infinite ease-in-out;
}

.fwa-leaders {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fwa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.fwa-item:hover {
  background: rgba(224, 36, 36, 0.08);
  transform: translateX(-3px);
}

.fwa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.fwa-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fwa-name {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fwa-flag {
  font-size: 0.95rem;
}

.fwa-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.fwa-phone {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #25D366;
  font-weight: 700;
}

.fwa-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.fwa-item:hover .fwa-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* Beacon Glow Keyframe */
@keyframes beacon-glow {
  0%, 100% { box-shadow: 0 0 6px #25D366, 0 0 12px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 0 10px #25D366, 0 0 20px rgba(37, 211, 102, 0.6); }
}

/* ==========================================================================
   FLOATING ACTION BUTTON (Project CTA + WhatsApp)
   ========================================================================== */
.float-contact {
  position: fixed;
  z-index: 850;
  right: 24px;
  bottom: 24px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  transition: all var(--transition-fast);
}

.float-contact:hover {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.float-star {
  color: var(--accent);
}
.float-contact:hover .float-star {
  color: #ffffff;
}

/* ==========================================================================
   CASE STUDY QUICK-VIEW 3D MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 4vw;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: grid;
  opacity: 1;
}

.modal-window {
  background: var(--bg-surface);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow-y: auto;
  padding: 36px;
  animation: modal-pop 0.35s var(--ease-out);
}

@keyframes modal-pop {
  from { transform: scale(0.95) translateY(15px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.3s var(--ease-out) forwards;
  pointer-events: auto;
}

@keyframes toast-in {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ARABIC (RTL) TYPOGRAPHY & LAYOUT FIXES
   ========================================================================== */
html[dir="rtl"] {
  font-family: var(--font-arabic);
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4 {
  font-family: var(--font-arabic);
  letter-spacing: 0 !important;
  line-height: 1.35;
}

html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea {
  letter-spacing: 0 !important;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0 !important;
  font-size: 0.9rem;
}

html[dir="rtl"] .logo {
  letter-spacing: 0;
}

html[dir="rtl"] .logo-main {
  direction: ltr;
  display: inline-flex;
}

html[dir="rtl"] .logo-badge-container {
  margin-left: 0;
}

html[dir="rtl"] .phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  font-family: var(--font-mono);
}

html[dir="rtl"] nav {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .arrow-sym {
  display: inline-block;
  transform: scaleX(-1);
}

html[dir="rtl"] .button:hover .arrow-sym,
html[dir="rtl"] .text-link:hover .arrow-sym {
  transform: scaleX(-1) translate(3px, -3px);
}

html[dir="rtl"] .reason-card p {
  margin-left: 0;
  margin-right: 32px;
}

html[dir="rtl"] .market-bullet-list li {
  padding-left: 0;
  padding-right: 18px;
}

html[dir="rtl"] .market-bullet-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .service-row:hover {
  padding-left: 12px;
  padding-right: 18px;
}

html[dir="rtl"] .service-detail {
  padding: 0 90px 24px 20px;
}

html[dir="rtl"] .service-arrow-link {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .float-contact {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .float-actions-wrap {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .float-wa-panel {
  right: auto;
  left: 0;
}

html[dir="rtl"] .fwa-leaders .fwa-arrow {
  transform: scaleX(-1);
}

/* RTL: phone numbers always LTR */
html[dir="rtl"] .phone-ltr,
html[dir="rtl"] .ecc-phone-val,
html[dir="rtl"] .fwa-phone {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
}

html[dir="rtl"] .toast-container {
  left: auto;
  right: 24px;
}

html[dir="rtl"] .toast {
  border-left: 0;
  border-right: 3px solid var(--accent);
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 18px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes liquid-morph {
  0%   { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; transform: rotate(0deg); }
  50%  { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(180deg); }
  100% { border-radius: 35% 65% 55% 45% / 55% 65% 35% 45%; transform: rotate(360deg); }
}

@keyframes spin-orbit {
  from { transform: rotateX(60deg) rotateZ(0deg); }
  to   { transform: rotateX(60deg) rotateZ(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes radar-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dash-flow {
  to { stroke-dashoffset: -1000; }
}

@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@keyframes eq-pulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

@keyframes sound-eq {
  0% { height: 2px; }
  100% { height: 11px; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .hero-art {
    height: 420px;
  }
  .split-head, .why-grid, .work-teaser, .markets-strip, .market-layout, .contact-page {
    grid-template-columns: 1fr;
  }
  .service-feature-grid, .portfolio-grid, .insight-grid, .value-grid, .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .credentials-bar {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .topline {
    font-size: 0.72rem;
    padding: 0 5vw;
  }
  .topline-right .live-clock {
    display: none;
  }
  .nav-wrap {
    height: 68px;
    padding: 0 5vw;
  }
  .menu-btn, .nav-actions-mobile {
    display: flex;
  }
  .desktop-only {
    display: none !important;
  }
  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 24px 6vw 32px;
    border-bottom: 1.5px solid var(--border-strong);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }
  nav.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links a {
    font-size: 1.1rem;
  }
  .nav-controls {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    margin-top: 8px;
  }
  .languages {
    justify-content: center;
  }
  .nav-cta {
    justify-content: center;
  }
  .section {
    padding: 4.5rem 6vw;
  }
  .service-feature-grid, .portfolio-grid, .insight-grid, .value-grid, .pillars-grid {
    grid-template-columns: 1fr;
  }
  .process-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-line::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    border-left: 1.5px solid var(--border-strong);
    border-top: 0;
  }
  .process-step-item {
    padding: 0 0 16px 36px;
  }
  .service-row {
    grid-template-columns: 35px 1fr 36px;
    padding: 18px 0;
  }
  .service-row p {
    display: none;
  }
  .service-detail {
    padding-left: 16px;
  }
  .journey-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #project-form {
    padding: 22px;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 3.5rem 6vw 2rem;
  }
  .float-contact span:not(.float-star) {
    display: none;
  }
  .float-contact {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
  .float-wa-label {
    display: none;
  }
  .float-wa-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .float-wa-panel {
    width: 290px;
    right: -4px;
  }
  .leadership-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
