/* ============================================================
   CHEF'S HAVEN — FOOD TRUCK BUILDERS & FABRICATION
   Main Stylesheet
   ============================================================ */

/* ── Google Fonts — MUST be first rule (before all selectors) ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cairo:wght@300;400;500;600;700;800;900&family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --brand-red:     #c64827;
  --brand-red-dim: #9e3820;
  --brand-blue:    #1c3d5a;
  --brand-steel:   #2a2e35;

  --bg-black:  #080808;
  --bg-dark:   #0e0e0e;
  --bg-card:   #141414;
  --bg-lift:   #1c1c1c;
  --bg-border: #262626;

  --text-white:   #f5f4f2;
  --text-off:     #c8c4bc;
  --text-muted:   #7a7570;
  --text-dim:     #4a4540;

  /* Display: hero headlines only (Bebas Neue stays dramatic at large scale) */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  /* UI Sans: nav, labels, section heads, cards, buttons, body — all Sora */
  --font-head:    'Sora', 'Inter', system-ui, sans-serif;
  --font-body:    'Sora', 'Inter', system-ui, sans-serif;
  /* Arabic: premium modern geometric Arabic */
  --font-ar:      'Cairo', 'Arial', sans-serif;
  /* Mono: reserved for genuine code/schematic placeholder text only */
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --nav-h: 112px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography Scale ────────────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.t-hero {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.t-section-head {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.t-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.t-body-lg {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  color: var(--text-off);
}

.t-body {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
  color: var(--text-off);
}

/* ── Layout Utilities ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

.container--wide {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

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

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 32px); }

/* ── Dividers ─────────────────────────────────────────────────── */
.divider-line {
  width: 64px;
  height: 2px;
  background: var(--brand-red);
  display: block;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.28s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.04);
  opacity: 0;
  transition: opacity 0.2s;
}

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

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(198,72,39,0);
}

.btn-primary:hover {
  background: #d9512e;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(198,72,39,0.4);
}

.btn-outline {
  border: 1px solid var(--bg-border);
  color: var(--text-off);
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-off);
  padding-inline: 0;
}

.btn-ghost:hover { color: var(--brand-red); }

.btn-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.24s;
}

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s;
}

.nav.scrolled {
  background: rgba(8,8,8,0.92);
  border-bottom: 1px solid var(--bg-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo-img {
  height: 70px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

/* Logo fallback text — hidden when SVG loads; revealed via JS class on error */
.nav__logo-text { display: none; flex-direction: column; }
.nav__logo.logo-failed .nav__logo-text { display: flex; }
.nav__logo.logo-failed .nav__logo-img { display: none; }

.nav__logo-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-white);
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-red);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover, .nav__link.active {
  color: var(--text-white);
}

.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

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

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-white);
  transition: all 0.3s;
}

/* ── Mobile Nav Drawer ──────────────────────────────────────── */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 100vw);
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid var(--bg-border);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-expo);
  padding: 100px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav-drawer.open { transform: translateX(0); }

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-drawer__link {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-off);
  transition: color 0.2s;
}

.nav-drawer__link:hover { color: var(--text-white); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(4px);
}

.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(30%);
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(198,72,39,0.04) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(8,8,8,0.55) 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--brand-red);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.8vw, 102px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
}

.hero__headline em {
  font-style: normal;
  color: var(--brand-red);
}

.hero__sub {
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 19px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(16px);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}

.hero__scroll-bar {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--brand-red), transparent);
  animation: scroll-bar 2s ease-in-out infinite;
}

@keyframes scroll-bar {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4) translateY(20px); opacity: 0.4; }
}

/* ── Trust Strip ─────────────────────────────────────────────── */
.trust-strip {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  padding-block: 32px;
}

.trust-strip__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  padding: 8px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item__icon {
  width: 52px;
  height: 52px;
  background: rgba(198,72,39,0.10);
  border: 1px solid rgba(198,72,39,0.20);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  flex-shrink: 0;
}

.trust-item__icon svg { width: 24px; height: 24px; }

.trust-item__text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ── Section Header ──────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section-header--left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-header__title { color: var(--text-white); }

