/* ============================================================
   Pyramid Pillars Future — هرم عمدان المستقبل
   Premium General Contracting Website Stylesheet
   Bilingual: Arabic (RTL) + English (LTR)
   ============================================================ */

/* ─────────────────────────────────────────────
   0. CSS Custom Properties
   ───────────────────────────────────────────── */

:root {
  /* ── Palette ── */
  --navy-900: #0b1426;
  --navy-800: #0f1d35;
  --navy-700: #142847;
  --navy-600: #1a3a5c;
  --navy-500: #234d72;

  --gold-500: #d4a853;
  --gold-400: #e0b968;
  --gold-300: #e8c87a;
  --gold-200: #f0d89a;
  --gold-glow: rgba(212, 168, 83, 0.35);
  --gold-glow-soft: rgba(212, 168, 83, 0.15);

  --text-light: #e8e8e8;
  --text-muted: #a0aec0;
  --text-dark: #1a1a2e;
  --text-dark-secondary: #4a4a6a;

  --surface-dark: rgba(255, 255, 255, 0.04);
  --surface-dark-hover: rgba(255, 255, 255, 0.08);
  --surface-light: #f0f2f5;
  --surface-white: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 16px;

  --glass-light-bg: rgba(255, 255, 255, 0.65);
  --glass-light-border: rgba(255, 255, 255, 0.5);

  /* ── Gradients ── */
  --grad-gold: linear-gradient(135deg, #d4a853, #e8c87a);
  --grad-gold-reverse: linear-gradient(135deg, #e8c87a, #d4a853);
  --grad-gold-wide: linear-gradient(135deg, #b8923e, #d4a853, #e8c87a, #f0d89a);
  --grad-navy: linear-gradient(180deg, #0b1426 0%, #0f1d35 50%, #1a3a5c 100%);
  --grad-navy-horizontal: linear-gradient(135deg, #0b1426, #1a3a5c);
  --grad-hero-overlay: linear-gradient(
    180deg,
    rgba(11, 20, 38, 0.88) 0%,
    rgba(15, 29, 53, 0.75) 40%,
    rgba(11, 20, 38, 0.92) 100%
  );
  --grad-footer: linear-gradient(180deg, #0b1426 0%, #060d1a 100%);
  --grad-border: linear-gradient(135deg, rgba(212, 168, 83, 0.4), rgba(232, 200, 122, 0.1), rgba(212, 168, 83, 0.4));

  /* ── Typography ── */
  --font-ar: "Tajawal", Arial, sans-serif;
  --font-en: "Manrope", Arial, sans-serif;

  /* ── Spacing ── */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ── Sizing ── */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);
  --transition-slower: 700ms var(--ease-out);

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 24px rgba(212, 168, 83, 0.2);
  --shadow-gold-lg: 0 8px 40px rgba(212, 168, 83, 0.25);
}


/* ─────────────────────────────────────────────
   1. Reset & Base
   ───────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--navy-900);
  color: var(--text-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Language-specific fonts ── */
[lang="ar"] body,
[lang="ar"] {
  font-family: var(--font-ar);
  font-weight: 400;
}

[lang="en"] body,
[lang="en"] {
  font-family: var(--font-en);
  font-weight: 400;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}


/* ─────────────────────────────────────────────
   2. Layout Containers
   ───────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

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

.tint {
  background: var(--surface-light);
  color: var(--text-dark);
}

.navy {
  background: var(--grad-navy);
  color: var(--text-light);
}


/* ─────────────────────────────────────────────
   3. Typography
   ───────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-lg);
}

h1 em {
  font-style: italic;
  background: var(--grad-gold-reverse);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-lg);
}

.tint h2,
.tint h3 {
  color: var(--text-dark);
}

.navy h2 {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
}


/* ─────────────────────────────────────────────
   4. Header & Navigation
   ───────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(11, 20, 38, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

header.scrolled {
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom-color: var(--glass-border);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

/* ── Brand ── */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand span {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.brand b {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand small {
  display: block;
  font-size: 0.7rem;
  color: var(--gold-500);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: -2px;
}

/* ── Mobile Menu Toggle ── */
.menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}

.menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ── Navigation Links ── */
.links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.links a {
  position: relative;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.links a:hover {
  color: var(--text-light);
  background: var(--surface-dark-hover);
}

.links a.active {
  color: var(--gold-500);
}

.links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: var(--space-sm);
  inset-inline-end: var(--space-sm);
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

/* ── Dropdown ── */
.dropdown {
  position: relative;
}

.drop-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.drop-trigger:hover {
  color: var(--text-light);
  background: var(--surface-dark-hover);
}

.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  min-width: 220px;
  background: rgba(15, 29, 53, 0.96);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
}

/* Position drop-menu: RTL → right, LTR → left */
[dir="rtl"] .drop-menu {
  right: 0;
  left: auto;
}

[dir="ltr"] .drop-menu {
  left: 0;
  right: auto;
}

.dropdown-open .drop-menu,
.dropdown:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-menu a {
  display: block;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.drop-menu a:hover {
  color: var(--gold-500);
  background: var(--surface-dark-hover);
}

/* ── Language Switcher ── */
.lang {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-500);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.lang:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold-500);
}

/* ── Nav CTA Button ── */
.nav-cta {
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--grad-gold);
  border-radius: var(--radius-sm);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}


/* ─────────────────────────────────────────────
   5. Hero Section
   ───────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.png") center / cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: var(--space-4xl);
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-xl);
  background: rgba(212, 168, 83, 0.08);
}

.eyebrow.light {
  color: var(--gold-300);
  border-color: rgba(232, 200, 122, 0.25);
  background: rgba(232, 200, 122, 0.06);
}

.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

/* ── Action Buttons Row ── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* ── Primary Button ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem var(--space-xl);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--grad-gold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
}

.btn:active {
  transform: translateY(0);
}

/* ── Outline Button ── */
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem var(--space-xl);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-500);
  background: transparent;
  border: 1.5px solid rgba(212, 168, 83, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.outline:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--gold-500);
  transform: translateY(-1px);
}

/* ── Text Button ── */
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-500);
  cursor: pointer;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.text-btn:hover {
  color: var(--gold-300);
  gap: var(--space-sm);
}

/* ── Stats Row ── */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
}

