/* ==========================================================================
   WIKA MEDIA — Modern Luxury Dark Web Experience
   Design System, Responsive Typography, Fluid Layouts & Bilingual RTL
   ========================================================================== */

/* --- 1. CSS Custom Properties (Design Tokens) --- */
:root {
  --bg: #090a0e;
  --bg-surface: #101218;
  --bg-card: #151720;
  --bg-card-hover: #1c1f2b;
  --bg-card-featured: linear-gradient(135deg, #261714 0%, #151720 100%);
  
  --line: rgba(255, 255, 255, 0.12);
  --line-subtle: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.2);
  
  --orange: #ff7043;
  --orange-hover: #ff8a65;
  --orange-dark: #e65100;
  --orange-glow: rgba(255, 112, 67, 0.24);
  --orange-subtle: rgba(255, 112, 67, 0.12);
  
  --text: #f6f6f9;
  --text-muted: #a3a4ad;
  --text-dim: #71727d;
  
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS Reset & Base Elements --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background-color: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Arabic Typography Adaptation */
html[lang="ar"] body {
  font-family: var(--font-arabic);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .eyebrow,
html[lang="ar"] .section-label,
html[lang="ar"] .button,
html[lang="ar"] .nav-link,
html[lang="ar"] .nav-cta,
html[lang="ar"] .lang-pill {
  font-family: var(--font-arabic);
  letter-spacing: 0 !important;
}

::selection {
  background: var(--orange);
  color: #0c0d12;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.14;
}

p {
  line-height: 1.8;
  color: var(--text-muted);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

/* Container & Noise Overlay */
.container {
  width: min(var(--max-width), calc(100% - 64px));
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.15' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 16px;
  background: #fff;
  color: #000;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* --- 3. Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 10, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-subtle);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 28px;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 56px;
}

.brand img {
  width: 175px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  animation: brandReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes brandReveal {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

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

.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: #c2c3ca;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: -4px;
  inset-inline: 0;
  height: 2px;
  background: var(--orange);
  border-radius: var(--radius-full);
}

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

/* Segmented Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: var(--radius-full);
  gap: 2px;
}

.lang-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  color: #c2c3ca;
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-pill:hover {
  color: #fff;
}

.lang-pill.active {
  background: var(--orange);
  color: #120e0d;
  box-shadow: 0 2px 10px var(--orange-glow);
}

.nav-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: var(--orange);
  color: #120e0d;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 18px var(--orange-glow);
}

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

.arrow {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.nav-cta:hover .arrow,
.button:hover .arrow {
  transform: translate(2px, -2px);
}

html[lang="ar"] .nav-cta:hover .arrow,
html[lang="ar"] .button:hover .arrow {
  transform: translate(-2px, -2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.menu-button .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: block;
  background: rgba(14, 16, 22, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 28px;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-bottom: 1px solid var(--line-subtle);
  margin-bottom: 8px;
}

.mobile-lang-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
}

.mobile-link {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #dedee3;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mobile-nav-cta-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
}

.mobile-cta {
  width: 100%;
  justify-content: center;
}

/* --- 4. Hero Section --- */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 35%, #1f1917 0%, transparent 48%),
              linear-gradient(115deg, #090a0e 0%, #101218 55%, #15100e 100%);
  border-bottom: 1px solid var(--line-subtle);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -25%;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
  direction: ltr; /* Keeps portrait-right composition in BOTH languages */
}

.hero-copy {
  padding: 48px 0 44px;
  direction: ltr;
  text-align: left;
}

html[lang="ar"] .hero-copy {
  direction: rtl;
  text-align: right;
}

.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  color: #d1c8c5;
}

.eyebrow .line {
  width: 32px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.micro-mark {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 800;
  margin-top: 36px;
}

.micro-mark strong {
  color: #fff;
}

.micro-mark .spark {
  color: var(--orange);
  font-size: 18px;
  vertical-align: middle;
  padding-inline-end: 6px;
}

.hero h1 {
  font-size: clamp(3.6rem, 5.8vw, 6.4rem);
  line-height: 1.05;
  margin: 16px 0 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}

.hero-description {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: var(--radius-full);
  min-height: 54px;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 800;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--orange);
  color: #120e0d;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.button-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 8px 28px var(--orange-glow);
}

.button-outline {
  border: 1px solid var(--line-strong);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.button-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-facts > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
}

.fact-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 800;
}

.hero-facts strong {
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Hero Right Column: Visual Portrait Presentation */
.hero-visual {
  align-self: stretch;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.portrait-halo {
  position: absolute;
  width: 95%;
  aspect-ratio: 1;
  left: 6%;
  top: 8%;
  background: radial-gradient(circle, #b84b25 0%, rgba(205, 85, 46, 0.18) 40%, transparent 70%);
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 490px;
  height: 530px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 240px 240px 16px 16px;
  border: 1px solid rgba(255, 200, 160, 0.18);
  background: #201715;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.hero-visual:hover .portrait-frame img {
  transform: scale(1.045);
}

.portrait-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 10, 14, 0.25) 70%, #090a0e 100%);
  pointer-events: none;
}



.floating-tag {
  position: absolute;
  z-index: 4;
  right: -14px;
  top: 130px;
  background: #f6f3ee;
  color: #161517;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: rotate(3deg);
}

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

.visual-caption {
  position: absolute;
  z-index: 4;
  bottom: 74px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90%;
  direction: ltr;
}

.caption-rule {
  height: 46px;
  width: 3px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.visual-caption div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

html[lang="ar"] .visual-caption div {
  text-align: right;
  direction: rtl;
}

.visual-caption div span {
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.visual-caption strong {
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #fff;
}

.small-star {
  font-size: 26px;
  color: var(--orange);
  margin-left: 12px;
  flex-shrink: 0;
}

.index-number {
  position: absolute;
  bottom: 34px;
  right: 12px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}

/* Hero Bottom Bar */
.hero-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--text-dim);
}

.scroll-cue {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #c4c4c8;
  transition: color var(--transition-fast);
}

.scroll-cue:hover {
  color: var(--orange);
}

.scroll-cue span:last-child {
  color: var(--orange);
  font-size: 16px;
}

/* --- 5. Sections Shared Structure --- */
.section-pad {
  padding: 105px 0;
}

.orange-square {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 1px;
}

.orange-dot {
  color: var(--orange);
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 48px;
}

.split-heading h2 {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 760px;
}

.split-heading > p {
  max-width: 320px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Prototype Disclosure Note */
.prototype-note {
  margin: 22px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.note-icon {
  color: var(--orange);
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

/* --- 6. Clients Section --- */
.clients-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line-subtle);
}

.clients-section .split-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.logo-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #13151d;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.logo-tile {
  min-height: 145px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #e4e3e1;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
  min-width: 0;
  padding: 16px;
}

.logo-tile:last-child {
  border-right: 0;
}

.logo-tile:hover {
  background: #1b1e28;
  color: var(--orange);
}

.logo-tile .logo-symbol {
  font-size: 22px;
  color: var(--orange);
}

.logo-tile .logo-name {
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.logo-tile .sample-chip {
  position: absolute;
  bottom: 12px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  font-size: 8px;
  font-weight: 800;
}

.logo-tile img {
  max-width: 75%;
  max-height: 52px;
  object-fit: contain;
}

/* --- 7. About Section --- */
.about {
  background: #0b0c11;
  border-bottom: 1px solid var(--line-subtle);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
  align-items: center;
}

.about-brand {
  min-height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 112, 67, 0.15) 0%, transparent 60%),
              linear-gradient(145deg, #181922 0%, #101117 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-brand > span {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
  color: #fff;
}

.about-brand .accent {
  color: var(--orange);
  font-size: 0.8em;
  margin-inline: 4px;
}

.brand-mini {
  position: absolute;
  bottom: 30px;
  inset-inline: 20px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  color: #b0afb4;
  letter-spacing: 0.16em;
  font-size: 9px;
  font-weight: 800;
  direction: ltr;
}

.brand-mini i {
  font-style: normal;
  color: var(--orange);
}

.about-content h2 {
  margin: 18px 0 26px;
}

.about-lead {
  font-size: 17.5px;
  color: #f4f3f0;
  line-height: 1.85;
}

.about-content > p:not(.about-lead) {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--orange);
  padding: 14px 0 10px;
  font-size: 13px;
  font-weight: 900;
  margin-top: 12px;
  color: #fff;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.text-link:hover {
  color: var(--orange);
  border-color: #fff;
}

.text-link span:last-child {
  font-size: 20px;
  color: var(--orange);
}

/* --- 8. Services Section --- */
.services {
  background: #11131a;
  border-bottom: 1px solid var(--line-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card {
  background: #13151e;
  min-height: 290px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background var(--transition-normal), transform var(--transition-fast);
  position: relative;
}

.service-card:hover {
  background: #1c1f2b;
}

.service-card.featured {
  background: linear-gradient(145deg, #281916 0%, #141620 100%);
}

.service-card.featured:hover {
  background: linear-gradient(145deg, #32201b 0%, #1a1d28 100%);
}

.service-card .service-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card .service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 112, 67, 0.12);
  color: var(--orange);
  display: grid;
  place-items: center;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card.featured .service-icon {
  background: var(--orange);
  color: #150f0e;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-no {
  color: var(--text-dim);
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
}

.specialty-chip {
  background: rgba(255, 112, 67, 0.2);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-card h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 32px 0 12px;
  color: #fff;
}

.service-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
  max-width: 320px;
}

/* --- 9. How We Create / Our Approach Section --- */
.work-section {
  background: #0d0e14;
  color: #fff;
  border-bottom: 1px solid var(--line-subtle);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 20px;
}

.showcase-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-subtle);
  background: #181922;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 112, 67, 0.4);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 10, 14, 0.92) 0%, rgba(9, 10, 14, 0.3) 60%, transparent 100%);
  pointer-events: none;
}

.mock-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.showcase-number {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  color: #dedede;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  direction: ltr;
}

/* Showcase 1: Furniture & Décor */
.furniture-card {
  background: radial-gradient(ellipse at 50% 25%, #6e4e37 0%, #1e1717 75%);
}

.furniture-card .arch {
  position: absolute;
  top: 24px;
  left: 24%;
  width: 54%;
  height: 74%;
  border-radius: 160px 160px 0 0;
  background: linear-gradient(90deg, #d8b488 0%, #9a785f 65%, #4a3e37 100%);
  box-shadow: inset 16px 2px 36px rgba(0, 0, 0, 0.35);
}

.furniture-card .seat {
  position: absolute;
  top: 44%;
  left: 30%;
  width: 40%;
  height: 22%;
  background: linear-gradient(124deg, #d5bba4, #735345);
  border-radius: 55% 55% 24% 24%;
  box-shadow: 8px 18px 24px rgba(0, 0, 0, 0.5);
  transform: rotate(-7deg);
}

.furniture-card .seat::before,
.furniture-card .seat::after {
  content: "";
  position: absolute;
  width: 11%;
  height: 135%;
  background: linear-gradient(#845e4a, #362927);
  top: 65%;
  border-radius: 6px;
}

.furniture-card .seat::before {
  left: 14%;
  transform: rotate(12deg);
}

.furniture-card .seat::after {
  right: 14%;
  transform: rotate(-12deg);
}

.furniture-card .float-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 2px solid rgba(233, 180, 140, 0.3);
  border-radius: 50%;
  top: -50px;
  right: 15px;
}

/* Showcase 2: Campaigns */
.campaign-card {
  background: radial-gradient(circle at 30% 45%, #ef6c3b 0%, #7d261c 60%, #30161a 100%);
}

.campaign-object {
  position: absolute;
  width: 62%;
  height: 64%;
  top: 14%;
  left: 20%;
  border-radius: 12px;
  transform: rotate(-10deg);
  background: linear-gradient(135deg, #ffc8aa 0%, #ff7e3d 100%);
  display: grid;
  place-items: center;
  box-shadow: -30px 40px 60px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.campaign-object span {
  color: #271617;
  font-size: clamp(20px, 2.8vw, 42px);
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-align: center;
}

.campaign-object b {
  color: #fff;
}

.campaign-orb {
  position: absolute;
  border-radius: 50%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: -180px;
  right: -160px;
}

/* Showcase 3: Identity */
.identity-card {
  background: #141720;
}

.visual-mark {
  position: absolute;
  left: 20%;
  top: 18%;
  font-size: clamp(8rem, 14vw, 14rem);
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #ded9d2;
  z-index: 2;
}

.visual-mark span {
  position: absolute;
  color: var(--orange);
  font-size: 0.44em;
  top: 4%;
  left: 92%;
}

.identity-circle {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.05);
  top: -30%;
  left: 25%;
}

.showcase-overlay {
  position: relative;
  z-index: 3;
  padding: 30px;
}

.showcase-overlay > span {
  color: #ffb493;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 800;
}

.showcase-overlay h3 {
  color: #fff;
  letter-spacing: -0.04em;
  font-size: 24px;
  line-height: 1.25;
  margin: 10px 0 0;
}

/* --- 10. Contact Section --- */
.contact-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: -120px -15% auto auto;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 112, 67, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.contact-heading {
  text-align: center;
  margin-bottom: 48px;
}

.contact-heading h2 {
  margin: 18px auto;
  line-height: 1.15;
}

.contact-heading p {
  color: var(--text-muted);
  font-size: 15.5px;
}

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

.contact-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card::after {
  position: absolute;
  content: "";
  right: -50px;
  top: -70px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.furniture-contact {
  background: linear-gradient(135deg, #fa8655 0%, #ee5122 100%);
  color: #1a0f0d;
}

.furniture-contact:hover {
  box-shadow: 0 20px 50px var(--orange-glow);
}

.furniture-contact .contact-number {
  color: rgba(26, 15, 13, 0.7);
}

.furniture-contact p {
  color: rgba(26, 15, 13, 0.88);
}

.general-contact {
  background: linear-gradient(135deg, #242834 0%, #151821 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.general-contact:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.general-contact .contact-number {
  color: rgba(255, 255, 255, 0.6);
}

.contact-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.contact-icon {
  font-size: 28px;
}

.contact-arrow {
  font-size: 28px;
  transition: transform var(--transition-fast);
}

.contact-card:hover .contact-arrow {
  transform: translate(3px, -3px);
}

html[lang="ar"] .contact-card:hover .contact-arrow {
  transform: translate(-3px, -3px);
}

.contact-number {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.contact-card h3 {
  font-size: 29px;
  line-height: 1.22;
  margin: 12px 0;
  color: inherit;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 26px;
  max-width: 360px;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-width: min(100%, 280px);
  gap: 24px;
  border: 1px solid currentColor;
  border-radius: var(--radius-full);
  padding: 12px 18px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 900;
  transition: background var(--transition-fast);
}

.furniture-contact .contact-action:hover {
  background: rgba(0, 0, 0, 0.08);
}

.general-contact .contact-action:hover {
  background: rgba(255, 255, 255, 0.08);
}

.contact-action > span:last-child {
  font-size: 18px;
}

/* Direct Contact Info Bar with Pills */
.contact-details {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.direct-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  font-weight: 800;
}

.direct-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.direct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: #d8d8de;
  transition: all var(--transition-fast);
}

.direct-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.pill-icon {
  font-size: 14px;
  color: var(--orange);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 13px;
  transition: all var(--transition-fast);
  padding: 0;
  margin-inline-start: 4px;
}

.copy-btn:hover {
  background: var(--orange);
  color: #120e0d;
}

/* --- 11. Footer --- */
.site-footer {
  background: #07080b;
  border-top: 1px solid var(--line-subtle);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
  gap: 28px;
  border-bottom: 1px solid var(--line-subtle);
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  color: #fff;
  transition: color var(--transition-fast);
}

.footer-wordmark:hover {
  color: #fff;
}

.footer-wordmark span {
  color: var(--orange);
}

.footer-wordmark i {
  font-size: 0.35em;
  vertical-align: top;
  font-style: normal;
  padding-inline-start: 12px;
  letter-spacing: 0;
  color: var(--orange);
}

.footer-top p {
  font-size: 15px;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.back-to-top {
  color: #d1d1d6;
  font-weight: 700;
  transition: color var(--transition-fast);
}

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

/* --- 12. Toast Notification --- */
.toast {
  position: fixed;
  z-index: 100;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 120px);
  max-width: min(92vw, 440px);
  background: #1b1e28;
  color: #fff;
  border: 1px solid var(--orange);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
  font-size: 13.5px;
  text-align: center;
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  pointer-events: none;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Scroll Reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- 13. Arabic RTL Layout Rules --- */
html[lang="ar"] .hero-copy {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .hero-facts {
  justify-content: flex-start;
  direction: rtl;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .section-label {
  letter-spacing: 0;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
}

html[lang="ar"] .about-content {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .service-card {
  align-items: flex-start;
  text-align: right;
  direction: rtl;
}

html[lang="ar"] .showcase-overlay {
  text-align: right;
  direction: rtl;
}

html[lang="ar"] .contact-card {
  text-align: right;
  direction: rtl;
}

html[lang="ar"] .contact-details {
  direction: rtl;
}

html[lang="ar"] .visual-caption {
  direction: ltr; /* Keeps position within right-hand portrait card */
}

html[lang="ar"] .visual-caption div {
  text-align: right;
  direction: rtl;
}

html[lang="ar"] .about-brand .brand-mini {
  direction: ltr;
}

html[lang="ar"] .logo-board {
  direction: ltr;
}

/* --- 14. Responsive Breakpoints --- */

/* Tablet Landscape / Small Desktop (<= 1200px) */
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 20px;
  }
  .container {
    width: min(var(--max-width), calc(100% - 48px));
  }
  .hero-layout {
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.4rem);
  }
}

/* Tablet Portrait (<= 1000px) */
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .portrait-frame {
    height: 480px;
  }
  .about-layout {
    gap: 5%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showcase-card {
    min-height: 340px;
  }
  .logo-board {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo-tile:nth-child(3n) {
    border-right: 0;
  }
  .logo-tile:nth-child(-n+3) {
    border-bottom: 1px solid var(--line-subtle);
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-wrap {
    min-height: 70px;
  }
  .brand img {
    width: 140px;
  }
  .nav-cta {
    display: none;
  }
  .section-pad {
    padding: 72px 0;
  }
  
  /* Hero Mobile */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }
  .hero-copy {
    padding: 50px 0 20px;
  }
  .hero h1 {
    font-size: clamp(3rem, 11vw, 4.8rem);
  }
  html[lang="ar"] .hero h1 {
    font-size: clamp(2.8rem, 9.5vw, 4.4rem);
  }
  .hero-facts {
    margin-top: 36px;
    gap: 16px;
    justify-content: space-between;
  }
  .hero-facts strong {
    font-size: 12px;
  }
  
  .hero-visual {
    min-height: 460px;
    padding: 24px 10px 50px;
  }
  .portrait-frame {
    height: 440px;
    max-width: 440px;
  }
  .visual-caption {
    left: 20px;
    bottom: 70px;
  }
  .floating-tag {
    top: 25px;
    right: 15px;
  }

  /* Split Headings */
  .split-heading {
    display: block;
    margin-bottom: 32px;
  }
  .split-heading h2 {
    margin-top: 14px;
  }
  .split-heading > p {
    margin-top: 14px;
    max-width: 100%;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-brand {
    min-height: 280px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
    padding: 28px 24px;
  }

  /* Showcase */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .showcase-card {
    min-height: 360px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-card {
    min-height: 280px;
    padding: 28px;
  }
  .direct-items {
    flex-direction: column;
    width: 100%;
  }
  .direct-pill {
    width: 100%;
    justify-content: space-between;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 160px;
    gap: 16px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 12px;
  }
}

/* Compact Mobile (<= 420px) */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.85rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .button {
    width: 100%;
  }
  .portrait-frame {
    height: 380px;
  }
  .logo-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-tile:nth-child(3n) {
    border-right: 1px solid var(--line-subtle);
  }
  .logo-tile:nth-child(2n) {
    border-right: 0;
  }
  .logo-tile:nth-child(4) {
    border-bottom: 1px solid var(--line-subtle);
  }
}

/* Ultra-Compact Mobile (<= 360px) */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }
  .hero-facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .fact-divider {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

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