/* Breakpoints (vanilla CSS, Tailwind-like intent):
   sm 640px · md 768px · lg 1024px · xl 1160px container */
:root {
  --navy-950: #030712;
  --navy-900: #060d1f;
  --navy-850: #0a1628;
  --navy-800: #0f1f33;
  --gold-400: #d4af37;
  --gold-500: #c9a227;
  --gold-600: #a88620;
  --cream: #f4efe4;
  --muted: rgba(244, 239, 228, 0.72);
  --border-subtle: rgba(212, 175, 55, 0.22);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 32px rgba(212, 175, 55, 0.28), 0 0 72px rgba(212, 175, 55, 0.12),
    0 4px 24px rgba(212, 175, 55, 0.15);
  --glow-gold-ring: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 12px 40px rgba(212, 175, 55, 0.18);
  --glow-header: 0 8px 32px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(212, 175, 55, 0.35), 0 0 40px rgba(212, 175, 55, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --rail-h: 0px;
  --header-stack-h: calc(var(--header-h) + var(--rail-h));
}

html[data-theme="light"] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: "Inter", "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(0.9375rem, 2.8vw + 0.5rem, 1.0625rem);
  line-height: 1.65;
  overflow-wrap: break-word;
  word-wrap: break-word;
  color: var(--cream);
  background: radial-gradient(1400px 900px at 15% -5%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(1000px 700px at 95% 25%, rgba(59, 130, 246, 0.1), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(212, 175, 55, 0.07), transparent 45%),
    var(--navy-950);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -20%, rgba(255, 230, 170, 0.1), transparent 50%),
    radial-gradient(ellipse 65% 45% at 100% 40%, rgba(130, 165, 252, 0.07), transparent 45%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(212, 175, 55, 0.05), transparent 40%);
}

main {
  position: relative;
  z-index: 1;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-copy img {
  filter:
    drop-shadow(0 0 18px rgba(212, 175, 55, 0.35))
    drop-shadow(0 0 40px rgba(212, 175, 55, 0.18))
    drop-shadow(0 10px 35px rgba(0, 0, 0, 0.5));


}
section[id] {
  scroll-margin-top: calc(var(--header-stack-h) + 16px);
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", "Tajawal", system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

.container.narrow {
  max-width: 920px;
}

@media (min-width: 768px) {
  .container,
  .container.narrow {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
}

@media (min-width: 1024px) {
  .container,
  .container.narrow {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  background: rgba(3, 7, 18, 0.55);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: var(--glow-header);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    backdrop-filter 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(6, 13, 31, 0.62);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  border-bottom-color: rgba(212, 175, 55, 0.32);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4), 0 0 48px rgba(212, 175, 55, 0.14),
    0 1px 0 rgba(212, 175, 55, 0.4);
}

.header-inner {
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  justify-self: start;
}

.brand img {
  height: clamp(40px, 5vw, 48px);
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 1px rgba(212, 175, 55, 0.45)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-text {
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: clamp(0.65rem, 1.15vw, 0.78rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.94);
  line-height: 1.25;
  max-width: 14rem;
}

@media (max-width: 960px) {
  .brand-text {
    display: none;
  }
}

.site-nav {
  justify-self: center;
}

.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 239, 228, 0.92);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease,
    color 0.3s ease;
}

.theme-toggle:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-400);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__icon--moon {
  display: none;
}

html[data-theme="light"] .theme-toggle__icon--sun {
  display: none;
}

html[data-theme="light"] .theme-toggle__icon--moon {
  display: flex;
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
}

.site-nav a {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 600;
  color: rgba(244, 239, 228, 0.82);
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
  color: var(--cream) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-section-nav {
  display: none;
}

@media (max-width: 1023px) {
  :root {
    --rail-h: 52px;
  }

  .mobile-section-nav {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 49;
    height: var(--rail-h);
    padding: 0 env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0);
    background: rgba(4, 10, 22, 0.94);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45), 0 0 36px rgba(212, 175, 55, 0.18),
      inset 0 1px 0 rgba(255, 220, 160, 0.12);
  }

  .mobile-section-nav__track {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 100%;
    padding: 0 12px;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .mobile-section-nav__track::-webkit-scrollbar {
    display: none;
  }

  .mobile-section-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-family: "Montserrat", "Tajawal", sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 250, 240, 0.95);
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(212, 175, 55, 0.1);
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .mobile-section-nav a:active,
  .mobile-section-nav a:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-stack-h);
    left: 0;
    right: 0;
    justify-self: unset;
    background: rgba(6, 13, 31, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease-out), opacity 0.35s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .btn {
    min-height: 48px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .theme-toggle,
  .nav-toggle {
    min-width: 46px;
    min-height: 46px;
  }
}

/* Hero — mobile-first layout */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: stretch;
  padding-top: var(--header-stack-h);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  filter: saturate(1.05) contrast(1.06);
}