.stats div {
  flex: 1;
  min-width: 140px;
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.stats div:hover {
  border-color: rgba(212, 168, 83, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.stats b {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stats span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}


/* ─────────────────────────────────────────────
   6. Intro Section
   ───────────────────────────────────────────── */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.9;
  color: var(--text-dark-secondary);
}

.tint .lead {
  color: var(--text-dark-secondary);
}

.inline {
  color: var(--gold-500);
  font-weight: 600;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 1px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.inline:hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
}


/* ─────────────────────────────────────────────
   7. About Section
   ───────────────────────────────────────────── */

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

.about img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.about img:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold-lg);
  transform: scale(1.02);
}


/* ─────────────────────────────────────────────
   8. Values Section
   ───────────────────────────────────────────── */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.values article {
  padding: var(--space-xl);
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--surface-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.tint .values article {
  background: var(--surface-white);
}

.navy .values article {
  background: var(--surface-dark);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--gold-500);
}

.values article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.values article span {
  display: block;
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.6;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.values article h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.navy .values article h3 {
  color: var(--text-light);
}

.values article p {
  font-size: 0.92rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
}

.navy .values article p {
  color: var(--text-muted);
}


/* ─────────────────────────────────────────────
   9. Services Section
   ───────────────────────────────────────────── */

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

.services.four {
  grid-template-columns: repeat(4, 1fr);
}

.services article {
  position: relative;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  overflow: hidden;
}

/* Animated gradient border on hover */
.services article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(212, 168, 83, 0.5) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.services article:hover::before {
  opacity: 1;
  animation: gradientShift 3s ease infinite;
}

.services article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--gold-glow-soft);
  border-color: rgba(212, 168, 83, 0.25);
}

.tint .services article {
  background: var(--surface-white);
  backdrop-filter: none;
  border-color: rgba(0, 0, 0, 0.06);
}

.tint .services article:hover {
  box-shadow: var(--shadow-md), 0 0 20px var(--gold-glow-soft);
  border-color: rgba(212, 168, 83, 0.3);
}

.services article i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  color: var(--gold-500);
  background: rgba(212, 168, 83, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 0 10px var(--gold-glow));
  transition: transform var(--transition-fast);
}

.services article:hover i {
  transform: scale(1.08);
}

.services article span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  opacity: 0.5;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
}

.services article h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.tint .services article h3 {
  color: var(--text-dark);
}

