/* Golden Hormuz Line — ghline.om */
:root {
  /* Brand colours taken from the Golden Hormuz Line logo */
  --deep: #0E1F34;      /* logo navy: text, logo, accents */
  --deep-2: #0A1626;
  --teal: #2B4A6F;      /* softer navy for icons */
  --gold: #C9A14A;      /* logo gold */
  --gold-soft: #E3CC8E;
  --gold-ink: #7E5F1C;  /* gold dark enough for text on beige */
  --salt: #F8F3E9;      /* logo beige: page background */
  --sand: #EFE6D5;      /* alternate sections */
  --sand-2: #E6D9C2;    /* footer */
  --paper: #FFFDF8;
  --ink: #0E1F34;
  --muted: #5B6069;
  --rule: #E3D8C5;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Unbounded", "IBM Plex Sans", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.01em;
}
html[lang="ar"] {
  --f-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --f-display: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --display-weight: 800;
  --display-tracking: 0;
}
html[lang="hi"] {
  --f-body: "IBM Plex Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
  --f-display: "IBM Plex Sans Devanagari", "Nirmala UI", sans-serif;
  --display-weight: 700;
  --display-tracking: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.85; }
html.js-pending body { opacity: 0; }
body { transition: opacity .25s ease; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.2;
  margin: 0 0 .6em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 64ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--deep); padding: 10px 16px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  border-radius: var(--radius-s); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(14, 31, 52, .5); color: var(--deep); }
.btn-ghost:hover { border-color: var(--deep); background: var(--deep); color: var(--salt); }
.btn-ink { background: var(--deep); color: var(--salt); }
.btn-ink:hover { background: var(--teal); }
.btn-line { border-color: var(--deep); color: var(--deep); }
.btn-line:hover { background: var(--deep); color: var(--salt); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 243, 233, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  color: var(--deep);
  border-bottom: 1px solid rgba(201, 161, 74, .35);
}
.header-bar { display: flex; align-items: center; gap: 20px; min-height: 76px; }

/* Logo lockup: mark | Arabic name over GOLDEN HORMUZ LINE (as in the brand sheet) */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--deep); flex: none; }
.brand .mark { width: 44px; height: auto; flex: none; }
.brand-divider { width: 1.5px; align-self: stretch; margin-block: 4px; background: var(--gold); }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.brand-ar { font-family: "Cairo", sans-serif; font-weight: 700; font-size: 1.32rem; letter-spacing: 0; line-height: 1.35; }
.brand-en { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: .56rem; letter-spacing: .34em; margin-top: 1px; color: var(--gold-ink); direction: ltr; padding-inline-start: .34em; }

/* Header lockup proportions follow the brand sheet: mark height ≈ text block, divider taller than both,
   English line under the Arabic name and aligned to its right edge; fixed RTL so it reads the same in every language */
.site-header .brand { direction: rtl; gap: 16px; }
.site-header .brand .mark { width: 58px; }
.site-header .brand-divider { align-self: center; height: 50px; margin: 0; }
.site-header .brand-text { align-items: flex-start; }
.site-header .brand-ar { display: block; font-size: 1.42rem; line-height: 1.15; }
.site-header .brand-en { display: block; font-size: .57rem; letter-spacing: .29em; margin-top: 10px; padding: 0; line-height: 1; }
/* the lockup is RTL internally, so its logical margin flips; keep it at the page's start edge on LTR pages */
@media (max-width: 1040px) { html[dir="ltr"] .site-header .brand { margin-left: 0; margin-right: auto; } }
@media (max-width: 420px) {
  .site-header .brand { gap: 11px; }
  .site-header .brand .mark { width: 44px; }
  .site-header .brand-divider { height: 40px; }
  .site-header .brand-ar { font-size: 1.12rem; }
  .site-header .brand-en { font-size: .45rem; margin-top: 8px; }
}

