:root {
  --ink: #0a0d0c;
  --forest: #07140f;
  --green: #00732f;
  --red: #d3212d;
  --paper: #f4f1e9;
  --white: #fff;
  --muted: #b6b9b5;
  --line: rgba(255, 255, 255, 0.18);
  --max: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.page-frame {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  border: 6px solid var(--white);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
}

.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
}

.brand-mark i:first-child { grid-row: 1 / 4; background: var(--red); }
.brand-mark i:nth-child(2) { background: #00843d; }
.brand-mark i:nth-child(3) { background: #f5f5f5; }
.brand-mark::after { content: ""; background: #111; }

.brand-copy { display: grid; letter-spacing: 0.1em; line-height: 1; }
.brand-copy strong { font-size: 0.91rem; }
.brand-copy small { margin-top: 0.35rem; font-size: 0.59rem; letter-spacing: 0.38em; }

.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(1.3rem, 3vw, 3rem);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a { position: relative; padding: 0.5rem 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--forest);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 42%;
  background: url("assets/images/falcon-uae-hd.jpg") center 44% / cover no-repeat;
  transform: scale(1.02);
  animation: heroReveal 1.2s cubic-bezier(.2,.8,.2,1) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06120e 0%, rgba(6,18,14,.96) 30%, rgba(6,18,14,.58) 58%, rgba(6,18,14,.12) 100%),
    linear-gradient(0deg, rgba(0,0,0,.58) 0%, transparent 38%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  width: 8px;
  background: var(--red);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100% - 7rem));
  margin: 5rem auto 0;
}

