/* ============================================================
   Nexus Land Developers — Modern Glassmorphism Design System
   ============================================================ */

:root {
  /* Brand palette — deep forest + warm gold */
  --brand-50:  #f0f7f2;
  --brand-100: #d9ebe0;
  --brand-200: #b4d7c2;
  --brand-300: #82b89a;
  --brand-400: #529a74;
  --brand-500: #2f7a55;
  --brand-600: #226244;
  --brand-700: #1b4e37;
  --brand-800: #163e2d;
  --brand-900: #123325;

  --gold-400: #e8b84a;
  --gold-500: #d4a017;
  --gold-600: #b8860b;

  /* Neutrals */
  --gray-50:  #f8faf9;
  --gray-100: #f1f4f2;
  --gray-200: #e2e8e4;
  --gray-300: #c8d1cb;
  --gray-400: #94a39a;
  --gray-500: #64756c;
  --gray-600: #4a5a52;
  --gray-700: #36413b;
  --gray-800: #242c28;
  --gray-900: #151a17;

  /* Semantic */
  --bg:            #0c1210;
  --bg-elevated:   rgba(22, 32, 28, 0.65);
  --surface:       rgba(255, 255, 255, 0.06);
  --surface-2:     rgba(255, 255, 255, 0.10);
  --surface-3:     rgba(255, 255, 255, 0.14);
  --border:        rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text:          #f0f5f2;
  --text-muted:    #c5d4cc;
  --text-subtle:   #9aada3;
  --accent:        var(--brand-400);
  --accent-hover:  var(--brand-300);
  --gold:          var(--gold-400);

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.07);
  --glass-border:  rgba(255, 255, 255, 0.14);
  --glass-shadow:  0 8px 32px rgba(0, 0, 0, 0.35);
  --glass-blur:    blur(20px) saturate(160%);

  /* Spacing & radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --header-h: 72px;
  --wrap: min(1200px, 100% - 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
}

/* Light theme */
[data-theme="light"] {
  --bg:            #f4f7f5;
  --bg-elevated:   rgba(255, 255, 255, 0.72);
  --surface:       rgba(255, 255, 255, 0.55);
  --surface-2:     rgba(255, 255, 255, 0.75);
  --surface-3:     rgba(255, 255, 255, 0.90);
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text:          #121816;
  --text-muted:    #3d4a44;
  --text-subtle:   #4a5a52;
  --glass-bg:      rgba(255, 255, 255, 0.55);
  --glass-border:  rgba(255, 255, 255, 0.65);
  --glass-shadow:  0 8px 32px rgba(18, 40, 30, 0.08);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient background gradient mesh */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(47, 122, 85, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(212, 160, 23, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(34, 98, 68, 0.18), transparent 50%),
    var(--bg);
  pointer-events: none;
}

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 80% 60% at 15% 5%, rgba(47, 122, 85, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(232, 184, 74, 0.10), transparent 50%),
    radial-gradient(ellipse 50% 30% at 40% 90%, rgba(82, 154, 116, 0.08), transparent 45%),
    var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:not(.btn):not(.brand):not(.nav-links a):not(.mobile-panel a):not(.whatsapp-float) {
  color: #1769e0;
}
a:not(.btn):not(.brand):not(.nav-links a):not(.mobile-panel a):not(.whatsapp-float):hover {
  color: #0d55bd;
  text-decoration: underline;
  text-underline-offset: 3px;
}
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
select, input, textarea { min-width: 0; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, .brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 38ch;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ============================================================
   Glass utility
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-strong {
  background: var(--surface-2);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--glass-shadow);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #2b2b2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.btn-inquire {
  background: #1769e0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(23, 105, 224, 0.3);
}

.btn-inquire:hover {
  background: #0d55bd;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(23, 105, 224, 0.4);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #1a1408;
  box-shadow: 0 4px 18px rgba(212, 160, 23, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 160, 23, 0.45);
}

/* ============================================================
   Header / Navigation — Liquid Glass functional layer
   ============================================================ */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  height: auto;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  transition: padding var(--duration);
}

body.home-page #siteHeader {
  position: absolute;
  right: 0;
  left: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
  padding: 0.65rem 0.9rem 0.65rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(12, 18, 16, 0.58);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background var(--duration), box-shadow var(--duration), border-color var(--duration);
}

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 35px rgba(18, 40, 30, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#siteHeader.scrolled .nav {
  background: rgba(12, 18, 16, 0.72);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

[data-theme="light"] #siteHeader.scrolled .nav {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(18, 40, 30, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 0;
  background: transparent;
}

.brand img,
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}


[data-theme="light"] .brand-logo--light {
  display: block;
}

[data-theme="light"] .brand-logo--dark {
  display: none;
}

[data-theme="dark"] .brand-logo--light {
  display: none;
}

