:root {
  --ink: #122033;
  --muted: #5e6d82;
  --brand: #123c6d;
  --brand-dark: #0a2748;
  --brand-3: #1d5d9f;
  --brand-2: #b88b38;
  --gold-soft: #eadbb8;
  --paper: #ffffff;
  --soft: #f5f7f2;
  --soft-blue: #eef4fb;
  --warm: #fbf7ee;
  --line: #d9e2ed;
  --line-strong: #c9d5e4;
  --shadow: 0 24px 70px rgba(13, 35, 61, .14);
  --shadow-soft: 0 16px 45px rgba(13, 35, 61, .08);
  --radius: 28px;
  --font-ar-heading: "Scheherazade New", "Noto Naskh Arabic", serif;
  --font-ar-body: "Noto Naskh Arabic", "Scheherazade New", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 2%, rgba(184, 139, 56, .10), transparent 26rem),
    radial-gradient(circle at 92% 18%, rgba(18, 60, 109, .09), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0%, #f7f4ec 48%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body,
[dir="rtl"] { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }

html[lang="ar"] body,
html[lang="ar"] {
  font-family: var(--font-ar-body);
}

html[lang="ar"] .brand,
html[lang="ar"] .language-menu a:not([lang="ar"]),
html[lang="ar"] .footer-brand > strong,
html[lang="ar"] .footer-links > strong {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; }

img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(22px) saturate(155%);
  border-bottom: 1px solid rgba(217, 226, 237, .82);
  box-shadow: 0 10px 30px rgba(18, 32, 51, .055);
}

.site-header::before {
  content: "";
  position: absolute;
  inset-inline: clamp(1rem, 4vw, 4rem);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 139, 56, .46), transparent);
  pointer-events: none;
}

.brand {
  position: relative;
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: .02em;
  margin-inline-end: auto;
  padding-inline-start: 1rem;
}

.brand::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 4px;
  height: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-2), #f0d38a);
  transform: translateY(-50%);
}

.brand span { color: var(--brand); font-weight: 900; }
.brand strong { color: var(--brand-2); margin-inline-start: .25rem; font-weight: 900; }

.main-nav { display: flex; gap: .25rem; flex-wrap: wrap; align-items: center; }

.main-nav a,
.language-switcher summary {
  position: relative;
  text-decoration: none;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.language-switcher summary {
  color: var(--brand);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(238,244,251,.92));
  box-shadow: inset 0 0 0 1px rgba(18, 60, 109, .08), 0 8px 22px rgba(18, 60, 109, .07);
}

.main-nav a:hover,
.language-switcher summary:hover { transform: translateY(-1px); }


.language-switcher {
  position: relative;
  z-index: 20;
}

.language-switcher summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after {
  content: "⌄";
  margin-inline-start: .4rem;
  color: var(--brand-2);
}

.language-menu {
  position: absolute;
  inset-block-start: calc(100% + .55rem);
  inset-inline-end: 0;
  display: grid;
  min-width: 13rem;
  padding: .45rem;
  border: 1px solid rgba(18, 60, 109, .10);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.language-menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  padding: .65rem .8rem;
  border-radius: 13px;
}

.language-menu a:hover,
.language-menu a.active {
  color: var(--brand);
  background: rgba(238,244,251,.92);
}

[dir="rtl"] .language-menu { inset-inline-start: 0; inset-inline-end: auto; }

.nav-toggle {
  display: none;
  border: 0;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
  border-radius: 14px;
  padding: .62rem .78rem;
  box-shadow: 0 12px 30px rgba(18, 60, 109, .2);
}

main {
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 60, 109, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 109, .018) 1px, transparent 1px);
  background-size: 46px 46px;
}