@media (min-width: 768px) {
  .hero-video {
    transform: scale(1.02);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(3, 7, 18, 0.9) 0%,
      rgba(6, 13, 31, 0.68) 38%,
      rgba(3, 7, 18, 0.52) 100%
    ),
    radial-gradient(ellipse at 22% 28%, rgba(212, 175, 55, 0.18), transparent 48%),
    radial-gradient(ellipse at 85% 15%, rgba(255, 220, 150, 0.08), transparent 38%),
    linear-gradient(to top, rgba(3, 7, 18, 0.93), transparent 42%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: clamp(1.15rem, 4vw, 2rem);
  padding-block: clamp(1.35rem, 5vw, 5rem)
    max(0.85rem, calc(env(safe-area-inset-bottom, 0px) + 0.65rem));
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 3.5rem);
    padding-block: clamp(2.5rem, 8vw, 5rem) clamp(2rem, 6vw, 3.5rem);
  }
}

.hero-copy {
  padding-bottom: 0;
  text-align: center;
  justify-self: center;
  max-width: min(38rem, 100%);
  width: 100%;
  min-width: 0;
}

.hero-eyebrow {
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(0.56rem, 2.4vw, 0.7rem);
  color: rgba(212, 175, 55, 0.92);
  margin: 0 0 clamp(0.65rem, 2vw, 1rem);
}

.hero-title {
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 clamp(0.65rem, 2vw, 1rem);
  font-size: clamp(1.625rem, 7vw + 0.35rem, 3.75rem);
  background: linear-gradient(135deg, #fff 0%, rgba(244, 239, 228, 0.92) 42%, rgba(212, 175, 55, 0.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-inline: 0.125rem;
}

.hero-sub {
  margin: 0 auto clamp(1.2rem, 4vw, 1.75rem);
  max-width: min(34rem, 100%);
  color: var(--muted);
  font-size: clamp(0.9375rem, 3.8vw, 1.125rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  align-items: stretch;
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: none;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: auto;
    flex: 0 1 auto;
    min-width: min(100%, 11.5rem);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: clamp(0.72rem, 2.6vw, 0.8125rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  box-sizing: border-box;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #111827;
  box-shadow: var(--glow-gold), 0 14px 40px rgba(212, 175, 55, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold), 0 20px 50px rgba(212, 175, 55, 0.45);
}

.btn-ghost {
  border-color: rgba(244, 239, 228, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-inline {
  margin-top: 0.25rem;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .btn-inline {
    align-self: flex-start;
    width: auto;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .hero-stats {
    gap: 0.5rem;
  }
}

.stat-card {
  min-width: 0;
  padding: clamp(0.5rem, 2vw, 0.7rem) clamp(0.55rem, 2vw, 0.75rem);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(212, 175, 55, 0.08);
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 0.08rem;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 4vw, 1.15rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.stat-suffix {
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.9em;
}

.stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(0.54rem, 2.4vw, 0.62rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 600;
  color: rgba(244, 239, 228, 0.68);
  line-height: 1.35;
}

.scroll-hint {
  display: none;
  position: absolute;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .scroll-hint {
    display: flex;
  }
}

.scroll-line {
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
  animation: scrollPulse 1.6s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Sections shared */

.section {
  padding-block: clamp(3rem, 12vw, 7rem);
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 6vw, 3rem);
  padding-inline: 0;
  max-width: 100%;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: rgba(212, 175, 55, 0.85);
}

.section-title {
  margin: 0;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 5.5vw + 0.4rem, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.lead {
  text-align: center;
  margin: 0 auto clamp(1.75rem, 5vw, 2.5rem);
  color: var(--muted);
  font-size: clamp(1rem, 3.8vw + 0.2rem, 1.2rem);
  max-width: min(52rem, 100%);
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* About */

.about {
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.35), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 4vw, 1.5rem);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.45s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.12),
    0 0 40px rgba(212, 175, 55, 0.14);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.35), transparent 62%),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: var(--gold-400);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  margin: 0 0 0.5rem;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.feature-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 3.5vw, 1.35rem);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 1.85rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: radial-gradient(900px 240px at 10% -40%, rgba(212, 175, 55, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(22, 36, 58, 0.92), rgba(8, 18, 36, 0.92));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42), 0 0 40px rgba(212, 175, 55, 0.07);
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.45s var(--ease-out);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(212, 175, 55, 0.14), transparent 42%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48), 0 0 52px rgba(212, 175, 55, 0.14), var(--glow-gold-ring);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--gold-400);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  position: relative;
  margin: 0 0 0.45rem;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.service-text {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Why */

.why {
  background: linear-gradient(to bottom, transparent, rgba(10, 22, 40, 0.38));
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 3.5vw, 1.35rem);
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.why-card {
  padding: clamp(1.35rem, 2.5vw, 1.65rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.4s var(--ease-out), border-color 0.35s ease, background 0.35s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.06);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--gold-400);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-title {
  margin: 0 0 0.4rem;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.why-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Projects */

.project-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 900px) {
  .project-showcase {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2rem);
  }
}

.project-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: var(--shadow-lg), 0 0 48px rgba(212, 175, 55, 0.12), 0 0 1px rgba(212, 175, 55, 0.35);
  min-height: clamp(210px, 52vw, 300px);
}

@media (min-width: 900px) {
  .project-visual {
    min-height: 280px;
  }
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.1s var(--ease-out);
}

.project-showcase:hover .project-visual img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(3, 7, 18, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-400);
}