.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .nav-drop > button {
  display: block; padding: 10px 12px; border-radius: var(--radius-s);
  color: var(--deep); text-decoration: none; font-size: .95rem; font-weight: 500;
  background: none; border: 0; font-family: inherit; cursor: pointer; line-height: 1.4;
}
.main-nav a:hover, .nav-drop > button:hover { background: rgba(14, 31, 52, .06); }
.main-nav a[aria-current="page"] { color: var(--gold-ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.nav-drop .sub {
  position: absolute; inset-inline-start: 0; top: calc(100% + 6px); min-width: 250px;
  display: none; flex-direction: column; align-items: stretch; gap: 0;
  background: var(--paper); color: var(--ink); padding: 8px; border-radius: var(--radius-m);
  box-shadow: 0 18px 40px rgba(8, 25, 36, .25);
}
.nav-drop.open .sub { display: flex; }
.nav-drop .sub a { color: var(--ink); display: flex; gap: 12px; align-items: center; padding: 10px 12px; }
.nav-drop .sub a:hover { background: var(--salt); color: var(--deep); }
.nav-drop .sub svg { width: 26px; height: 26px; flex: none; color: var(--teal); }

.lang { position: relative; flex: none; }
.lang > button {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px;
  background: transparent; color: var(--deep); border: 1px solid rgba(14, 31, 52, .25); border-radius: var(--radius-s);
  font: inherit; font-size: .9rem; cursor: pointer;
}
.lang > button:hover { border-color: var(--gold); }
.lang > button svg { width: 18px; height: 18px; }
.lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px;
  list-style: none; margin: 0; padding: 6px; display: none;
  background: var(--paper); border-radius: var(--radius-m); box-shadow: 0 18px 40px rgba(8, 25, 36, .25);
}
.lang.open ul { display: block; }
.lang li button {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px;
  border: 0; background: none; border-radius: var(--radius-s); font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; text-align: start;
}
.lang li button:hover { background: var(--salt); }
.lang li button[aria-current="true"] { color: var(--teal); font-weight: 600; }
.lang li button span:last-child { color: var(--muted); font-size: .8rem; text-transform: uppercase; }

.menu-toggle {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid rgba(14, 31, 52, .25); border-radius: var(--radius-s); color: var(--deep); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .site-header { background: var(--salt); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-toggle { display: block; }
  .header-bar { gap: 12px; }
  .lang { order: 2; }
  .menu-toggle { order: 3; margin-inline-start: 0; }
  .brand { margin-inline-end: auto; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; margin: 0; background: var(--salt);
    padding: 16px var(--gutter) 40px; overflow-y: auto; display: none;
  }
  .menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--rule); }
  .main-nav a, .nav-drop > button { padding: 15px 4px; font-size: 1.05rem; width: 100%; text-align: start; }
  .main-nav a[aria-current="page"] { box-shadow: none; }
  .nav-drop > button { display: none; }
  .nav-drop .sub { position: static; display: flex; background: none; box-shadow: none; padding: 0 0 8px; min-width: 0; }
  .nav-drop .sub a { color: var(--deep); padding: 11px 4px; }
  .nav-drop .sub a:hover { background: none; color: var(--gold-ink); }
  .nav-drop .sub svg { color: var(--gold); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand .mark { width: 34px; }
  .brand-ar { font-size: 1.05rem; }
  .brand-en { font-size: .46rem; letter-spacing: .26em; }
  .lang > button .lang-label { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--salt);
  color: var(--deep);
  padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 96px);
}
.hero-sea { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-sea .contour { fill: none; stroke: var(--deep); stroke-width: 1; opacity: .12; }
.hero-sea .gold-line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.6,.05,.3,1) .3s forwards; }
.hero-sea .port { fill: var(--gold); opacity: 0; animation: appear .5s ease 2.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
.hero h1 { max-width: 17ch; font-size: clamp(2.1rem, 5.6vw, 4rem); }
html[lang="ru"] .hero h1, html[lang="de"] .hero h1 { max-width: 20ch; font-size: clamp(1.9rem, 4.8vw, 3.5rem); }
.hero .lead { color: #3A4250; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-place { display: flex; align-items: center; gap: 10px; margin-top: 48px; color: var(--gold-ink); font-size: .95rem; font-weight: 600; }
.hero-place svg { width: 20px; height: 20px; flex: none; }

/* ---------- Facts strip ---------- */
.facts { background: var(--paper); border-bottom: 1px solid var(--rule); }
.facts dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.facts div { padding: 28px 24px; border-inline-start: 1px solid var(--rule); }
.facts div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts dt { color: var(--muted); font-size: .95rem; order: 2; }
.facts dd { margin: 0 0 4px; font-family: var(--f-display); font-weight: var(--display-weight); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--deep); }
.facts div { display: flex; flex-direction: column; }
.facts dd { order: 1; }
@media (max-width: 720px) {
  .facts dl { grid-template-columns: 1fr; }
  .facts div, .facts div:first-child { border-inline-start: 0; border-top: 1px solid var(--rule); padding: 20px 0; }
  .facts div:first-child { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 72px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.sector-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); white-space: nowrap; }
.sector-go svg { width: 20px; height: 20px; transition: transform .2s; }
html[dir="rtl"] .sector-go svg { transform: scaleX(-1); }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.value { padding: 28px 24px 8px 0; padding-inline: 0 24px; }
.value + .value { padding-inline-start: 24px; border-inline-start: 1px solid var(--rule); }
.value h3 { color: var(--deep); }
.value p { color: var(--muted); font-size: .98rem; }
.value svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding-inline: 0; border-inline-start: 0; }
  .value + .value { border-top: 1px solid var(--rule); }
}

