:root {
  --navy: #08344a;
  --deep-navy: #041f2d;
  --gold: #c39a54;
  --sand: #efe2cf;
  --cream: #fbf7ef;
  --text: #0a2f43;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(6, 49, 70, 0.15);
  --shadow: 0 24px 60px rgba(4, 31, 45, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(195, 154, 84, 0.14), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(8, 52, 74, 0.11), transparent 40%),
    linear-gradient(160deg, #f6efe4, #fcfaf5 56%, #f2e7d4);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: opacity 420ms ease;
}

body.lang-fade {
  opacity: 0.72;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.35;
}

.orb-left {
  top: -180px;
  left: -110px;
  background: radial-gradient(circle, rgba(195, 154, 84, 0.4), transparent 65%);
}

.orb-right {
  right: -130px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(8, 52, 74, 0.3), transparent 65%);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 4.8rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(252, 249, 242, 0.88);
  border-bottom: 1px solid rgba(6, 49, 70, 0.09);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand-mark {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 72px;
  height: auto;
  object-fit: contain;
}

.roof-mark {
  width: 64px;
  height: 36px;
  border-top: 5px solid var(--navy);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transform: skewX(-34deg);
  margin-top: 0.35rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-ar {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
}

.brand-en {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--deep-navy);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-nav a {
  color: var(--deep-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.lang-toggle {
  border: 1px solid rgba(6, 49, 70, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--deep-navy);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.96);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--deep-navy);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

p {
  margin: 0;
  max-width: 68ch;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 5.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/omanmoutaints.webp");
  background-size: cover;
  background-position: center;
  opacity: 3.00;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(252, 249, 242, 0.72) 0%,
    rgba(252, 249, 242, 0.86) 45%,
    rgba(252, 249, 242, 0.94) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
}

.hero-card {
  background: linear-gradient(160deg, rgba(8, 52, 74, 0.97), rgba(4, 31, 45, 0.97));
  color: #f8efe1;
  padding: 2rem 1.9rem;
  border-radius: 24px;
  border: 1px solid rgba(195, 154, 84, 0.4);
  box-shadow: var(--shadow);
}

.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
  color: #ffd39e;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

html[dir="rtl"] .hero-card ul {
  padding-left: 0;
  padding-right: 1.1rem;
}

html[lang="ar"] .kicker {
  text-transform: none;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--deep-navy);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--deep-navy);
  border-color: var(--line);
}

.split-panel,
.value-band,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 12px 35px rgba(4, 31, 45, 0.08);
}

.split-panel {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.section-title {
  margin-top: 0.1rem;
}

.companies-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.company {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  font-weight: 500;
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.company-logo {
  width: 100%;
  max-width: 145px;
  max-height: 54px;
  object-fit: contain;
}

.value-band {
  padding: 2.3rem;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(8, 52, 74, 0.95), rgba(4, 31, 45, 0.94)),
    radial-gradient(circle at top left, rgba(195, 154, 84, 0.35), transparent 45%);
  color: #f8f1e6;
}

.value-band h2,
.value-band p {
  color: inherit;
  margin-inline: auto;
}

.value-band p {
  margin-top: 0.9rem;
}

.contact-panel {
  padding: 2.4rem;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.site-footer {
  border-top: 1px solid rgba(6, 49, 70, 0.1);
  background: rgba(252, 249, 242, 0.85);
}

.footer-wrap {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-wrap a {
  color: inherit;
  text-decoration: none;
}

.footer-wrap a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .top-nav {
    margin-left: auto;
  }

  .top-nav a {
    display: none;
  }

  .hero-grid,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .companies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 4.5rem;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 3.6rem 0;
  }

  .companies-grid {
    grid-template-columns: 1fr;
  }

  .brand-en {
    font-size: 0.77rem;
  }

  .hero-card,
  .split-panel,
  .value-band,
  .contact-panel {
    border-radius: 18px;
  }
}
