:root {
  --ink: #163b3a;
  --sand: #f6f2ea;
  --lime: #d8e454;
  --coral: #e87d60;
  --muted: #6c7975;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.site-header {
  height: 82px;
  padding: 0 6.4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(22,59,58,.13);
  position: absolute;
  top: 0;
  z-index: 2;
  width: 100%;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-mark {
  color: var(--coral);
  font-size: 26px;
  margin-right: 4px;
}

nav {
  display: flex;
  gap: 34px;
}

nav a,
footer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover,
footer a:hover {
  color: var(--coral);
}

.header-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.header-cta span {
  font-size: 17px;
  margin-left: 6px;
}

.hero {
  min-height: 720px;
  padding: 168px 6.4vw 86px;
  position: relative;
  overflow: hidden;
  background: #d9e0c9;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #4f625d;
}

.eyebrow span {
  display: inline-block;
  width: 23px;
  height: 1px;
  background: var(--coral);
  vertical-align: middle;
  margin: 0 9px 2px 0;
}

.hero h1,
.section-heading h2,
.contact h2 {
  font: 700 clamp(44px, 5.5vw, 76px)/1.15 "Playfair Display", serif;
  letter-spacing: -1px;
  margin: 0;
}

.hero h1 em,
.section-heading em,
.contact em {
  color: var(--coral);
  font-weight: 700;
  font-style: italic;
}

.hero-text {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.75;
  color: #52625f;
  margin: 24px 0 34px;
}

.primary-button,
.submit-button {
  font: 700 14px "DM Sans", sans-serif;
  border: 0;
  background: var(--ink);
  color: white;
  padding: 16px 24px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.primary-button:hover,
.submit-button:hover {
  background: #0f2a29;
}

.primary-button span,
.submit-button span {
  font-size: 18px;
  line-height: 1;
  color: var(--lime);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 440px;
}

.site-header--dark {
  position: sticky;
  background: var(--ink);
}

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

.btn--outline-ink {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn--outline-lime {
  background: transparent;
  border: 2px solid var(--lime);
  color: var(--lime);
}

.nav-link--active {
  color: var(--lime);
}

.contact-whatsapp {
  background: #25D366;
  color: white;
  margin-top: 10px;
}

.contact-whatsapp span {
  color: white;
}

.form-error-field {
  border-color: var(--coral) !important;
}

.about-hero {
  padding: 80px 6.4vw;
  background: var(--sand);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  direction: rtl;
}

.about-hero-text {
  flex: 1;
  min-width: 300px;
}

.about-hero-text h2 {
  font: 700 clamp(36px, 4vw, 42px)/1.3 "Playfair Display", serif;
  color: var(--ink);
  margin: 0 0 20px;
}

.about-hero-text p {
  font: 400 16px/1.8 'Cairo', sans-serif;
  color: var(--muted);
  margin: 0 0 15px;
}

.about-hero-img {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-hero-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 4px solid var(--lime);
  display: block;
}

.contact-whatsapp-wrap {
  margin-top: 40px;
}

.lang-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.requested-property-input {
  background-color: rgba(22, 59, 58, 0.05);
  cursor: not-allowed;
  color: var(--coral);
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  border-bottom: 1px solid rgba(22,59,58,.45);
  padding: 12px 0;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.sell-form-textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--muted);
  border-radius: 6px;
  font-family: 'Cairo', sans-serif;
  resize: vertical;
  background: transparent;
  color: var(--ink);
}

.sun-disc {
  width: min(35vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  position: absolute;
  right: -7%;
  top: 2%;
  box-shadow: 0 0 0 50px rgba(216,228,84,.11);
}

.sun-orbit {
  position: absolute;
  border: 1px solid rgba(22,59,58,.09);
  border-radius: 50%;
}

.orbit-one {
  width: 700px;
  height: 700px;
  right: -250px;
  top: -220px;
}

.orbit-two {
  width: 1000px;
  height: 1000px;
  right: -380px;
  top: -360px;
}

.hero-foot {
  position: absolute;
  bottom: 29px;
  left: 6.4vw;
  right: 6.4vw;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #68766c;
}

.hero-foot > span:last-child {
  margin-left: auto;
}

.scroll-line {
  height: 1px;
  width: 65px;
  background: var(--ink);
}

.stats {
  padding: 76px 6.4vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  gap: 30px;
  background: var(--ink);
  color: white;
}

.stats div {
  border-right: 1px solid rgba(255,255,255,.2);
  display: flex;
  gap: 16px;
  align-items: center;
}

.stats strong {
  font: 700 42px/1 "Playfair Display", serif;
  color: var(--lime);
  letter-spacing: normal;
}

.stats span,
.stats p {
  font-size: 13px;
  line-height: 1.6;
  color: #cad4d0;
}

.stats p {
  margin: 0 0 0 15px;
  align-self: center;
}

/* --- FEATURED PROMOS SECTION --- */
.featured-promos {
  padding: 80px 6.4vw 20px;
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.promo-card {
  position: relative;
  min-height: 380px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(22, 59, 58, 0.1);
  transition: transform 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
}

.promo-one {
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=800&q=80');
}

.promo-two {
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=800&q=80');
}

.promo-overlay {
  background: linear-gradient(to top, rgba(10,30,29,0.95) 0%, rgba(10,30,29,0.4) 60%, transparent 100%);
  width: 100%;
  padding: 50px 32px 32px;
  color: white;
}

.promo-overlay h3 {
  font-size: 34px;
  margin: 0 0 8px;
  color: var(--lime);
  text-align: right;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.promo-overlay p {
  font-size: 15px;
  margin: 0;
  color: #f6f2ea;
  font-family: "DM Sans", system-ui, sans-serif;
}

[dir="rtl"] .promo-overlay p {
  text-align: right;
  font-family: 'Cairo', sans-serif !important;
}

.areas {
  padding: 130px 6.4vw;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 58px;
}

.section-heading h2,
.contact h2 {
  font-size: 52px;
  line-height: 1.15;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.area-card {
  min-height: 345px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: 6px;
}

.area-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,30,29,.85), rgba(10,30,29,.04) 65%);
}

.area-card > * {
  position: relative;
}

.area-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.area-card h3 {
  font: 700 36px/1.2 "Playfair Display", serif;
  margin: 8px 0 16px;
  letter-spacing: normal;
}

.area-card a {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.area-card b {
  font-size: 18px;
  margin-left: 8px;
  color: var(--lime);
}

.contact {
  padding: 115px 12vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: #eed8bd;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 400px;
  color: #59645e;
  line-height: 1.75;
  font-size: 15px;
  margin: 24px 0;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 36px;
}

.contact-note span {
  color: var(--coral);
  font-size: 18px;
  line-height: 1;
}

.contact-note p {
  font-size: 12px;
  line-height: 1.6;
  margin: 2px 0 0;
  max-width: 260px;
}

.lead-form {
  padding-top: 12px;
}

.lead-form label {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 24px;
}

.lead-form input,
.lead-form select {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22,59,58,.45);
  border-radius: 0;
  padding: 12px 0;
  margin-top: 8px;
  color: var(--ink);
  font: 500 15px "DM Sans", system-ui, sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--coral);
}

.lead-form input::placeholder {
  color: #8a928c;
}

.submit-button {
  width: 100%;
  justify-content: space-between;
  margin-top: 16px;
  background: var(--ink);
}

.form-status {
  min-height: 24px;
  font-size: 14px;
  margin: 16px 0 0;
  color: var(--ink);
  font-weight: 500;
}

footer {
  padding: 36px 6.4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer .brand {
  font-size: 20px;
}

footer p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 24px;
    height: 70px;
  }
  nav {
    display: none;
  }
  .hero {
    padding: 130px 24px 88px;
    display: block;
    min-height: 740px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: normal;
  }
  .hero-visual {
    height: 310px;
    margin-top: 24px;
  }
  .sun-disc {
    width: 300px;
  }
  .stats {
    padding: 46px 24px;
    grid-template-columns: 1fr 1fr;
  }
  .stats div {
    border: 0;
  }
  .stats p {
    grid-column: span 2;
    margin: 12px 0 0;
  }
  .featured-promos {
    grid-template-columns: 1fr;
    padding: 60px 24px 20px;
  }
  .promo-card {
    min-height: 280px;
  }
  .promo-overlay h3 {
    font-size: 28px;
  }
  .areas {
    padding: 75px 24px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-heading h2,
  .contact h2 {
    font-size: 38px;
    letter-spacing: normal;
  }
  .area-card {
    min-height: 260px;
  }
  .contact {
    padding: 75px 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  footer {
    padding: 30px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- ARABIC RTL & LANGUAGE MODAL SUPPORT --- */
[dir="rtl"] {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] .brand, 
[dir="rtl"] strong, 
[dir="rtl"] b {
  font-family: 'Cairo', system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
}

[dir="rtl"] p, 
[dir="rtl"] span, 
[dir="rtl"] a, 
[dir="rtl"] label, 
[dir="rtl"] input, 
[dir="rtl"] select, 
[dir="rtl"] button {
  font-family: 'Cairo', system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}

[dir="rtl"] .primary-button, 
[dir="rtl"] .submit-button {
  flex-direction: row-reverse;
}

[dir="rtl"] .eyebrow span {
  margin: 0 0 2px 9px;
}

[dir="rtl"] .stats div {
  border-right: none;
  border-left: 1px solid rgba(255,255,255,.2);
}

[dir="rtl"] .dir-arrow {
  display: inline-block;
  transform: scaleX(-1);
}

[dir="rtl"] .slider-label {
  left: auto;
  right: 22px;
}

[dir="rtl"] .slider-dots {
  right: auto;
  left: 22px;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 17px;
}

[dir="rtl"] .contact-note {
  flex-direction: row;
}

.lang-card button {
  min-width: 150px;
  justify-content: center;
}
/* --- STORE SECTION --- */
.property-store {
  padding: 100px 6.4vw;
  background: #fff;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.store-card {
  background: var(--sand);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.card-img-wrapper {
  position: relative;
  height: 240px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ink);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.status-badge.rent {
  background: var(--coral);
}

.store-card-content {
  padding: 24px;
}

.store-card-content .price {
  color: var(--coral);
  font-size: 22px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.store-card-content h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
}

.store-card-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.store-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  font: 700 15px 'Cairo', sans-serif;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-btn:hover {
  background: var(--ink);
  color: var(--lime);
}

[dir="rtl"] .store-btn {
  flex-direction: row-reverse;
}

.guide-grid {
  padding: 80px 6.4vw;
  background: var(--sand);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.guide-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.guide-card h3 {
  color: var(--coral);
  font: 700 24px/1.3 'Cairo', sans-serif;
  margin: 0 0 15px;
}

.guide-card p {
  color: var(--muted);
  line-height: 1.8;
  font-family: 'Cairo', sans-serif;
  margin: 0;
}
/* --- PREMIUM FORM & MODAL FIXES --- */
#lang-modal {
  position: fixed; inset: 0; background: rgba(22, 59, 58, 0.8);
  z-index: 99999; display: flex; justify-content: center; align-items: center;
}
.lead-form {
  background: #ffffff; padding: 40px; border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05);
  max-width: 650px; margin: 0 auto;
}
.lead-form label { display: block; margin-bottom: 24px; }
.lead-form label span {
  display: block; font-family: 'Cairo', sans-serif; font-weight: 700; color: var(--ink); margin-bottom: 10px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 16px; border: 2px solid #eef1f0; border-radius: 10px;
  font-family: 'Cairo', sans-serif; transition: 0.3s; background: #fdfdfd;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(22, 59, 58, 0.1);
}
.lead-form .submit-button {
  width: 100%; padding: 18px; background: var(--ink); color: var(--lime);
  border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.lead-form .submit-button:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(22, 59, 58, 0.3); }
/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
}

/* عشان على الموبايل ميكنش كبير ومزعج */
@media screen and (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
/* --- تغيير لون الكلام جوه زرار الإرسال للأبيض --- */
.lead-form .submit-button,
.lead-form .submit-button span {
  color: #ffffff !important;
}