/* ==========================================================
   Elite Estates — Premium Minimal Real Estate Stylesheet
   Palette: off-white + charcoal + deep navy + subtle gold
   ========================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colors */
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f4f5f7;
  --ink: #1d1d1f;
  --ink-soft: #3c3f44;
  --muted: #6b7280;
  --line: #e8e9ec;

  --navy-900: #0e2447;
  --navy-800: #16335f;
  --navy-700: #1b3f6b;

  --accent: #c9a24b;
  --accent-dark: #b08c38;
  --accent-soft: #f7f0df;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --white: #ffffff;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.16);

  /* Transitions */
  --t-fast: 0.18s ease;
  --t-med: 0.32s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.18;
  color: var(--navy-900);
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section-soft { background: var(--surface-soft); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--accent); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 12px;
}
.section-more { text-align: center; margin-top: 52px; }
.text-accent { color: var(--accent-dark); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast),
              box-shadow var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn .icon { display: inline-flex; }
.btn-arrow { display: inline-flex; transition: transform var(--t-fast); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(14, 36, 71, 0.24);
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 36, 71, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy-900);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.30);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38);
}
.btn-whatsapp .icon { color: var(--white); }

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 162, 75, 0.55);
  outline-offset: 2px;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-status {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.badge-for-sale { background: var(--navy-900); color: var(--white); }
.badge-for-rent { background: var(--accent); color: var(--navy-900); }


/* ==========================================================
   Header / Navbar (floating + sticky)
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 16px;
  transition: padding var(--t-med);
}
.site-header.is-scrolled { padding-top: 0; }

.header-shell { pointer-events: none; }
.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 20px 0 26px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 233, 236, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-radius var(--t-med), box-shadow var(--t-med),
              border-color var(--t-med), background var(--t-med);
}
.site-header.is-scrolled .header-inner {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--accent);
  flex-shrink: 0;
}
.brand-light { color: var(--white); }
.brand-light .brand-mark { background: rgba(255, 255, 255, 0.12); color: var(--accent); }


.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--navy-900); background: var(--surface-soft); }
.nav-link.is-active { color: var(--navy-900); background: var(--accent-soft); }

.nav-whatsapp { margin-left: 6px; }

.header-actions { display: none; align-items: center; gap: 10px; }
.nav-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
  transition: transform var(--t-fast), background var(--t-fast);
}
.nav-whatsapp-icon:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-toggle-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-med);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: 64px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(201, 162, 75, 0.25);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--navy-900);
  margin-bottom: 22px;
}
.hero-text {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-avatar-stack { display: flex; }
.hero-avatar-stack .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 2px solid var(--bg);
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  margin-left: -8px;
}
.hero-avatar-stack .avatar:first-child { margin-left: 0; background: var(--navy-900); color: var(--white); }
.hero-avatar-stack .avatar:nth-child(2) { background: var(--accent); color: var(--navy-900); }
.hero-trust p { font-size: 0.92rem; color: var(--muted); }
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-media { position: relative; }
.hero-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6.2;
  box-shadow: var(--shadow-lg);
}
.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 36, 71, 0.18), transparent 40%);
}
.hero-float-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.hero-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  flex-shrink: 0;
}
.hero-float-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
  line-height: 1;
}
.hero-float-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}


/* ==========================================================
   Filter tabs
   ========================================================== */
.filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin-bottom: 40px;
}
.featured-section .filter-tabs,
.filter-tabs-center { display: flex; margin-inline: auto; justify-content: center; width: fit-content; }
.filter-tab {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  transition: color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.filter-tab:hover { color: var(--navy-900); }
.filter-tab.is-active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================
   Property grid & cards
   ========================================================== */
.property-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
}

.property-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.property-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--surface-soft);
}
.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.property-card:hover .property-card-media img { transform: scale(1.07); }
.property-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 36, 71, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.property-card:hover .property-card-media::after { opacity: 1; }

