:root {
  --black: #0b0f10;
  --charcoal: #151a1c;
  --emerald: #0f3d33;
  --emerald-soft: #174f42;
  --gold: #b88a44;
  --ivory: #f5f0e8;
  --beige: #ddd3c3;
  --white: #ffffff;
  --ink: #111617;
  --muted: #65645f;
  --line: rgba(17, 22, 23, 0.12);
  --line-light: rgba(255, 255, 255, 0.2);
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(11, 15, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Manrope", "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.55;
}

body[dir="rtl"] {
  font-family: "IBM Plex Sans Arabic", "Manrope", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 46px;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(11, 15, 16, 0.78);
  border-bottom-color: var(--line-light);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 220px;
  display: grid;
  line-height: 1.05;
}

.brand span {
  font-family: "Cormorant Garamond", "IBM Plex Sans Arabic", serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0;
}

body[dir="rtl"] .brand span {
  font-family: "IBM Plex Sans Arabic", serif;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
}

.header-actions {
  min-width: 286px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lang-switch {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.lang-switch button {
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.56;
}

body[data-lang="en"] .lang-switch [data-lang-option="en"],
body[data-lang="ar"] .lang-switch [data-lang-option="ar"] {
  color: var(--gold);
  opacity: 1;
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 0;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.button-primary {
  color: #17120b;
  background: var(--gold);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 126px 46px 42px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(90deg, rgba(11, 15, 16, 0.08), rgba(11, 15, 16, 0.44)),
    url("./assets/riyadh-kafd-cover.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 15, 16, 0.88), rgba(11, 15, 16, 0.42) 44%, rgba(11, 15, 16, 0.1)),
    linear-gradient(0deg, rgba(11, 15, 16, 0.88), rgba(11, 15, 16, 0.05) 58%);
}

body[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(11, 15, 16, 0.88), rgba(11, 15, 16, 0.42) 44%, rgba(11, 15, 16, 0.1)),
    linear-gradient(0deg, rgba(11, 15, 16, 0.88), rgba(11, 15, 16, 0.05) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  margin: 0 auto 124px;
  transform: translateX(-190px);
}

body[dir="rtl"] .hero-content {
  transform: translateX(190px);
}

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

body[dir="rtl"] .eyebrow {
  text-transform: none;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "IBM Plex Sans Arabic", serif;
  letter-spacing: 0;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2 {
  font-family: "IBM Plex Sans Arabic", serif;
}

.hero h1 {
  max-width: 870px;
  font-size: 66px;
  line-height: 0.98;
  font-weight: 600;
}

.hero-content > p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-city-mix {
  position: absolute;
  z-index: 2;
  right: 46px;
  bottom: 156px;
  width: min(420px, 34vw);
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 12px;
  align-items: end;
}

body[dir="rtl"] .hero-city-mix {
  right: auto;
  left: 46px;
}

.city-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.city-card img {
  height: 260px;
  object-fit: cover;
}

.city-dubai {
  transform: translateY(42px);
}

.city-dubai img {
  height: 220px;
}

.city-card figcaption {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.value-panel {
  position: absolute;
  z-index: 3;
  left: 46px;
  right: 46px;
  bottom: 34px;
  width: min(var(--max), calc(100% - 92px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.value-panel article {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}

.value-panel article:last-child {
  border-inline-end: 0;
}

.value-panel span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.search-wrap {
  position: relative;
  z-index: 6;
  margin-top: -38px;
  padding: 0 46px;
}

.property-search {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 12px;
  background: rgba(245, 240, 232, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.property-search label,
.contact-form label {
  display: grid;
  gap: 7px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 22, 23, 0.1);
  border-radius: var(--radius);
}

.property-search span,
.contact-form span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

body[dir="rtl"] .property-search span,
body[dir="rtl"] .contact-form span {
  text-transform: none;
}

select,
input,
textarea {
  width: 100%;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

select {
  font-weight: 800;
}

.property-search .button {
  min-width: 152px;
}

.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 104px 46px;
}

.section-kicker-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--muted);
}

.section-kicker-row span {
  font-weight: 800;
}

.section-head {
  max-width: 820px;
}

.section h2,
.advisory-copy h2,
.future-copy h2,
.about-card h2,
.contact-copy h2 {
  font-size: 48px;
  line-height: 1.03;
  font-weight: 600;
}

.section-head p,
.advisory-copy p,
.future-copy p,
.about-card p,
.contact-copy p {
  max-width: 710px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.property-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: 260px 1fr auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 52px rgba(11, 15, 16, 0.1);
}

.property-card img {
  height: 260px;
  object-fit: cover;
}

.property-card-body {
  padding: 22px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.property-meta span {
  padding: 6px 9px;
  color: var(--emerald);
  background: rgba(15, 61, 51, 0.08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.property-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", "IBM Plex Sans Arabic", serif;
  font-size: 29px;
  line-height: 1.03;
}

body[dir="rtl"] .property-card h3 {
  font-family: "IBM Plex Sans Arabic", serif;
}

.property-card p {
  margin: 0;
  color: var(--muted);
}

.property-price {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 900;
}

.property-card .card-cta {
  width: 100%;
  min-height: 56px;
  border-radius: 0;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.advisory-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 104px 46px;
}

.advisory-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.advisory-steps article,
.investment-grid article {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.advisory-steps span,
.investment-grid span {
  color: var(--gold);
  font-weight: 900;
}

.advisory-steps h3,
.investment-grid h3 {
  margin: 48px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.investment-section {
  background:
    linear-gradient(180deg, rgba(221, 211, 195, 0.28), rgba(245, 240, 232, 0)),
    var(--ivory);
}

.investment-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.future-section {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 61, 51, 0.96), rgba(11, 15, 16, 0.98)),
    var(--emerald);
}

.future-image {
  min-height: 520px;
  background-image: url("./assets/gcc-tower.jpg");
  background-size: cover;
  background-position: center;
}

.future-copy {
  display: grid;
  align-content: center;
  padding: 74px;
}

.future-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.about-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.about-card {
  display: grid;
  align-content: center;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-image {
  min-height: 520px;
  background-image: url("./assets/gcc-residence.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.contact-section {
  width: min(var(--max), 100%);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 76px 46px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-email {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  color: var(--white);
}

.contact-form option {
  color: var(--ink);
}

.contact-form .form-full,
.contact-form .form-status,
.contact-form button {
  grid-column: 1 / -1;
}

.website-field {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.form-status.is-error {
  color: #f3b3a8;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.site-footer {
  padding: 48px 46px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--black);
}

.site-footer > * {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-family: "Cormorant Garamond", "IBM Plex Sans Arabic", serif;
  font-size: 34px;
  line-height: 1.1;
}

body[dir="rtl"] .site-footer strong {
  font-family: "IBM Plex Sans Arabic", serif;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-email {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 900;
}

.legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    padding: 0 22px;
  }

  .nav-links {
    gap: 13px;
    font-size: 12px;
  }

  .header-actions {
    min-width: 220px;
  }

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

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

@media (max-width: 880px) {
  .site-header {
    height: 72px;
  }

  .brand {
    min-width: auto;
  }

  .brand span {
    font-size: 27px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 72px 12px auto 12px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(11, 15, 16, 0.96);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    min-width: auto;
    margin-inline-start: auto;
  }

  .hero {
    min-height: 96vh;
    padding: 108px 22px 28px;
  }

  .hero-content {
    margin-bottom: 168px;
    transform: none;
  }

  body[dir="rtl"] .hero-content {
    transform: none;
  }

  .hero-city-mix {
    display: none;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 16px;
  }

  .value-panel {
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: calc(100% - 44px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-panel article {
    min-height: 64px;
    padding: 12px;
  }

  .search-wrap {
    margin-top: 0;
    padding: 0;
  }

  .property-search,
  .property-grid,
  .advisory-section,
  .advisory-steps,
  .investment-grid,
  .future-section,
  .about-section,
  .contact-section,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .property-search {
    border-radius: 0;
    box-shadow: none;
  }

  .section,
  .advisory-section,
  .contact-section {
    padding: 66px 22px;
  }

  .section h2,
  .advisory-copy h2,
  .future-copy h2,
  .about-card h2,
  .contact-copy h2 {
    font-size: 36px;
  }

  .future-image,
  .about-image {
    min-height: 360px;
  }

  .future-copy,
  .about-card {
    padding: 34px 22px;
  }

  .contact-section {
    margin-bottom: 0;
    border-radius: 0;
  }

  .site-footer {
    padding: 38px 22px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .property-search {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