.section-header__desc {
  max-width: 560px;
}

/* ── Services Section ────────────────────────────────────────── */
.services { position: relative; background: var(--bg-dark); padding-top: calc(var(--section-pad) - 15px); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg-border);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover { background: var(--bg-lift); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--brand-red);
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Editorial / Story Section ───────────────────────────────── */
.story {
  background: var(--bg-black);
  overflow: hidden;
}

.story__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.story__visual {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.story__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

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

.story__visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-lift);
  color: var(--text-dim);
}

.story__visual-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

.story__visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(8,8,8,0.8);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  backdrop-filter: blur(8px);
}

.story__visual-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.story__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px);
  background: var(--bg-dark);
}

.story__text-eyebrow {
  margin-bottom: 24px;
}

.story__text-title {
  margin-bottom: 24px;
}

.story__text-body {
  margin-bottom: 32px;
}

.story__reversed .story__visual { order: 2; }
.story__reversed .story__text { order: 1; }

/* ── Why Section ─────────────────────────────────────────────── */
.why {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.why__bg-accent {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198,72,39,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.why__headline-block { display: flex; flex-direction: column; gap: 32px; }

.why__stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.why__stat {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
}

.why__stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 8px;
}

.why__stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.why__points { display: flex; flex-direction: column; gap: 0; }

.why__point {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--bg-border);
}

.why__point:first-child { border-top: 1px solid var(--bg-border); }

.why__point-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198,72,39,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-red);
  background: rgba(198,72,39,0.06);
}

.why__point-icon svg { width: 20px; height: 20px; }

.why__point-body {}

.why__point-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 6px;
}

.why__point-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Process Section ─────────────────────────────────────────── */
.process {
  background: var(--bg-black);
  overflow: hidden;
}

.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 64px;
}

.process__line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bg-border);
  z-index: 0;
}

.process__line-fill {
  height: 100%;
  background: linear-gradient(to right, var(--brand-red), var(--brand-red-dim));
  width: 0%;
  transition: width 1.2s var(--ease-out-expo);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--bg-border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
  position: relative;
}

.process-step__dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.4s;
}

.process-step:hover .process-step__dot {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.process-step:hover .process-step__dot::before {
  border-color: rgba(198,72,39,0.3);
}

.process-step__num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  transition: color 0.3s;
}

.process-step:hover .process-step__num { color: #fff; }

.process-step__title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.process-step__desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Projects Preview ────────────────────────────────────────── */
.projects-preview {
  background: var(--bg-dark);
}

.projects-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  margin-bottom: 56px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.project-card--tall { grid-row: span 2; }

.project-card__visual {
  aspect-ratio: 4/3;
  background: var(--bg-lift);
  position: relative;
  overflow: hidden;
}

.project-card--tall .project-card__visual { aspect-ratio: unset; height: 100%; min-height: 400px; }

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-dim);
  position: absolute;
  inset: 0;
}

.project-card__placeholder svg { width: 40px; height: 40px; opacity: 0.3; }

.project-card__placeholder-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.4;
}

.project-card:hover .project-card__img { transform: scale(1.06); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__info {}

.project-card__category {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.project-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--bg-border);
  text-align: center;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(198,72,39,0.08) 0%, transparent 60%),
    linear-gradient(to bottom, transparent, rgba(28,61,90,0.04));
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 760px;
  margin-inline: auto;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.final-cta__contact-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.final-cta__contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.final-cta__contact-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.final-cta__contact-value {
  font-size: 15px;
  color: var(--text-off);
  transition: color 0.2s;
}

.final-cta__contact-value:hover { color: var(--brand-red); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--bg-border);
  padding-block: clamp(48px, 6vw, 80px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
}

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

.footer__brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 280px;
}

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

.footer__col-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer__links { display: flex; flex-direction: column; gap: 12px; }

