:root {
  --navy: #081525;
  --navy-2: #0d2138;
  --navy-3: #16324c;
  --navy-4: #1e4563;
  --gold: #c9a24a;
  --gold-2: #e0c27a;
  --gold-deep: #9c7a2f;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --sand: #e9dcc4;
  --ink: #14202c;
  --muted: #5c6570;
  --line: rgba(201, 162, 74, 0.28);
  --shadow: 0 24px 60px rgba(8, 21, 37, 0.18);
  --radius: 18px;
  --header-h: 88px;
  --font-serif: "Cormorant Garamond", "Noto Naskh Arabic", Georgia, serif;
  --font-sans: "Manrope", "Noto Naskh Arabic", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="ar"] body {
  font-family: "Noto Naskh Arabic", "Manrope", serif;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  background: var(--navy);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  padding-block: 6px;
}

.mobile-nav a {
  color: var(--cream);
}

.topbar a:hover {
  color: var(--gold-2);
}

.topbar-links,
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-toggle span {
  opacity: 0.45;
  font-size: 11px;
}

.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.lang-toggle button.is-active,
.lang-toggle button:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 21, 37, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-lang {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: rgba(246, 241, 231, 0.86);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 162, 74, 0.28);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 21, 37, 0.88) 0%, rgba(8, 21, 37, 0.55) 52%, rgba(8, 21, 37, 0.28) 100%),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 74, 0.18), transparent 28%);
}

html[dir="rtl"] .hero::after {
  background:
    linear-gradient(270deg, rgba(8, 21, 37, 0.88) 0%, rgba(8, 21, 37, 0.55) 52%, rgba(8, 21, 37, 0.28) 100%),
    radial-gradient(circle at 20% 20%, rgba(201, 162, 74, 0.18), transparent 28%);
}

.hero-copy {
  width: min(760px, 100%);
  padding: 72px 0 120px;
}