/* CTA band */
/* Gold band, like the gold panel of the brand sheet */
.cta-band { background: var(--gold); color: var(--deep); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(14, 31, 52, .82); max-width: 54ch; }
.cta-band .btn-ghost { border-color: var(--deep); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--salt); color: var(--deep); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold) 40%, transparent); }
html[dir="rtl"] .page-hero::after { background: linear-gradient(-90deg, var(--gold), var(--gold) 40%, transparent); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); max-width: 22ch; }
.page-hero .lead { color: #3A4250; margin: 0; max-width: 60ch; }
.page-hero .hero-icon { width: clamp(96px, 14vw, 160px); height: auto; color: var(--gold); opacity: .95; }
.crumbs { font-size: .9rem; color: var(--gold-ink); margin-bottom: 18px; font-weight: 600; }
.crumbs a { color: var(--gold-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin-inline: 8px; opacity: .6; }
@media (max-width: 720px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .hero-icon { display: none; } }

/* Service list */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; padding: 0; list-style: none; }
.services li { padding: 24px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 16px; }
.services li::before { content: ""; width: 10px; height: 10px; margin-top: .55em; background: var(--gold); transform: rotate(45deg); }
.services h3 { margin: 0 0 4px; color: var(--deep); font-size: 1.12rem; }
.services p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.approach { background: var(--sand); color: var(--deep); border-inline-start: 4px solid var(--gold); border-radius: var(--radius-m); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.approach svg { width: 48px; height: 48px; color: var(--gold-ink); }
.approach h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.approach p { color: #3A4250; margin: 0; max-width: 70ch; }
@media (max-width: 560px) { .approach { grid-template-columns: 1fr; } }

.other-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.other-sectors a {
  display: flex; align-items: center; gap: 14px; padding: 18px; height: 100%;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600; color: var(--deep);
  transition: border-color .2s;
}
.other-sectors a:hover { border-color: var(--gold); }
.other-sectors svg { width: 36px; height: 36px; color: var(--teal); flex: none; }
@media (max-width: 760px) { .other-sectors { grid-template-columns: 1fr; } }

/* About */
.prose p { max-width: 66ch; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pillar { background: var(--paper); border-top: 3px solid var(--gold); padding: 28px; border-radius: 0 0 var(--radius-s) var(--radius-s); }
.pillar h3 { color: var(--deep); }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.place-map { background: var(--deep); border-radius: var(--radius-m); padding: 20px; color: var(--gold); }
.place-map .contour { fill: none; stroke: #2C4466; stroke-width: 1; }
.place-map text { fill: var(--gold-soft); font-family: var(--f-body); font-size: 13px; }
@media (max-width: 820px) { .place { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--paper); border-radius: var(--radius-m); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--rule); }
.form h2 { font-size: 1.5rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 48px;
  background: var(--salt); border: 1.5px solid var(--rule); border-radius: var(--radius-s);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: 20px 50%, 15px 50%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201, 161, 74, .25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.form-error { color: #A3361F; font-weight: 600; margin: 0 0 14px; display: none; }
.form-error.show { display: block; }

.info-list { list-style: none; margin: 0 0 28px; padding: 0; }
.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.info-list li:first-child { padding-top: 0; }
.info-list svg { width: 26px; height: 26px; color: var(--teal); margin-top: 2px; }
.info-list strong { display: block; color: var(--deep); }
.info-list a { color: var(--teal); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.map-frame { border: 0; width: 100%; height: 300px; border-radius: var(--radius-m); background: var(--rule); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand-2); color: #3A4250; padding: 64px 0 96px; font-size: .95rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-grid h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: var(--deep); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #3A4250; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-ink); }
/* Same lockup proportions as the header, slightly larger; inline-flex so it sits at the column's start edge */
.footer-brand { display: inline-flex; direction: rtl; gap: 18px; margin-bottom: 18px; }
.footer-brand .mark { width: 66px; }
.footer-brand .brand-divider { align-self: center; height: 58px; margin: 0; }
.footer-brand .brand-text { align-items: flex-start; }
.footer-brand .brand-ar { display: block; font-size: 1.62rem; line-height: 1.15; }
.footer-brand .brand-en { display: block; font-size: .64rem; letter-spacing: .29em; margin-top: 11px; padding: 0; line-height: 1; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(14, 31, 52, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* WhatsApp floating button */
.wa-float {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #18914A; }

/* =====================================================================
   Photography, particles and motion
   ===================================================================== */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Home hero with photo */
.hero { min-height: min(92vh, 880px); display: flex; align-items: center; }
.hero > .wrap { position: relative; }
.hero-photo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 243, 233, .98) 0%, rgba(248, 243, 233, .9) 42%, rgba(248, 243, 233, .15) 100%),
    linear-gradient(0deg, rgba(248, 243, 233, .95) 0%, transparent 30%);
}
html[dir="rtl"] .hero::before {
  background:
    linear-gradient(-90deg, rgba(248, 243, 233, .98) 0%, rgba(248, 243, 233, .9) 42%, rgba(248, 243, 233, .15) 100%),
    linear-gradient(0deg, rgba(248, 243, 233, .95) 0%, transparent 30%);
}
@media (max-width: 760px) {
  .hero::before, html[dir="rtl"] .hero::before { background: linear-gradient(0deg, rgba(248, 243, 233, .96) 0%, rgba(248, 243, 233, .86) 60%, rgba(248, 243, 233, .55) 100%); }
}
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--gold-ink); font-weight: 700; font-size: .98rem; }
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--gold); }
.scroll-cue {
  position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(14, 31, 52, .4); border-radius: 14px;
}
html[dir="rtl"] .scroll-cue { transform: translateX(50%); }
.scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) { .scroll-cue { display: none; } .hero { min-height: auto; } }

/* Sector photo cards */
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.sector-card a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 400px; padding: 30px; border-radius: 16px; overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none; background: var(--deep);
  box-shadow: 0 20px 50px -24px rgba(14, 31, 52, .5);
}
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.sector-card a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,31,52,.95) 0%, rgba(14,31,52,.7) 42%, rgba(14,31,52,.08) 100%); transition: background .5s; }
.sector-card a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 4px; width: 0; background: var(--gold); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.sector-card a:hover img, .sector-card a:focus-visible img { transform: scale(1.08); }
.sector-card a:hover::after, .sector-card a:focus-visible::after { width: 100%; }
.sector-badge { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: rgba(201, 160, 74, .16); border: 1px solid rgba(201, 160, 74, .55); color: var(--gold-soft); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sector-badge svg { width: 34px; height: 34px; }
.sector-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 8px; }
.sector-card p { margin: 0 0 18px; color: rgba(255,255,255,.82); max-width: 46ch; }
.sector-card .sector-go { color: var(--gold-soft); }
.sector-card a:hover .sector-go svg { transform: translateX(4px); }
html[dir="rtl"] .sector-card a:hover .sector-go svg { transform: scaleX(-1) translateX(4px); }
@media (max-width: 760px) { .sector-grid { grid-template-columns: 1fr; } .sector-card a { min-height: 340px; padding: 24px; } }

