/* ============================================================
   STRUCTIVE — Architecture · Fit-Out · Engineering Solutions
   Design tokens & components  |  see design-system/MASTER.md
   ============================================================ */

:root {
  /* Color tokens */
  --ink-950: #141413;
  --ink-900: #191817;
  --ink-800: #201d19;
  --ink-700: #252421;
  --orange-500: #df650e;
  --orange-600: #9b4b15;
  --cream: #f4ece2;
  --cream-70: rgba(244, 236, 226, 0.72);
  --cream-50: rgba(244, 236, 226, 0.5);
  --cream-30: rgba(244, 236, 226, 0.3);
  --line: rgba(244, 236, 226, 0.08);
  --line-strong: rgba(244, 236, 226, 0.16);
  --blueprint: rgba(223, 101, 14, 0.35);

  /* Type */
  --font-latin: "Montserrat", "IBM Plex Sans Arabic", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Montserrat", sans-serif;

  /* Rhythm */
  --radius: 4px;
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 10vw, 120px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink-950);
  color: var(--cream);
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100dvh;
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
  letter-spacing: 0 !important;
}

html[lang="ar"] .label,
html[lang="ar"] .btn,
html[lang="ar"] .nav-links a,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  letter-spacing: 0 !important;
}

/* Arabic script needs taller lines than Latin display type */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .display {
  line-height: 1.45;
}

html[lang="ar"] body {
  line-height: 1.8;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  background: var(--orange-500);
  color: var(--ink-950);
}

/* Focus visibility (a11y) */
:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 300;
  background: var(--orange-500);
  color: var(--ink-950);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.display {
  font-size: clamp(40px, 6.5vw, 72px);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

h3 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--cream-70);
  max-width: 62ch;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange-500);
  flex: none;
}

/* variant: map-pin icon instead of the dash (hero location label) */
.label-pin::before {
  width: 15px;
  height: 15px;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23df650e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.muted {
  color: var(--cream-70);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-alt {
  background: var(--ink-900);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-block-end: clamp(40px, 6vw, 64px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  :root {
    --gutter: 48px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

html[dir="rtl"] .btn svg.arrow {
  transform: scaleX(-1);
}

.btn-primary {
  background: var(--orange-500);
  color: var(--ink-950);
}

.btn-primary:hover {
  background: #f0741b;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--orange-500);
  color: var(--orange-500);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(20, 20, 19, 0.92);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  position: relative;
  z-index: 1;
}

/* Pearl lights — soft orange dots twinkling across the header strip */
.nav-lights {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.nav-lights i {
  position: absolute;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 8px 1px rgba(223, 101, 14, 0.55);
  opacity: 0;
  animation: pearl 6s ease-in-out infinite;
}

@keyframes pearl {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.55);
  }

  50% {
    opacity: 0.85;
    transform: scale(1);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: auto;
  height: 44px;
  flex: none;
}

.brand-text {
  display: grid;
  row-gap: 4px;
  line-height: 1.15;
  text-align: center;
}

.brand-name {
  font-family: "Days One", Montserrat, sans-serif;
  font-weight: 400;
  font-size: 19px;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  /* balance the trailing letter-space so the wordmark is optically centered;
     force LTR so the compensation also holds in Arabic (RTL) mode */
  text-indent: 0.05em;
  direction: ltr;
  color: var(--cream);
}

.brand-name .x {
  color: var(--orange-500);
  font-style: normal;
}

/* exact wordmark cut from the official logo */
.brand-word {
  height: 17px;
  width: auto;
  display: block;
  justify-self: center;
}

.brand-tag {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-70);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  min-width: 48px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--orange-500);
  color: var(--orange-500);
}

.nav-cta {
  min-height: 44px;
  padding: 10px 22px;
}

.nav-burger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.nav-burger svg {
  width: 22px;
  height: 22px;
}

.nav-burger .icon-close {
  display: none;
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: 76px;
    bottom: 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px var(--gutter);
    background: rgba(20, 20, 19, 0.98);
    backdrop-filter: blur(12px);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav-links a {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-burger {
    display: inline-flex;
  }

  body.nav-open .nav-burger .icon-open {
    display: none;
  }

  body.nav-open .nav-burger .icon-close {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- Blueprint decorations ---------- */
.bp-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 0%, transparent 75%);
}

.bp-dim {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blueprint);
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: 140px 96px;
  overflow: hidden;
  background: radial-gradient(
      ellipse 80% 60% at 70% 20%,
      rgba(223, 101, 14, 0.1),
      transparent 60%
    ),
    var(--ink-950);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}

.hero-copy .display span {
  color: var(--orange-500);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--cream-50);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--orange-500);
  flex: none;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-art svg {
  width: min(100%, 420px);
  height: auto;
}

.hero-art svg,
.hero-art img {
  filter: drop-shadow(0 24px 64px rgba(223, 101, 14, 0.12));
}

/* hero: official logo lockup */
.hero-logo-frame {
  position: relative;
  height: clamp(420px, 78vh, 760px);
  max-width: 100%;
}

.hero-logo-frame::after {
  content: "";
  position: absolute;
  left: 19%;
  bottom: 11.6%;
  width: 62%;
  height: 2px;
  background: var(--orange-500);
  pointer-events: none;
}

.hero-logo {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  clip-path: inset(0 0 13% 0);
}

/* ---------- Stats band ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--ink-900);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

@media (min-width: 900px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--ink-900);
  padding: 40px 24px;
  text-align: center;
  display: grid;
  gap: 6px;
}

.stat-num {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.stat-num span {
  color: var(--orange-500);
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
}

/* ---------- Cards (services / features) ---------- */
.card {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(223, 101, 14, 0.45);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius);
  color: var(--orange-500);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card p {
  color: var(--cream-70);
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

html[dir="rtl"] .card-link svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .card:hover .card-link svg {
  transform: scaleX(-1) translateX(4px);
}

.card-num {
  position: absolute;
  inset-inline-end: 24px;
  top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-30);
  letter-spacing: 0.1em;
}

/* ---------- Projects ---------- */
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-800);
  display: grid;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.project-card:hover {
  border-color: rgba(223, 101, 14, 0.45);
  transform: translateY(-4px);
}

.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-900);
}

