/* ============================================================================
   AL TAISIR ELEVATORS — Stylesheet
   A single CSS file that drives both the Arabic (RTL) and English (LTR)
   home pages. Built on:
     • Logical CSS properties (margin-inline / padding-inline / inset-inline)
       so RTL flips automatically — no separate ar/en stylesheets needed.
     • CSS custom properties for design tokens (ink / gold / marble /
       hairline) — change one line, restyle the whole site.
     • Pure CSS animations only — no JavaScript dependencies.
   ============================================================================ */

/* -------------------- 1. RESET + BASE -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand palette */
  --ink:        #0A1628;
  --ink-deep:   #040A14;
  --ink-700:    #1A2A41;
  --ink-600:    #2C3B53;
  --ink-500:    #475569;
  --ink-400:    #6E7F98;
  --ink-300:    #9CABC0;
  --ink-200:    #C5CEDA;
  --ink-100:    #E4E8EE;
  --ink-50:     #F4F6F8;

  --gold:       #C9A36B;
  --gold-light: #E5D3AD;
  --gold-deep:  #8A6E3F;
  --gold-50:    #FAF6EF;
  --gold-100:   #F2E9D6;

  --marble:     #F7F5F2;
  --marble-deep:#EFEBE4;
  --hairline:   #E5E3DE;
  --white:      #FFFFFF;

  /* Typography */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-arabic:  "IBM Plex Sans Arabic", "Tajawal", "Noto Sans Arabic", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale (fluid) */
  --fs-display-xl: clamp(3rem, 7vw, 5.75rem);
  --fs-display-lg: clamp(2.25rem, 5vw, 4rem);
  --fs-display-md: clamp(1.75rem, 3.5vw, 2.75rem);
  --fs-display-sm: clamp(1.375rem, 2.5vw, 1.75rem);
  --fs-eyebrow:    0.75rem;

  /* Spacing & layout */
  --container-max: 1340px;
  --section-y:     clamp(4rem, 8vw, 8rem);
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(10,22,40,.04), 0 8px 32px -8px rgba(10,22,40,.08);
  --shadow-lg:  0 2px 4px rgba(10,22,40,.04), 0 24px 64px -16px rgba(10,22,40,.12);
  --shadow-gold:0 8px 32px -12px rgba(201,163,107,.4);

  /* Motion */
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out:    cubic-bezier(.65, .05, .36, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "kern";
  overflow-x: hidden;
}

/* RTL: use Arabic font everywhere */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

::-webkit-scrollbar       { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--marble); }
::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

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


/* -------------------- 2. LAYOUT PRIMITIVES -------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--marble { background: var(--marble); }
.section--ink {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--white);
}


/* -------------------- 3. SIGNATURE: ELEVATOR TRACK + FLOOR INDICATOR -------------------- */

/* A 1px gold hairline anchored to the start of section content,
   like an elevator-shaft rail. The dual <i> elements give us
   the dotted floor markers along the rail. */
.section-rail {
  position: absolute;
  inset-block: 0;
  inset-inline-start: clamp(1.25rem, 4vw, 2.5rem);
  width: 1px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(201,163,107,.5) 18%,
    rgba(201,163,107,.5) 82%,
    transparent 100%
  );
}
@media (max-width: 767px) { .section-rail { display: none; } }

/* The eyebrow: "G — Intro" / "01 — Our Commitments" — semantic floor markers */
.floor-indicator {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  margin-block-end: 1.25rem;
}
.floor-indicator::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
html[dir="rtl"] .floor-indicator {
  letter-spacing: 0;
}