/* Photo with gold frame and floating badge */
.media { position: relative; margin: 0; }
.media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 16px; position: relative; z-index: 1; box-shadow: 0 30px 60px -30px rgba(13, 43, 62, .6); }
.media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: 16px; z-index: 0; }
html[dir="rtl"] .media::before { inset: 22px 22px -22px -22px; }
.media-badge {
  position: absolute; z-index: 2; inset-inline-start: -18px; bottom: 28px;
  background: var(--deep); color: #fff; padding: 18px 22px; border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(8, 25, 36, .6); border-inline-start: 4px solid var(--gold);
  animation: float 6s ease-in-out infinite;
}
.media-badge strong { display: block; font-family: var(--f-display); font-weight: var(--display-weight); font-size: 1.9rem; line-height: 1.1; color: var(--gold-soft); }
.media-badge span { font-size: .9rem; color: rgba(255,255,255,.8); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 820px) { .media { margin-inline-end: 22px; margin-bottom: 22px; } .media-badge { inset-inline-start: 12px; } }

.split-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
@media (max-width: 860px) { .split-media { grid-template-columns: 1fr; } }

/* Inner page hero with photo */
.page-hero { isolation: isolate; padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 90px); }
.page-hero-photo { position: absolute; inset: 0; z-index: -3; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(248,243,233,.97) 0%, rgba(248,243,233,.88) 50%, rgba(248,243,233,.35) 100%); }
html[dir="rtl"] .page-hero.has-photo::before { background: linear-gradient(-90deg, rgba(248,243,233,.97) 0%, rgba(248,243,233,.88) 50%, rgba(248,243,233,.35) 100%); }
@media (max-width: 760px) { .page-hero.has-photo::before, html[dir="rtl"] .page-hero.has-photo::before { background: rgba(248,243,233,.88); } }
.page-hero .hero-icon { color: var(--deep); filter: drop-shadow(0 6px 24px rgba(248,243,233,.9)); }