.hero,
section { padding: clamp(3.8rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
  gap: clamp(2.2rem, 5vw, 5.5rem);
  align-items: center;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 76px));
  background:
    radial-gradient(circle at 7% 18%, rgba(184, 139, 56, .18), transparent 22rem),
    radial-gradient(circle at 72% 10%, rgba(29, 93, 159, .16), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(243,247,252,.96) 45%, rgba(251,247,238,.96));
}

[dir="rtl"] .hero {
  background:
    radial-gradient(circle at 93% 18%, rgba(184, 139, 56, .18), transparent 22rem),
    radial-gradient(circle at 28% 10%, rgba(29, 93, 159, .16), transparent 24rem),
    linear-gradient(225deg, rgba(255,255,255,.98), rgba(243,247,252,.96) 45%, rgba(251,247,238,.96));
}

.hero::before,
.hero::after,
section::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before,
.hero::after { z-index: -1; }

section::before { z-index: 0; }

.hero::before {
  inset: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid rgba(184, 139, 56, .18);
  border-radius: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(184,139,56,.10) 46.2%, transparent 46.8% 100%),
    linear-gradient(155deg, transparent 0 61%, rgba(18,60,109,.08) 61.2%, transparent 61.8% 100%);
}

.hero::after {
  width: clamp(190px, 23vw, 360px);
  aspect-ratio: 1;
  inset-inline-end: clamp(-7rem, -7vw, -3rem);
  top: clamp(3rem, 9vw, 8rem);
  border: 1px solid rgba(18, 60, 109, .12);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 48%, rgba(184,139,56,.13) 49%, transparent 50%);
  box-shadow: inset 0 0 0 34px rgba(255,255,255,.25);
}

.hero > *, section > * { position: relative; z-index: 1; }

.hero h1,
.selector h1 {
  font-size: clamp(2.55rem, 5.15vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: .6rem 0 1.15rem;
  color: var(--brand-dark);
  max-width: 12ch;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .hero h1,
html[lang="ar"] .selector h1,
html[lang="ar"] .section-title,
html[lang="ar"] .kicker {
  font-family: var(--font-ar-heading);
  letter-spacing: 0;
}

html[lang="ar"] .hero h1,
html[lang="ar"] .selector h1 {
  line-height: 1.12;
}

html[lang="ar"] .hero:not(.profile-hero) {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  gap: clamp(1.8rem, 3.8vw, 4rem);
}

html[lang="ar"] .hero:not(.profile-hero) > div:first-child { min-width: 0; }

html[lang="ar"] .hero:not(.profile-hero) h1 {
  font-size: clamp(2.35rem, 4.35vw, 4.45rem);
  line-height: 1.16;
  max-width: 13em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

html[lang="ar"] h2 { line-height: 1.2; }
html[lang="ar"] h3 { line-height: 1.32; }

[dir="rtl"] .hero h1,
[dir="rtl"] .selector h1 { letter-spacing: 0; }

.hero p {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}

.hero figure { margin: 0; position: relative; }

.hero figure::before {
  content: "";
  position: absolute;
  inset: -1rem 1.2rem 1.2rem -1rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(184, 139, 56, .26);
  background: linear-gradient(135deg, rgba(255,255,255,.64), rgba(234,219,184,.18));
  transform: rotate(-2deg);
}

[dir="rtl"] .hero figure::before { inset: -1rem -1rem 1.2rem 1.2rem; transform: rotate(2deg); }

.hero figure img {
  position: relative;
  min-height: 450px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .86);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--brand-2) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .78rem !important;
}

html[lang="ar"] .kicker {
  text-transform: none;
  font-size: 1rem !important;
  line-height: 1.35;
}

.kicker::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-2), transparent);
}

[dir="rtl"] .kicker::before { background: linear-gradient(270deg, var(--brand-2), transparent); }

.actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.65rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .82rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 65%, #1f5f9d);
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(18, 60, 109, .22);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 22px 42px rgba(18, 60, 109, .26); }