.project-media svg,
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.project-card:hover .project-media svg,
.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 8px;
}

.project-cat {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 600;
}

.project-loc {
  font-size: 14px;
  color: var(--cream-50);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-loc svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 40px;
}

.filter-btn {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-70);
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--orange-500);
  color: var(--cream);
}

.filter-btn.active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--ink-950);
}

/* ---------- Feature rows (why us) ---------- */
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius);
  color: var(--orange-500);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-block-end: 6px;
}

.feature p {
  color: var(--cream-70);
  font-size: 15px;
  max-width: 56ch;
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
  padding-block: 22px;
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

html[dir="rtl"] .marquee-track {
  animation-name: marquee-rtl;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-50);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  transform: rotate(45deg);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-rtl {
  to {
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

/* ---------- Quote band ---------- */
.quote {
  position: relative;
  background: linear-gradient(rgba(20, 20, 19, 0.55), rgba(20, 20, 19, 0.92)),
    var(--ink-800);
  border-block: 1px solid var(--line);
}

.quote blockquote {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.quote blockquote p {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.5;
}

.quote cite {
  font-style: normal;
  display: grid;
  gap: 2px;
  justify-items: center;
}

.quote cite strong {
  font-size: 15px;
}

.quote cite span {
  font-size: 13px;
  color: var(--orange-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}

.faq-item[open] {
  border-color: rgba(223, 101, 14, 0.45);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  min-height: 48px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--orange-500);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--cream-70);
  font-size: 15px;
  max-width: 70ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--orange-600), var(--orange-500));
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  gap: 24px;
  justify-items: start;
  color: var(--ink-950);
}

.cta-band h2 {
  max-width: 18ch;
}

.cta-band p {
  max-width: 52ch;
  font-weight: 500;
}

.cta-band .btn {
  background: var(--ink-950);
  color: var(--cream);
}

.cta-band .btn:hover {
  background: var(--ink-800);
}

.cta-band .bp-boxes {
  position: absolute;
  inset-inline-end: -40px;
  bottom: -60px;
  width: 340px;
  opacity: 0.2;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f0f0e;
  border-top: 1px solid var(--line);
  padding-block: 72px 0;
}

.footer-grid {
  display: grid;
  gap: 48px;
  padding-block-end: 56px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.footer-brand p {
  color: var(--cream-50);
  font-size: 14px;
  max-width: 36ch;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-block-end: 18px;
}

.footer-col li {
  margin-block-end: 12px;
}

.footer-col a {
  color: var(--cream-70);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--orange-500);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--cream-70);
  font-size: 14px;
  margin-block-end: 14px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--orange-500);
  flex: none;
  margin-block-start: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--cream-30);
}