.project-body {
  padding: clamp(1.35rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.15rem);
  box-shadow: 0 0 36px rgba(212, 175, 55, 0.08);
  min-width: 0;
}

.project-name {
  margin: 0;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 5.5vw + 0.75rem, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.project-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.85rem, 3vw, 1rem);
  font-size: clamp(1.08rem, 3.6vw, 1.22rem);
  color: var(--muted);
  line-height: 1.55;
}

.meta-label {
  display: block;
  font-size: clamp(0.75rem, 2.8vw, 0.875rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.9);
  margin-bottom: 0.25rem;
}

.project-desc {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3.8vw, 1.22rem);
  line-height: 1.78;
}

/* Locations */

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 4vw, 1.5rem);
}

@media (min-width: 640px) {
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.location-card {
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.35s ease, transform 0.4s var(--ease-out);
}

.location-card:hover {
  border-color: rgba(212, 175, 55, 0.28);
  transform: translateY(-4px);
}

.location-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.location-flag-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.location-flag-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-title {
  margin: 0;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  line-height: 1.25;
}

.location-text {
  margin: 0;
  color: var(--muted);
}

/* Contact */

.contact {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(900px 500px at 80% 0%, rgba(212, 175, 55, 0.08), transparent 60%);
}

.contact-single {
  width: 100%;
  max-width: min(520px, 100%);
  margin-inline: auto;
  text-align: center;
  box-sizing: border-box;
}

.contact-single .section-head {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.contact-channels {
  list-style: none;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 40px rgba(212, 175, 55, 0.1);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .contact-channels {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
  }
}

.contact-channels li {
  margin: 0;
}

.contact-icon-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  box-sizing: border-box;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, background 0.3s ease,
    box-shadow 0.35s var(--ease-out);
}

@media (min-width: 480px) {
  .contact-icon-btn {
    flex-direction: column;
    width: auto;
    min-width: 120px;
    flex: 1 1 auto;
  }
}

.contact-icon-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.contact-icon-btn:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.contact-icon-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-icon-btn__label {
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.88);
}

.contact-icon-btn--whatsapp .contact-icon-btn__icon {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.25);
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 max(2.5rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 7, 18, 0.92);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  opacity: 0.92;
  height: 36px;
  width: auto;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(244, 239, 228, 0.55);
}

.footer-top {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.85);
}

.footer-top:hover {
  color: var(--gold-400);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* —— White / light theme —— */

html[data-theme="light"] body {
  color: #152032;
  background: radial-gradient(1200px 800px at 12% -8%, rgba(212, 175, 55, 0.14), transparent 52%),
    radial-gradient(900px 600px at 92% 18%, rgba(100, 130, 200, 0.1), transparent 48%),
    linear-gradient(180deg, #fdfcfa 0%, #f3efe6 45%, #ebe6dc 100%);
}

html[data-theme="light"] body::before {
  background: radial-gradient(ellipse 110% 55% at 50% -18%, rgba(255, 220, 160, 0.22), transparent 48%),
    radial-gradient(ellipse 55% 40% at 100% 35%, rgba(180, 200, 255, 0.12), transparent 42%);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 253, 248, 0.42);
  border-bottom-color: rgba(20, 32, 50, 0.1);
  box-shadow: 0 8px 32px rgba(20, 30, 50, 0.08), 0 1px 0 rgba(212, 175, 55, 0.35),
    0 0 48px rgba(212, 175, 55, 0.1);
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.34);
  border-bottom-color: rgba(201, 162, 39, 0.28);
}