.footer__link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--text-white); }

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer__contact-val {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__contact-val:hover { color: var(--brand-red); }

.footer__bottom {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
}

.footer__made {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
}

.footer__made span { color: var(--brand-red); }

/* ── Page Hero (interior pages) ──────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(60px, 8vw, 100px);
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bg-border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(198,72,39,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}

/* ── Gallery Page ────────────────────────────────────────────── */
.gallery-section { background: var(--bg-black); }

.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.24s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--brand-red);
  color: var(--text-white);
  background: rgba(198,72,39,0.08);
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-item__img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item__visual-ph {
  width: 100%;
  background: var(--bg-lift);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-dim);
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-item__visual-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198,72,39,0.04), transparent);
}

.gallery-item__visual-ph svg { width: 36px; height: 36px; opacity: 0.3; z-index: 1; }
.gallery-item__visual-ph span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.4;
  z-index: 1;
}

.gallery-item:hover .gallery-item__img { transform: scale(1.05); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(12px);
}

.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bg-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-off);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-card);
}

.lightbox__close:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 40px; }

.contact-info__block { display: flex; flex-direction: column; gap: 16px; }

.contact-info__block-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-white);
}

.contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info__item-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-red);
}

.contact-info__item-icon svg { width: 16px; height: 16px; }

.contact-info__item-text { display: flex; flex-direction: column; gap: 2px; }

.contact-info__item-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-info__item-val {
  font-size: 14px;
  color: var(--text-off);
  transition: color 0.2s;
}

a.contact-info__item-val:hover { color: var(--brand-red); }

/* ── Quote Form ───────────────────────────────────────────────── */
.quote-form {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: clamp(32px, 4vw, 56px);
}

.quote-form__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 8px;
}

.quote-form__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

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

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-label span { color: var(--brand-red); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  background: var(--bg-lift);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-red);
  background: var(--bg-card);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4540' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

.form-select option { background: var(--bg-card); color: var(--text-white); }

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

.form-radio-group {
  display: flex;
  gap: 16px;
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-off);
}

.form-radio-label input[type="radio"] { display: none; }

.form-radio-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--bg-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.form-radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  opacity: 0;
  transition: opacity 0.2s;
}

.form-radio-label input[type="radio"]:checked + .form-radio-custom {
  border-color: var(--brand-red);
}

.form-radio-label input[type="radio"]:checked + .form-radio-custom::after {
  opacity: 1;
}

.form-submit-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-disclaimer {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  max-width: 320px;
}

/* ── Animations (initial states, JS-driven) ──────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
}

.anim-fade-in {
  opacity: 0;
}

/* ── Scroll-driven reveals via JS (IntersectionObserver) ─────── */
.revealed {
  animation: reveal-up 0.72s var(--ease-out-expo) forwards;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.revealed-fade {
  animation: reveal-fade 0.6s ease forwards;
}

@keyframes reveal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Loader ──────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader__logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-white);
}

.loader__bar {
  width: 160px;
  height: 1px;
  background: var(--bg-border);
  position: relative;
  overflow: hidden;
}

.loader__bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--brand-red);
  animation: loader-fill 1s var(--ease-out-expo) forwards 0.2s;
}

@keyframes loader-fill {
  to { width: 100%; }
}

/* ── Misc Utilities ──────────────────────────────────────────── */
.red { color: var(--brand-red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(198,72,39,0.1);
  border: 1px solid rgba(198,72,39,0.25);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
}

/* Fonts imported at top of file — @import must precede all rules */

/* ── Nav drawer full-width CTA ───────────────────────────────── */
.nav-drawer .btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Page hero constrained body copy ─────────────────────────── */
.page-hero__desc { max-width: 620px; }
.page-hero__desc--sm { max-width: 580px; }

/* ── Contact section background ─────────────────────────────── */
.contact-section { background: var(--bg-black); }

/* ── Status badge (currently accepting) ─────────────────────── */
.status-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.status-card__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-card__body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Next-steps block ────────────────────────────────────────── */
.next-steps { display: flex; flex-direction: column; gap: 16px; }

.next-steps__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-white);
}

.next-steps__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.next-steps__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.next-steps__num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-red);
  min-width: 20px;
  padding-top: 1px;
  flex-shrink: 0;
}

.next-steps__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Form optional label ─────────────────────────────────────── */
.form-label__optional {
  color: var(--text-dim);
  font-weight: 400;
}