/* -------------------- 4. TYPOGRAPHY -------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
}
html[dir="rtl"] .display {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  line-height: 1.2;
}

.display--xl { font-size: var(--fs-display-xl); line-height: .95; }
.display--lg { font-size: var(--fs-display-lg); line-height: 1; }
.display--md { font-size: var(--fs-display-md); }
.display--sm { font-size: var(--fs-display-sm); }

html[dir="rtl"] .display--xl { line-height: 1.15; }
html[dir="rtl"] .display--lg { line-height: 1.2; }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink-500);
  max-width: 60ch;
}

.section-header { max-width: 760px; }
.section-header.is-center { margin-inline: auto; text-align: center; }


/* -------------------- 5. BUTTONS -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .015em;
  transition: all .3s var(--ease-out-quint);
  border-radius: 0;
  white-space: nowrap;
}
.btn .icon { width: 1rem; height: 1rem; }
html[dir="rtl"] .btn .icon-arrow { transform: scaleX(-1); }

.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--gold); color: var(--ink); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); color: var(--white); }

.btn--ghost { border: 1px solid var(--hairline); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn--ink-outline { border: 1px solid rgba(255,255,255,.25); color: var(--white); }
.btn--ink-outline:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }


/* -------------------- 6. HEADER -------------------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 1rem;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(229,227,222,.6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.brand__mark {
  width: 40px;
  height: 40px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand__sub {
  font-size: .6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
html[dir="rtl"] .brand__name { font-family: var(--font-arabic); letter-spacing: 0; }
html[dir="rtl"] .brand__sub { letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: .75rem; }

.nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .nav { display: inline-flex; } }
.nav__link {
  position: relative;
  padding: .5rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color .25s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: .875rem;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.header__actions { display: flex; align-items: center; gap: .25rem; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 2px;
  font-size: .75rem;
}
.lang-switch a {
  padding: .375rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all .2s ease;
  font-family: var(--font-body);
}
html[dir="rtl"] .lang-switch a[lang="ar"],
html[dir="ltr"] .lang-switch a[lang="en"] {
  background: var(--ink);
  color: var(--white);
}

.tel {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  font-size: .75rem;
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.tel:hover { color: var(--ink); }
.tel svg { width: 14px; height: 14px; }
@media (min-width: 768px) { .tel { display: inline-flex; } }

.header__cta {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.125rem;
  background: var(--ink);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 500;
  transition: all .3s ease;
}
.header__cta svg { width: 14px; height: 14px; }
.header__cta:hover { background: var(--gold); color: var(--ink); }
@media (min-width: 768px) { .header__cta { display: inline-flex; } }

/* Mobile menu via :target/checkbox-free <details> */
.mobile-menu {
  display: block;
  position: relative;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

.mobile-menu summary {
  list-style: none;
  padding: .5rem;
  cursor: pointer;
  color: var(--ink);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 24px; height: 24px; }

.mobile-menu__panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + .75rem);
  width: min(85vw, 320px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mobile-menu__panel a {
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--ink);
}
.mobile-menu__panel a:last-child { border-bottom: 0; }
.mobile-menu__panel a:hover { color: var(--gold-deep); }


/* -------------------- 7. HERO -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--white);
  padding-block-start: 6.5rem;
  padding-block-end: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Vertical track lines — the elevator shaft rails */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,163,107,.35), transparent);
}
.hero::before { inset-inline-start: 8%; }
.hero::after  { inset-inline-end: 8%; }

/* Dotted floor markers */
.hero-floors {
  position: absolute;
  inset-block: 12%;
  inset-inline-end: 4%;
  width: 1px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 1;
  display: none;
}
@media (min-width: 1024px) { .hero-floors { display: flex; } }
.hero-floors span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(201,163,107,.45);
  letter-spacing: .15em;
  transform: translateX(-12px);
}
html[dir="rtl"] .hero-floors span { transform: translateX(12px); }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 2rem;
  font-weight: 500;
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
html[dir="rtl"] .hero__eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: .8125rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display-xl);
  line-height: .95;
  letter-spacing: -.025em;
  white-space: pre-line;
  animation: rise 1.1s var(--ease-out-quint) both;
}
html[dir="rtl"] .hero__headline {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  line-height: 1.15;
}

