@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --ink:        #0d0d0d;
  --ink-60:     rgba(13,13,13,0.6);
  --ink-30:     rgba(13,13,13,0.3);
  --ink-10:     rgba(13,13,13,0.07);
  --paper:      #f7f6f3;
  --white:      #ffffff;
  --accent:     #2563eb;          /* single, sharp blue accent */
  --accent-dim: rgba(37,99,235,0.08);
  --line:       rgba(13,13,13,0.1);
  --card-r:     18px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-30); border-radius: 99px; }

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,246,243,0.85);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.header.scrolled { box-shadow: 0 8px 40px rgba(0,0,0,0.06); }

.header-top {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 9px 0;
  font-size: 12.5px;
  letter-spacing: 0.2px;
}
.header-top-content {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-contact { display: flex; gap: 28px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}
.contact-item:hover { color: #fff; }

.header-main { padding: 0; }
.header-content {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s var(--ease);
  background: var(--white);
  padding: 4px;
}

.logo:hover .logo-img {
  transform: scale(1.08);
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
/* NAV  */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-60);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--ink-10);
}

.nav-link.active {
  color: var(--ink);
  font-weight: 600;
}
/* NAV - for mobile  */
@media (max-width: 680px) {
  .header-top { display: none; }
  .header-content { padding: 0 16px; height: 60px; }
  .auth-buttons { display: none; }

  /* Hide full nav, show a hamburger instead */
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: rgba(247,246,243,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }
  .nav-link { padding: 12px 16px; font-size: 15px; }

  /* Hamburger button */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
  }
  /* ─── NAV ─────────────────────────────────────────── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-60);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--ink-10);
}

.nav-link.active {
  color: var(--ink);
  font-weight: 600;
}

  /* Hero */
  .hero { padding: 48px 16px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .hero-subtitle { font-size: 15px; }

  /* Sections */
  .properties, .contact, .recommended-section { padding: 60px 16px; }
  .properties-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
}
/* AUTH BUTTONS */
.auth-buttons { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.btn-login {
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: 'Outfit', sans-serif;
}
.btn-login:hover { border-color: var(--ink-60); background: var(--ink-10); }
.btn-signup {
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-signup:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 40px;
}

/* Soft mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  pointer-events: none;
}

/* Subtle dot-grid texture */
.hero::after {
  display:none;
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(13,13,13,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-left { }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 5.5vw, 84px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--ink-60);
  font-weight: 300;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.3s forwards;
}

/* SEARCH BOX */
.search-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  padding: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}

.search-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  background: var(--paper);
  padding: 4px;
  border-radius: 12px;
}
.search-tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-60);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.search-tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.search-tab:hover:not(.active) { color: var(--ink); }

.search-form { display: flex; gap: 8px; }
.search-input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input::placeholder { color: var(--ink-30); }
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.search-btn {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.search-btn:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* HERO RIGHT — big stat block */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  animation: fadeRight 1s var(--ease) 0.3s forwards;
}

.hero-stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.hero-stat-card:first-child {
  background: var(--ink);
  border-color: transparent;
}
.hero-stat-card:first-child .stat-number { color: var(--white); }
.hero-stat-card:first-child .stat-label  { color: rgba(255,255,255,0.5); }
.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -2px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ─── SECTION STRUCTURE ──────────────────────────────── */
.properties {
  padding: 120px 40px;
  background: var(--paper);
}
.recommended-section {
  padding: 100px 40px 40px;
  background: var(--white);
}
.container { max-width: 1280px; margin: auto; }

.section-header { margin-bottom: 56px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-kicker::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--accent);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 10px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--ink-60);
  font-weight: 300;
}

/* ─── PROPERTY CARDS ─────────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.property-card {
  background: var(--white);
  border-radius: var(--card-r);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  will-change: transform;
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.10);
  border-color: rgba(13,13,13,0.15);
}

.property-image-wrap {
  position: relative;
  height: 226px;
  overflow: hidden;
  background: var(--ink-10);
}
.property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}
.property-card:hover .property-image { transform: scale(1.06); }

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 7px;
}

.property-info {
  padding: 24px 24px 16px;
}
.property-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: -0.3px;
  line-height: 1.2;
  transition: color 0.2s;
}
.property-card:hover .property-info h3 { color: var(--accent); }
.property-info p {
  font-size: 13.5px;
  color: var(--ink-60);
  margin-bottom: 2px;
}
.rent {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  margin-top: 14px !important;
  letter-spacing: -0.5px;
  line-height: 1;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--ink-10);
}
.property-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s var(--ease);
}
.property-card:hover .property-cta { gap: 10px; }

/* Property details expand */
.property-details {
  padding: 0 24px 24px;
  border-top: 1px solid var(--ink-10);
  animation: expandIn 0.35s var(--ease);
}
@keyframes expandIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.property-details p {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.7;
  margin-top: 18px;
  white-space: pre-wrap; /* honours line breaks from the DB */
}
.property-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.detail-image {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}
.detail-video { width: 100%; border-radius: 10px; }

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  color: var(--ink-30);
  font-size: 15px;
  padding: 80px 0;
}