.favorite-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.favorite-btn:hover { transform: scale(1.08); }
.favorite-btn.is-active { color: #e0245e; }
.favorite-btn.is-active .favorite-icon { fill: #e0245e; }

.property-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.property-card-title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.property-card-title a { transition: color var(--t-fast); }
.property-card-title a:hover { color: var(--accent-dark); }
.property-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.property-card-location .pin-icon { color: var(--accent-dark); flex-shrink: 0; margin-top: -1px; }
.property-card-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-top: 2px;
}
.price-period {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}

.property-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  margin-block: 4px 2px;
}
.property-card-specs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.property-card-specs .icon {
  display: inline-flex;
  color: var(--accent-dark);
}

.property-card-actions { margin-top: auto; padding-top: 6px; }
.property-card-actions .btn-card {
  padding: 13px 18px;
  font-size: 0.94rem;
  border-radius: var(--radius);
}


/* ==========================================================
   About section
   ========================================================== */
.about-section { background: var(--surface-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.about-content .section-title { margin-bottom: 18px; }
.about-text { color: var(--muted); margin-bottom: 16px; max-width: 560px; }
.about-content .about-text:last-of-type { margin-bottom: 8px; }

/* Stats */
.stats {
  display: flex;
  justify-content: flex-start;
  gap: 44px;
  margin: 30px 0 34px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  padding-right: 44px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; padding-right: 0; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent-dark);
}
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* About page */
.about-page-grid { margin-top: 0; }

/* ==========================================================
   Why Choose Us
   ========================================================== */
.why-section { background: var(--surface); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 75, 0.4);
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 22px;
  transition: background var(--t-fast), color var(--t-fast);
}
.why-card:hover .why-icon { background: var(--navy-900); color: var(--accent); }
.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-text {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================
   CTA section
   ========================================================== */
.cta-section {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(120deg, rgba(14, 36, 71, 0.94), rgba(14, 36, 71, 0.82)),
    url('../images/malaysian_modern_living_room.png') center/cover no-repeat;
}
.cta-inner {
  padding-block: 96px;
  text-align: center;
}
.cta-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 auto 16px;
  max-width: 640px;
}
.cta-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 34px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ==========================================================
   Page hero (inner pages)
   ========================================================== */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
}
.page-hero-inner {
  padding-block: 76px;
  text-align: center;
  max-width: 760px;
}
.page-hero .eyebrow { color: var(--accent); }
.page-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 14px auto 0;
}
.error-code {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 1;
}

/* ==========================================================
   Property detail
   ========================================================== */
.detail-hero { padding-top: 48px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 28px;
  transition: color var(--t-fast), transform var(--t-fast);
}
.back-link:hover { color: var(--navy-900); transform: translateX(-3px); }

.property-detail-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.property-gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main .badge-status { top: 18px; left: 18px; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--surface-soft);
  transition: border-color var(--t-fast), opacity var(--t-fast);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.is-active { border-color: var(--accent); }
.gallery-thumb:not(.is-active) { opacity: 0.75; }
.gallery-thumb:hover { opacity: 1; }

