/* ============================================================
   NAQSH CREATIVE STUDIO — DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* ============================================================
   CUSTOM PROPERTIES — DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --clr-black:       #0C0A09;
  --clr-charcoal:    #141210;
  --clr-charcoal-2:  #1C1916;
  --clr-charcoal-3:  #252118;
  --clr-ivory:       #F4F0E6;
  --clr-ivory-2:     #EDE7D9;
  --clr-ivory-3:     #E0D8C8;
  --clr-terracotta:  #8B4A3C;
  --clr-terra-light: #A85C4C;
  --clr-terra-muted: #6B3A2F;
  --clr-sand:        #C9B99A;
  --clr-sand-2:      #B5A287;
  --clr-warm-white:  #FAF8F2;
  --clr-overlay:     rgba(12, 10, 9, 0.75);

  /* Typography */
  --font-arabic:     'Cairo', sans-serif;
  --font-latin:      'Inter', sans-serif;
  --font-display:    'Cormorant Garamond', serif;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4.5rem;
  --space-4xl:  6rem;
  --space-5xl:  9rem;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   600ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 800ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.18);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.28);
  --shadow-xl:  0 40px 100px rgba(0,0,0,0.4);

  /* Layout */
  --container-max: 1280px;
  --nav-height:    72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-arabic);
  background-color: var(--clr-warm-white);
  color: var(--clr-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* LTR mode uses Latin font as default */
[dir="ltr"] body,
[dir="ltr"] p,
[dir="ltr"] span:not(.arabic-el),
[dir="ltr"] a:not(.arabic-el),
[dir="ltr"] button:not(.arabic-el),
[dir="ltr"] label:not(.arabic-el),
[dir="ltr"] input:not(.arabic-el),
[dir="ltr"] textarea:not(.arabic-el),
[dir="ltr"] select:not(.arabic-el) {
  font-family: var(--font-latin);
}

[dir="rtl"] body {
  font-family: var(--font-arabic);
}

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.section-pad {
  padding-block: var(--space-5xl);
}

.text-center { text-align: center; }
.text-start  { text-align: start; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   GEOMETRIC PATTERN SVG
   ============================================================ */
.geo-pattern-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C9B99A' stroke-width='0.6' opacity='0.18'%3E%3Cpolygon points='60,8 72,35 100,35 78,52 86,80 60,63 34,80 42,52 20,35 48,35'/%3E%3Cpolygon points='60,20 68,38 88,38 73,49 78,68 60,57 42,68 47,49 32,38 52,38'/%3E%3Crect x='30' y='30' width='60' height='60' rx='2' transform='rotate(15 60 60)'/%3E%3Cline x1='60' y1='0' x2='60' y2='120'/%3E%3Cline x1='0' y1='60' x2='120' y2='60'/%3E%3Cline x1='0' y1='0' x2='120' y2='120'/%3E%3Cline x1='120' y1='0' x2='0' y2='120'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
}

.geo-pattern-bg.geo-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23141210' stroke-width='0.6' opacity='0.07'%3E%3Cpolygon points='60,8 72,35 100,35 78,52 86,80 60,63 34,80 42,52 20,35 48,35'/%3E%3Cpolygon points='60,20 68,38 88,38 73,49 78,68 60,57 42,68 47,49 32,38 52,38'/%3E%3Crect x='30' y='30' width='60' height='60' rx='2' transform='rotate(15 60 60)'/%3E%3Cline x1='60' y1='0' x2='60' y2='120'/%3E%3Cline x1='0' y1='60' x2='120' y2='60'/%3E%3Cline x1='0' y1='0' x2='120' y2='120'/%3E%3Cline x1='120' y1='0' x2='0' y2='120'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.t-display {
  font-family: var(--font-arabic);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

[dir="ltr"] .t-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 7.5rem);
  letter-spacing: -0.03em;
  font-style: italic;
}

.t-headline {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

[dir="ltr"] .t-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.t-title {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.t-body {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  font-weight: 400;
}

.t-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.t-mono {
  font-family: var(--font-display);
  font-style: italic;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-terracotta);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clr-terracotta);
}