.eyebrow {
  margin: 0 0 2rem;
  color: rgba(255,255,255,.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(4rem, 8.8vw, 9rem);
  line-height: 0.79;
  letter-spacing: -0.065em;
}

.hero h1 span { display: block; }
.hero h1 span:last-child {
  margin-top: 0.25em;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.29em;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.hero-line {
  max-width: 520px;
  margin: 2.4rem 0 0;
  padding-left: 1.15rem;
  border-left: 3px solid var(--green);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  font-weight: 600;
}

.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.6rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
}
.button-primary { background: var(--white); color: var(--ink); }
.button-primary:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.text-link { display: inline-flex; gap: 0.8rem; font-size: 0.82rem; font-weight: 600; }
.text-link b { color: #41a66a; }

.hero-index {
  position: absolute;
  z-index: 3;
  right: 3.5rem;
  bottom: 3.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,.7);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.hero-index i { display: block; width: 4rem; height: 1px; background: rgba(255,255,255,.5); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 3.5rem;
  bottom: 2.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.6);
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}
.scroll-cue i { display: block; width: 3rem; height: 1px; background: currentColor; }

.section-pad { padding: 8rem max(3.5rem, calc((100vw - 1300px) / 2)); }

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #5e655f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-label span { width: 2rem; height: 2px; background: var(--red); }
.section-label p { margin: 0; }

.statement {
  display: grid;
  grid-template-columns: minmax(160px, .55fr) 2.45fr;
  gap: 4rem;
}

.statement-content h2,
.section-heading h2,
.contact h2,
.vision-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.statement-content h2 { max-width: 970px; font-size: clamp(2.5rem, 5.5vw, 5.5rem); line-height: 1.02; }

.statement-copy {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 5rem;
  align-items: end;
}
.statement-copy > p { margin: 0; max-width: 670px; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.6; }

.market-note { padding: 1.4rem 0 0; border-top: 1px solid #aeb2ad; display: grid; gap: .55rem; }
.market-note strong { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.market-note span { color: #5e655f; font-size: .86rem; }

.services { background: var(--forest); color: var(--white); }
.services .section-label { color: #8e9892; }

.section-heading {
  display: grid;
  grid-template-columns: .75fr 1.35fr .8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 5rem;
}
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: .98; }
.section-heading > p { margin: 0; color: #aeb7b1; line-height: 1.7; font-size: .92rem; }

.service-list { border-top: 1px solid var(--line); }
.service-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) 1.5fr 5rem;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: padding 300ms ease, background 300ms ease;
}
.service-item:hover { padding-left: 1.4rem; padding-right: 1.4rem; background: rgba(255,255,255,.035); }
.service-item h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.25; text-transform: uppercase; }
.service-item p { margin: 0; max-width: 760px; color: #aab4ae; font-size: .92rem; line-height: 1.75; }
.service-symbol {
  justify-self: end;
  align-self: center;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid #35463d;
  border-radius: 50%;
  color: #5d7567;
  font-family: Georgia, serif;
}

.vision-break { position: relative; min-height: 78svh; display: grid; place-items: center; overflow: hidden; color: var(--white); }
.vision-break img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vision-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,13,9,.14), rgba(4,13,9,.66)); }
.vision-copy { position: relative; z-index: 2; text-align: center; padding: 2rem; }
.vision-copy p { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.vision-copy h2 { max-width: 850px; font-size: clamp(3rem, 7vw, 7.5rem); line-height: .95; }

.gallery { background: #e9e5db; }
.gallery-heading { grid-template-columns: .75fr 1.3fr .8fr; }
.gallery-heading > p { color: #626963; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  gap: 1rem;
}
.gallery-card {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #142019;
  color: var(--white);
  cursor: zoom-in;
}
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 58%); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 700ms ease; }
.gallery-card:hover img { transform: scale(1.055); filter: saturate(1.12); }
.gallery-card > span { position: absolute; z-index: 2; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; display: flex; justify-content: space-between; align-items: end; text-align: left; }
.gallery-card b { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-card i { font-size: .65rem; font-style: normal; color: rgba(255,255,255,.6); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

.contact { position: relative; display: grid; grid-template-columns: .55fr 2.45fr; gap: 4rem; overflow: hidden; background: var(--white); }
.contact-accent { position: absolute; top: 0; left: 0; width: 9px; height: 100%; background: linear-gradient(var(--green) 0 33%, var(--white) 33% 66%, #111 66%); border-left: 3px solid var(--red); }
.contact-content .eyebrow { color: #66706a; margin-bottom: 1.6rem; }
.contact h2 { max-width: 980px; font-size: clamp(3.4rem, 7.5vw, 8rem); line-height: .9; }
.contact-link { max-width: 850px; margin-top: 4.5rem; padding: 1.4rem 0; border-bottom: 1px solid #979d99; display: flex; justify-content: space-between; align-items: center; font-size: clamp(1.1rem, 2.4vw, 2rem); }
.contact-link b { color: var(--green); }
.contact-note { margin: 1.4rem 0 0; color: #6c716d; font-size: .78rem; }

.site-footer {
  padding: 2.5rem max(3.5rem, calc((100vw - 1300px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: #050b08;
  color: var(--white);
}
.site-footer p, .site-footer > a { margin: 0; color: #8e9691; font-size: .7rem; }
.site-footer > a { justify-self: end; }
.footer-brand .brand-copy strong { font-size: .7rem; }
.footer-brand .brand-copy small { font-size: .48rem; }
.footer-brand .brand-mark { width: 1.9rem; height: 1.9rem; }

.lightbox {
  width: min(90vw, 1100px);
  height: min(88vh, 850px);
  padding: 0;
  border: 0;
  background: #07100c;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 2.7rem; height: 2.7rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.45); color: var(--white); font-size: 1.5rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

html[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
html[dir="rtl"] .site-nav,
html[dir="rtl"] .section-label,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .button,
html[dir="rtl"] .gallery-card b { letter-spacing: 0; }
html[dir="rtl"] .hero-line { padding-left: 0; padding-right: 1.15rem; border-left: 0; border-right: 3px solid var(--green); }
html[dir="rtl"] .hero h1 { letter-spacing: -.025em; }
html[dir="rtl"] .hero h1 span:last-child { letter-spacing: .22em; }
html[dir="rtl"] .gallery-card > span { text-align: right; }

@keyframes heroReveal { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1.02); } }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr auto; padding-inline: 2rem; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    padding: 8rem 2rem 3rem;
    background: #06120e;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 400;
    letter-spacing: -.02em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; z-index: 10; }
  .menu-toggle { position: relative; z-index: 20; justify-self: end; width: 2.8rem; height: 2.8rem; border: 0; background: transparent; display: grid; place-content: center; gap: 7px; cursor: pointer; }
  .menu-toggle span { width: 1.55rem; height: 1px; background: var(--white); transition: transform 250ms ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-content { width: calc(100% - 4rem); }
  .hero-image { left: 32%; }
  .statement, .contact { grid-template-columns: 1fr; }
  .section-heading, .gallery-heading { grid-template-columns: 1fr 1.4fr; }
  .section-heading > p { grid-column: 2; }
  .service-item { grid-template-columns: minmax(230px,.9fr) 1.35fr 3rem; gap: 1.2rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .page-frame { border-width: 3px; }
  .site-header { padding: 1.1rem 1.25rem; grid-template-columns: auto auto 1fr; gap: .6rem; }
  .brand-copy { display: none; }
  .brand-mark { width: 2.15rem; height: 2.15rem; }
  .menu-toggle { order: 3; }
  .hero { min-height: 800px; align-items: flex-end; }
  .hero-image { inset: 0; background-position: 55% 22%; }
  .hero-shade { background: linear-gradient(0deg, #06120e 0%, rgba(6,18,14,.92) 36%, rgba(6,18,14,.28) 72%, rgba(6,18,14,.18)); }
  .hero-content { width: calc(100% - 2.5rem); margin: 0 auto 7rem; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); line-height: .84; }
  .hero h1 span:last-child { font-size: .25em; letter-spacing: .26em; }
  .hero-line { margin-top: 1.5rem; font-size: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
  .scroll-cue { display: none; }
  .hero-index { right: 1.5rem; bottom: 2rem; }
  .section-pad { padding: 5.5rem 1.35rem; }
  .statement { gap: 2.5rem; }
  .statement-content h2 { font-size: 2.75rem; }
  .statement-copy { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.8rem; }
  .section-heading, .gallery-heading { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .section-heading > p { grid-column: auto; }
  .service-item { grid-template-columns: 1fr; gap: .8rem; padding: 2rem 0; }
  .service-item h3 { padding-right: 2.7rem; }
  .service-item p { grid-column: 1; }
  .service-symbol { position: absolute; right: 0; top: 1.6rem; width: 2.2rem; height: 2.2rem; }
  html[dir="rtl"] .service-item h3 { padding-right: 0; padding-left: 2.7rem; }
  html[dir="rtl"] .service-symbol { right: auto; left: 0; }
  .vision-break { min-height: 620px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: .6rem; }
  .gallery-wide { grid-column: span 2; }
  .gallery-card > span { left: 1rem; right: 1rem; bottom: .9rem; }
  .contact { gap: 2.7rem; }
  .contact h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .contact-link { margin-top: 3rem; font-size: 1rem; }
  .site-footer { padding: 2.5rem 1.35rem; grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

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

/* Light UAE editorial direction */
body { background: var(--white); color: #17201c; }

.page-frame { border: 4px solid #fff; }

.site-header {
  top: 1rem;
  width: calc(100% - 2rem);
  padding: .85rem 1.1rem;
  border: 1px solid rgba(11, 45, 29, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 40px rgba(18, 42, 30, .08);
  backdrop-filter: blur(18px);
  color: #15201b;
}

.brand-mark {
  width: 2.95rem;
  height: 1.9rem;
  grid-template-columns: .34fr 1fr;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.brand-mark i:first-child { background: #e21d2f; }
.brand-mark i:nth-child(2) { background: #00843d; }
.brand-mark i:nth-child(3) { background: #fff; }
.brand-mark::after { background: #111; }

.site-nav { color: #34413a; }

.language-control { position: relative; justify-self: end; z-index: 30; }

.language-trigger {
  min-width: 6.1rem;
  height: 2.75rem;
  padding: 0 .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid rgba(0, 115, 47, .16);
  border-radius: 999px;
  background: #f4f8f5;
  color: #173b29;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.language-trigger:hover { border-color: rgba(0, 115, 47, .42); background: #edf6f0; transform: translateY(-1px); }
.language-trigger svg { width: 1.18rem; height: 1.18rem; fill: none; stroke: var(--green); stroke-width: 1.7; }
.language-trigger span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.language-trigger i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 220ms ease; }
.language-control.open .language-trigger i { transform: rotate(225deg) translate(-1px, -1px); }

.language-menu {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  width: 12.5rem;
  padding: .45rem;
  display: grid;
  gap: .2rem;
  border: 1px solid rgba(9, 44, 26, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 50px rgba(14, 38, 25, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.language-control.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.language-menu button {
  width: 100%;
  min-height: 2.65rem;
  padding: 0 .8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #46534c;
  cursor: pointer;
}

.language-menu button:hover { background: #f2f7f3; }
.language-menu button.active { background: #e9f4ed; color: #076b31; }
.language-menu button span { font-size: .82rem; font-weight: 650; }
.language-menu button b { font-size: .62rem; letter-spacing: .08em; }

.hero {
  min-height: min(930px, 100svh);
  background: #fff;
  color: #17201c;
}

.hero::before { width: 5px; background: linear-gradient(var(--red) 0 33%, var(--green) 33% 66%, #111 66%); }

.hero-image {
  inset: 7.1rem 1.8rem 1.8rem 52%;
  border-radius: 32px;
  background-position: center 42%;
  box-shadow: 0 24px 70px rgba(21, 42, 31, .15);
  overflow: hidden;
}

.hero-shade {
  inset: 7.1rem 1.8rem 1.8rem 52%;
  border-radius: 32px;
  background: linear-gradient(90deg, rgba(10, 34, 22, .12), transparent 40%), linear-gradient(0deg, rgba(0,0,0,.25), transparent 45%);
}

.hero-content { width: min(1320px, calc(100% - 7rem)); margin-top: 6rem; }
.hero-content > * { max-width: 47%; }
.hero .eyebrow { color: #6a776f; }
.hero h1 { color: #111915; font-size: clamp(4rem, 8vw, 8.5rem); }
.hero h1 span:last-child { color: #087238; }
.hero-line { color: #38463f; border-left-color: var(--red); font-weight: 500; }

.button { border-radius: 999px; }
.button-primary { background: #0a6f35; color: #fff; box-shadow: 0 12px 24px rgba(0, 115, 47, .18); }
.button-primary:hover { background: #075a2b; }

.text-link {
  min-height: 3.25rem;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce5df;
  border-radius: 999px;
  background: #fff;
  color: #2b3731;
  transition: border-color 220ms ease, transform 220ms ease;
}
.text-link:hover { border-color: #8fb59e; transform: translateY(-2px); }
.text-link b { color: var(--red); }

.hero-index { right: 4.2rem; bottom: 3.5rem; color: rgba(255,255,255,.88); }
.hero-index i { background: rgba(255,255,255,.75); }
.scroll-cue { color: #718078; }

.flag-feature {
  position: absolute;
  z-index: 5;
  right: 3.8rem;
  top: 9.3rem;
  padding: .65rem .8rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 15px 35px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
}

.flag-feature p { margin: 0; display: grid; color: #1c2821; line-height: 1.15; }
.flag-feature strong { font-size: .7rem; letter-spacing: .16em; }
.flag-feature small { margin-top: .2rem; color: #68746d; font-size: .55rem; }

.uae-flag {
  position: relative;
  width: 4.6rem;
  height: 2.9rem;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: .32fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0,0,0,.18);
  transform-origin: left center;
  animation: flagWave 4.8s ease-in-out infinite;
}

.uae-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 10%, rgba(255,255,255,.32) 45%, transparent 72%);
  transform: translateX(-120%);
  animation: flagSheen 4.8s ease-in-out infinite;
}
.flag-red { grid-row: 1 / 4; background: #e21d2f; }
.flag-green { background: #00843d; }
.flag-white { background: #fff; }
.flag-black { background: #111; }

.statement { background: #fff; }
.statement-content h2 { color: #1b251f; }
.statement-copy > p { color: #56625b; font-weight: 400; }

.services { background: #f3f7f4; color: #17201c; }
.services .section-label { color: #66736c; }
.services .section-heading > p { color: #647169; }
.service-list { border: 0; display: grid; gap: .8rem; }
.service-item {
  padding: 2rem 2.1rem;
  border: 1px solid #e1e9e3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(22, 48, 33, .035);
}
.service-item:hover { padding-left: 2.1rem; padding-right: 2.1rem; border-color: #afd0ba; background: #fbfefc; transform: translateY(-2px); }
.service-item h3 { color: #1b2a22; letter-spacing: -.015em; }
.service-item p { color: #657169; font-weight: 400; }
.service-symbol { border-color: #cbded1; color: #27804d; background: #f2f8f4; }

.vision-break { min-height: 72svh; margin: 1.5rem; border-radius: 34px; }

.gallery { background: #fff; }
.gallery-heading > p { color: #667169; }
.gallery-card { border-radius: 22px; box-shadow: 0 12px 28px rgba(21, 42, 31, .1); }

.contact {
  margin: 0 1.5rem 1.5rem;
  border-radius: 36px;
  background: #eef6f1;
}
.contact-accent { width: 7px; border-left: 0; border-radius: 0 8px 8px 0; }
.contact-link { border-color: #a9bfb0; }

.site-footer { background: #fff; color: #1c2821; border-top: 1px solid #e5ebe7; }
.site-footer p, .site-footer > a { color: #667169; }

.lightbox { border-radius: 28px; }
.lightbox-close { border-radius: 50%; }

@keyframes flagWave {
  0%, 100% { transform: perspective(260px) rotateY(-7deg) rotateZ(-.5deg) skewY(0deg); }
  50% { transform: perspective(260px) rotateY(8deg) rotateZ(.7deg) skewY(-1.2deg); }
}

@keyframes flagSheen {
  0%, 20% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

html[dir="rtl"] .hero-line { border-right-color: var(--red); }
html[dir="rtl"] .language-menu { right: auto; left: 0; transform-origin: top left; }
html[dir="rtl"] .hero-content > * { margin-left: 0; margin-right: auto; text-align: right; }
html[dir="rtl"] .hero-actions { justify-content: flex-start; }

@media (max-width: 1050px) {
  .site-header { padding-inline: 1rem; }
  .site-nav { color: #fff; }
  .menu-toggle span { background: #173026; }
  .menu-open .menu-toggle span { background: #fff; }
  .language-control { position: relative; z-index: 20; }
  .hero-image, .hero-shade { left: 48%; }
  .hero-content > * { max-width: 48%; }
  .service-item { grid-template-columns: minmax(230px, .9fr) 1.35fr 3rem; }
}

@media (max-width: 760px) {
  .page-frame { border-width: 3px; }
  .site-header { top: .65rem; width: calc(100% - 1rem); padding: .7rem .75rem; border-radius: 18px; }
  .brand-mark { width: 2.55rem; height: 1.68rem; }
  .language-trigger { min-width: 3.2rem; width: 3.2rem; padding: 0; }
  .language-trigger span, .language-trigger i { display: none; }
  .language-menu { right: -3.3rem; width: 11.5rem; }
  html[dir="rtl"] .language-menu { right: auto; left: -3.3rem; }
  .hero { min-height: 920px; align-items: flex-end; }
  .hero-image { inset: 6.6rem 1rem auto; height: 360px; border-radius: 26px; background-position: center 36%; }
  .hero-shade { inset: 6.6rem 1rem auto; height: 360px; border-radius: 26px; background: linear-gradient(0deg, rgba(0,0,0,.2), transparent 55%); }
  .hero-content { width: calc(100% - 2.5rem); margin: 0 auto 3.6rem; }
  .hero-content > * { max-width: 100%; }
  .hero .eyebrow { margin-bottom: 1.1rem; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.3rem); }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .8rem; }
  .button, .text-link { min-height: 3rem; padding-inline: 1rem; }
  .flag-feature { top: 21.8rem; right: 1.6rem; padding: .5rem; border-radius: 13px; }
  .flag-feature p { display: none; }
  .uae-flag { width: 3.8rem; height: 2.35rem; border-radius: 7px; }
  .hero-index { right: 1.7rem; bottom: 1.8rem; color: #6c7a72; }
  .hero-index i { background: #93a098; }
  .section-pad { padding: 5.5rem 1.25rem; }
  .service-list { gap: .7rem; }
  .service-item, .service-item:hover { padding: 1.55rem 1.25rem; border-radius: 18px; }
  .service-item { grid-template-columns: 1fr; }
  .vision-break { min-height: 580px; margin: .75rem; border-radius: 26px; }
  .gallery-card { border-radius: 16px; }
  .contact { margin: 0 .75rem .75rem; border-radius: 26px; }
  .site-footer { background: #fff; }
}

/* Header controls, contact channels, and dark mode */
.header-tools {
  position: relative;
  z-index: 30;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .48rem;
}

.language-control { justify-self: auto; }

.language-trigger,
.theme-toggle {
  width: 2.9rem;
  min-width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(0, 115, 47, .17);
  border-radius: 50%;
  background: linear-gradient(145deg, #f8fbf9, #ebf4ee);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(15, 61, 36, .08);
}

.language-trigger span,
.language-trigger i { display: none; }
.language-trigger svg { width: 1.28rem; height: 1.28rem; }

.theme-toggle {
  display: grid;
  place-items: center;
  color: #0b6f36;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.theme-toggle:hover { transform: translateY(-2px) rotate(4deg); border-color: rgba(0,115,47,.4); }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .moon-icon { display: none; }

.language-menu { right: 0; top: calc(100% + .7rem); }

.brand-mark {
  width: 3.12rem;
  height: 2rem;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(12, 54, 31, .15), inset 0 0 0 1px rgba(255,255,255,.35);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease;
}
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-1.5deg); box-shadow: 0 10px 24px rgba(12,54,31,.2); }

.contact-links { max-width: 880px; margin-top: 4rem; display: grid; gap: .7rem; }
.contact-links .contact-link { max-width: none; margin-top: 0; padding: 1.15rem 1.3rem; border: 1px solid #bad0c1; border-radius: 18px; background: rgba(255,255,255,.6); }
.contact-links .contact-link:hover { border-color: #16804a; background: #fff; }
.contact-link b { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background: #08100c; color: #eef5f0; }
html[data-theme="dark"] .page-frame { border-color: #08100c; }
html[data-theme="dark"] .site-header {
  border-color: rgba(255,255,255,.09);
  background: rgba(10, 20, 15, .86);
  box-shadow: 0 16px 45px rgba(0,0,0,.28);
  color: #f5faf6;
}
html[data-theme="dark"] .site-nav { color: #cad5ce; }
html[data-theme="dark"] .brand-copy { color: #f5faf6; }
html[data-theme="dark"] .language-trigger,
html[data-theme="dark"] .theme-toggle { border-color: rgba(105,190,139,.2); background: linear-gradient(145deg, #15241b, #0d1812); color: #72d399; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 22px rgba(0,0,0,.26); }
html[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
html[data-theme="dark"] .theme-toggle .moon-icon { display: block; }
html[data-theme="dark"] .language-menu { border-color: rgba(255,255,255,.09); background: rgba(13,25,18,.98); box-shadow: 0 20px 50px rgba(0,0,0,.38); }
html[data-theme="dark"] .language-menu button { color: #b9c7be; }
html[data-theme="dark"] .language-menu button:hover { background: #17271d; }
html[data-theme="dark"] .language-menu button.active { background: #173823; color: #85e1a9; }

html[data-theme="dark"] .hero { background: #08100c; color: #eef5f0; }
html[data-theme="dark"] .hero h1 { color: #f5faf6; }
html[data-theme="dark"] .hero h1 span:last-child { color: #71ce94; }
html[data-theme="dark"] .hero .eyebrow { color: #92a69a; }
html[data-theme="dark"] .hero-line { color: #c5d0c9; }
html[data-theme="dark"] .text-link { border-color: #294034; background: #0e1913; color: #dce7e0; }
html[data-theme="dark"] .text-link:hover { border-color: #4b8563; background: #14231a; }
html[data-theme="dark"] .scroll-cue { color: #73877b; }
html[data-theme="dark"] .flag-feature { border-color: rgba(255,255,255,.12); background: rgba(8,16,12,.78); }
html[data-theme="dark"] .flag-feature p { color: #edf5f0; }
html[data-theme="dark"] .flag-feature small { color: #9eaea4; }

html[data-theme="dark"] .statement { background: #0b130f; }
html[data-theme="dark"] .statement-content h2,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .contact h2 { color: #edf5f0; }
html[data-theme="dark"] .statement-copy > p { color: #a9b7ae; }
html[data-theme="dark"] .market-note { border-color: #324239; }
html[data-theme="dark"] .market-note span,
html[data-theme="dark"] .section-label { color: #8fa096; }

html[data-theme="dark"] .services { background: #0d1711; color: #edf5f0; }
html[data-theme="dark"] .services .section-heading > p { color: #96a79d; }
html[data-theme="dark"] .service-item { border-color: #24352b; background: #121f17; box-shadow: 0 10px 30px rgba(0,0,0,.13); }
html[data-theme="dark"] .service-item:hover { border-color: #3d7654; background: #16271c; }
html[data-theme="dark"] .service-item h3 { color: #f2f7f4; }
html[data-theme="dark"] .service-item p { color: #a4b2a9; }
html[data-theme="dark"] .service-symbol { border-color: #315441; background: #14271b; color: #7bd19b; }

html[data-theme="dark"] .gallery { background: #0a120e; }
html[data-theme="dark"] .gallery-heading > p { color: #93a299; }
html[data-theme="dark"] .contact { background: #102019; }
html[data-theme="dark"] .contact-content .eyebrow,
html[data-theme="dark"] .contact-note { color: #94a69b; }
html[data-theme="dark"] .contact-links .contact-link { border-color: #2d4a3a; background: rgba(7,14,10,.35); color: #e7f0ea; }
html[data-theme="dark"] .contact-links .contact-link:hover { border-color: #58a775; background: #14261b; }
html[data-theme="dark"] .site-footer { border-color: #1f3026; background: #08100c; color: #eef5f0; }
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footer > a { color: #8fa096; }

@media (max-width: 1050px) {
  .header-tools { position: relative; z-index: 20; }
  html[data-theme="dark"] .site-nav { color: #fff; }
  html[data-theme="dark"] .menu-toggle span { background: #eef5f0; }
}

@media (max-width: 760px) {
  .header-tools { justify-self: center; gap: .35rem; }
  .language-trigger,
  .theme-toggle { width: 2.65rem; min-width: 2.65rem; height: 2.65rem; }
  .language-menu { right: -3.1rem; }
  html[dir="rtl"] .language-menu { right: auto; left: -3.1rem; }
  .contact-links { margin-top: 2.7rem; }
  .contact-links .contact-link { padding: 1rem; border-radius: 15px; font-size: .94rem; }
  html[data-theme="dark"] .site-footer { background: #08100c; }
}

/* Sliding light / dark switch */
.theme-toggle {
  position: relative;
  width: 4.75rem;
  min-width: 4.75rem;
  height: 2.9rem;
  padding: 0 .58rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  overflow: hidden;
}

.theme-toggle:hover { transform: translateY(-2px); }

.theme-toggle::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: .32rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(17, 47, 30, .2);
  transform: translateY(-50%);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), background 250ms ease;
}

.theme-toggle svg,
.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 1rem;
  height: 1rem;
}
.theme-toggle .sun-icon { stroke: #d69b16; }
.theme-toggle .moon-icon { stroke: #4b6658; }

html[data-theme="dark"] .theme-toggle::after {
  background: #1d3a2a;
  transform: translate(2.1rem, -50%);
}
html[data-theme="dark"] .theme-toggle .sun-icon,
html[data-theme="dark"] .theme-toggle .moon-icon { display: block; }
html[data-theme="dark"] .theme-toggle .sun-icon { stroke: #84968b; }
html[data-theme="dark"] .theme-toggle .moon-icon { stroke: #8ce2ad; }

@media (max-width: 760px) {
  .theme-toggle { width: 4.55rem; min-width: 4.55rem; height: 2.65rem; padding-inline: .52rem; }
  .theme-toggle::after { width: 1.85rem; height: 1.85rem; left: .3rem; }
  html[data-theme="dark"] .theme-toggle::after { transform: translate(2.05rem, -50%); }
}