/* ── Form success state ──────────────────────────────────────── */
.form-success {
  display: none;
  padding: 32px;
  text-align: center;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.form-success.visible { display: flex; }

.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-white);
}

.form-success__body {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Hero blueprint bg placeholder ──────────────────────────── */
.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0e14 0%, #111 40%, #0e0e0e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
}

/* ── Story visual placeholder sizes ─────────────────────────── */
.story__visual-placeholder--lg { min-height: 520px; }
.story__visual-placeholder--dark { background: #111; }

/* ── Replace hint text ───────────────────────────────────────── */
.replace-hint {
  font-size: 10px;
  opacity: 0.25;
  font-family: monospace;
  letter-spacing: 0.1em;
}

/* ── Gallery item height variants ───────────────────────────── */
.gallery-ph--h200 { height: 200px; }
.gallery-ph--h210 { height: 210px; }
.gallery-ph--h220 { height: 220px; }
.gallery-ph--h230 { height: 230px; }
.gallery-ph--h240 { height: 240px; }
.gallery-ph--h250 { height: 250px; }
.gallery-ph--h260 { height: 260px; }
.gallery-ph--h280 { height: 280px; }
.gallery-ph--h300 { height: 300px; }
.gallery-ph--h320 { height: 320px; }
.gallery-ph--h350 { height: 350px; }
.gallery-ph--h380 { height: 380px; }
.gallery-ph--dark  { background: #111; }
.gallery-ph--dark2 { background: #0e0e0e; }
.gallery-ph--dark3 { background: #0f0f0f; }
.gallery-ph--dark4 { background: #0a0a0a; }
.gallery-ph--dark5 { background: #141414; }

/* ── Form validation error state ─────────────────────────────── */
.field-error {
  border-color: var(--brand-red) !important;
  background: rgba(198,72,39,0.04) !important;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER SOCIAL ICONS
   ═══════════════════════════════════════════════════════════════ */
.nav__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--bg-border);
  color: var(--text-muted);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.nav__social-link:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: rgba(198, 72, 39, 0.08);
}

.nav__social-link svg {
  width: 15px;
  height: 15px;
}

/* Drawer social row */
.nav-drawer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--bg-border);
}

.nav-drawer__social .nav__social-link {
  width: 40px;
  height: 40px;
}

.nav-drawer__social .nav__social-link svg {
  width: 17px;
  height: 17px;
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE
   ═══════════════════════════════════════════════════════════════ */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 5px 10px;
  border-radius: 3px;
  transition: all 0.2s;
  line-height: 1;
}

.lang-btn:hover { color: var(--text-off); background: var(--bg-lift); }

.lang-btn--active {
  color: var(--text-white);
  background: var(--bg-lift);
}

.lang-btn--ar {
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.lang-toggle--drawer {
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-border);
}

.lang-toggle--drawer .lang-btn {
  font-size: 14px;
  padding: 10px 0;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   ARABIC / RTL SUPPORT
   Root level first, then layout system, then components.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Root direction and base font ─────────────────────────── */
html[lang="ar"] {
  direction: rtl;
  text-align: right;
}

/* Cairo applied universally across every element on Arabic pages.
   !important guarantees no utility class or component override wins. */
html[lang="ar"],
html[lang="ar"] * {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ── 2. Typography scale overrides for Arabic ────────────────── */
html[lang="ar"] .hero__headline {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.25;
}

html[lang="ar"] .t-section-head {
  font-weight: 800;
  line-height: 1.3;
}

html[lang="ar"] .t-hero {
  font-weight: 800;
  line-height: 1.25;
}

html[lang="ar"] .t-label {
  font-size: 12px;
  font-weight: 700;
}

html[lang="ar"] .t-body-lg,
html[lang="ar"] .t-body {
  line-height: 1.9;
}

html[lang="ar"] .btn {
  font-size: 14px;
}

html[lang="ar"] .trust-item__text {
  font-size: 13px;
}

/* ── 3. Navigation RTL ───────────────────────────────────────── */

/* Flip the entire nav row: logo ends up on right, CTA on left */
html[lang="ar"] .nav__inner {
  direction: rtl;
}

/* Nav links: direction rtl means first HTML item appears on right */
html[lang="ar"] .nav__links {
  direction: rtl;
}

/* CTA group flows RTL — hamburger at leftmost edge */
html[lang="ar"] .nav__cta {
  direction: rtl;
}

/* Underline animates from right edge */
html[lang="ar"] .nav__link::after { left: auto; right: 0; }

/* Mobile drawer from LEFT in RTL */
html[lang="ar"] .nav-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--bg-border);
  transform: translateX(-100%);
}
html[lang="ar"] .nav-drawer.open { transform: translateX(0); }

/* ── 4. Hero RTL ─────────────────────────────────────────────── */
html[lang="ar"] .hero__content { text-align: right; }
html[lang="ar"] .hero__actions {
  justify-content: flex-end;
  flex-direction: row;
}
html[lang="ar"] .hero__eyebrow { flex-direction: row-reverse; }

/* Hero scroll cue: bottom-left in RTL */
html[lang="ar"] .hero__scroll-cue {
  right: auto;
  left: clamp(20px, 4vw, 64px);
}

/* ── 5. Section-level RTL ────────────────────────────────────── */
html[lang="ar"] .section-header--center {
  text-align: right;
  align-items: flex-end;
}

html[lang="ar"] .section-header--left {
  text-align: right;
  align-items: flex-end;
}

/* Trust strip */
html[lang="ar"] .trust-item { flex-direction: row-reverse; }

/* Service card top-border from right */
html[lang="ar"] .service-card::before { transform-origin: right; }

/* Why section */
html[lang="ar"] .why__grid { direction: rtl; }
html[lang="ar"] .why__headline-block { text-align: right; }
html[lang="ar"] .why__point { flex-direction: row-reverse; }
html[lang="ar"] .why__point-body { text-align: right; }

/* Process */
html[lang="ar"] .process__line { transform: scaleX(-1); }

/* Final CTA */
html[lang="ar"] .final-cta__inner { text-align: right; align-items: flex-end; }
html[lang="ar"] .final-cta__contact-row { flex-direction: row-reverse; }

/* ── 6. Gallery RTL ──────────────────────────────────────────── */
html[lang="ar"] .gallery-filters { direction: rtl; }
html[lang="ar"] .gallery-item__label { text-align: right; }

/* ── 7. Contact / Form RTL ───────────────────────────────────── */
html[lang="ar"] .contact-layout { direction: rtl; }
html[lang="ar"] .contact-info__item { flex-direction: row-reverse; }
html[lang="ar"] .contact-info__item-text { text-align: right; }
html[lang="ar"] .next-steps__item { flex-direction: row-reverse; }
html[lang="ar"] .next-steps__text { text-align: right; }
html[lang="ar"] .status-card__row { flex-direction: row-reverse; }
html[lang="ar"] .quote-form { text-align: right; }
html[lang="ar"] .form-grid { direction: rtl; }
html[lang="ar"] .form-submit-row { flex-direction: row-reverse; }
html[lang="ar"] .form-radio-group { flex-direction: row-reverse; }
html[lang="ar"] .form-radio-label { flex-direction: row-reverse; }
html[lang="ar"] .form-label span { margin-left: 0; margin-right: 2px; }

html[lang="ar"] .form-select {
  background-position: left 14px center;
  padding-inline-start: 36px;
  padding-inline-end: 16px;
}

/* ── 8. Footer RTL ───────────────────────────────────────────── */
html[lang="ar"] .footer__grid { direction: rtl; }
html[lang="ar"] .footer__bottom { direction: rtl; }

/* ── 9. SVG arrows flip ──────────────────────────────────────── */
html[lang="ar"] .btn svg:last-child,
html[lang="ar"] .btn-ghost svg { transform: scaleX(-1); }

/* ── 10. Positional elements ─────────────────────────────────── */
html[lang="ar"] .lightbox__close { right: auto; left: 24px; }
html[lang="ar"] .story__visual-badge { left: auto; right: 24px; }
html[lang="ar"] .story__track { direction: rtl; }
html[lang="ar"] .story__reversed .story__visual { order: 1; }
html[lang="ar"] .story__reversed .story__text { order: 2; }