[dir="rtl"] .section-label::before {
  display: none;
}
[dir="rtl"] .section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clr-terracotta);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--clr-terracotta);
  color: var(--clr-ivory);
}

.btn-primary:hover {
  background: var(--clr-terra-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--clr-ivory);
  border: 1px solid rgba(244, 240, 230, 0.35);
}

.btn-outline:hover {
  border-color: var(--clr-ivory);
  background: rgba(244, 240, 230, 0.08);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
}

.btn-dark:hover {
  background: var(--clr-charcoal-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-terracotta);
  border: 1px solid var(--clr-terracotta);
}

.btn-ghost:hover {
  background: var(--clr-terracotta);
  color: var(--clr-ivory);
  transform: translateY(-2px);
}

/* Arrow icon in buttons */
.btn-arrow {
  font-size: 1rem;
  transition: transform var(--transition-base);
  display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .btn-arrow { transform: translateX(-4px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), box-shadow var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(12, 10, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 185, 154, 0.1);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--clr-ivory);
  transition: opacity var(--transition-fast);
}
.nav-logo:hover { opacity: 0.8; }

.nav-logo-ar {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-ivory);
  letter-spacing: -0.02em;
}

.nav-logo-en {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--clr-sand);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(244, 240, 230, 0.75);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--clr-terracotta);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav-link:hover { color: var(--clr-ivory); }
.nav-link:hover::after { transform: scaleX(1); }

/* Nav right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(244, 240, 230, 0.6);
  cursor: pointer;
  letter-spacing: 0.05em;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  transition: all var(--transition-fast);
  color: rgba(244, 240, 230, 0.55);
  font-family: var(--font-arabic);
}

.lang-btn.active {
  color: var(--clr-ivory);
  background: rgba(139, 74, 60, 0.3);
}

.lang-btn:hover:not(.active) {
  color: var(--clr-ivory);
}

.lang-divider {
  color: rgba(244, 240, 230, 0.25);
  padding: 0 0.15rem;
  font-size: 0.7rem;
}

.nav-cta {
  font-size: 0.82rem;
  padding: 0.6rem 1.4rem;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-ivory);
  transition: all var(--transition-base);
}

/* Mobile nav menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(12, 10, 9, 0.97);
  backdrop-filter: blur(20px);
  padding: var(--space-xl);
  flex-direction: column;
  gap: var(--space-lg);
  z-index: 999;
  border-top: 1px solid rgba(201, 185, 154, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition-base);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile .nav-link {
  font-size: 1.1rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(201, 185, 154, 0.08);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background-color: var(--clr-black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(139, 74, 60, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 50% 80% at 20% 20%, rgba(201, 185, 154, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.hero .geo-pattern-bg {
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) var(--space-xl) var(--space-4xl) var(--space-xl);
  padding-inline-start: max(var(--space-xl), calc((100vw - var(--container-max)) / 2 + var(--space-xl)));
  padding-inline-end: var(--space-2xl);
}

[dir="rtl"] .hero-content {
  padding: var(--space-4xl) var(--space-xl) var(--space-4xl) var(--space-xl);
  padding-inline-start: max(var(--space-xl), calc((100vw - var(--container-max)) / 2 + var(--space-xl)));
  padding-inline-end: var(--space-2xl);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--clr-terracotta);
}

.hero-eyebrow-text {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-terracotta);
  font-weight: 600;
}

.hero-headline {
  color: var(--clr-ivory);
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease 0.45s forwards;
}

.hero-headline-word {
  display: block;
  font-family: var(--font-arabic);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-ivory);
}

[dir="ltr"] .hero-headline-word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
}

.hero-headline-word.accent {
  color: var(--clr-terracotta);
}

.hero-headline-word .dot {
  color: var(--clr-terracotta);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(244, 240, 230, 0.6);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-visual {
  position: relative;
  height: 100vh;
  min-height: 600px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.6s forwards;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--clr-black) 0%,
    transparent 30%,
    transparent 70%,
    var(--clr-black) 100%
  ),
  linear-gradient(
    to bottom,
    var(--clr-black) 0%,
    transparent 15%,
    transparent 85%,
    var(--clr-black) 100%
  );
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--clr-sand));
  animation: scrollLine 2s ease infinite;
}

.hero-scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 185, 154, 0.5);
}

/* ============================================================
   BRAND STATEMENT
   ============================================================ */