@media (max-width: 1023px) {
  html[data-theme="light"] .mobile-section-nav {
    background: rgba(255, 253, 248, 0.96);
    border-bottom-color: rgba(201, 162, 39, 0.42);
    box-shadow: 0 8px 28px rgba(20, 30, 50, 0.1), 0 0 40px rgba(212, 175, 55, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  html[data-theme="light"] .mobile-section-nav a {
    color: #152032;
    text-shadow: none;
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(168, 134, 32, 0.4);
  }

  html[data-theme="light"] .mobile-section-nav a:hover,
  html[data-theme="light"] .mobile-section-nav a:active {
    background: rgba(212, 175, 55, 0.32);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  }
}

html[data-theme="light"] .brand-text {
  color: rgba(21, 32, 50, 0.92);
}

html[data-theme="light"] .site-nav a {
  color: rgba(21, 32, 50, 0.78);
}

html[data-theme="light"] .nav-cta {
  color: #152032 !important;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.12));
  border-color: rgba(168, 134, 32, 0.45);
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(21, 32, 50, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(21, 32, 50, 0.88);
}

html[data-theme="light"] .nav-toggle {
  border-color: rgba(21, 32, 50, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .nav-toggle-bar {
  background: #152032;
}

@media (max-width: 1023px) {
  html[data-theme="light"] .site-nav {
    background: rgba(255, 253, 248, 0.94);
    border-bottom-color: rgba(201, 162, 39, 0.22);
  }

  html[data-theme="light"] .site-nav a {
    border-bottom-color: rgba(21, 32, 50, 0.08);
  }
}

html[data-theme="light"] .section-kicker {
  color: rgba(168, 134, 32, 0.95);
}

html[data-theme="light"] .section-title {
  color: #101828;
}

html[data-theme="light"] .lead,
html[data-theme="light"] .feature-text,
html[data-theme="light"] .service-text,
html[data-theme="light"] .why-text,
html[data-theme="light"] .location-text,
html[data-theme="light"] .project-desc,
html[data-theme="light"] .project-meta {
  color: rgba(21, 32, 50, 0.72);
}

html[data-theme="light"] .about {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  border-top-color: rgba(21, 32, 50, 0.06);
}

html[data-theme="light"] .why {
  background: linear-gradient(to bottom, transparent, rgba(255, 252, 245, 0.65));
}

html[data-theme="light"] .feature-card {
  border-color: rgba(21, 32, 50, 0.08);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 238, 0.88));
  box-shadow: 0 20px 50px rgba(20, 30, 50, 0.08);
}

html[data-theme="light"] .service-card {
  border-color: rgba(21, 32, 50, 0.08);
  background: radial-gradient(900px 240px at 10% -40%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(241, 236, 226, 0.92));
}

html[data-theme="light"] .why-card {
  border-color: rgba(21, 32, 50, 0.07);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .why-card:hover {
  background: rgba(212, 175, 55, 0.1);
}

html[data-theme="light"] .location-card {
  border-color: rgba(21, 32, 50, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 236, 0.85));
}

html[data-theme="light"] .project-visual {
  border-color: rgba(21, 32, 50, 0.1);
}

html[data-theme="light"] .project-body.glass {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(21, 32, 50, 0.1);
}

html[data-theme="light"] .project-name {
  color: #101828;
}

html[data-theme="light"] .stat-card.glass {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .stat-label {
  color: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .stat-value {
  color: #fff;
}

html[data-theme="light"] .hero-sub {
  color: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

html[data-theme="light"] .contact {
  border-top-color: rgba(21, 32, 50, 0.08);
  background: radial-gradient(900px 500px at 80% 0%, rgba(212, 175, 55, 0.12), transparent 60%);
}

html[data-theme="light"] .contact-channels.glass {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(21, 32, 50, 0.1);
}

html[data-theme="light"] .contact-icon-btn {
  border-color: rgba(21, 32, 50, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: #152032;
}

html[data-theme="light"] .contact-icon-btn__label {
  color: rgba(21, 32, 50, 0.88);
}

html[data-theme="light"] .site-footer {
  background: rgba(248, 244, 236, 0.96);
  border-top-color: rgba(21, 32, 50, 0.08);
}

html[data-theme="light"] .footer-copy {
  color: rgba(21, 32, 50, 0.5);
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}
/* ===== Get a Quote Section ===== */
.quote-section {
  padding: clamp(3rem, 10vw, 6rem) 1rem;
  text-align: center;
  position: relative;
}

.quote-section .container {
  max-width: 520px;
  margin: 0 auto;
}

.quote-section h2 {
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-size: clamp(1.6rem, 4vw + 1rem, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.quote-section p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ===== Form Styling (matches your luxury UI) ===== */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

/* Inputs */
.quote-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--cream);
  font-size: 0.95rem;
  transition: 0.3s var(--ease-out);
}

.quote-form input::placeholder {
  color: rgba(244, 239, 228, 0.5);
}

.quote-form input:focus {
  border-color: var(--gold-400);
  box-shadow: var(--glow-gold-ring);
  outline: none;
}

/* Button (reuse your system) */
.quote-form button {
  margin-top: 0.5rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Montserrat", "Tajawal", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #111;
  box-shadow: var(--glow-gold);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.quote-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.4);
}

/* Success message */
.success-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(212, 175, 55, 0.9);
  display: none;
}