:root {
  --night: #0b0d0f;
  --charcoal: #14191c;
  --ink: #101315;
  --paper: #f8f4eb;
  --ivory: #fffaf1;
  --gold: #c9a45d;
  --gold-deep: #9b7432;
  --forest: #17352f;
  --wine: #3b2025;
  --steel: #657078;
  --line: rgba(201, 164, 93, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir Next, Montserrat, Helvetica Neue, Arial, sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--ivory);
  background: rgba(11, 13, 15, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 224px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 250, 241, 0.74);
  font-size: 13px;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.language-switch button {
  min-width: 34px;
  min-height: 30px;
  padding: 0 7px;
  color: rgba(255, 250, 241, 0.72);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--night);
  background: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 241, 0.36);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-cta,
.button.primary {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
}

.button.ghost:hover {
  color: var(--night);
  background: var(--ivory);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: 154px clamp(18px, 5vw, 72px) 116px;
  color: var(--ivory);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(11, 13, 15, 0.98) 0%, rgba(11, 13, 15, 0.92) 46%, rgba(23, 53, 47, 0.72) 100%),
    url("assets/social/omnia-open-graph.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, black 0%, transparent 78%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.hero-strip {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Didot, Bodoni 72, Baskerville, Times New Roman, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 250, 241, 0.8);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-visual {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 420px;
  border-left: 1px solid rgba(201, 164, 93, 0.3);
}

.hero-visual img {
  width: min(480px, 100%);
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.38));
}

.visual-lines {
  width: min(420px, 82%);
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.visual-lines span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 93, 0.8), transparent);
}

.hero-strip {
  position: absolute;
  inset: auto clamp(18px, 5vw, 72px) 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 250, 241, 0.12);
  background: rgba(255, 250, 241, 0.12);
}

.hero-strip div {
  min-height: 96px;
  padding: 20px;
  background: rgba(11, 13, 15, 0.78);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  color: var(--ivory);
  font-size: 14px;
}

.hero-strip span {
  margin-top: 6px;
  color: rgba(255, 250, 241, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 48px;
}

.section-head p:last-child {
  margin: 0;
  color: #4f5960;
  font-size: 17px;
  line-height: 1.72;
}

.service-grid,
.fee-grid,
.document-grid,
.timeline,
.compliance-list {
  max-width: 1180px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #ded6c8;
  background: #ded6c8;
}

.service-grid article {
  min-height: 240px;
  padding: 30px;
  background: #fffdf8;
}

.service-grid span,
.fee-grid span,
.document-grid span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h3 {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.service-grid p,
.fee-grid p,
.document-grid small,
.timeline p {
  margin: 0;
  color: #59646b;
  line-height: 1.66;
}

.dark-section {
  color: var(--ivory);
  background: var(--forest);
}

.dark-section .section-head p:last-child {
  color: rgba(255, 250, 241, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.timeline b {
  color: var(--gold);
  letter-spacing: 2px;
}

.timeline h3,
.timeline p {
  color: var(--ivory);
}

.timeline p {
  color: rgba(255, 250, 241, 0.72);
}

.onboarding-section {
  background: #f3ecdf;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #dcd2bf;
  background: #dcd2bf;
}

.document-grid a {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  background: #fffaf1;
}

.document-grid a:hover {
  background: #fff4dd;
}

.document-grid strong {
  font-size: 20px;
}

.document-grid small {
  font-size: 14px;
}

.transaction-section {
  color: var(--ivory);
  background: var(--night);
}

.transaction-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.transaction-copy p {
  margin: 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: 18px;
  line-height: 1.72;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(201, 164, 93, 0.3);
  background: rgba(201, 164, 93, 0.3);
}

.flow div {
  min-height: 138px;
  padding: 22px;
  background: #15191c;
}

.flow b,
.flow span {
  display: block;
}

.flow b {
  color: var(--gold);
}

.flow span {
  margin-top: 18px;
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.45;
}

.fees-section {
  background: var(--paper);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fee-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid #ded6c8;
  background: #fffdf8;
}

.fee-grid article.featured {
  color: var(--ivory);
  border-color: var(--gold);
  background: var(--wine);
}

.fee-grid article.featured p {
  color: rgba(255, 250, 241, 0.74);
}

.fee-grid strong {
  display: block;
  margin-top: 24px;
  color: var(--gold-deep);
  font-size: 22px;
}

.fee-grid .featured strong {
  color: var(--gold);
}

.markets-section {
  background: #efe7d8;
}

.market-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.market-layout p:not(.eyebrow) {
  color: #4f5960;
  line-height: 1.72;
}

.market-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.market-list span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--ink);
  background: #fffaf1;
  border-left: 3px solid var(--gold);
}

.compliance-section {
  color: var(--ivory);
  background: var(--charcoal);
}

.compliance-section .section-head p:last-child {
  color: rgba(255, 250, 241, 0.72);
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 250, 241, 0.12);
  background: rgba(255, 250, 241, 0.12);
}

.compliance-list span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-section {
  background: var(--paper);
}

.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 58px;
}

.contact-layout p:not(.eyebrow) {
  color: #4f5960;
  font-size: 17px;
  line-height: 1.72;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  color: #4f5960;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  color: var(--ivory);
  background: var(--night);
}

.request-form label {
  display: grid;
  gap: 8px;
}

.request-form span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 241, 0.16);
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
  outline: none;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--gold);
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 250, 241, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 54px 18px;
  color: rgba(255, 250, 241, 0.72);
  text-align: center;
  background: var(--night);
}

.site-footer img {
  width: min(320px, 78vw);
}

.site-footer p {
  max-width: 640px;
  margin: 0;
  line-height: 1.65;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: var(--gold);
}

.site-footer small {
  max-width: 760px;
  color: rgba(255, 250, 241, 0.48);
  line-height: 1.55;
}

.legal-page {
  background: var(--paper);
}

.legal-main {
  padding-top: 84px;
}

.legal-hero {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: 150px clamp(18px, 5vw, 72px) 70px;
  color: var(--ivory);
  background:
    linear-gradient(105deg, rgba(11, 13, 15, 0.98), rgba(11, 13, 15, 0.88)),
    url("assets/social/omnia-open-graph.jpg") center / cover no-repeat;
}

.legal-hero h1 {
  max-width: 920px;
}

.legal-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 250, 241, 0.74);
  font-size: 18px;
  line-height: 1.7;
}

.legal-content {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 86px;
}

.legal-content h2 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-family: Avenir Next, Montserrat, Helvetica Neue, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #4f5960;
  font-size: 16px;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-warning {
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding: 24px;
  color: var(--ivory);
  background: var(--night);
  border-left: 4px solid var(--gold);
}

.legal-warning strong {
  color: var(--gold);
}

.legal-warning span {
  color: rgba(255, 250, 241, 0.74);
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 210px 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

  .hero,
  .section-head,
  .transaction-layout,
  .market-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid rgba(201, 164, 93, 0.3);
    padding-top: 30px;
  }

  .hero-strip,
  .timeline,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .fee-grid,
  .compliance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    width: 210px;
  }

  .header-actions {
    justify-content: start;
    flex-wrap: wrap;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 190px;
    padding-bottom: 0;
  }

  .hero-strip {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .section {
    padding-block: 64px;
  }

  .legal-main {
    padding-top: 0;
  }

  .legal-hero {
    padding-top: 190px;
    min-height: 440px;
  }

  .service-grid,
  .timeline,
  .document-grid,
  .fee-grid,
  .market-list,
  .flow,
  .compliance-list,
  .request-form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 52px;
  }
}