.brand-statement {
  background: var(--clr-charcoal);
  padding-block: var(--space-5xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-statement .geo-pattern-bg {
  opacity: 0.4;
}

.brand-statement-inner {
  position: relative;
  z-index: 1;
}

.statement-text {
  font-family: var(--font-arabic);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 6rem);
  color: var(--clr-ivory);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

[dir="ltr"] .statement-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 5rem);
}

.statement-sub {
  font-size: 1rem;
  color: rgba(201, 185, 154, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement-accent-line {
  width: 60px;
  height: 2px;
  background: var(--clr-terracotta);
  margin-inline: auto;
  margin-top: var(--space-xl);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--clr-warm-white);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-5xl);
}

.services-header {
  margin-bottom: var(--space-3xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px;
  background: var(--clr-ivory-3);
  border: 1px solid var(--clr-ivory-3);
}

.service-item {
  background: var(--clr-warm-white);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-charcoal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-slow);
  z-index: 0;
}

.service-item:hover::before {
  transform: scaleY(1);
}

.service-item > * {
  position: relative;
  z-index: 1;
}

.service-item:hover .service-num,
.service-item:hover .service-name-ar,
.service-item:hover .service-name-en,
.service-item:hover .service-desc {
  color: var(--clr-ivory);
}

.service-item:hover .service-icon {
  border-color: rgba(201, 185, 154, 0.3);
  background: rgba(201, 185, 154, 0.08);
}

.service-item:hover .service-icon svg {
  stroke: var(--clr-sand);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--clr-ivory-3);
  line-height: 1;
  font-style: italic;
  transition: color var(--transition-slow);
}

.service-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--clr-ivory-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-slow);
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-sand-2);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-slow);
}

.service-name-ar {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-charcoal);
  line-height: 1.3;
  transition: color var(--transition-slow);
}

.service-name-en {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--clr-sand-2);
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition-slow);
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(20, 18, 16, 0.6);
  line-height: 1.7;
  transition: color var(--transition-slow);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  background: var(--clr-charcoal);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-5xl);
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-3xl);
  gap: var(--space-xl);
}

.portfolio-count {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(201, 185, 154, 0.15);
  line-height: 1;
}

/* Featured large project */
.portfolio-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1px;
  background: rgba(201, 185, 154, 0.08);
  margin-bottom: 1px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--clr-charcoal-2);
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portfolio-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.85) 0%, transparent 50%);
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-img-wrap::after {
  background: linear-gradient(to top, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.4) 50%, transparent 80%);
}

.portfolio-featured .portfolio-item:first-child .portfolio-img-wrap {
  height: 520px;
}

.portfolio-featured .portfolio-item:last-child .portfolio-img-wrap {
  height: 520px;
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: var(--space-xl) var(--space-xl);
  z-index: 2;
  transform: translateY(6px);
  transition: transform var(--transition-base);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.portfolio-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-terracotta);
  background: rgba(139, 74, 60, 0.15);
  border: 1px solid rgba(139, 74, 60, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.portfolio-title-ar {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-ivory);
  margin-bottom: var(--space-xs);
}

.portfolio-title-en {
  font-size: 0.8rem;
  color: rgba(244, 240, 230, 0.55);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.portfolio-item:hover .portfolio-meta {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-meta-tag {
  font-size: 0.65rem;
  color: rgba(201, 185, 154, 0.7);
  background: rgba(201, 185, 154, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
}

/* Portfolio grid row 2 */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 185, 154, 0.08);
}

.portfolio-grid .portfolio-img-wrap {
  height: 340px;
}

/* ============================================================
   SCREEN TO PRODUCT
   ============================================================ */
.screen-to-product {
  background: var(--clr-black);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.screen-to-product .geo-pattern-bg {
  opacity: 0.3;
}

.stp-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.stp-title {
  font-family: var(--font-arabic);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--clr-ivory);
  line-height: 1.1;
}

[dir="ltr"] .stp-title {
  font-family: var(--font-display);
  font-style: italic;
}

.stp-title span {
  color: var(--clr-terracotta);
}

.stp-sub {
  font-size: 1rem;
  color: rgba(244, 240, 230, 0.55);
  margin-top: var(--space-md);
}

.stp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stp-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-terracotta), transparent);
  z-index: 0;
}