.hero__headline .gold {
  background: linear-gradient(135deg, #E5D3AD 0%, #C9A36B 50%, #8A6E3F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__lead {
  margin-block-start: 1.75rem;
  max-width: 36em;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  animation: rise 1.1s var(--ease-out-quint) .15s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block-start: 2.5rem;
  animation: rise 1.1s var(--ease-out-quint) .3s both;
}
.hero__cta .btn--primary { background: var(--gold); color: var(--ink); }
.hero__cta .btn--primary:hover { background: var(--gold-light); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-block-start: 3rem;
  padding: .5rem 1rem;
  border: 1px solid rgba(201,163,107,.35);
  border-radius: 999px;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  background: rgba(201,163,107,.05);
  width: fit-content;
  animation: rise 1.1s var(--ease-out-quint) .5s both;
}
.hero__badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2.2s ease-in-out infinite;
}

/* Animated elevator shaft SVG — the signature visual element */
.shaft-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-inline: auto;
  animation: rise 1.4s var(--ease-out-quint) .4s both;
}
.shaft-visual svg { width: 100%; height: 100%; }

.shaft-visual .cabin {
  animation: cabin-rise 8s var(--ease-in-out) infinite alternate;
}
.shaft-visual .counterweight {
  animation: counter-fall 8s var(--ease-in-out) infinite alternate;
}

@keyframes cabin-rise {
  0%   { transform: translateY(160px); }
  100% { transform: translateY(0); }
}
@keyframes counter-fall {
  0%   { transform: translateY(0); }
  100% { transform: translateY(160px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll indicator at bottom of hero */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-size: .625rem;
  letter-spacing: .25em;
  color: rgba(255,255,255,.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
}
html[dir="rtl"] .scroll-cue { transform: translateX(50%); letter-spacing: 0; text-transform: none; }
.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(.6); transform-origin: top; opacity: .7; }
  50%      { transform: scaleY(1); opacity: 1; }
}


/* -------------------- 8. INTRO -------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .intro__grid { grid-template-columns: 1fr 1.4fr; gap: 5rem; } }

.intro__body { font-size: 1.0625rem; line-height: 1.85; color: var(--ink-600); }
.intro__body::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 600;
  float: inline-start;
  line-height: .85;
  margin-block-start: .375rem;
  margin-inline-end: .625rem;
  color: var(--gold-deep);
}
html[dir="rtl"] .intro__body::first-letter {
  font-family: var(--font-arabic);
  font-size: 3.5rem;
}


/* -------------------- 9. PILLARS (vision/mission/goal) -------------------- */
.pillars-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  position: relative;
  padding: 2.25rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  transition: all .5s var(--ease-out-quint);
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease-out-quint);
  z-index: 0;
}
.pillar > * { position: relative; z-index: 1; }
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { opacity: 1; }
.pillar:hover .pillar__label,
.pillar:hover .pillar__body { color: rgba(255,255,255,.85); }
.pillar:hover .pillar__title { color: var(--white); }
.pillar:hover .pillar__icon { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.pillar__icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  margin-block-end: 1.75rem;
  transition: all .5s var(--ease-out-quint);
}
.pillar__icon svg { width: 24px; height: 24px; }

.pillar__label {
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-block-end: .5rem;
  font-weight: 500;
  transition: color .5s;
}
html[dir="rtl"] .pillar__label { letter-spacing: 0; text-transform: none; font-size: .8125rem; }

.pillar__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  margin-block-end: 1rem;
  transition: color .5s;
}
html[dir="rtl"] .pillar__title { font-family: var(--font-arabic); }

.pillar__body {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--ink-500);
  transition: color .5s;
}


/* -------------------- 10. VALUES -------------------- */
.values-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  transition: all .4s var(--ease-out-quint);
  position: relative;
}
.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.value-card__num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--gold-deep);
  margin-block-end: 1rem;
  font-variant-numeric: tabular-nums;
}
.value-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  margin-block-end: .75rem;
}
html[dir="rtl"] .value-card__title { font-family: var(--font-arabic); }
.value-card__body {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--ink-500);
}


/* -------------------- 11. SERVICES -------------------- */
.services-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  background: var(--white);
  transition: all .4s var(--ease-out-quint);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.service:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.service__icon {
  width: 44px; height: 44px;
  background: var(--marble);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  transition: all .4s;
}
.service__icon svg { width: 22px; height: 22px; }
.service:hover .service__icon { background: var(--ink); color: var(--gold); }