/* Sector page: services with image column */
.services-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.services-layout .services { grid-template-columns: 1fr; }
.services-layout .media { position: sticky; top: 100px; }
@media (max-width: 900px) { .services-layout { grid-template-columns: 1fr; } .services-layout .media { position: relative; top: 0; order: -1; } }

.cta-band { isolation: isolate; }

/* Location: Madha */
.location .place { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; }
.location .lead { color: var(--muted); max-width: 58ch; }
.place-map .land { fill: #1B3355; stroke: #2E4A70; stroke-width: 1; }
.place-map .oman { fill: #2A4C76; stroke: #46679A; stroke-width: 1; }
.place-map .madha { fill: #375E8F; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 3; }
.place-map .border { fill: none; stroke: rgba(227, 204, 142, .55); stroke-width: 1.2; stroke-dasharray: 4 4; }
.place-map .route { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.place-map .route-road { stroke-width: 2; stroke-dasharray: 2 6; }
.place-map .pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.place-map text { font-size: 12px; }
.place-map text.sea { fill: #9DB2CC; font-style: italic; }
.place-map text.key { fill: #fff; font-size: 14px; font-weight: 700; }
.loc-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.loc-item { background: var(--salt); border-radius: 14px; padding: 28px; border-top: 3px solid var(--gold); }
.loc-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--deep); color: var(--gold-soft); margin-bottom: 18px; }
.loc-icon svg { width: 32px; height: 32px; }
.loc-item h3 { color: var(--deep); margin-bottom: 8px; }
.loc-item p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .location .place { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .place-map .pulse { animation: none; opacity: 0; } }

/* Vision 2040 */
.vision {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sand);
  color: var(--deep); padding: clamp(72px, 10vw, 128px) 0;
}
.vision-mark {
  position: absolute; z-index: -1; inset-inline-end: -2vw; top: 50%; transform: translateY(-50%);
  font-family: "Unbounded", var(--f-display); font-weight: 600; font-size: clamp(9rem, 26vw, 24rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(201, 161, 74, .55); letter-spacing: -.04em;
  pointer-events: none; user-select: none; direction: ltr;
}
.vision .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px 72px; align-items: start; }
.vision-head { position: sticky; top: 110px; }
.vision-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.vision-head p { color: #3A4250; font-size: 1.08rem; margin-bottom: 28px; max-width: 48ch; }
.v-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v-item {
  display: flex; flex-direction: column; gap: 16px; padding: 28px 26px;
  background: rgba(255, 253, 248, .82); border: 1px solid rgba(201, 161, 74, .35); border-radius: 14px;
  box-shadow: 0 16px 40px -28px rgba(14, 31, 52, .45);
  transition: border-color .4s, background-color .4s;
}
.v-item:hover { border-color: var(--gold); background: var(--paper); }
.v-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--deep); color: var(--gold); }
.v-icon svg { width: 28px; height: 28px; }
.v-item h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--deep); line-height: 1.4; }
.v-item p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 1041px) { .v-grid .v-item:nth-child(even) { transform: translateY(36px); } .v-grid .v-item.reveal:nth-child(even):not(.in) { transform: translateY(70px); } }
@media (max-width: 1040px) { .vision .wrap { grid-template-columns: 1fr; } .vision-head { position: static; } }
@media (max-width: 620px) { .v-grid { grid-template-columns: 1fr; } }

/* Hero entrance sequence */
.hero .intro-seq { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero .intro-seq:nth-child(2) { animation-delay: .12s; }
.hero .intro-seq:nth-child(3) { animation-delay: .24s; }
.hero .intro-seq:nth-child(4) { animation-delay: .36s; }
.hero .intro-seq:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Header shadow once the page scrolls */
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-photo img, .media-badge { animation: none; }
}

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

@media print {
  .site-header, .wa-float, .hero-sea, .cta-band, .map-frame { display: none !important; }
  .hero, .page-hero { background: none; color: var(--ink); }
}