[dir="rtl"] .stp-steps::before {
  background: linear-gradient(to left, transparent, var(--clr-terracotta), transparent);
}

.stp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stp-step-num {
  width: 60px;
  height: 60px;
  background: var(--clr-charcoal-2);
  border: 1px solid rgba(139, 74, 60, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-terracotta);
  font-style: italic;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.stp-step:hover .stp-step-num {
  background: var(--clr-terracotta);
  color: var(--clr-ivory);
  border-color: var(--clr-terracotta);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(139, 74, 60, 0.4);
}

.stp-step-label-ar {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-ivory);
  margin-bottom: var(--space-xs);
}

.stp-step-label-en {
  font-size: 0.7rem;
  color: var(--clr-sand);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Arrow between steps */
.stp-step::after {
  content: '→';
  position: absolute;
  top: 50px;
  right: -8px;
  font-size: 1.2rem;
  color: rgba(139, 74, 60, 0.5);
  z-index: 2;
}

[dir="rtl"] .stp-step::after {
  content: '←';
  right: auto;
  left: -8px;
}

.stp-step:last-child::after { display: none; }

/* ============================================================
   PACKAGE SECTION (Design + Print + Delivery)
   ============================================================ */
.packages {
  background: var(--clr-ivory);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.packages .geo-pattern-bg.geo-light {
  opacity: 1;
}

.packages-statement {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.packages-statement-text {
  font-family: var(--font-arabic);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--clr-charcoal);
  line-height: 1.7;
  max-width: 700px;
  margin-inline: auto;
}

[dir="ltr"] .packages-statement-text {
  font-family: var(--font-latin);
}

.packages-statement-text strong {
  color: var(--clr-terracotta);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.package-card {
  background: var(--clr-warm-white);
  border: 1px solid var(--clr-ivory-3);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
}

.package-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--clr-terracotta);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.package-card:hover::after {
  transform: scaleX(1);
}

.package-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.package-card.featured {
  background: var(--clr-charcoal);
  border-color: transparent;
}

.package-card.featured::after {
  background: var(--clr-terracotta);
  transform: scaleX(1);
}

.package-card.featured .package-title-ar,
.package-card.featured .package-title-en {
  color: var(--clr-ivory);
}

.package-card.featured .package-items li {
  color: rgba(244, 240, 230, 0.75);
  border-color: rgba(201, 185, 154, 0.1);
}

.package-card.featured .package-items li::before {
  background: var(--clr-terracotta);
}

.package-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-terracotta);
  background: rgba(139, 74, 60, 0.12);
  padding: 0.25rem 0.75rem;
  margin-bottom: var(--space-lg);
  border-radius: 2px;
}

.package-card.featured .package-badge {
  color: var(--clr-ivory);
  background: rgba(201, 185, 154, 0.15);
}

.package-title-ar {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-charcoal);
  margin-bottom: var(--space-xs);
}

.package-title-en {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--clr-sand-2);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.package-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.package-items li {
  font-size: 0.9rem;
  color: rgba(20, 18, 16, 0.7);
  border-bottom: 1px solid var(--clr-ivory-3);
  padding-bottom: var(--space-sm);
  padding-inline-start: var(--space-md);
  position: relative;
}

.package-items li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--clr-sand-2);
  border-radius: 50%;
}

.package-items li:last-child {
  border-bottom: none;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  background: var(--clr-charcoal);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.industries-header {
  margin-bottom: var(--space-3xl);
  text-align: center;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 185, 154, 0.08);
  position: relative;
  z-index: 1;
}

.industry-item {
  background: var(--clr-charcoal-2);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.industry-item:hover {
  background: var(--clr-charcoal-3);
}

.industry-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201, 185, 154, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.industry-item:hover .industry-icon {
  border-color: var(--clr-terracotta);
  background: rgba(139, 74, 60, 0.1);
}

.industry-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--clr-sand);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base);
}