.button.ghost {
  background: rgba(255,255,255,.78);
  color: var(--brand);
  border-color: rgba(184, 139, 56, .30);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 12px 28px rgba(18, 60, 109, .08);
  backdrop-filter: blur(12px);
}

section {
  position: relative;
  background: rgba(255, 255, 255, .72);
}

main > section:not(.hero):nth-of-type(even) {
  background:
    radial-gradient(circle at 14% 20%, rgba(184,139,56,.10), transparent 18rem),
    linear-gradient(180deg, rgba(251,247,238,.78), rgba(255,255,255,.86));
}

main > section:not(.hero):nth-of-type(odd) {
  background:
    radial-gradient(circle at 86% 15%, rgba(18,60,109,.09), transparent 22rem),
    linear-gradient(180deg, rgba(245,247,242,.76), rgba(238,244,251,.58));
}

section::before {
  inset-inline: clamp(1rem, 5vw, 5rem);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 60, 109, .16), rgba(184,139,56,.22), transparent);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.25rem, 4.5vw, 4.75rem);
  align-items: center;
}

.split.reverse > div:first-child { order: 2; }

.split img,
.gallery img {
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.85);
}

.split > div:not(:has(img)) {
  max-width: 680px;
}

h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 1rem;
  color: var(--brand-dark);
}

[dir="rtl"] h2 { letter-spacing: 0; }

h2::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 3px;
  margin-top: .85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), rgba(184,139,56,.12));
}

[dir="rtl"] h2::after { background: linear-gradient(270deg, var(--brand-2), rgba(184,139,56,.12)); }

.section-intro,
section > p,
.split p { color: var(--muted); max-width: 72ch; font-size: 1.04rem; }

.card-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.8rem;
}

.card,
.destination,
.contact-section aside,
.selector-card,
.notice-card,
.steps {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 237, .95);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86)),
    radial-gradient(circle at top right, rgba(184,139,56,.12), transparent 12rem);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2vw, 1.75rem);
  box-shadow: var(--shadow-soft);
}

.card::before,
.destination::before,
.contact-section aside::before,
.notice-card::before,
.steps::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: .8;
}

.card::after,
.destination::after,
.contact-section aside::after {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  inset-inline-end: -5.5rem;
  bottom: -5.5rem;
  border: 1px solid rgba(18,60,109,.10);
  border-radius: 50%;
}

.card:hover,
.destination:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(13, 35, 61, .13);
}

.card,
.destination { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }

.card h3,
.destination h3 {
  margin-top: 0;
  color: var(--brand);
  line-height: 1.22;
  font-size: 1.18rem;
}

.card p,
.destination p,
.muted { color: var(--muted); }

