/* ==========================================================================
   Nilo Hospitality Group — main stylesheet
   ========================================================================== */

:root {
  /* Brand */
  --navy: #044682;
  --navy-deep: #03345f;
  --gold: #c19f7a;
  --gold-soft: #d6bc9c;
  --gold-ink: #8a6a44;   /* gold for small text on light backgrounds */

  /* Neutrals */
  --ink: #0d1520;
  --ink-2: #0a1119;
  --text: #1b2029;
  --muted: #5d6571;
  --paper: #ffffff;
  --mist: #f4f2ee;
  --line: #e4e0d9;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --track: 0.1em;

  /* Layout */
  --gutter: clamp(16px, 6vw, 88px);
  --container: 1282px;
  --header-h: 68px;
  --brand-w: 176px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[dir="rtl"] {
  --serif: "Noto Naskh Arabic", "Newsreader", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Manrope", Arial, sans-serif;
  --track: 0;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }

h2, h3, blockquote p { text-wrap: balance; }
p { text-wrap: pretty; }

ul, ol { padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 1.6);
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow--gold { color: var(--gold); }

.display-xl,
.display-1,
.display-2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: inherit;
}
.display-xl { font-size: clamp(44px, 5.6vw, 78px); line-height: 1.02; }
.display-1 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.08; }
.display-2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; }

[dir="rtl"] .display-xl,
[dir="rtl"] .display-1,
[dir="rtl"] .display-2 {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.rule {
  display: block;
  width: 34px;
  height: 1.5px;
  background: var(--gold);
}
.rule--gold { width: 52px; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 0.6);
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
[dir="rtl"] .btn { font-size: 13.5px; font-weight: 600; }

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

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 1.2);
  text-transform: uppercase;
  color: var(--navy);
}
.text-link::after {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.text-link:hover::after { width: 26px; }

.underline-link {
  display: inline-block;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1.5px solid var(--gold);
  background: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 1.1);
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.underline-link:hover { color: var(--navy); border-color: var(--navy); }
.underline-link--light { color: #fff; }
.underline-link--light:hover { color: var(--gold); border-color: var(--gold); }

[dir="rtl"] .text-link,
[dir="rtl"] .underline-link { font-size: 12.5px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::before {
  /* soft shade so white nav reads over any hero photo */
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(5, 12, 22, 0.55), rgba(5, 12, 22, 0));
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(13, 21, 32, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.site-header.is-scrolled::before,
.site-header.menu-open::before { opacity: 0; }

.brand {
  flex: 0 0 var(--brand-w);
  display: grid;
  place-items: center;
  background: #fff;
}
.brand img {
  width: 92px;
  height: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 32px);
}
.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active { color: #fff; }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
[dir="rtl"] .main-nav a { font-size: 14.5px; }

.header-tools {
  display: flex;
  align-items: stretch;
}
.offices-link {
  display: flex;
  align-items: center;
  padding-inline: 0 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: calc(var(--track) * 0.6);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.offices-link:hover { color: #fff; }

.lang-toggle {
  display: flex;
  align-items: center;
  margin-block: 23px;
  padding: 0 16px;
  border: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.3);
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.lang-toggle span { font-family: "IBM Plex Sans Arabic", var(--sans); }
[dir="rtl"] .lang-toggle span { font-family: "Manrope", sans-serif; letter-spacing: 0.06em; }
.lang-toggle:hover { color: var(--gold); }

.header-cta {
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 2vw, 30px);
  border: 0;
  background: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 0.6);
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color .25s var(--ease);
}
.header-cta:hover { background: var(--gold-soft); }
[dir="rtl"] .header-cta { font-size: 13.5px; }

.menu-toggle {
  display: none;
  position: relative;
  width: var(--header-h);
  border: 0;
  background: none;
}
.menu-toggle span {
  position: absolute;
  inset-inline-start: 50%;
  width: 22px;
  height: 1.5px;
  margin-inline-start: -11px;
  background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: calc(50% - 4px); }
.menu-toggle span:last-child { top: calc(50% + 4px); }
.menu-toggle[aria-expanded="true"] span:first-child { top: 50%; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 50%; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  inset: var(--header-h) 0 auto 0;
  height: calc(100svh - var(--header-h));
  padding: 32px var(--gutter) 40px;
  overflow-y: auto;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
}
.mobile-menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.lang-toggle--block {
  margin: 0;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 78vh, 820px);
  padding: calc(var(--header-h) + 48px) 0 110px;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  animation: hero-zoom 18s var(--ease) both;
}
[dir="rtl"] .hero-media { transform: scaleX(-1); animation-name: hero-zoom-rtl; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 20, 40, 0.78) 0%, rgba(4, 20, 40, 0.45) 42%, rgba(4, 20, 40, 0) 72%),
    linear-gradient(0deg, rgba(4, 20, 40, 0.45) 0%, rgba(4, 20, 40, 0) 35%);
}
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(-90deg, rgba(4, 20, 40, 0.78) 0%, rgba(4, 20, 40, 0.45) 42%, rgba(4, 20, 40, 0) 72%),
    linear-gradient(0deg, rgba(4, 20, 40, 0.45) 0%, rgba(4, 20, 40, 0) 35%);
}