.services article p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.tint .services article p {
  color: var(--text-dark-secondary);
}

.services article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-500);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.services article a:hover {
  color: var(--gold-300);
  gap: var(--space-sm);
}


/* ─────────────────────────────────────────────
   10. Page Hero (Service Detail Pages)
   ───────────────────────────────────────────── */

.page-hero {
  padding-block: var(--space-4xl) var(--space-3xl);
  background: var(--grad-navy-horizontal);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(212, 168, 83, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
}


/* ─────────────────────────────────────────────
   11. Detail Grid
   ───────────────────────────────────────────── */

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* ── Checklist ── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.checklist li {
  position: relative;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--surface-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.checklist li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .checklist li:hover {
  transform: translateX(-4px);
}

/* Gold side border — RTL: right, LTR: left */
[dir="rtl"] .checklist li {
  border-right: 3px solid var(--gold-500);
  border-left: none;
}

[dir="ltr"] .checklist li {
  border-left: 3px solid var(--gold-500);
  border-right: none;
}

.checklist li::before {
  content: "✓";
  font-weight: 700;
  color: var(--gold-500);
  margin-inline-end: var(--space-sm);
}

.navy .checklist li {
  background: var(--surface-dark);
  color: var(--text-light);
  border-color: var(--gold-500);
}


/* ─────────────────────────────────────────────
   12. Steps
   ───────────────────────────────────────────── */

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

.steps article {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--surface-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.navy .steps article {
  background: var(--surface-dark);
  border: 1px solid var(--glass-border);
}

.steps article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.steps article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--grad-gold);
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-gold);
}

.steps article h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.tint .steps article h3 {
  color: var(--text-dark);
}

.navy .steps article h3 {
  color: var(--text-light);
}

.steps article p {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
}

.navy .steps article p {
  color: var(--text-muted);
}


/* ─────────────────────────────────────────────
   13. Service List (Services Overview Page)
   ───────────────────────────────────────────── */

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.service-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) var(--space-2xl);
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.navy .service-list article {
  background: var(--surface-dark);
  border: 1px solid var(--glass-border);
}

.service-list article:hover {
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────────
   14. MEP Grid
   ───────────────────────────────────────────── */

.mep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.mep-grid article {
  position: relative;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.mep-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 168, 83, 0.3);
}

.tint .mep-grid article {
  background: var(--surface-white);
  backdrop-filter: none;
  border-color: rgba(0, 0, 0, 0.06);
}

/* Large decorative letter */
.mep-grid article::before {
  content: attr(data-letter);
  position: absolute;
  top: -10px;
  inset-inline-end: 16px;
  font-family: var(--font-en);
  font-size: 6rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}


/* ─────────────────────────────────────────────
   15. CTA Bar
   ───────────────────────────────────────────── */

.cta {
  text-align: center;
  padding-block: var(--space-4xl);
  background: var(--grad-navy-horizontal);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(212, 168, 83, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta h2 {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta p {
  color: var(--text-muted);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}


/* ─────────────────────────────────────────────
   16. Projects Teaser / Coming Soon
   ───────────────────────────────────────────── */

.projects-teaser {
  text-align: center;
  padding-block: var(--space-4xl);
}

.teaser-card {
  max-width: 560px;
  margin-inline: auto;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.tint .teaser-card {
  background: var(--surface-white);
  backdrop-filter: none;
  border-color: rgba(0, 0, 0, 0.06);
}

.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--grad-gold);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
}

.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  text-align: center;
  padding: var(--space-3xl);
}


/* ─────────────────────────────────────────────
   17. Contact Section
   ───────────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.details a,
.details p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.details a:hover {
  color: var(--gold-500);
}

/* ── Contact Form ── */
#rfq {
  padding: var(--space-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.tint #rfq {
  background: var(--surface-white);
  backdrop-filter: none;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-md);
}

#rfq label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.tint #rfq label {
  color: var(--text-dark-secondary);
}

#rfq input,
#rfq select,
#rfq textarea {
  width: 100%;
  padding: 0.8rem var(--space-md);
  font-size: 0.95rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.tint #rfq input,
.tint #rfq select,
.tint #rfq textarea {
  color: var(--text-dark);
  background: var(--surface-light);
  border-color: rgba(0, 0, 0, 0.1);
}

#rfq input::placeholder,
#rfq textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.tint #rfq input::placeholder,
.tint #rfq textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