.industry-item:hover .industry-icon svg {
  stroke: var(--clr-terracotta);
}

.industry-name-ar {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-ivory);
}

.industry-name-en {
  font-size: 0.72rem;
  color: rgba(201, 185, 154, 0.5);
  letter-spacing: 0.06em;
}

/* ============================================================
   WHY NAQSH
   ============================================================ */
.why-naqsh {
  background: var(--clr-warm-white);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.why-naqsh-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.why-naqsh-left {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.why-naqsh-tagline {
  font-family: var(--font-arabic);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--clr-charcoal);
  line-height: 1.2;
  margin-bottom: var(--space-xl);
}

[dir="ltr"] .why-naqsh-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.why-naqsh-tagline span {
  color: var(--clr-terracotta);
}

.why-naqsh-sub {
  font-size: 1rem;
  color: rgba(20, 18, 16, 0.6);
  line-height: 1.8;
  max-width: 380px;
}

.why-naqsh-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--clr-ivory-3);
}

.why-item {
  background: var(--clr-warm-white);
  padding: var(--space-xl) var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: background var(--transition-fast);
  cursor: default;
}

.why-item:hover {
  background: var(--clr-ivory);
}

.why-item-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-ivory-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.why-item:hover .why-item-icon {
  background: var(--clr-terracotta);
}

.why-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-terracotta);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base);
}

.why-item:hover .why-item-icon svg {
  stroke: var(--clr-ivory);
}

.why-item-content {}

.why-item-title-ar {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-charcoal);
  margin-bottom: var(--space-xs);
}

.why-item-title-en {
  font-size: 0.78rem;
  color: var(--clr-sand-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.why-item-desc {
  font-size: 0.88rem;
  color: rgba(20, 18, 16, 0.55);
  line-height: 1.7;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--clr-charcoal);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.process-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(201, 185, 154, 0.12);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
  z-index: 1;
}

.process-step-dot {
  width: 80px;
  height: 80px;
  background: var(--clr-charcoal-2);
  border: 1px solid rgba(201, 185, 154, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  transition: all var(--transition-slow);
  position: relative;
  z-index: 1;
}

.process-step:hover .process-step-dot {
  border-color: var(--clr-terracotta);
  background: rgba(139, 74, 60, 0.12);
  transform: scale(1.08);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--clr-terracotta);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.process-step:hover .process-step-num {
  opacity: 1;
}

.process-step-name-ar {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-ivory);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.process-step-name-en {
  font-size: 0.7rem;
  color: rgba(201, 185, 154, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   CONTACT / PROJECT REQUEST FORM
   ============================================================ */
.contact {
  background: var(--clr-black);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.contact .geo-pattern-bg {
  opacity: 0.35;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-4xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-left {}

.contact-headline {
  font-family: var(--font-arabic);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--clr-ivory);
  line-height: 1.2;
  margin-bottom: var(--space-xl);
}

[dir="ltr"] .contact-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.contact-sub {
  font-size: 1rem;
  color: rgba(244, 240, 230, 0.55);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: rgba(244, 240, 230, 0.65);
}

.contact-info-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-terracotta);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--clr-charcoal);
  border: 1px solid rgba(201, 185, 154, 0.08);
  padding: var(--space-2xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(201, 185, 154, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  background: rgba(201, 185, 154, 0.04);
  border: 1px solid rgba(201, 185, 154, 0.12);
  color: var(--clr-ivory);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  border-radius: 2px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(201, 185, 154, 0.25);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(139, 74, 60, 0.5);
  background: rgba(201, 185, 154, 0.06);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23C9B99A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  padding-inline-end: 2.5rem;
}

[dir="rtl"] .form-select {
  background-position: 12px center;
  padding-inline-end: 1rem;
  padding-inline-start: 2.5rem;
}

.form-select option {
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Radio group for printing */
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(201, 185, 154, 0.7);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(201, 185, 154, 0.1);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.form-radio-label:hover {
  border-color: rgba(139, 74, 60, 0.3);
  color: var(--clr-ivory);
}

.form-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--clr-terracotta);
}

.form-radio-label input[type="radio"]:checked + span {
  color: var(--clr-ivory);
}

.form-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.whatsapp-btn:hover {
  background: #1EA952;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn svg {
  width: 18px; height: 18px;
  fill: white;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--clr-ivory);
  padding-block: var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-text {}

.about-headline {
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--clr-charcoal);
  line-height: 1.25;
  margin-bottom: var(--space-xl);
}

[dir="ltr"] .about-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.about-headline em {
  color: var(--clr-terracotta);
  font-style: normal;
}

.about-desc {
  font-size: 1.05rem;
  color: rgba(20, 18, 16, 0.65);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.about-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.about-stat {}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--clr-terracotta);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.about-stat-label {
  font-size: 0.8rem;
  color: rgba(20, 18, 16, 0.5);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about-visual {
  position: relative;
}

.about-pattern-box {
  position: relative;
  padding: var(--space-xl);
  background: var(--clr-charcoal);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-pattern-text {
  font-family: var(--font-arabic);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 900;
  color: rgba(201, 185, 154, 0.06);
  line-height: 1;
  user-select: none;
  position: absolute;
}

.about-wordmark {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-wordmark-ar {
  font-family: var(--font-arabic);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--clr-ivory);
  display: block;
  margin-bottom: var(--space-sm);
}

.about-wordmark-en {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--clr-sand);
  text-transform: uppercase;
}

.about-wordmark-line {
  width: 40px;
  height: 2px;
  background: var(--clr-terracotta);
  margin-inline: auto;
  margin-block: var(--space-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-black);
  padding-top: var(--space-4xl);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 185, 154, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(201, 185, 154, 0.06);
}

.footer-brand {}

.footer-logo-ar {
  font-family: var(--font-arabic);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-ivory);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.footer-logo-en {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--clr-sand);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(201, 185, 154, 0.5);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 185, 154, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: rgba(201, 185, 154, 0.5);
}

.footer-social-link:hover {
  border-color: var(--clr-terracotta);
  background: rgba(139, 74, 60, 0.12);
  color: var(--clr-ivory);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px; height: 16px;
  fill: currentColor;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-terracotta);
  margin-bottom: var(--space-xl);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(201, 185, 154, 0.5);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--clr-ivory);
}