.text-link {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.text-link::after { content: "→"; color: var(--brand-2); }
[dir="rtl"] .text-link::after { content: "←"; }

.check-list { padding-inline-start: 1.25rem; color: var(--ink); }
.check-list li { margin: .55rem 0; padding-inline-start: .2rem; }
.check-list li::marker { color: var(--brand-2); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.gallery img { height: 300px; }
.gallery img:nth-child(2) { transform: translateY(-1.25rem); }

.destination.featured {
  grid-column: span 2;
  color: white;
  border-color: rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 18rem),
    radial-gradient(circle at 85% 90%, rgba(184,139,56,.35), transparent 18rem),
    linear-gradient(135deg, #0b294c, #123c6d 60%, #1e5c99);
  box-shadow: 0 24px 70px rgba(10, 39, 72, .24);
}

.destination.featured::before { background: linear-gradient(90deg, #f0d38a, rgba(255,255,255,.7)); }
.destination.featured h3,
.destination.featured p { color: white; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1.4rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.35rem, 2vw, 1.8rem);
  border: 1px solid rgba(217, 226, 237, .95);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(245,247,242,.84)),
    radial-gradient(circle at top left, rgba(184,139,56,.14), transparent 16rem);
  box-shadow: var(--shadow-soft);
}

.contact-form label { display: grid; gap: .4rem; font-weight: 900; color: var(--brand-dark); }

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .95rem 1rem;
  font: inherit;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(184,139,56,.7);
  box-shadow: 0 0 0 4px rgba(184,139,56,.14);
  background: #fff;
}

textarea { min-height: 160px; resize: vertical; }
input:invalid.touched, select:invalid.touched, textarea:invalid.touched { border-color: #b42318; }
.form-status { margin: 0; font-weight: 800; }
.form-status.error { color: #b42318; }
.form-status.success { color: #027a48; }

.steps {
  max-width: 850px;
  font-size: 1.08rem;
  margin-top: 1.5rem;
}
.steps li { margin: .85rem 0; }
.steps li::marker { color: var(--brand-2); font-weight: 900; }

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(11rem, .65fr));
  gap: 1.5rem;
  padding: clamp(2.6rem, 5vw, 4.5rem) clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(184,139,56,.22), transparent 24rem),
    radial-gradient(circle at 90% 100%, rgba(29,93,159,.24), transparent 24rem),
    linear-gradient(135deg, #081d36, #122033 58%, #0b2b4e);
  color: white;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 1.2rem clamp(1rem, 5vw, 5rem) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234,219,184,.62), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 18rem;
  aspect-ratio: 1;
  inset-inline-end: -7rem;
  bottom: -9rem;
  border: 1px solid rgba(234,219,184,.20);
  border-radius: 50%;
}

.site-footer strong { color: #fff; }
.site-footer p { color: #d8e0ea; margin: .35rem 0; max-width: 62ch; }
.site-footer a { color: #f0d38a; text-decoration: none; font-weight: 800; }
.footer-brand,
.footer-links { position: relative; z-index: 1; }
.footer-links { display: grid; gap: .45rem; align-content: start; }

.selector {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(240,211,138,.26), transparent 22rem),
    radial-gradient(circle at 80% 80%, rgba(29,93,159,.34), transparent 24rem),
    linear-gradient(135deg, #081d36, #123c6d 55%, #9f762d);
}

.selector-card {
  max-width: 800px;
  text-align: center;
  padding: clamp(2.2rem, 6vw, 4.5rem);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
}

.selector-card h1 { max-width: none; }
.selector-card .actions { justify-content: center; }
.language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.notice-card { margin: clamp(2rem, 4vw, 4rem) clamp(1rem, 5vw, 5rem); }
.selector-card .kicker::before { display: none; }

@media (max-width: 980px) {
  .site-header { padding-block: .8rem; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    inset-inline: 1rem;
    top: 72px;
    padding: 1rem;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }
  .main-nav.open { display: grid; }
  .language-switcher { margin-inline-start: auto; }
  .hero,
  .split,
  .contact-section,
  .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero h1 { max-width: 14ch; }
  html[lang="ar"] .hero:not(.profile-hero) { grid-template-columns: 1fr; }
  html[lang="ar"] .hero:not(.profile-hero) h1 {
    font-size: clamp(2.2rem, 6.8vw, 3.55rem);
    max-width: 100%;
  }
  .split.reverse > div:first-child { order: 0; }
  .card-grid,
  .destination-grid,
  .gallery { grid-template-columns: 1fr; }
  .destination.featured { grid-column: auto; }
  .hero figure img { min-height: 320px; }
  .gallery img:nth-child(2) { transform: none; }
}

@media (max-width: 620px) {
  .brand { font-size: 1.08rem; }
  .language-switcher summary { padding: .48rem .62rem; }
  .language-menu { inset-inline-end: auto; inset-inline-start: 0; }
  .hero,
  section { padding-inline: 1rem; }
  html[lang="ar"] .hero:not(.profile-hero) h1 {
    font-size: clamp(2rem, 9.5vw, 2.85rem);
    line-height: 1.2;
  }
  .hero::before { inset: .75rem; border-radius: 26px; }
  .actions { align-items: stretch; }
  .button { width: 100%; }
  .language-grid { grid-template-columns: 1fr; }
}

/* Premium company-profile About page */
.profile-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  background:
    radial-gradient(circle at 10% 15%, rgba(184, 139, 56, .22), transparent 22rem),
    radial-gradient(circle at 82% 8%, rgba(180, 31, 43, .08), transparent 18rem),
    linear-gradient(135deg, rgba(8, 29, 54, .98), rgba(18, 60, 109, .96) 52%, rgba(244, 239, 225, .98));
  color: white;
}

[dir="rtl"] .profile-hero {
  background:
    radial-gradient(circle at 90% 15%, rgba(184, 139, 56, .22), transparent 22rem),
    radial-gradient(circle at 18% 8%, rgba(180, 31, 43, .08), transparent 18rem),
    linear-gradient(225deg, rgba(8, 29, 54, .98), rgba(18, 60, 109, .96) 52%, rgba(244, 239, 225, .98));
}

.profile-hero::before {
  border-color: rgba(234, 219, 184, .24);
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(234,219,184,.12) 42.2%, transparent 42.8% 100%),
    linear-gradient(155deg, transparent 0 65%, rgba(255,255,255,.08) 65.2%, transparent 65.8% 100%);
}

.profile-hero h1 {
  max-width: 13ch;
  color: white;
  text-wrap: balance;
}

html[lang="ar"] .profile-hero h1 {
  font-size: clamp(2.55rem, 4.6vw, 4.55rem);
  max-width: 16ch;
}

.profile-hero p,
.profile-hero .profile-lede { color: rgba(255, 255, 255, .86); }
.profile-hero .kicker { color: #f0d38a !important; }
.profile-hero .kicker::before { background: linear-gradient(90deg, #f0d38a, transparent); }
[dir="rtl"] .profile-hero .kicker::before { background: linear-gradient(270deg, #f0d38a, transparent); }

.profile-lede {
  font-size: clamp(1.08rem, 1.55vw, 1.32rem) !important;
  max-width: 74ch !important;
}

.profile-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}

.profile-highlights span {
  border: 1px solid rgba(234, 219, 184, .34);
  border-radius: 999px;
  padding: .52rem .82rem;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.profile-hero__image {
  margin: 0;
  padding: .75rem;
  border: 1px solid rgba(234, 219, 184, .34);
  border-radius: calc(var(--radius) + 12px);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.profile-hero__image::before { display: none; }
.profile-hero__image img { min-height: 500px; border-radius: var(--radius); box-shadow: none; }
.profile-hero__image figcaption {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  padding: .85rem .35rem .15rem;
}


/* Balanced About-page company profile hero */
.about-profile-hero {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 139, 56, .16), transparent 19rem),
    radial-gradient(circle at 86% 12%, rgba(29, 93, 159, .10), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,248,252,.96) 48%, rgba(251,247,238,.98));
  color: var(--ink);
}

[dir="rtl"] .about-profile-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(184, 139, 56, .16), transparent 19rem),
    radial-gradient(circle at 14% 12%, rgba(29, 93, 159, .10), transparent 20rem),
    linear-gradient(225deg, rgba(255,255,255,.98), rgba(244,248,252,.96) 48%, rgba(251,247,238,.98));
}

.about-profile-hero::before {
  border-color: rgba(18, 60, 109, .10);
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(184,139,56,.08) 46.2%, transparent 46.8% 100%),
    linear-gradient(155deg, transparent 0 67%, rgba(18,60,109,.055) 67.2%, transparent 67.8% 100%);
}

.about-profile-hero .profile-hero__image { order: 1; }
.about-profile-hero .profile-hero__content {
  order: 2;
  max-width: 580px;
}

html[lang="ar"] .about-profile-hero .profile-hero__content { order: 1; }
html[lang="ar"] .about-profile-hero .profile-hero__image { order: 2; }

.about-profile-hero h1,
html[lang="ar"] .about-profile-hero h1 {
  color: #0f2f5f;
  font-size: clamp(2.45rem, 4.4vw, 4.35rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  max-width: 13ch;
}

html[lang="ar"] .about-profile-hero h1 {
  max-width: 16ch;
  line-height: 1.12;
}

.about-profile-hero p,
.about-profile-hero .profile-lede {
  color: rgba(15, 28, 45, .88);
}

.about-profile-hero .profile-lede {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem) !important;
  line-height: 1.78;
  max-width: 42rem !important;
}

.about-profile-hero .kicker {
  color: #8a6a2f !important;
  margin-bottom: .15rem;
}

.about-profile-hero .kicker::before { background: linear-gradient(90deg, #b88b38, transparent); }
[dir="rtl"] .about-profile-hero .kicker::before { background: linear-gradient(270deg, #b88b38, transparent); }

.about-profile-hero .profile-highlights {
  gap: .55rem;
  margin-top: 1.15rem;
}

.about-profile-hero .profile-highlights span {
  color: #233852;
  background: rgba(255,255,255,.82);
  border-color: rgba(196, 163, 92, .38);
  box-shadow: 0 10px 26px rgba(18, 60, 109, .08);
}

.about-profile-hero .button.ghost {
  background: rgba(255,255,255,.88);
  color: #0f2f5f;
  border-color: rgba(184, 139, 56, .34);
}

.about-profile-hero .profile-hero__image {
  max-width: 620px;
  width: 100%;
  justify-self: center;
  padding: .62rem;
  border-color: rgba(196, 163, 92, .32);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.58));
  box-shadow: 0 24px 58px rgba(13, 35, 61, .16);
}

.about-profile-hero .profile-hero__image img {
  width: 100%;
  height: clamp(300px, 31vw, 440px);
  min-height: 0;
  border-radius: 24px;
  object-fit: cover;
}

.about-profile-hero .profile-hero__image figcaption {
  color: rgba(15, 28, 45, .72);
  padding: .72rem .35rem .08rem;
}

@media (max-width: 980px) {
  .about-profile-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-profile-hero .profile-hero__content,
  .about-profile-hero .profile-hero__image,
  html[lang="ar"] .about-profile-hero .profile-hero__content,
  html[lang="ar"] .about-profile-hero .profile-hero__image {
    order: initial;
    max-width: 100%;
  }

  .about-profile-hero h1,
  html[lang="ar"] .about-profile-hero h1 {
    font-size: clamp(2.1rem, 8vw, 3.35rem);
    max-width: 100%;
  }

  .about-profile-hero .profile-hero__image img {
    height: clamp(260px, 52vw, 380px);
  }
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.section-heading h2 { margin-bottom: .85rem; }

.profile-panel {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 320px;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.6rem, 4vw, 3rem);
  color: white;
  background:
    radial-gradient(circle at 86% 16%, rgba(240, 211, 138, .32), transparent 14rem),
    linear-gradient(135deg, #081d36, #123c6d 68%, #8d6a2e);
  box-shadow: var(--shadow);
}

[dir="rtl"] .profile-panel {
  background:
    radial-gradient(circle at 14% 16%, rgba(240, 211, 138, .32), transparent 14rem),
    linear-gradient(225deg, #081d36, #123c6d 68%, #8d6a2e);
}

.profile-panel::after {
  content: "";
  position: absolute;
  width: 18rem;
  aspect-ratio: 1;
  inset-inline-end: -8rem;
  bottom: -8rem;
  border: 1px solid rgba(234, 219, 184, .22);
  border-radius: 50%;
}

.profile-panel h3,
.profile-panel p,
.profile-panel a { color: white; position: relative; z-index: 1; }
.profile-panel h3 { margin: .2rem 0 .65rem; font-size: clamp(1.55rem, 2.4vw, 2.35rem); line-height: 1.15; }
.profile-panel p { color: rgba(255,255,255,.82); max-width: 54ch; }
.panel-number { color: #f0d38a; font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 900; line-height: .9; position: relative; z-index: 1; }
.muted-panel { background: linear-gradient(135deg, #fbf7ee, #ffffff); color: var(--ink); border: 1px solid rgba(184,139,56,.22); }
.muted-panel h3 { color: var(--brand-dark); }
.muted-panel p { color: var(--muted); }
.muted-panel a { color: var(--brand); }

.profile-card-grid,
.service-mosaic,
.timeline-grid,
.profile-gallery {
  display: grid;
  gap: 1rem;
}

.profile-card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.profile-card,
.service-mosaic article,
.timeline-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 237, .95);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2vw, 1.8rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.88)),
    radial-gradient(circle at 100% 0%, rgba(184,139,56,.13), transparent 13rem);
  box-shadow: var(--shadow-soft);
}

.profile-card::before,
.service-mosaic article::before,
.timeline-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.profile-card h3,
.service-mosaic h3,
.timeline-grid h3 { color: var(--brand); margin: .45rem 0 .55rem; line-height: 1.22; }
.profile-card p,
.service-mosaic p,
.timeline-grid p { color: var(--muted); margin-bottom: 0; }
.profile-icon { color: var(--brand-2); font-size: 2rem; line-height: 1; }

.service-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.service-mosaic article { grid-column: span 2; min-height: 210px; }
.service-mosaic article:nth-child(1),
.service-mosaic article:nth-child(4) {
  grid-column: span 3;
  background:
    radial-gradient(circle at 85% 10%, rgba(240,211,138,.20), transparent 15rem),
    linear-gradient(135deg, #0b294c, #123c6d);
}
.service-mosaic article:nth-child(1) h3,
.service-mosaic article:nth-child(1) p,
.service-mosaic article:nth-child(4) h3,
.service-mosaic article:nth-child(4) p { color: white; }

.timeline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-grid article span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--warm);
  color: var(--brand-2);
  font-weight: 900;
  border: 1px solid rgba(184,139,56,.24);
}

.profile-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.86);
}

.profile-gallery img { height: 100%; min-height: 300px; border-radius: 0; transition: transform .35s ease; }
.profile-gallery figure:hover img { transform: scale(1.04); }
.profile-gallery figcaption {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(8, 29, 54, .78);
  color: white;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.profile-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 12% 12%, rgba(240,211,138,.24), transparent 18rem),
    radial-gradient(circle at 88% 80%, rgba(180,31,43,.14), transparent 17rem),
    linear-gradient(135deg, #081d36, #123c6d 62%, #0b2b4e) !important;
}

.profile-cta h2,
.profile-cta p { color: white; }
.profile-cta p { color: rgba(255,255,255,.82); max-width: 78ch; }
.profile-cta h2::after { background: linear-gradient(90deg, #f0d38a, rgba(255,255,255,.16)); }
.profile-cta .button.ghost { background: rgba(255,255,255,.12); color: white; border-color: rgba(240,211,138,.38); }

@media (max-width: 980px) {
  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero h1 { max-width: 100%; }
  .profile-card-grid.three,
  .timeline-grid,
  .profile-gallery { grid-template-columns: 1fr 1fr; }
  .service-mosaic { grid-template-columns: 1fr 1fr; }
  .service-mosaic article,
  .service-mosaic article:nth-child(1),
  .service-mosaic article:nth-child(4) { grid-column: auto; }
  .profile-cta { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .profile-highlights { display: grid; }
  .profile-hero__image img { min-height: 320px; }
  .profile-card-grid.three,
  .service-mosaic,
  .timeline-grid,
  .profile-gallery { grid-template-columns: 1fr; }
  .profile-gallery figure,
  .profile-gallery img { min-height: 245px; }
  .profile-panel { min-height: 260px; }
}