#rfq input:focus,
#rfq select:focus,
#rfq textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-glow-soft), 0 0 16px var(--gold-glow-soft);
  background: rgba(255, 255, 255, 0.08);
}

.tint #rfq input:focus,
.tint #rfq select:focus,
.tint #rfq textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-glow-soft), 0 0 16px var(--gold-glow-soft);
  background: var(--surface-white);
}

#rfq select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23a0aec0'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px;
}

[dir="rtl"] #rfq select {
  background-position: left 12px center;
  padding-left: 32px;
}

[dir="ltr"] #rfq select {
  background-position: right 12px center;
  padding-right: 32px;
}

#rfq textarea {
  min-height: 140px;
  resize: vertical;
}

#rfq button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--grad-gold);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

#rfq button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

#rfq button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
}

#rfq button[type="submit"]:active {
  transform: translateY(0);
}

.error {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold-500);
}

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


/* ─────────────────────────────────────────────
   18. Footer
   ───────────────────────────────────────────── */

footer {
  background: var(--grad-footer);
  padding-block: var(--space-4xl) var(--space-xl);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

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

.footer-col b {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), padding-inline-start var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold-500);
  padding-inline-start: 4px;
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-copy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.6;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* ─────────────────────────────────────────────
   19. WhatsApp FAB
   ───────────────────────────────────────────── */

.whatsapp-fab {
  position: fixed;
  bottom: var(--space-xl);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  animation: float 3s ease-in-out infinite;
}

[dir="rtl"] .whatsapp-fab {
  left: var(--space-xl);
  right: auto;
}

[dir="ltr"] .whatsapp-fab {
  right: var(--space-xl);
  left: auto;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}


/* ─────────────────────────────────────────────
   20. Scroll-Reveal Animations
   ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

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

/* data-delay sets a CSS custom property for stagger */
[data-delay="1"] { --delay: 100ms; }
[data-delay="2"] { --delay: 200ms; }
[data-delay="3"] { --delay: 300ms; }
[data-delay="4"] { --delay: 400ms; }
[data-delay="5"] { --delay: 500ms; }
[data-delay="6"] { --delay: 600ms; }


/* ─────────────────────────────────────────────
   20b. Service Icon
   ───────────────────────────────────────────── */

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--gold-500);
  background: rgba(212, 168, 83, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 0 10px var(--gold-glow));
  transition: transform var(--transition-fast);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.services article:hover .service-icon {
  transform: scale(1.1);
  animation: pulseGlow 2s ease-in-out infinite;
}


/* ─────────────────────────────────────────────
   20c. Hero Overlay, Particles & Scroll Indicator
   ───────────────────────────────────────────── */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 80%,
    rgba(212, 168, 83, 0.08) 0%,
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; animation-duration: 5s; }
.particle:nth-child(3) { top: 40%; left: 50%; animation-delay: 2s; animation-duration: 8s; width: 4px; height: 4px; }
.particle:nth-child(4) { top: 80%; left: 30%; animation-delay: 3s; animation-duration: 6s; }
.particle:nth-child(5) { top: 15%; left: 70%; animation-delay: 0.5s; animation-duration: 9s; width: 2px; height: 2px; }

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(212, 168, 83, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}


/* ─────────────────────────────────────────────
   20d. RFQ Form Title
   ───────────────────────────────────────────── */

#rfq h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text-light);
}

#rfq h3 small {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--navy-900);
  background: var(--grad-gold);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-inline-end: var(--space-xs);
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.tint #rfq h3 {
  color: var(--text-dark);
}

#rfq small:last-child {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.tint #rfq small:last-child {
  color: var(--text-dark-secondary);
}

.about-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Service list spans */
.service-list article > span {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
  line-height: 1;
}

.service-list article h2 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.tint .service-list article h2 {
  color: var(--text-dark);
}

.service-list article p {
  font-size: 0.92rem;
  color: var(--text-dark-secondary);
  margin-bottom: var(--space-md);
}

.service-list article ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.service-list article ul li {
  font-size: 0.82rem;
  padding: var(--space-xs) var(--space-md);
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold-500);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-xl);
  font-weight: 500;
}

/* MEP grid article span (large letter) */
.mep-grid article > span {
  display: block;
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.mep-grid article h3 {
  margin-bottom: var(--space-md);
}

.mep-grid article ul {
  text-align: start;
}

.mep-grid article ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--glass-border);
  line-height: 1.7;
}