.footer-bottom {
  padding-block: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(201, 185, 154, 0.3);
}

.footer-copy span {
  color: var(--clr-terracotta);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes patternFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(0.5deg); }
}

.geo-pattern-bg {
  animation: patternFloat 20s ease-in-out infinite;
}

/* Language switch transition */
.lang-transition * {
  transition: color 0.3s ease, background 0.3s ease !important;
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 185, 154, 0.2), transparent);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  inset-inline-end: var(--space-xl);
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-spring);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px; height: 28px;
  fill: white;
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulsRing 2s ease infinite;
}

@keyframes pulsRing {
  0%   { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --container-max: 100%; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-2xl);
  }

  [dir="rtl"] .hero-content {
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-2xl);
  }

  .hero-visual {
    height: 50vh;
  }

  .hero-img-overlay {
    background: linear-gradient(
      to bottom,
      var(--clr-black) 0%,
      transparent 15%,
      transparent 85%,
      var(--clr-black) 100%
    );
  }

  .portfolio-featured {
    grid-template-columns: 1fr;
  }

  .portfolio-featured .portfolio-item:first-child .portfolio-img-wrap,
  .portfolio-featured .portfolio-item:last-child .portfolio-img-wrap {
    height: 380px;
  }

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

  .stp-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .stp-steps::before { display: none; }
  .stp-step::after { display: none; }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-naqsh-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .why-naqsh-left {
    position: static;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .process-steps::before { display: none; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

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

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .container { padding-inline: var(--space-lg); }

  .hero-headline-word {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .portfolio-featured {
    grid-template-columns: 1fr;
  }

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

  .portfolio-featured .portfolio-item .portfolio-img-wrap {
    height: 280px;
  }

  .portfolio-grid .portfolio-img-wrap {
    height: 260px;
  }

  .stp-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
    gap: var(--space-xl);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .about-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta {
    flex-direction: column;
  }

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

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

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

  .about-inner {
    gap: var(--space-2xl);
  }
}
