/* Azha West New Zayed — Premium Real Estate UI
   Palette: Navy | White | Soft Gold */

:root {
  --navy-950: #050a14;
  --navy-900: #0a1628;
  --navy-800: #0f1f3a;
  --navy-700: #152a4a;
  --white: #ffffff;
  --cream-50: #faf8f5;
  --cream-100: #f3efe8;
  --cream-200: #e8e2d6;
  --gold-400: #d4bc7a;
  --gold-500: #c5a85a;
  --gold-600: #a88b3d;
  --text: #1a2332;
  --text-muted: #5c6573;
  --border: rgba(10, 22, 40, 0.08);
  --shadow: 0 24px 60px rgba(10, 22, 40, 0.12);
  --shadow-sm: 0 8px 24px rgba(10, 22, 40, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1180px;
  --header-h: 76px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-600);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--navy-900);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--navy-900);
}

.brand-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold-600);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open {
    max-height: min(80vh, 560px);
    overflow-y: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--cream-200);
  }
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.muted {
  color: var(--text-muted);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--cream {
  background: var(--cream-100);
}

.section--navy {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--cream-100);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy .lead,
.section--navy .muted {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.section--navy .section-kicker {
  color: var(--gold-400);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(5, 10, 20, 0.88) 0%,
      rgba(10, 22, 40, 0.55) 45%,
      rgba(10, 22, 40, 0.35) 100%
    ),
    url("../images/azha-west-new-zayed-resort-lifestyle.jpg") center/cover no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero h1 {
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 52ch;
}

/* Buttons & links as buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(197, 168, 90, 0.35);
}

.btn--gold:hover {
  filter: brightness(1.05);
  color: var(--navy-950);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.btn--outline-dark:hover {
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.btn--ghost:hover {
  color: var(--gold-600);
}

/* Cards & grids */
.grid-2 {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card__body {
  padding: 1.5rem 1.75rem;
}

.card__media {
  aspect-ratio: 16 / 10;
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.stat-card span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Answer blocks (AEO) */
.answer-block {
  border-left: 3px solid var(--gold-500);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.answer-block h3,
.answer-block .q {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 0.5rem;
}

.answer-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.section--navy .answer-block {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--gold-400);
  color: rgba(255, 255, 255, 0.92);
}

.section--navy .answer-block .q {
  color: var(--white);
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 168, 90, 0.25);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

table.comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.comparison th,
table.comparison td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-200);
  vertical-align: top;
}

table.comparison th {
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--cream-100);
  color: var(--navy-900);
}

table.comparison tr:last-child td {
  border-bottom: none;
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  background: var(--white);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 400;
  color: var(--gold-600);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy-800);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--cream-200);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(197, 168, 90, 0.45);
  outline-offset: 1px;
}

.form small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-400);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-tag {
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
}

.social a:hover {
  border-color: var(--gold-400);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold-600);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 20ch;
}

.page-hero .lead {
  max-width: 60ch;
}

/* Split section */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(18, 140, 126, 0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 40px rgba(18, 140, 126, 0.55);
  color: var(--white);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-lg {
  margin-bottom: 2rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(197, 168, 90, 0.15);
  color: var(--navy-800);
}

.figure-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Thank you & 404 */
.simple-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.simple-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

/* Language switcher + RTL (minimal; layout classes unchanged) */
.lang-switch {
  margin: 0;
  margin-inline-start: auto;
  align-self: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.lang-switch a {
  text-decoration: none;
  color: var(--navy-800);
}

.lang-switch a:hover {
  color: var(--gold-600);
}

.lang-switch a[aria-current="page"] {
  color: var(--gold-600);
  font-weight: 700;
}

[dir="rtl"] .wa-float {
  right: auto;
  left: 1.25rem;
}