.property-detail-info .eyebrow { margin-bottom: 10px; }
.detail-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.detail-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.detail-location svg { color: var(--accent-dark); flex-shrink: 0; }
.detail-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 6px;
}
.spec-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.spec-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 162, 75, 0.4);
}
.spec-icon {
  display: inline-flex;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.spec-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-900);
  line-height: 1;
}
.spec-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.detail-body { padding-top: 40px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-block { margin-bottom: 44px; }
.detail-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.detail-text {
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 640px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.feature-pill:hover { border-color: rgba(201, 162, 75, 0.5); background: var(--accent-soft); }
.feature-pill svg { color: var(--accent-dark); flex-shrink: 0; }


/* Sticky contact card */
.detail-side { position: sticky; top: 100px; }
.sticky-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.agent-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  flex-shrink: 0;
}
.agent-info { display: flex; flex-direction: column; }
.agent-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}
.agent-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy-900);
}
.sticky-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.sticky-card-text {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.sticky-card .btn { justify-content: center; }
.sticky-card .btn + .btn { margin-top: 12px; }
.sticky-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--t-fast);
}
.sticky-chat svg { color: var(--whatsapp); }
.sticky-chat:hover { color: var(--accent-dark); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 300px;
}
.footer-social-note { margin-top: 0; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { transition: color var(--t-fast); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
}
.footer-contact a { transition: color var(--t-fast); }
.footer-contact a:hover { color: var(--accent); }
.contact-icon {
  display: inline-flex;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.social-link:hover { background: var(--accent); color: var(--navy-900); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}


/* ==========================================================
   Contact / forms / success / empty
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-details { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.contact-details li { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  flex-shrink: 0;
}
.contact-details li div { display: flex; flex-direction: column; }
.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-details a { font-family: var(--font-heading); font-weight: 600; color: var(--navy-900); }
.contact-details a:hover { color: var(--accent-dark); }
.contact-details span { color: var(--ink-soft); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 26px;
}
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
}

.success-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--shadow-sm);
}
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-dark);
  margin-bottom: 24px;
}
.success-card h2 { margin-bottom: 14px; }
.success-card .about-text { margin: 0 auto 28px; max-width: 460px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.empty-state {
  text-align: center;
  max-width: 480px;
  margin: 40px auto;
  padding: 48px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.empty-state p { color: var(--muted); margin-bottom: 22px; }

.about-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }


/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.section-head,
.filter-tabs { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.section-head.revealed,
.filter-tabs.revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================
   Responsive — Tablet (<= 1024px)
   ========================================================== */
@media (max-width: 1024px) {
  .section { padding: 76px 0; }

  .hero-inner { gap: 48px; }
  .hero-float-card { left: 0; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .property-detail-top { grid-template-columns: 1fr; gap: 36px; }
  .property-gallery { max-width: 760px; }
  .detail-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ==========================================================
   Responsive — Tablet portrait (<= 900px)
   ========================================================== */
@media (max-width: 900px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-grid { gap: 48px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .sticky-card { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================
   Responsive — Mobile navigation (<= 768px)
   ========================================================== */
@media (max-width: 768px) {
  .site-header { padding-top: 12px; }
  .header-inner { height: 62px; padding-left: 18px; padding-right: 14px; border-radius: var(--radius); }
  .site-header.is-scrolled .header-inner { border-radius: 0; }

  .nav-toggle { display: flex; }
  .header-actions { display: flex; }

  .site-nav {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-med), opacity var(--t-med);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { text-align: center; padding: 13px; }
  .nav-whatsapp { margin-left: 0; width: 100%; justify-content: center; margin-top: 8px; }

  .hero { padding: 48px 0 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-content { text-align: left; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-media-frame { aspect-ratio: 4 / 3.4; }
  .hero-float-card { left: 12px; }

  .page-hero-inner { padding-block: 60px; }

  .featured-section .filter-tabs,
  .filter-tabs-center { width: 100%; }
  .filter-tab { flex: 1; text-align: center; }

  .stats { gap: 24px; }
  .stat { padding-right: 24px; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

/* ==========================================================
   Responsive — Mobile (<= 560px)
   ========================================================== */
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .section { padding: 64px 0; }

  .brand-name { font-size: 1.15rem; }

  .property-grid { grid-template-columns: 1fr; gap: 22px; }

  .why-grid { grid-template-columns: 1fr; }

  .stats { flex-direction: column; gap: 20px; }
  .stat { border-right: none; padding-right: 0; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .contact-form-wrap { padding: 28px 20px; }
  .success-card { padding: 40px 22px; }
  .success-actions { flex-direction: column; }
  .success-actions .btn { width: 100%; }
  .about-cta { flex-direction: column; align-items: stretch; }
  .about-cta .btn { width: 100%; }
}

/* ==========================================================
   Motion preferences
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .section-head,
  .filter-tabs { opacity: 1; transform: none; }
}


/* ==========================================================
   Skeleton loading
   ========================================================== */
.property-grid.is-loading { position: relative; }
.property-skeleton {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton-blk {
  background: linear-gradient(90deg, var(--surface-soft) 25%, #eceef1 37%, var(--surface-soft) 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}
.skeleton-img { aspect-ratio: 16 / 11; }
.skeleton-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.skeleton-line { height: 14px; border-radius: 6px; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-45 { width: 45%; }
.skeleton-line.w-30 { width: 30%; }

@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