[data-theme="dark"] .brand-logo--dark {
  display: block;
}

footer .brand img,
footer .brand-logo {
  height: 42px;
  max-width: 190px;
}

@media (max-width: 480px) {
  .brand img,
  .brand-logo {
    height: 36px;
    max-width: 160px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.25s;
}

.theme-toggle:hover {
  background: var(--surface-2);
  color: var(--text);
}

.theme-toggle-mark {
  font-size: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile panel — narrow dark drawer */
.mobile-panel {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: auto;
  width: min(200px, 65vw);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: rgba(8, 12, 10, 0.96);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 0 var(--radius-lg);
  padding: 0.85rem 0.75rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  box-shadow: -12px 16px 40px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .mobile-panel {
  background: rgba(18, 24, 20, 0.94);
  color: #f0f5f2;
}

.mobile-panel.open { display: flex; }

.mobile-panel a {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(240, 245, 242, 0.75);
}

.mobile-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 6.8rem 0 3.5rem;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}

[data-theme="light"] .hero-slide img {
  filter: brightness(0.7) saturate(1.05);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.1rem;
  align-items: center;
}

.home-page .hero-grid {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.home-page .hero h1 {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.home-page .hero .lede,
.home-page .hero .eyebrow {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero h1 {
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 30%, var(--brand-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero h1 {
  background: linear-gradient(135deg, var(--gray-900) 20%, var(--brand-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: 280px;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.hero-prev, .hero-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: all 0.25s;
}

.hero-prev:hover, .hero-next:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

.hero-slider-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.25s;
}

.hero-slider-dots button.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

/* ============================================================
   Trust strip & search card
   ============================================================ */
.below-hero-tools {
  padding: 0 0 3rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item .classic-icon {
  color: var(--accent);
  font-weight: 700;
}

.search-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr) auto;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.field select,
.field input,
.field textarea {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s;
  width: 100%;
  font: inherit;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2394a39a'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem !important;
}

.enquiry-form .field input,
.enquiry-form .field textarea {
  background-image: none;
}

/* ============================================================
   Sections common
   ============================================================ */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
}

/* ============================================================
   About section
   ============================================================ */
.about-section {
  position: relative;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-copy .btn {
  margin-top: 0.5rem;
}

.about-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
}

/* ============================================================
   Stats
   ============================================================ */
.stats-section {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stat-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.stat-card .value {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-card .label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   Listings / Filter layout
   ============================================================ */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-section:last-child { margin-bottom: 0; }

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
}

.filter-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-500);
  border-radius: 4px;
}

/* Listing cards */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.listing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.listing-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.listing-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.listing-card:hover .thumb img {
  transform: scale(1.06);
}

.listing-card .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.listing-card .body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.listing-card h3 {
  font-size: 1.1rem;
}

.listing-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.listing-card .price {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
  padding-top: 0.75rem;
}

.listing-card .price-note {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.listing-card .listing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.listing-card--featured {
  border-color: rgba(232, 184, 74, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.listing-card--featured:hover {
  border-color: var(--gold);
}

/* Currency switcher on listing cards */
.currency-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.currency-btn {
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.currency-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.currency-btn.active {
  color: #1a1408;
  background: var(--gold);
  border-color: var(--gold);
}

/* ============================================================
   Districts / FAQ / About shared cards
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.glass-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.glass-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.glass-card h3 {
  margin-bottom: 0.6rem;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 720px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Policies / Content pages
   ============================================================ */
.policy-content {
  max-width: 720px;
  margin: 0 auto;
}

.policy-content h2 {
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.policy-content h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.policy-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  margin-top: 4rem;
  padding: 4rem 0 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
  max-width: 28ch;
}

.footer-socials h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.footer-socials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-socials-list a,
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Brand hover colors — real app identity */
.social-tiktok:hover {
  color: #fff;
  background: #010101;
  border-color: #010101;
}

.social-instagram:hover {
  color: #fff;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
}

.social-youtube:hover {
  color: #fff;
  background: #ff0000;
  border-color: #ff0000;
}

.footer-socials-list a:hover {
  transform: translateY(-2px);
}

.footer-col h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.footer-heading-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.phone-reference-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.legal {
  display: flex;
  gap: 1.25rem;
}

.legal a:hover {
  color: var(--accent);
}

/* Theme toggle float — bottom left */
.theme-float {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.theme-float:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
}

.theme-float .theme-toggle-mark {
  font-size: 1.1rem;
  line-height: 1;
}

/* WhatsApp float — bottom right */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .whatsapp-icon {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .theme-float .theme-label {
    display: none;
  }
  .theme-float {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --wrap: min(100% - 2rem, 1200px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-card { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-card { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --wrap: min(100% - 1.5rem, 1200px); }
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  #siteHeader { padding: 0.5rem 0; }
  .nav { min-height: 64px; padding: 0.45rem 0.65rem 0.45rem 0.85rem; gap: 0.65rem; }
  .brand img, .brand-logo { max-width: min(48vw, 190px); }
  .search-card { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { flex: 1 1 220px; }
  .listing-card .thumb { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  :root { --wrap: calc(100% - 1.25rem); }
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding: 6.1rem 0 2.45rem; }
  .home-page .hero { min-height: 620px; }
  .home-page .hero-grid { max-width: none; }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3rem); }
  .hero-actions { gap: 0.65rem; }
  .hero-actions .btn { width: 100%; flex-basis: 100%; }
  .search-card { padding: 1rem; gap: 0.75rem; }
  .listing-card .body { padding: 1rem; }
  .whatsapp-float { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
  .theme-float { left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); }
  .hero-art img { max-height: 200px; }
  section { padding: 3rem 0; }
}


/* ============================================================
   Accessibility — touch targets & focus
   ============================================================ */
.btn,
.currency-btn,
.theme-float,
.whatsapp-float,
.hamburger,
.hero-prev,
.hero-next,
.nav-links a,
.mobile-panel a {
  min-height: 48px;
  min-width: 48px;
}

.currency-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.75rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.btn:focus-visible,
.currency-btn:focus-visible,
.theme-float:focus-visible,
.whatsapp-float:focus-visible,
.nav-links a:focus-visible,
.mobile-panel a:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   Prose sections (plain reading text, no tiles)
   ============================================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  margin: 3rem 0 1rem;
}

.prose > h2:first-child,
.prose > .eyebrow + h2 {
  margin-top: 0;
}

.prose h3 {
  margin: 2rem 0 0.5rem;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
}

.prose p,
.prose li {
  color: var(--text-muted);
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1.1rem;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent-hover);
}

.policy-content h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
}

.policy-content a,
.faq-answer-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer-inner p + p {
  margin-top: 0.75rem;
}

.faq-item.open .faq-answer {
  max-height: 1200px;
}


/* ============================================================
   Line icons (Lucide, ISC licence)
   ============================================================ */
.icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-card .meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.theme-toggle-mark {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-mark .icon {
  width: 1.1em;
  height: 1.1em;
}

.hero-prev .icon,
.hero-next .icon {
  width: 1.2em;
  height: 1.2em;
}

/* ============================================================
   Listing preview gallery
   ============================================================ */
.listing-card .thumb {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}
.listing-card .thumb::after {
  content: "View photos";
  position: absolute;
  left: 50%;
  bottom: .75rem;
  transform: translate(-50%, .35rem);
  padding: .42rem .7rem;
  border-radius: 999px;
  background: rgba(10, 18, 14, .72);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(12px);
}
.listing-card .thumb:hover::after,
.listing-card .thumb:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.listing-gallery {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 8, 6, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.listing-gallery.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.listing-gallery-dialog {
  width: min(1100px, 100%);
  max-height: min(92vh, 900px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .8rem;
  padding: .9rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  overflow: hidden;
}
.listing-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.listing-gallery-title {
  min-width: 0;
}
.listing-gallery-title h3 {
  margin: 0;
}
.listing-gallery-count {
  color: var(--text-subtle);
  font-size: .85rem;
}
.listing-gallery-close,
.listing-gallery-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: background .2s ease, transform .2s ease;
}
.listing-gallery-close:hover,
.listing-gallery-arrow:hover {
  background: var(--surface-3);
  transform: translateY(-1px);
}
.listing-gallery-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #07100c;
}
.listing-gallery-stage img {
  width: 100%;
  height: 100%;
  min-height: min(52vh, 620px);
  object-fit: contain;
}
.listing-gallery-empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}
.listing-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  pointer-events: none;
}
.listing-gallery-arrow {
  pointer-events: auto;
}
.listing-gallery-thumbs {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .1rem .1rem .25rem;
}
.listing-gallery-thumb {
  width: 76px;
  height: 58px;
  flex: 0 0 76px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface);
  opacity: .72;
}
.listing-gallery-thumb.is-active {
  border-color: var(--gold);
  opacity: 1;
}
.listing-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-details-trigger {
  margin-top: .75rem;
}
body.gallery-lock {
  overflow: hidden;
}
@media (max-width: 640px) {
  .listing-gallery { padding: .5rem; }
  .listing-gallery-dialog { padding: .65rem; border-radius: 18px; }
  .listing-gallery-stage img { min-height: 45vh; }
  .listing-gallery-thumb { width: 64px; height: 50px; flex-basis: 64px; }
}

/* Listing filter results */
.listing-card[hidden],
.listings-grid[hidden],
.listings-empty[hidden] { display: none; }

.listings-count {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.listings-empty {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}