/* ─── CONTACT ────────────────────────────────────────── */
.contact {
  padding: 120px 40px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
/* subtle texture */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.contact::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact .section-kicker { color: rgba(255,255,255,0.45); }
.contact .section-kicker::before { background: rgba(255,255,255,0.3); }
.contact .section-title { color: var(--white); }
.contact .section-subtitle { color: rgba(255,255,255,0.4); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  position: relative;
}
.contact-card {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--card-r);
  padding: 36px 30px;
  text-align: center;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
  cursor: pointer;
}
.contact-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-5px);
}
.contact-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease);
  color: #f7f6f3;
}
.contact-card:hover .contact-icon { transform: scale(1.15); }
.contact-card p {
  color: rgba(255,255,255,0.6);
  font-size: 14.5px;
  margin-bottom: 22px;
}
.contact-card button {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 11px 28px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.contact-card button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── MODAL CAROUSEL ─────────────────────────────────── */
.modal-carousel {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--card-r) var(--card-r) 0 0;
  background: var(--ink-10);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s var(--ease), opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: var(--ink);
}
.carousel-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}
.carousel-arrow.hidden { opacity: 0; pointer-events: none; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.carousel-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Counter (1 / 4) */
.carousel-counter {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(13,13,13,0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  backdrop-filter: blur(4px);
}

/* Hide arrows/dots when only 1 image */
.modal-carousel.single .carousel-arrow,
.modal-carousel.single .carousel-dots,
.modal-carousel.single .carousel-counter { display: none; }

/*announcements*/
  .announcement-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,13,13,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .announcement-overlay.show { display: flex; }

  .announcement-modal {
    position: relative;
    background: var(--white);
    border-radius: var(--card-r);
    padding: 40px 36px 36px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    animation: fadeUp 0.35s var(--ease);
    text-align: center;
  }

  .announcement-close {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--ink-10);
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    font-size: 16px;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.2s, color 0.2s;
    line-height: 1;
  }
  .announcement-close:hover { background: var(--ink); color: var(--white); }

  .announcement-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
  }
  .announcement-eyebrow::before {
    content: '';
    display: block;
    width: 20px; height: 1.5px;
    background: var(--accent);
  }

  .announcement-icon { font-size: 15px; }

  .announcement-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.15;
  }

  .announcement-message {
    font-size: 15px;
    color: var(--ink-60);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 28px;
  }

  .announcement-btn {
    background: var(--ink);
    color: var(--white);
    border: none;
    padding: 13px 36px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
    width: 100%;
  }
  .announcement-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }

  /* Mobile */
  @media (max-width: 480px) {
    .announcement-modal { padding: 32px 20px 24px; }
  }
/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: #080808;
  padding: 28px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer p {
  color: rgba(255,255,255,0.2);
  font-size: 12.5px;
  line-height: 2;
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .header-content { padding: 0 24px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(42px, 9vw, 64px); }
}
@media (max-width: 680px) {
   .header-content { padding: 0 24px; }
  .header-top { display: none; }
  .header-content { padding: 0 16px; height: 60px; }
  .auth-buttons { display: none; }

  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: rgba(247,246,243,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }
  .nav-link { padding: 12px 16px; font-size: 15px; }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
  }

  .hero { padding: 48px 16px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .hero-subtitle { font-size: 15px; }

  .properties, .contact, .recommended-section { padding: 60px 16px; }
  .properties-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
}

/* ─── PROPERTY MODAL ─────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--card-r);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeUp 0.35s var(--ease);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--ink-10);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--ink); color: var(--white); }

.modal-hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--card-r) var(--card-r) 0 0;
  display: block;
}

.modal-content { padding: 28px 32px 36px; }
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.modal-area  { font-size: 14px; color: var(--ink-60); margin-bottom: 4px; }
.modal-rent  {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--ink);
  margin: 12px 0 20px;
}
.modal-desc {
  font-size: 14.5px;
  color: var(--ink-60);
  line-height: 1.8;
  white-space: pre-wrap;  /* preserves your DB formatting */
}


/* ─── PROPERTY CHOOSER ───────────────────────────── */
.property-chooser {
  padding: 120px 40px;
  background: var(--white);
}

.chooser-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.chooser-card {
  background: color(#050505);
  border: 1px solid var(--line);
  border-radius: var(--card-r);
  padding: 36px 28px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.chooser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  border-color: var(--ink-30);
}

.chooser-icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.chooser-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.chooser-card p {
  font-size: 14px;
  color: var(--ink-60);
  margin-bottom: 14px;
}

.chooser-cta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.back-btn {
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.25s var(--ease);
}

.back-btn:hover {
  background: var(--ink);
  color: var(--white);
}


/* ─── MODAL ACTION BUTTONS ───────────────────────────── */
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
 
.modal-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
 
.modal-btn-icon { font-size: 16px; }
 
.modal-btn--call {
  background: var(--ink);
  color: var(--white);
  border: none;
}
.modal-btn--call:hover { background: #1a1a1a; }
 
.modal-btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border: none;
}
.modal-btn--whatsapp:hover { background: #1ebe5a; }
 
@media (max-width: 480px) {
  .modal-actions { flex-direction: column; }
}


/* ─── HERO IMAGE VARIANT ─────────────────────────────── */
.hero--img {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Override the default white background */
.hero--img.hero {
  background-color: transparent;
}

/* Replace dot-grid ::after with a dark overlay instead */
.hero--img::after {
  background: rgba(0, 0, 0, 0.45) !important;
  background-image: none !important;
  opacity: 1 !important;
}

/* Keep ::before mesh gradient but make it subtle over image */
.hero--img::before {
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(37,99,235,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(0,0,0,0.2) 0%, transparent 60%);
}

/* Text needs to be white over dark image */
.hero--img .hero-title        { color: #fff; }
.hero--img .hero-title em     { color: var(--accent); }
.hero--img .hero-eyebrow      { color: #93b4f8; }
.hero--img .hero-eyebrow::before { background: #93b4f8; }
.hero--img .hero-subtitle     { color: rgba(255,255,255,0.75); }