.tint .mep-grid article ul li {
  color: var(--text-dark-secondary);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.mep-grid article ul li:last-child {
  border-bottom: none;
}

/* Head component */
.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.head > p {
  max-width: 380px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tint .head > p {
  color: var(--text-dark-secondary);
}

/* Hero description */
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

/* Disabled button */
button:disabled,
button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* CTA container flex */
.cta .container {
  position: relative;
  z-index: 1;
}

/* Drop trigger active state */
.drop-trigger.active {
  color: var(--gold-500);
}

/* WhatsApp SVG */
.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ─────────────────────────────────────────────
   21. @keyframes Animations
   ───────────────────────────────────────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px var(--gold-glow-soft);
  }
  50% {
    box-shadow: 0 0 28px var(--gold-glow);
  }
}

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


/* ─────────────────────────────────────────────
   22. Responsive — ≤ 1200px (Large Tablets)
   ───────────────────────────────────────────── */

@media (max-width: 1200px) {
  .container {
    padding-inline: var(--space-lg);
  }

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

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

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


/* ─────────────────────────────────────────────
   23. Responsive — ≤ 900px (Tablets)
   ───────────────────────────────────────────── */

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

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

  /* ── Mobile Navigation ── */
  .menu {
    display: flex;
  }

  .links {
    position: fixed;
    top: var(--header-height);
    inset-inline: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: var(--space-xs);
    background: rgba(11, 20, 38, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform var(--transition-base),
      opacity var(--transition-base),
      visibility var(--transition-base);
    overflow-y: auto;
    z-index: 999;
  }

  .links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    animation: slideDown 0.4s var(--ease-out);
  }

  .links a {
    padding: var(--space-md);
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .links a.active::after {
    bottom: 6px;
  }

  .drop-trigger {
    padding: var(--space-md);
    font-size: 1.05rem;
    width: 100%;
    justify-content: space-between;
  }

  .drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding-inline-start: var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .dropdown-open .drop-menu {
    max-height: 400px;
  }

  .nav-cta {
    text-align: center;
    margin-top: var(--space-md);
    display: block;
  }

  .lang {
    align-self: flex-start;
    margin-top: var(--space-sm);
  }

  /* ── Grids ── */
  .intro {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

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

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

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

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

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

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

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

  .service-list article {
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
  }

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


/* ─────────────────────────────────────────────
   24. Responsive — ≤ 600px (Mobile Phones)
   ───────────────────────────────────────────── */

@media (max-width: 600px) {
  :root {
    --header-height: 60px;
  }

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

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

  /* ── Hero ── */
  .hero {
    min-height: calc(100vh - 60px);
  }

  .hero-content {
    padding-block: var(--space-2xl);
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .outline {
    width: 100%;
    justify-content: center;
  }

  .stats {
    flex-direction: column;
  }

  .stats div {
    min-width: auto;
  }

  /* ── Grids → single column ── */
  .values {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .service-list article {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-lg);
  }

  /* ── Brand ── */
  .brand b {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  /* ── Page Hero ── */
  .page-hero {
    padding-block: var(--space-2xl);
  }

  /* ── Form ── */
  #rfq {
    padding: var(--space-lg);
  }

  /* ── WhatsApp FAB ── */
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    bottom: var(--space-md);
  }

  [dir="rtl"] .whatsapp-fab {
    left: var(--space-md);
  }

  [dir="ltr"] .whatsapp-fab {
    right: var(--space-md);
  }
}


/* ─────────────────────────────────────────────
   25. Accessibility — Reduced Motion
   ───────────────────────────────────────────── */

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

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-fab {
    animation: none;
  }

  .btn::after,
  #rfq button[type="submit"]::after {
    animation: none;
  }
}


/* ─────────────────────────────────────────────
   26. Focus Styles (Keyboard Accessibility)
   ───────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.btn:focus-visible,
.outline:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--gold-glow-soft);
}

.links a:focus-visible,
.drop-trigger:focus-visible,
.lang:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}


/* ─────────────────────────────────────────────
   27. Print Styles
   ───────────────────────────────────────────── */

@media print {
  header,
  .whatsapp-fab,
  .menu {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-bg {
    display: none;
  }

  h1 {
    -webkit-text-fill-color: #1a1a2e;
    color: #1a1a2e;
  }
}