.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
}
html[dir="rtl"] .service__title { font-family: var(--font-arabic); }
.service__body { font-size: .875rem; line-height: 1.7; color: var(--ink-500); }
.service__tag {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep);
}


/* -------------------- 12. ENGINES (dark) -------------------- */
.engines-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .engines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .engines-grid { grid-template-columns: repeat(4, 1fr); } }

.engine {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(201,163,107,.2);
  background: rgba(255,255,255,.025);
  transition: all .4s var(--ease-out-quint);
}
.engine:hover { border-color: var(--gold); background: rgba(201,163,107,.06); transform: translateY(-2px); }

.engine__flag {
  font-size: 1.75rem;
  margin-block-end: 1rem;
  filter: grayscale(.2);
}
.engine__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
  margin-block-end: .25rem;
}
html[dir="rtl"] .engine__name { font-family: var(--font-arabic); }
.engine__country {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 1rem;
}
html[dir="rtl"] .engine__country { letter-spacing: 0; text-transform: none; font-size: .8125rem; }
.engine__types {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.engine__types li {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  padding-inline-start: 1rem;
  position: relative;
}
.engine__types li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .625rem;
  width: 8px;
  height: 1px;
  background: var(--gold);
}


/* -------------------- 13. CABINS — schematic grid -------------------- */
.cabins-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.cabin {
  background: var(--white);
  border: 1px solid var(--hairline);
  transition: all .4s var(--ease-out-quint);
  display: flex;
  flex-direction: column;
}
.cabin:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.cabin__visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #1A2A41 0%, #0A1628 100%);
  position: relative;
  overflow: hidden;
}
.cabin__visual svg { width: 100%; height: 100%; }
.cabin__code {
  position: absolute;
  top: .875rem;
  inset-inline-start: .875rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .15em;
  color: var(--gold);
  background: rgba(10,22,40,.6);
  padding: .25rem .5rem;
  backdrop-filter: blur(4px);
}
.cabin__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.cabin__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink);
  line-height: 1.4;
}
html[dir="rtl"] .cabin__title { font-family: var(--font-arabic); }
.cabin__text {
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--ink-500);
}


/* -------------------- 14. WHY CHOOSE US -------------------- */
.why-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-inline-start: 1px solid var(--hairline);
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item {
  padding: 2rem 1.75rem;
  border-inline-end: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background .3s;
  position: relative;
}
.why-item:hover { background: var(--marble); }
.why-item__num {
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--gold-deep);
  letter-spacing: .15em;
  margin-block-end: 1rem;
  font-variant-numeric: tabular-nums;
}
.why-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-block-end: .5rem;
}
html[dir="rtl"] .why-item__title { font-family: var(--font-arabic); }
.why-item__body { font-size: .875rem; line-height: 1.65; color: var(--ink-500); }


/* -------------------- 15. STATISTICS -------------------- */
.stats-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }

.stat {
  padding: 2.25rem 1.25rem;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  background: linear-gradient(135deg, #E5D3AD 0%, #C9A36B 50%, #8A6E3F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-block-start: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}


/* -------------------- 16. PARTNERS — marquee -------------------- */
.marquee {
  margin-block-start: 3.5rem;
  position: relative;
  overflow: hidden;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after  { inset-inline-end: 0;  background: linear-gradient(-90deg, var(--white), transparent); }
html[dir="rtl"] .marquee::before { background: linear-gradient(-90deg, var(--white), transparent); }
html[dir="rtl"] .marquee::after  { background: linear-gradient(90deg, var(--white), transparent); }

.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee__row + .marquee__row { margin-block-start: 1rem; }
.marquee__row.reverse .marquee__track { animation-direction: reverse; animation-duration: 55s; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

.partner-card {
  flex-shrink: 0;
  width: 260px;
  height: 96px;
  display: grid;
  place-items: center;
  text-align: center;
  padding-inline: 1.5rem;
  border: 1px solid var(--hairline);
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-600);
  transition: all .3s;
  border-radius: var(--radius);
}
.partner-card:hover { border-color: var(--gold); background: var(--marble); }


/* -------------------- 17. CTA BANNER -------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--white);
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  inset-inline-end: -10%;
  width: 80%;
  height: 200%;
  background: linear-gradient(135deg, transparent 45%, rgba(201,163,107,.18) 50%, transparent 55%);
  transform: rotate(15deg);
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}
.cta-banner__eyebrow {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 1.5rem;
  display: inline-block;
}
html[dir="rtl"] .cta-banner__eyebrow { letter-spacing: 0; text-transform: none; font-size: .875rem; }

.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display-lg);
  line-height: 1;
  margin-block-end: 1.5rem;
  letter-spacing: -.02em;
}
html[dir="rtl"] .cta-banner__title { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.2; }

.cta-banner__title .gold {
  background: linear-gradient(135deg, #E5D3AD, #C9A36B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-banner__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  margin-block-end: 2.5rem;
  line-height: 1.7;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* -------------------- 18. CONTACT -------------------- */
.contact-grid {
  margin-block-start: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--hairline);
}
.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.field label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
html[dir="rtl"] .field label { letter-spacing: 0; text-transform: none; font-size: .875rem; }

.field input,
.field select,
.field textarea {
  padding: .875rem 1rem;
  border: 1px solid var(--hairline);
  background: var(--white);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
html[dir="rtl"] .field select {
  background-position: 18px calc(50% - 3px), 13px calc(50% - 3px);
}

.field-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--marble);
  border-inline-start: 2px solid var(--gold);
}
.info-card svg { width: 22px; height: 22px; color: var(--gold-deep); flex-shrink: 0; margin-block-start: 2px; }
.info-card__label {
  font-size: .6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-block-end: .25rem;
}
html[dir="rtl"] .info-card__label { letter-spacing: 0; text-transform: none; font-size: .8125rem; }
.info-card__value {
  font-size: .9375rem;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
}
.info-card .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.map-placeholder {
  margin-block-start: .5rem;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(10,22,40,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(10,22,40,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--marble);
  border: 1px solid var(--hairline);
  position: relative;
  display: grid;
  place-items: center;
}
.map-placeholder__pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--gold-deep);
}
.map-placeholder__pin svg { width: 28px; height: 28px; }


/* -------------------- 19. FOOTER -------------------- */
.footer {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: rgba(255,255,255,.7);
  padding-block-start: 5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block-end: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__sub  { color: var(--gold); }
.footer__brand .brand__mark { background: rgba(255,255,255,.06); border: 1px solid rgba(201,163,107,.25); }
.footer__tagline {
  margin-block-start: 1.25rem;
  font-size: .9375rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__heading {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-block-end: 1.25rem;
}
html[dir="rtl"] .footer__heading { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: .9375rem; }

.footer__list { display: flex; flex-direction: column; gap: .625rem; }
.footer__list a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer__list a:hover { color: var(--gold); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-size: .875rem;
}
.footer__contact span { display: inline-flex; align-items: center; gap: .625rem; color: rgba(255,255,255,.7); }
.footer__contact svg { width: 14px; height: 14px; color: var(--gold); }
.footer__contact a:hover { color: var(--gold); }

.newsletter {
  margin-block-start: 1.5rem;
  display: flex;
  gap: 0;
  max-width: 320px;
}
.newsletter input {
  flex: 1;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-inline-end: 0;
  color: var(--white);
  font-size: .875rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter button {
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 500;
  transition: background .3s;
}
.newsletter button:hover { background: var(--gold-light); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { transition: color .2s; }
.footer__legal a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: .75rem; }
.footer__socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  transition: all .3s;
}
.footer__socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer__socials svg { width: 14px; height: 14px; }


/* -------------------- 20. FLOATING WHATSAPP -------------------- */
.whatsapp {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 54px; height: 54px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  z-index: 40;
  transition: transform .3s;
  animation: pulse-ring 2.5s ease-in-out infinite;
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 26px; height: 26px; }
@keyframes pulse-ring {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.4); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,.35), 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,0); }
}


/* -------------------- 21. SCROLL-DRIVEN REVEAL (progressive enhancement) -------------------- */
/* Browsers that support View Timelines reveal sections as they scroll in. */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}