.footer-bottom a:hover {
  color: var(--orange-500);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: 170px 80px;
  background: radial-gradient(
      ellipse 70% 60% at 80% 0%,
      rgba(223, 101, 14, 0.1),
      transparent 60%
    ),
    var(--ink-950);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.crumbs a:hover {
  color: var(--orange-500);
}

.crumbs .sep {
  color: var(--orange-500);
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.form-card {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  gap: 22px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-70);
}

.field label .req {
  color: var(--orange-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  background: var(--ink-950);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--cream);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--cream-30);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23df650e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

html[dir="rtl"] .field select {
  background-position: left 16px center;
}

.field .error-msg {
  display: none;
  font-size: 13px;
  color: #e88b5a;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #c9502a;
}

.field.invalid .error-msg {
  display: block;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--cream-70);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-block-start: 3px;
  accent-color: var(--orange-500);
  flex: none;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.form-status.ok {
  display: block;
  background: rgba(90, 160, 90, 0.12);
  border: 1px solid rgba(120, 190, 120, 0.4);
  color: #b9debb;
}

.form-status.err {
  display: block;
  background: rgba(201, 80, 42, 0.12);
  border: 1px solid rgba(201, 80, 42, 0.45);
  color: #eab29a;
}

.info-card {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  gap: 22px;
}

.info-card + .info-card {
  margin-block-start: 24px;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-row .feature-icon {
  width: 44px;
  height: 44px;
}

.info-row h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
  margin-block-end: 4px;
}

.info-row p,
.info-row a {
  font-size: 15px;
  color: var(--cream);
}

.info-row a:hover {
  color: var(--orange-500);
}

.info-row .sub {
  font-size: 13px;
  color: var(--cream-50);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--ink-800);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

/* ---------- Values / pillars (about) ---------- */
.pillar {
  border-inline-start: 2px solid var(--orange-500);
  padding-inline-start: 24px;
  display: grid;
  gap: 10px;
}

.pillar .num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--orange-500);
  font-weight: 600;
  text-transform: uppercase;
}

.pillar p {
  color: var(--cream-70);
  font-size: 15px;
}

/* ---------- Process steps ---------- */
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  display: grid;
  gap: 12px;
}

.step .step-num {
  font-size: 40px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--blueprint);
  line-height: 1;
}

.step p {
  color: var(--cream-70);
  font-size: 14px;
}

/* ---------- Lightbox gallery ---------- */
[data-gallery] {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 9, 0.92);
  backdrop-filter: blur(6px);
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox > img {
  max-width: min(92vw, 1100px);
  max-height: 76vh;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--ink-900);
}

.lb-caption {
  position: absolute;
  bottom: 26px;
  inset-inline: 0;
  text-align: center;
  display: grid;
  gap: 4px;
  pointer-events: none;
}

.lb-caption strong {
  font-size: 16px;
}

.lb-caption span {
  font-size: 13px;
  color: var(--orange-500);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(20, 20, 19, 0.7);
  color: var(--cream);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lb-btn:hover {
  border-color: var(--orange-500);
  color: var(--orange-500);
}

.lb-btn svg {
  width: 22px;
  height: 22px;
}

.lb-prev {
  inset-inline-start: 20px;
}

.lb-next {
  inset-inline-end: 20px;
}

.lb-close {
  top: 20px;
  inset-inline-end: 20px;
  transform: none;
}

body.lb-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .lb-btn {
    width: 44px;
    height: 44px;
  }

  .lb-prev {
    inset-inline-start: 10px;
  }

  .lb-next {
    inset-inline-end: 10px;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Language visibility ---------- */
/* JS swaps text via data-ar attributes; this class hides EN-only extras if needed */
html[lang="ar"] .en-only {
  display: none !important;
}

html[lang="en"] .ar-only {
  display: none !important;
}
