/* ============================================================
   Dubai Estate Steward — Design System (des.css)
   Luxury residential concierge brand
   Palette: Midnight Onyx #0F1115 / Emirati Gold #C8A96B /
            Champagne Sand #E7D8BE / Pearl Ivory #F7F3EC /
            Palm Shadow #2F4A45
   Typography: Playfair Display (headings) + Inter (body)
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2A2A2A;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #C8A96B; text-decoration: none; transition: color 0.2s; }
a:hover { color: #B89355; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #0F1115;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section--cream { background: #F7F5F1; }
.section--charcoal { background: #1A1D22; color: #E0DDD8; }
.section--charcoal h2,
.section--charcoal h3 { color: #F7F3EC; }

.text-center { text-align: center; }
.text-gold { color: #C8A96B; }
.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #C8A96B;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn--primary {
  background: #C8A96B;
  color: #0F1115;
  border-color: #C8A96B;
}
.btn--primary:hover {
  background: #B89355;
  border-color: #B89355;
  color: #0F1115;
}
.btn--outline {
  background: transparent;
  color: #F7F3EC;
  border-color: #E7D8BE;
}
.btn--outline:hover {
  background: #1F242B;
  color: #F7F3EC;
}
.btn--white {
  background: #FFFFFF;
  color: #0F1115;
  border-color: #FFFFFF;
}
.btn--white:hover {
  background: #F7F3EC;
  border-color: #F7F3EC;
}
.btn--dark {
  background: #0F1115;
  color: #F7F3EC;
  border-color: #0F1115;
}
.btn--dark:hover {
  background: #C8A96B;
  color: #0F1115;
  border-color: #C8A96B;
}
.btn--lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
  border-bottom: 1px solid rgba(200, 169, 107, 0.15);
}
.site-header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #F7F3EC;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #C8A96B;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: #F0ECE6;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: #C8A96B;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8A96B;
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: rgba(200, 169, 107, 0.12);
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.hamburger:hover {
  background: rgba(200, 169, 107, 0.2);
  border-color: #C8A96B;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: #C8A96B;
  transition: all 0.3s;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 17, 21, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #F0ECE6;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.mobile-nav a:hover { color: #C8A96B; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, #0F1115 0%, #1A1D22 50%, #0F1115 100%);
  padding-top: 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 169, 107, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 169, 107, 0.05) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero h1 {
  color: #F7F3EC;
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: #C8A96B;
}
.hero p {
  color: #E7D8BE;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 169, 107, 0.1);
  border: 1px solid rgba(200, 169, 107, 0.25);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  color: #C8A96B;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

/* --- Trust Bar --- */
.trust-bar {
  background: #2F4A45;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(200, 169, 107, 0.15);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #F7F3EC;
  font-weight: 500;
}
.trust-item svg {
  width: 24px;
  height: 24px;
  color: #E7D8BE;
  flex-shrink: 0;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  background: #F7F3EC;
  border: 1px solid #D6C6AE;
  border-radius: 8px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #C8A96B;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover {
  border-color: #C8A96B;
  box-shadow: 0 8px 30px rgba(200, 169, 107, 0.12);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 169, 107, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #C8A96B;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: #0F1115; }
.service-card p { color: #2A2A2A; font-size: 0.9375rem; margin-bottom: 1rem; }
.service-card ul { margin-bottom: 1.25rem; }
.service-card ul li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: #2A2A2A;
  font-size: 0.875rem;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: #C8A96B;
  border-radius: 50%;
}

/* --- Membership Cards --- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.membership-card {
  background: #F7F3EC;
  border: 1px solid #D6C6AE;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.membership-card--featured {
  border-color: #C8A96B;
  box-shadow: 0 8px 40px rgba(200, 169, 107, 0.15);
  transform: scale(1.03);
}
.membership-card--featured .membership-badge {
  display: inline-block;
  background: #C8A96B;
  color: #0F1115;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.membership-tier {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #C8A96B;
  margin-bottom: 0.25rem;
}
.membership-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0F1115;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.membership-price span { font-size: 1rem; font-weight: 400; color: #A99C8C; }
.membership-period { font-size: 0.8125rem; color: #A99C8C; margin-bottom: 1.5rem; }
.membership-features {
  text-align: left;
  margin-bottom: 2rem;
}
.membership-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  color: #2A2A2A;
  border-bottom: 1px solid #E7D8BE;
}
.membership-features li:last-child { border-bottom: none; }
.membership-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #C8A96B;
  font-weight: 700;
}

/* --- How It Works / Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #C8A96B, rgba(200, 169, 107, 0.2));
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0F1115;
  color: #C8A96B;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
  border: 3px solid #C8A96B;
}
.step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.step p { color: #2A2A2A; font-size: 0.875rem; }

/* --- Area Cards --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.area-card {
  background: #F7F3EC;
  border: 1px solid #D6C6AE;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
}
.area-card:hover {
  border-color: #C8A96B;
  box-shadow: 0 4px 20px rgba(200, 169, 107, 0.12);
}
.area-card h3 { font-size: 1.125rem; margin-bottom: 0.375rem; color: #0F1115; }
.area-card p { color: #2A2A2A; font-size: 0.875rem; margin-bottom: 0; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #D6C6AE;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0F1115;
  text-align: left;
  gap: 1rem;
}
.faq-question:hover { color: #C8A96B; }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #C8A96B;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: #2A2A2A;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0F1115;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #D6C6AE;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #0F1115;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C8A96B;
  box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: 0.8125rem;
  color: #D32F2F;
  margin-top: 0.25rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #D32F2F; }
.form-group.has-error .form-error { display: block; }
.form-success {
  display: none;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
}
.form-success.show { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Contact info sidebar */
.contact-info-block {
  margin-bottom: 2rem;
}
.contact-info-block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #0F1115;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: #C8A96B;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item p { margin-bottom: 0; font-size: 0.9375rem; color: #2A2A2A; }
.contact-info-item a { color: #C8A96B; font-weight: 500; }

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: #FFFFFF; }

/* --- Footer --- */
.site-footer {
  background: #0B0D11;
  color: #A99C8C;
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: #A99C8C;
}
.footer-col h4 {
  color: #F7F3EC;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: #E7D8BE;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #C8A96B; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
}
.footer-bottom a { color: #A99C8C; margin-left: 1.5rem; }
.footer-bottom a:hover { color: #C8A96B; }

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lazy { opacity: 0; transition: opacity 0.4s; }
.lazy.loaded { opacity: 1; }

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(165deg, #0F1115 0%, #1A1D22 100%);
  padding: 8rem 0 4rem;
  text-align: center;
}
.page-header h1 { color: #F7F3EC; font-size: 2.75rem; margin-bottom: 0.75rem; }
.page-header p { color: #E7D8BE; font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: #A99C8C;
}
.breadcrumbs a { color: #C8A96B; }
.breadcrumbs span { margin: 0 0.5rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-card--featured { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .section { padding: 3.5rem 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-bottom a { margin-left: 0; margin: 0 0.75rem; }

  .page-header { padding: 6rem 0 3rem; }
  .page-header h1 { font-size: 2rem; }
  .trust-bar-inner { gap: 1.5rem; }
}

@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero h1 { font-size: 3.75rem; }
}
