/* Al Salhi Group — clean rebuild (spacing + layout first) */

:root {
  --bg: #06060a;
  --bg-alt: #0b0b12;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.72);
  --soft: rgba(244, 244, 245, 0.5);
  --accent-1: #2dd4bf;
  --accent-2: #a78bfa;
  --accent-3: #fb7185;
  --gradient: linear-gradient(135deg, #2dd4bf, #6366f1 50%, #f472b6);
  --gradient-text: linear-gradient(90deg, #5eead4, #c4b5fd, #fda4af);
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1120px;
  --gutter: clamp(18px, 4vw, 28px);
  --section-y: clamp(3rem, 7vw, 5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Inter Tight", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Background: single gradient, no fixed attachment */
body.site {
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -20%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 40% at 100% 50%, rgba(45, 212, 191, 0.06), transparent 45%),
    linear-gradient(180deg, #050508 0%, var(--bg) 40%, var(--bg) 100%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

.scroll-progress {
  position: fixed;
  top: 100px;
  bottom: 32px;
  inset-inline-end: 14px;
  width: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress-bar {
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  background: var(--gradient);
  border-radius: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* —— Header: normal flow, no negative margins —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header.is-elevated {
  background: rgba(6, 6, 10, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.brand-name {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1rem;
}

.nav {
  position: relative;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: var(--text);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.nav-links > a,
.nav-dropdown summary {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-links > a:hover,
.nav-dropdown summary:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  background: #0f0f16;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.nav-dropdown[open] .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  background: var(--surface);
  color: var(--text);
}

html[dir="rtl"] .nav-dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.nav-lang {
  display: flex;
  gap: 6px;
  margin-inline-start: 8px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--border);
}

.lang-btn {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--soft);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: #0a0a0c;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.link-cta {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-1);
  text-decoration: none;
}

.link-cta:hover {
  text-decoration: underline;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: var(--section-y) 0 calc(var(--section-y) * 1.1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.blob {
  position: absolute;
  width: min(480px, 85vw);
  height: min(480px, 85vw);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.3;
  z-index: 1;
}

.blob-a {
  top: -200px;
  left: -120px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.5), transparent 65%);
}

.blob-b {
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.45), transparent 65%);
}

.grid-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.25;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.hero-kicker-line {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

html[dir="rtl"] .hero-kicker {
  flex-direction: row-reverse;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-title--en {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
}

.hero-title--ar {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.hero-title-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-title-line--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.35;
  padding-inline-start: 14px;
  border-inline-start: 3px solid;
  border-image: linear-gradient(180deg, var(--accent-1), var(--accent-2)) 1;
}

.hero-intro {
  margin: 0 0 1.5rem;
  color: var(--soft);
  font-size: 15px;
  max-width: 48ch;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.75rem;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  max-height: 380px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-stat--inline {
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
}

.stat {
  padding: 0 16px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--soft);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* —— Sections —— */
.section {
  padding-block: var(--section-y);
}

.section--band {
  background: var(--bg-alt);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 720px;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.section-title {
  margin: 0 0 0.4em;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.section-intro {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 65ch;
}

.section-badge,
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

/* —— Execution —— */
.execution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.execution-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.exec-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.5rem 0;
}

.exec-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.exec-step:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(3px);
}

html[dir="rtl"] .exec-step:hover {
  transform: translateX(-3px);
}

.exec-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 14px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border);
}

.exec-txt {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

.execution-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.execution-visual img {
  width: 100%;
  height: auto;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.execution-glow {
  position: absolute;
  inset: auto -10% -20%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.25), transparent 70%);
  pointer-events: none;
}

.execution-cta {
  margin-top: 0.5rem;
}

/* —— Cards —— */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card-media {
  position: relative;
  height: 160px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.08), rgba(99, 102, 241, 0.1));
}

.media-orb {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2), transparent 60%);
}

.company-icon {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.card-media .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
}

.card-top,
.card-copy,
.card-tags {
  padding-inline: 20px;
}

.card-top {
  padding-top: 18px;
}

.card-index {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 8px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.card-copy {
  margin: 0 0 14px;
  flex: 1;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.55;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.card-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
}

.card-expand {
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.card-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 20px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
}

.card-summary::-webkit-details-marker {
  display: none;
}

.card-expanded {
  padding: 0 20px 18px;
}

.card-list {
  margin: 0;
  padding-inline-start: 1.1rem;
  font-size: 13px;
  color: var(--soft);
  line-height: 1.55;
}

.card-expand-cta {
  margin-top: 12px;
}

/* —— Partners —— */
.partners-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}

.partners-carousel.is-dragging {
  scroll-snap-type: none;
}

.partners-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.logo-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.logo-pill .logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.partners-note {
  margin-top: 1rem;
  font-size: 13px;
  color: var(--soft);
  max-width: 70ch;
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: clamp(24px, 4vw, 40px);
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1rem;
}

.muted {
  font-size: 14px;
  color: var(--soft);
  margin: 0;
  line-height: 1.6;
}

.about-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.about-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.about-card-eyebrow {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

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

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

.check-ic {
  flex-shrink: 0;
  color: var(--accent-1);
  font-weight: 800;
}

.about-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* —— Quotes —— */
.quote-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  padding-inline-start: clamp(32px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.quote-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 14px;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient);
}

.section-quote--alt .quote-card {
  background: rgba(99, 102, 241, 0.06);
}

.quote-kicker {
  margin: 0.25rem 0 0;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-1);
}

.quote-text {
  margin: 1rem 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 40px);
}

.contact-form {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.45);
}

.block-label {
  display: block;
  margin-bottom: 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.form-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent-1);
}

.form-subnote {
  margin-top: 8px;
  font-size: 12px;
  color: var(--soft);
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.side-card--accent {
  background: rgba(99, 102, 241, 0.08);
}

.side-title {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 8px;
}

.side-copy {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-link {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.chip-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

/* —— Footer —— */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
}

/* —— Scroll reveal: single reliable animation —— */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* —— Language —— */
*[data-lang] {
  display: none;
}

.lang-en [data-lang="en"],
.lang-ar [data-lang="ar"] {
  display: block;
}

.lang-en [data-nav-link][data-lang="ar"],
.lang-ar [data-nav-link][data-lang="en"] {
  display: none;
}

.lang-en .btn[data-lang="en"],
.lang-ar .btn[data-lang="ar"],
.lang-en button[data-lang="en"],
.lang-ar button[data-lang="ar"] {
  display: inline-flex;
}

.lang-en .chip-link[data-lang="en"],
.lang-ar .chip-link[data-lang="ar"] {
  display: inline-flex;
}

.lang-en .card-tags > [data-lang="en"],
.lang-ar .card-tags > [data-lang="ar"] {
  display: inline-block;
}

.lang-en .section-badge > [data-lang="en"],
.lang-ar .section-badge > [data-lang="ar"],
.lang-en .contact-badge > [data-lang="en"],
.lang-ar .contact-badge > [data-lang="ar"] {
  display: inline;
}

.lang-en .card-summary [data-lang="en"],
.lang-ar .card-summary [data-lang="ar"] {
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .execution-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head-row {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    width: min(320px, calc(100vw - 24px));
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    background: #0f0f16;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-lang {
    border-inline-start: none;
    margin-inline-start: 0;
    padding-inline-start: 0;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

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

  .hero-stat {
    flex-direction: column;
    gap: 12px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    padding: 0;
  }

  .scroll-progress {
    display: none;
  }
}
