:root {
  --red: #a41512;
  --red-dark: #760d0b;
  --ink: #101112;
  --charcoal: #191a1c;
  --paper: #f5f1eb;
  --paper-soft: #fffcf6;
  --muted: #6f6a63;
  --line: rgba(16, 17, 18, .13);
  --dark-line: rgba(255, 255, 255, .14);
  --shadow: 0 26px 80px rgba(16, 17, 18, .18);
  --deep-shadow: 0 34px 100px rgba(16, 17, 18, .28);
  --x: 50%;
  --y: 18%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--x) var(--y), rgba(164, 21, 18, .12), transparent 24rem),
    linear-gradient(135deg, rgba(164, 21, 18, .045) 0 28%, transparent 28% 100%),
    var(--paper);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 17, 18, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 17, 18, .045) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

body.lang-en {
  direction: ltr;
  font-family: "Montserrat", Arial, sans-serif;
}

body:not(.lang-en) [data-en],
body.lang-en [data-ar] { display: none !important; }

::selection { color: var(--paper); background: var(--red); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(910px, calc(100% - 40px)); }

.scroll-progress {
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  z-index: 80;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 24px rgba(164, 21, 18, .5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 235, .82);
  backdrop-filter: blur(18px);
  transition: background .24s ease, box-shadow .24s ease;
}

.site-header.scrolled {
  background: rgba(255, 252, 246, .94);
  box-shadow: 0 16px 48px rgba(16, 17, 18, .1);
}

.navbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 132px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(16, 17, 18, .74);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  letter-spacing: .02em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 5px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta,
.lang-toggle,
.nav-toggle,
.btn {
  border-radius: 2px;
}

.nav-cta {
  padding: 0 15px;
  border: 1px solid var(--red);
  color: var(--paper-soft) !important;
  background: var(--red);
}

.nav-cta::after { display: none; }

.lang-toggle,
.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.lang-toggle { width: 44px; height: 38px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  font-size: 22px;
  line-height: 1;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  min-height: 560px;
  padding: 54px 0 34px;
}

.page-hero {
  padding: 86px 0 70px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(118deg, rgba(164, 21, 18, .08), transparent 48%),
    var(--paper-soft);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -18vw -14vw auto;
  width: min(74vw, 920px);
  aspect-ratio: 1.55;
  z-index: -1;
  opacity: .16;
  background: url("../images/falcons-logo-wide.jpeg") center / contain no-repeat;
  transform: rotate(-2deg);
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 58%;
  z-index: -2;
  background:
    linear-gradient(153deg, transparent 0 42%, rgba(164, 21, 18, .12) 42% 62%, transparent 62%),
    linear-gradient(90deg, rgba(255, 252, 246, .78), transparent);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 54px;
  align-items: center;
}

.hero-text-only {
  grid-template-columns: 1fr;
}

.hero-text-only .hero-copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero-grid > *,
.split > *,
.contact-grid > *,
.service-grid > *,
.mega-grid > *,
.capability-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--red);
}

h1 {
  max-width: 840px;
  margin: 10px auto 16px;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body:not(.lang-en) h1 { line-height: 1.06; text-transform: none; }

h2 {
  margin: 10px 0 16px;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin: 16px 0 8px;
  font-size: 23px;
  line-height: 1.22;
}

p {
  color: var(--muted);
  font-size: 15.5px;
}

.hero-copy p,
.page-hero p { max-width: 720px; }

.hero-copy p { margin-inline: auto; }

.red { color: var(--red); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  justify-content: center;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -65%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(164, 21, 18, .22);
}

.btn:hover::after { left: 115%; }

.btn-primary {
  background: var(--red);
  color: var(--paper-soft);
}

.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.flight-card {
  position: relative;
  min-height: 536px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: var(--deep-shadow);
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .22s ease;
}

.flight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(144deg, transparent 0 38%, rgba(164, 21, 18, .16) 38% 61%, transparent 61%),
    url("../images/falcons-logo-wide.jpeg") center 22% / 118% auto no-repeat;
  opacity: .82;
}

.flight-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.flight-card > * {
  position: relative;
  z-index: 1;
}

.flight-tag {
  display: inline-flex;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.flight-title {
  position: absolute;
  inset-inline: 24px;
  bottom: 72px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 72px);
  line-height: .92;
  font-weight: 900;
  text-transform: uppercase;
}

.flight-title span { color: var(--red); }

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  justify-content: center;
}

.service-strip > span {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .56);
  padding: 8px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.service-strip > span > span {
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  text-transform: inherit;
}

.stats,
.service-grid,
.mega-grid,
.timeline,
.capability-grid,
.cards-four {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(5, 1fr);
  margin: -10px auto 0;
  position: relative;
  z-index: 2;
}

.stats div,
.service-card,
.mega-card,
.step,
.mini-card,
.product-row,
.capability-card,
.contact-form,
.contact-side,
.quote-panel {
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, .78);
  box-shadow: 0 20px 60px rgba(16, 17, 18, .08);
}

.stats div {
  padding: 15px;
  min-height: 96px;
}

.stats strong,
.service-card span,
.mega-card small,
.capability-card small,
.step b {
  display: block;
  color: var(--red);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.stats span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 62px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

.service-grid,
.mega-grid,
.capability-grid { grid-template-columns: repeat(3, 1fr); }

.service-card,
.mega-card,
.step,
.mini-card,
.capability-card,
.contact-form,
.contact-side {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.service-card::before,
.mega-card::before,
.capability-card::before,
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(164, 21, 18, .16), transparent 38%);
  opacity: 0;
  transition: opacity .24s ease;
}

.service-card:hover,
.mega-card:hover,
.capability-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
  border-color: rgba(164, 21, 18, .52);
  box-shadow: var(--shadow);
  background: var(--paper-soft);
}