@media (min-width: 721px) {
  /* widen the photo so the sail sits clear of the headline */
  .hero-media { width: 138%; }
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
@keyframes hero-zoom-rtl {
  from { transform: scaleX(-1) scale(1.08); }
  to   { transform: scaleX(-1) scale(1); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6.1vw, 88px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
[dir="rtl"] .hero-title {
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero .rule { margin: 34px 0 24px; }

.hero-lead {
  max-width: 470px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: ping 2.6s var(--ease) infinite;
}
.scroll-cue:hover { background: #fff; color: var(--ink); }
[dir="rtl"] .scroll-cue { font-size: 9px; letter-spacing: 0; }

@keyframes ping {
  0%   { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services { padding: 22px 0 32px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-media {
  position: relative;
  aspect-ratio: 2.55 / 1;
  overflow: hidden;
  background: var(--mist);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  min-width: 40px;
  padding: 4px 10px 5px;
  background: var(--navy);
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
}
.service-card .rule { margin: 16px 0 18px; }
.service-card h3 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.service-card p {
  margin: 8px 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.service-card .text-link { margin-top: auto; }
[dir="rtl"] .service-card h3 { font-size: 15px; }
[dir="rtl"] .service-card p { font-size: 14px; }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { background: var(--mist); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px 12px;
  text-align: center;
}
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-value {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
  font-variant-numeric: lining-nums tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.stat-label {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 0.8);
  text-transform: uppercase;
}
.stat-note {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}
[dir="rtl"] .stat-label { font-size: 13px; }
[dir="rtl"] .stat-note { font-size: 12.5px; }

/* ==========================================================================
   Promise
   ========================================================================== */

.promise {
  padding-block: clamp(64px, 8vw, 92px);
  background: var(--navy);
  color: #fff;
}
.promise-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 40px;
}
.promise-name {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 300;
  line-height: 1.15;
}
.promise-quote {
  position: relative;
  padding-inline-start: 56px;
}
.quote-mark {
  position: absolute;
  inset-inline-start: 0;
  top: -6px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
}
[dir="rtl"] .quote-mark { transform: scaleX(-1); }
.promise-quote p {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.22;
}
[dir="rtl"] .promise-quote p { font-weight: 400; line-height: 1.6; }
[dir="rtl"] .promise-name { font-weight: 400; line-height: 1.5; }

/* ==========================================================================
   About
   ========================================================================== */

.about { padding-block: clamp(72px, 9vw, 120px); }

.about-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.about-copy .display-2 { margin: 10px 0 28px; max-width: 620px; }
.about-copy > p {
  max-width: 600px;
  font-size: 15px;
  color: var(--muted);
}
.about-copy > p + p { margin-top: 16px; }

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  margin-top: 44px;
}
.values li {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}
.value-num {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  color: var(--gold-ink);
}
.values h3 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}
.values p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-media figcaption {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.portfolio { padding-block: clamp(56px, 7vw, 80px) clamp(64px, 8vw, 96px); background: var(--paper); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.section-head .display-1 { margin-top: 6px; }
.section-aside {
  max-width: 400px;
  padding-bottom: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.property {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 44px;
  padding-inline: 0 clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.property:nth-child(even) {
  padding-inline: clamp(24px, 6vw, 88px) 0;
  border-inline-start: 1px solid var(--line);
}

.property-num {
  position: absolute;
  top: 34px;
  inset-inline-end: clamp(24px, 4vw, 40px);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 300;
  line-height: 1;
  color: #ddd8d0;
}
.property h3 {
  max-width: 78%;
  margin: 14px 0 16px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
[dir="rtl"] .property h3 { font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.property-meta {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: calc(var(--track) * 1.1);
  text-transform: uppercase;
  color: var(--navy);
}
.property p {
  max-width: 440px;
  margin: 18px 0 28px;
  font-size: 14px;
  color: var(--muted);
}
[dir="rtl"] .property-meta { font-size: 12.5px; }

/* ==========================================================================
   Destinations
   ========================================================================== */

.destinations {
  padding-block: clamp(64px, 8vw, 80px);
  background: var(--ink);
  color: #fff;
}
.destinations-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: start;
  gap: clamp(40px, 6vw, 110px);
}
.destinations-copy .display-1 { margin: 6px 0 28px; }
.destinations-copy p {
  max-width: 400px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-inline-start: 1px solid var(--line-dark);
}
.city-grid li {
  display: flex;
  flex-direction: column;
  min-height: 92px;
  padding: 18px 22px 20px;
  border-bottom: 1px solid var(--line-dark);
  border-inline-end: 1px solid var(--line-dark);
  transition: background-color .3s var(--ease);
}
.city-grid li:hover { background: rgba(255, 255, 255, 0.04); }
.city-num {
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--gold);
}
.city-name {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}
.city-tag {
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: rgba(214, 188, 156, 0.85);
}
[dir="rtl"] .city-name { font-size: 15px; }
[dir="rtl"] .city-tag { font-size: 11.5px; }

/* ==========================================================================
   Academy
   ========================================================================== */

.academy {
  padding-block: clamp(56px, 7vw, 72px);
  background: var(--mist);
}
.academy-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.academy-media img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}
.academy-copy .display-1 { margin: 6px 0 28px; }
.academy-copy p {
  max-width: 440px;
  margin-bottom: 34px;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   Insights
   ========================================================================== */

.insights { padding-block: clamp(64px, 8vw, 80px); }

.insights-title { max-width: 640px; margin: 6px 0 40px; }

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

.insight {
  display: grid;
  grid-template-columns: 2fr 4.5fr 3.5fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.insight .eyebrow { padding-top: 6px; font-size: 9.5px; }
.insight h3 {
  max-width: 470px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.25;
  transition: color .25s var(--ease);
}
.insight p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.insight:hover h3 { color: var(--navy); }
[dir="rtl"] .insight h3 { font-weight: 400; line-height: 1.6; }
[dir="rtl"] .insight .eyebrow { font-size: 12px; }
[dir="rtl"] .insight p { font-size: 13.5px; }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 9vw, 96px);
  background: var(--ink);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 17, 25, 0.82);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta .display-xl { margin: 14px 0 24px; }
.cta p {
  max-width: 520px;
  margin-bottom: 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 56px 48px;
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand img { width: 168px; height: auto; }

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
}
.footer-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: calc(var(--track) * 1.4);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer-col strong { font-size: 13px; font-weight: 700; }
.footer-col a { color: rgba(255, 255, 255, 0.82); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-copy { color: rgba(255, 255, 255, 0.6); }
.footer-col .underline-link { margin-bottom: 4px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
[dir="rtl"] .footer-col { font-size: 13.5px; }
[dir="rtl"] .footer-label { font-size: 11.5px; }

/* ==========================================================================
   Proposal dialog
   ========================================================================== */

.proposal {
  width: min(100% - 32px, 760px);
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--text);
  overflow-y: auto;
}
.proposal::backdrop {
  background: rgba(10, 17, 25, 0.72);
  backdrop-filter: blur(3px);
}
.proposal[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.proposal-form {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
}
.proposal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
}
.proposal-close:hover { color: var(--ink); }
.proposal .display-2 { margin: 8px 0 12px; padding-inline-end: 32px; }
.proposal-lead { margin-bottom: 28px; font-size: 14px; color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-bottom: 28px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-grid label > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
}
[dir="rtl"] .form-grid label > span { font-size: 12.5px; }
.form-grid .span-2 { grid-column: span 2; }

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #cfcac1;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s var(--ease);
}
.form-grid textarea { resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-bottom-color: var(--navy);
}
.form-grid [aria-invalid="true"] { border-bottom-color: #b3261e; }

.form-error { margin-bottom: 16px; font-size: 13px; color: #b3261e; }
.form-success { margin-top: 18px; font-size: 13.5px; color: var(--navy); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .main-nav,
  .offices-link { display: none; }
  .menu-toggle { display: block; }
  .header-tools { margin-inline-start: auto; }
  .lang-toggle { border-inline-start: 0; }
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .promise-inner,
  .about-grid,
  .destinations-grid,
  .academy-grid { grid-template-columns: 1fr; }

  .about-media img { aspect-ratio: 16 / 10; }

  .section-head { flex-direction: column; align-items: flex-start; }

  .property-grid { grid-template-columns: 1fr; }
  .property,
  .property:nth-child(odd),
  .property:nth-child(even) {
    padding-inline: 0;
    border-inline-start: 0;
  }
  .property-num { inset-inline-end: 0; }

  .insight { grid-template-columns: 1fr; gap: 10px; }
  .insight .eyebrow { padding-top: 0; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; --brand-w: 116px; }
  .brand img { width: 74px; }
  .header-tools .header-cta { display: none; }
  .header-tools .lang-toggle { margin-block: 18px; }

  .hero { align-items: flex-end; padding-bottom: 104px; }
  .hero-media { object-position: 58% 50%; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(4, 20, 40, 0.85) 0%, rgba(4, 20, 40, 0.55) 55%, rgba(4, 20, 40, 0.25) 100%);
  }
  [dir="rtl"] .hero-shade {
    background: linear-gradient(0deg, rgba(4, 20, 40, 0.85) 0%, rgba(4, 20, 40, 0.55) 55%, rgba(4, 20, 40, 0.25) 100%);
  }
  .hero-lead br { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .city-grid li { min-height: 84px; padding: 14px 14px 16px; }
  .values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .property h3 { max-width: 80%; }
}