.hero-actions .btn-outline {
  color: var(--gold-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.lede,
.hero p {
  font-size: 18px;
  max-width: 58ch;
  color: rgba(246, 241, 231, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.quick-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: -48px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.quick-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 28px 32px;
}

.quick-item + .quick-item {
  border-inline-start: 1px solid var(--line);
}

.quick-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quick-item h3 {
  margin: 0 0 4px;
  font-size: 28px;
}

.quick-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin: 8px 0 16px;
  color: var(--navy);
}

.muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}

.ornament {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 18px;
}

html[dir="rtl"] .ornament {
  background: linear-gradient(270deg, var(--gold), transparent);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.value-card {
  padding: 22px;
  background: var(--cream);
  border-top: 2px solid var(--gold);
}

.value-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 6px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.practice-card {
  background: var(--navy);
  color: var(--cream);
  padding: 28px 24px 24px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.practice-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(201, 162, 74, 0.18);
  transform: rotate(45deg);
}

.practice-card h3 {
  font-size: 26px;
  margin: 0 0 10px;
}

.practice-card p {
  color: rgba(246, 241, 231, 0.72);
  font-size: 14.5px;
  margin: 0 0 18px;
}

.practice-card span {
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.practice-card:hover {
  background: var(--navy-3);
}

.why {
  background:
    linear-gradient(180deg, rgba(8, 21, 37, 0.88), rgba(8, 21, 37, 0.92)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--cream);
}

.why .section-head h2,
.why .muted {
  color: var(--cream);
}

.why .muted {
  opacity: 0.82;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat {
  border: 1px solid rgba(201, 162, 74, 0.25);
  padding: 28px 20px;
  text-align: center;
  background: rgba(8, 21, 37, 0.35);
}

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--gold-2);
  line-height: 1;
}

.partner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.partner-card {
  background: var(--navy);
  color: var(--cream);
  min-height: 420px;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: "HM";
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  font-family: var(--font-serif);
  font-size: 92px;
  opacity: 0.08;
}

.partner-card h3 {
  font-size: 40px;
  margin: 0 0 6px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote {
  background: var(--cream);
  padding: 28px;
  border-inline-start: 3px solid var(--gold);
}

.quote p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--navy);
  color: var(--cream);
}

.contact-copy,
.contact-form {
  padding: 64px 48px;
}

.contact-form {
  background: var(--paper);
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ddd4c4;
  background: #fff;
  padding: 12px 14px;
  border-radius: 10px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.news-grid,
.team-grid,
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: #fff;
  border: 1px solid #eee5d6;
  overflow: hidden;
}

.news-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.news-card div {
  padding: 22px;
}

.news-card small {
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.news-card h3 {
  font-size: 26px;
  margin: 8px 0 12px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(8, 21, 37, 0.86), rgba(8, 21, 37, 0.45)),
    var(--page-image, url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1800&q=80")) center/cover;
  color: var(--cream);
  padding: 92px 0 80px;
}

.page-hero h1,
.page-hero .muted {
  color: var(--cream);
}

.breadcrumb {
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.prose {
  max-width: 78ch;
}

.prose h2,
.prose h3 {
  color: var(--navy);
  margin-top: 1.6em;
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list li {
  padding-inline-start: 22px;
  position: relative;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  transform: rotate(45deg);
}

.faq details {
  border-bottom: 1px solid #eadfca;
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
}

.site-footer {
  background: #06101b;
  color: rgba(246, 241, 231, 0.78);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 162, 74, 0.15);
}

.site-footer h2 {
  color: var(--gold-2);
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-family: var(--font-sans);
}

.site-footer a:hover {
  color: var(--gold);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 13px;
}

.notice {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  background: #eef7ea;
  color: #215c32;
  border-radius: 10px;
}

.notice.is-visible {
  display: block;
}

.mobile-nav {
  display: none;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 24px;
}

.mobile-mail {
  margin: 12px 0 18px;
  color: var(--gold-2) !important;
  border-bottom: 0 !important;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .topbar {
    display: none;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .header-lang {
    display: flex;
  }

  .header-lang .lang-toggle {
    gap: 8px;
  }

  .header-tools {
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    background: #081525;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    flex: 1;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .brand-text span {
    display: none;
  }

  .mobile-nav.is-open {
    display: block;
    border-top: 1px solid rgba(201, 162, 74, 0.18);
    background: #0a1a2c;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  .mobile-nav a.mobile-link {
    color: var(--cream);
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 162, 74, 0.12);
    font-weight: 600;
    font-size: 16px;
  }

  .mobile-nav a.is-active {
    color: var(--gold-2);
  }

  .mobile-nav .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
    align-items: end;
  }

  .hero-copy {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.05;
  }

  .hero p,
  .lede {
    font-size: 16px;
  }

  .eyebrow {
    letter-spacing: 0.12em;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .quick-bar {
    margin-top: 0;
  }

  .quick-item {
    padding: 20px 18px;
    align-items: flex-start;
  }

  .quick-item h3 {
    font-size: 22px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .split,
  .partner,
  .contact-band,
  .practice-grid,
  .values,
  .stats,
  .quote-grid,
  .news-grid,
  .footer-grid,
  .quick-bar,
  .form-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .values {
    margin-top: 24px;
  }

  .quick-item + .quick-item {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .split {
    gap: 28px;
  }

  .split img {
    height: 240px;
  }

  .partner {
    gap: 24px;
  }

  .partner-card {
    min-height: 220px;
    padding: 28px 22px;
  }

  .practice-card {
    min-height: 0;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .contact-copy,
  .contact-form {
    padding: 32px 20px;
  }

  .copyright {
    flex-direction: column;
  }

  .quote p {
    font-size: 19px;
  }

  .stat b {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 14.5px;
  }

  .header-lang .lang-toggle {
    gap: 6px;
  }
}