.service-card:hover::before,
.mega-card:hover::before,
.capability-card:hover::before,
.step:hover::before { opacity: 1; }

.service-card p,
.mega-card p,
.capability-card p,
.step p { margin-bottom: 0; }

.mega-card ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.mega-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 10px;
  background: var(--red);
}

.band {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper-soft);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background:
    linear-gradient(140deg, transparent 0 42%, var(--red) 42% 63%, transparent 63%),
    url("../images/falcons-logo-wide.jpeg") 110% 45% / 58% auto no-repeat;
}

.band .container { position: relative; z-index: 1; }
.band p, .band .feature-list span { color: rgba(255, 252, 246, .72); }
.band .eyebrow { color: #ffdedb; }
.band .eyebrow::before { background: #ffdedb; }

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  border-inline-start: 4px solid var(--red);
  padding: 18px 20px;
  background: rgba(255, 255, 255, .075);
  transition: transform .2s ease, background .2s ease;
}

.feature-list div:hover {
  transform: translateX(calc(var(--dir-shift, 1) * 6px));
  background: rgba(255, 255, 255, .11);
}

body:not(.lang-en) .feature-list div { --dir-shift: -1; }

.feature-list b {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.timeline { grid-template-columns: repeat(3, 1fr); }

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

.mini-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.product-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.product-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-top: 0;
  border-inline: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.product-row b {
  color: var(--red);
  font-size: 22px;
}

.product-row span { color: var(--muted); }

.brand-board {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-soft);
  overflow: hidden;
}

.brand-board img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.quote-panel {
  padding: 34px;
  color: var(--red);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 900;
}

.contact-grid { align-items: stretch; }

.contact-form {
  display: grid;
  gap: 18px;
  background: var(--paper-soft);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

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

.contact-side img {
  width: 230px;
  mix-blend-mode: multiply;
}

.contact-link {
  border: 1px solid var(--line);
  padding: 14px;
  color: var(--red);
  font-weight: 900;
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin: 6px auto 74px;
  padding: 42px;
  text-align: center;
  color: var(--paper-soft);
  background: var(--ink);
  border: 1px solid rgba(164, 21, 18, .5);
  box-shadow: var(--deep-shadow);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  background:
    linear-gradient(143deg, transparent 0 42%, var(--red) 42% 64%, transparent 64%),
    url("../images/falcons-logo-wide.jpeg") right center / 56% auto no-repeat;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 860px;
  margin-inline: auto;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--muted);
}

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

.footer strong {
  color: var(--ink);
  letter-spacing: .18em;
}

.footer p {
  margin-bottom: 0;
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}

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

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (max-width: 1500px) {
  .container { width: min(1040px, calc(100% - 44px)); }
  .navbar { min-height: 64px; }
  .brand img { width: 118px; height: 46px; }
  .nav-links { gap: 13px; font-size: 12px; }
  .nav-links a { min-height: 38px; }
  .nav-cta { padding-inline: 13px; }
  .lang-toggle { width: 40px; height: 34px; }
  .hero { min-height: 505px; padding: 44px 0 28px; }
  h1 { font-size: clamp(36px, 4.8vw, 66px); max-width: 760px; }
  .eyebrow { font-size: 12px; }
  p { font-size: 15px; }
  .hero-copy p { max-width: 660px; }
  .btn { min-height: 42px; padding-inline: 17px; }
  .service-strip > span { padding: 7px 9px; font-size: 11.5px; }
  .stats div { min-height: 88px; padding: 13px; }
  .stats strong,
  .service-card span,
  .mega-card small,
  .capability-card small,
  .step b { font-size: 22px; }
  .section { padding: 56px 0; }
  .service-card,
  .mega-card,
  .step,
  .mini-card,
  .capability-card,
  .contact-form,
  .contact-side { padding: 22px; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero { min-height: 470px; padding-block: 36px 24px; }
  h1 { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 12px; }
  .hero-copy p { margin-bottom: 10px; }
  .hero-actions { margin-top: 16px; }
  .service-strip { margin-top: 18px; }
}

@media (max-width: 1040px) {
  .navbar { direction: ltr; }
  .brand {
    position: absolute;
    left: 72px;
    top: 8px;
    margin: 0;
  }
  .nav-toggle { order: 1; }
  .nav-links { direction: rtl; }
  body.lang-en .nav-links { direction: ltr; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 28px 28px;
    background: rgba(255, 252, 246, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 64px rgba(16, 17, 18, .16);
  }

  .nav-links.open {
    display: flex;
    animation: menuDrop .22s ease both;
  }

  .nav-links a,
  .nav-cta,
  .lang-toggle {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .service-grid,
  .mega-grid,
  .capability-grid,
  .timeline { grid-template-columns: 1fr; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-four { grid-template-columns: repeat(2, 1fr); }
  .hero-copy { text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions,
  .service-strip { justify-content: center; }
  .eyebrow { max-width: 100%; }
  .hero { padding-top: 46px; }
  .flight-card { min-height: 440px; }
  .product-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .container,
  .narrow { width: min(100% - 24px, 1180px); }
  .navbar { min-height: 70px; }
  .brand img { width: 136px; height: 52px; }
  .nav-links { top: 70px; }
  h1 { font-size: 32px; line-height: 1.1; }
  h2 { font-size: 31px; }
  .hero,
  .page-hero,
  .section { padding-block: 58px; }
  .stats,
  .cards-four { grid-template-columns: 1fr; }
  .flight-card { min-height: 390px; padding: 18px; }
  .flight-title { inset-inline: 18px; bottom: 60px; font-size: 42px; }
  .btn { width: 100%; }
  .service-strip > span { flex: 1 1 42%; text-align: center; }
  .final-cta { padding: 32px 18px; }
}

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

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