/* =============================================================
   RENTVALA — fixes.css
   Bridges HTML class names with main.css design tokens.
   Load AFTER main.css.
   ============================================================= */

/* ══════════════════════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 0;
  z-index: 300;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.topbar a:hover { color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   NAVBAR  (.navbar maps to .main-nav design)
══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease, height 0.3s ease;
}
[data-theme="dark"] .navbar {
  background: rgba(15,17,23,0.97);
  border-bottom-color: var(--border);
}
.navbar.nav-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.09);
  height: 58px;
}
.navbar.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.nav-logo {
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.nav-link:hover { color: var(--teal); background: var(--teal-light); }
.nav-link.active { color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   CITY SWITCHER
══════════════════════════════════════════════════════════════ */
.city-switcher {
  position: relative;
  flex-shrink: 0;
}
.city-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  background: var(--bg2);
  color: var(--txt);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.city-btn:hover { border-color: var(--teal); color: var(--teal); }
.city-btn .chevron { transition: transform 0.2s; }
.city-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 400;
  overflow: hidden;
  display: none;
}
.city-dropdown.open { display: block; animation: dropFade 0.18s ease; }
@keyframes dropFade { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

.city-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.city-opt:last-child { border-bottom: none; }
.city-opt:hover { background: var(--teal-light); color: var(--teal); }
.city-opt.active { color: var(--teal); background: var(--teal-light); }
.city-count {
  font-size: 11px;
  color: var(--txt3);
  font-weight: 500;
  background: var(--bg3);
  padding: 2px 7px;
  border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════════
   THEME TOGGLE
══════════════════════════════════════════════════════════════ */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--txt2);
  position: relative;
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ══════════════════════════════════════════════════════════════
   USER AVATAR & DROPDOWN
══════════════════════════════════════════════════════════════ */
.user-menu-wrap {
  position: relative;
}
.user-avatar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.user-avatar-initials {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.user-avatar-btn:hover .user-avatar-initials {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(45,197,162,0.3);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 400;
  overflow: hidden;
  display: none;
  animation: dropFade 0.18s ease;
}
.user-dropdown.open { display: block; }

.user-dd-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.user-dd-header strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 2px;
}
.user-dd-header span {
  font-size: 12px;
  color: var(--txt3);
}

.user-dd-link {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.user-dd-link:last-child { border-bottom: none; }
.user-dd-link:hover { background: var(--teal-light); color: var(--teal); }
.user-dd-divider { height: 1px; background: var(--border); margin: 4px 0; }
.user-dd-logout { color: #e53e3e !important; }
.user-dd-logout:hover { background: #FFF5F5 !important; color: #c53030 !important; }
[data-theme="dark"] .user-dd-logout:hover { background: rgba(229,62,62,0.1) !important; }

/* ══════════════════════════════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger:hover { background: var(--bg2); }
.hamburger span {
  width: 22px; height: 2px;
  background: var(--txt);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   MOBILE OVERLAY — full-screen slide-in menu
══════════════════════════════════════════════════════════════ */
.mobile-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100%;
  background: var(--bg);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(0,0,0,0.15);
}
.mobile-overlay.open { transform: translateX(0); }

.mobile-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  background: var(--bg2);
  color: var(--txt2);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.mobile-overlay-close:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.mobile-overlay-inner {
  padding: 60px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-nav-logo {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mobile-nav-city {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-city:hover, .mobile-nav-city.active {
  background: var(--teal-light);
  color: var(--teal);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.mobile-nav-link {
  display: block;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--teal-light); color: var(--teal); }
.mobile-logout { color: #e53e3e !important; }
.mobile-logout:hover { background: #FFF5F5 !important; }
.mobile-register {
  background: var(--teal);
  color: #fff !important;
  text-align: center;
  margin-top: 8px;
  border-radius: var(--radius-sm);
}
.mobile-register:hover { background: var(--teal-dark) !important; color: #fff !important; }

.mobile-call-cta {
  display: block;
  margin-top: 24px;
  padding: 14px;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.mobile-call-cta:hover { background: var(--teal-dark); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
══════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 800;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   PROPERTY CARD — missing internals
══════════════════════════════════════════════════════════════ */
.prop-card-h {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.prop-card-h:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.prop-card-grid {
  flex-direction: column;
}

.prop-img-wrap {
  position: relative;
  width: 240px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg3);
}
.prop-card-grid .prop-img-wrap { width: 100%; height: 200px; }

.prop-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prop-card-h:hover .prop-img { transform: scale(1.06); }

.prop-visiting-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
}
.visiting-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}

.prop-save-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--txt2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.prop-save-btn:hover { color: #e53e3e; transform: scale(1.1); }
.prop-save-btn.saved { color: #e53e3e; background: #fff; }

.prop-featured-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.prop-type-chip {
  position: absolute;
  bottom: 10px; right: 10px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}

.prop-details {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.prop-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.prop-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--txt3);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prop-age {
  font-size: 11px;
  color: var(--txt3);
  flex-shrink: 0;
}

.prop-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-title a {
  color: var(--txt);
  text-decoration: none;
}
.prop-title a:hover { color: var(--teal); }

.prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.prop-spec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--txt2);
}
.prop-spec-furnished { background: var(--teal-light); border-color: var(--teal-mid); color: var(--teal-dark); }

.prop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}
.prop-price-wrap { display: flex; flex-direction: column; }
.prop-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.prop-deposit {
  font-size: 11px;
  color: var(--txt3);
  font-weight: 500;
}

.prop-ctas {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn-prop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  border: none;
}
.btn-prop-wa {
  background: #25D366;
  color: #fff;
}
.btn-prop-wa:hover { background: #1EB85A; color: #fff; }
.btn-prop-visit {
  background: var(--bg2);
  color: var(--txt);
  border: 1.5px solid var(--border2);
}
.btn-prop-visit:hover { border-color: var(--teal); color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 540px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3c5e 60%, #0f2540 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,60,94,0.88) 0%,
    rgba(15,37,64,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  width: 100%;
}
.hero-left { }
.hero-right { }

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}
.hero-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-city-name { color: var(--teal); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-search {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 16px;
}
.hero-search-inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-search-icon {
  padding: 0 14px;
  color: var(--txt3);
  font-size: 18px;
  flex-shrink: 0;
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 0;
  background: transparent;
  color: var(--txt);
  font-family: inherit;
}
.hero-search-input::placeholder { color: var(--txt3); }
.hero-search-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.hero-search-btn:hover { background: var(--teal-dark); }

.hero-quick-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-quick-filter {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: var(--transition);
}
.hero-quick-filter:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.hero-trust-item svg, .hero-trust-icon { color: var(--teal); }

.hero-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.hero-cat-item:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateX(4px);
}
.hero-cat-info { display: flex; flex-direction: column; gap: 2px; }
.hero-cat-label { font-size: 15px; font-weight: 700; }
.hero-cat-count { font-size: 12px; color: rgba(255,255,255,0.6); }
.hero-cat-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

/* Hero stats bar */
.hero-stats-bar {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero-stat-num span { color: var(--teal); }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   CITY GRID (homepage)
══════════════════════════════════════════════════════════════ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.city-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.city-card-info {
  position: relative; z-index: 2;
  padding: 16px;
}
.city-card-name { font-size: 16px; font-weight: 800; color: #fff; display: block; }
.city-card-count { font-size: 12px; color: rgba(255,255,255,0.7); }
.city-card-active .city-card-overlay { background: linear-gradient(to top, rgba(45,197,162,0.6) 0%, transparent 60%); }

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.how-step:hover { border-color: var(--teal); box-shadow: var(--card-shadow-hover); }
.step-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  transition: transform 0.3s ease;
}
.how-step:hover .step-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.how-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.how-step p { font-size: 13px; color: var(--txt2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════════ */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt2);
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--teal); flex-shrink: 0; }
.trust-sep { display: none; }

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ══════════════════════════════════════════════════════════════
   LOCALITY CHIPS
══════════════════════════════════════════════════════════════ */
.locality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.locality-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt2);
  text-decoration: none;
  transition: var(--transition);
}
.locality-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

/* ══════════════════════════════════════════════════════════════
   PROP GRID / LISTINGS LAYOUT
══════════════════════════════════════════════════════════════ */
.listings-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.filter-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 80px;
}
.filter-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; }
.filter-label { font-size: 11px; font-weight: 700; color: var(--txt3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; display: block; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border2);
  background: var(--bg2);
  font-size: 12px;
  font-weight: 600;
  color: var(--txt2);
  cursor: pointer;
  transition: var(--transition);
  margin: 3px;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal); }
.filter-chip.active, .filter-chip input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
#propsList { display: flex; flex-direction: column; gap: 16px; }
.listings-count-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
#listingsCount { font-size: 14px; font-weight: 700; color: var(--txt2); }
.view-btns { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  background: var(--bg2);
  color: var(--txt3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}
.view-btn.active, .view-btn:hover { border-color: var(--teal); color: var(--teal); }
.listings-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--txt3);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.listings-empty h3 { color: var(--txt2); margin-bottom: 8px; }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════════════════════ */
.dashboard-page { padding: 40px 0 80px; }
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  color: #fff;
}
.dashboard-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.4);
}
.dashboard-user-info h1 { font-size: 24px; color: #fff; margin-bottom: 4px; }
.dashboard-user-info p { color: rgba(255,255,255,0.75); font-size: 13px; }
.dashboard-tabs-row {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}
.dash-tab-btn {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--txt2);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.dash-tab-btn.active, .dash-tab-btn:hover { color: var(--teal); border-bottom-color: var(--teal); }
.dash-tab-panel { display: none; }
.dash-tab-panel.active { display: block; }

/* ══════════════════════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  padding: 48px 0;
  background: var(--bg2);
}
.auth-card {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-title { text-align: center; font-size: 24px; margin-bottom: 6px; }
.auth-sub { text-align: center; font-size: 14px; color: var(--txt2); margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--txt2); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 12px; font-size: 22px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 9px; text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   MOBILE BOTTOM BAR
══════════════════════════════════════════════════════════════ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 700;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-bar-inner {
  display: flex;
  gap: 8px;
}
.mobile-bottom-bar .btn {
  flex: 1;
  justify-content: center;
  font-size: 12px;
  padding: 11px 8px;
}

/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════════════ */
#toastContainer {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: translateX(40px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 320px;
  cursor: pointer;
}
.toast-show { opacity: 1; transform: translateX(0); }
.toast-success { background: var(--teal); }
.toast-error   { background: #e53e3e; }
.toast-info    { background: #3b82f6; }

/* ══════════════════════════════════════════════════════════════
   MAP STYLES
══════════════════════════════════════════════════════════════ */
.property-map { height: 300px; border-radius: var(--radius-md); overflow: hidden; }
.listings-map { height: 100%; min-height: 400px; border-radius: var(--radius-md); }
.map-price-marker {
  background: var(--bg);
  color: var(--txt);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  border: 2px solid var(--teal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.map-price-marker.hovered { background: var(--teal); color: #fff; }
.map-popup img { width: 100%; height: 100px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 8px; }
.map-popup-body { font-size: 13px; }
.map-popup-price { display: block; font-size: 16px; font-weight: 800; color: var(--teal); margin: 4px 0; }
.map-popup-link { font-size: 12px; font-weight: 700; color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   AUTOCOMPLETE
══════════════════════════════════════════════════════════════ */
.hero-autocomplete {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 500;
  overflow: hidden;
}
.hero-ac-opt {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt);
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.hero-ac-opt:last-child { border-bottom: none; }
.hero-ac-opt:hover { background: var(--teal-light); color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL (ensure always works)
══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible,
.reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .listings-layout { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger    { display: flex; }
  .topbar       { display: none; }

  .prop-card-h  { flex-direction: column; }
  .prop-img-wrap { width: 100%; min-height: 200px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .city-grid    { grid-template-columns: repeat(2, 1fr); }
  .how-grid     { grid-template-columns: 1fr; }

  .trust-bar    { flex-direction: column; gap: 0; }
  .trust-item   { width: 100%; justify-content: center; }

  .mobile-bottom-bar { display: block; }
  .whatsapp-float { bottom: 90px; }

  .hero-stats-inner { flex-direction: column; gap: 0; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; justify-content: center; }
  .hero-stat:last-child { border-bottom: none; }

  .dashboard-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .city-grid  { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 26px; }
  .prop-footer { flex-direction: column; align-items: flex-start; }
  .prop-ctas  { width: 100%; }
  .btn-prop   { flex: 1; justify-content: center; }
  .auth-card  { padding: 24px 20px; }
  .container  { padding: 0 16px; }
}

/* ══════════════════════════════════════════════════════════════
   FLUID ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes rvFadeUp   { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none} }
@keyframes rvFadeIn   { from{opacity:0}to{opacity:1} }
@keyframes rvPop      { 0%{transform:scale(0.94);opacity:0}60%{transform:scale(1.04)}100%{transform:scale(1);opacity:1} }
@keyframes rvGlow     { 0%,100%{box-shadow:0 0 0 0 rgba(45,197,162,0.4)}50%{box-shadow:0 0 0 8px rgba(45,197,162,0)} }
@keyframes rvBounceY  { 0%,100%{transform:translateY(0)}45%{transform:translateY(-7px)}70%{transform:translateY(-2px)} }
@keyframes rvShimmer  { 0%{background-position:200% 0}100%{background-position:-200% 0} }

.hero-left  { animation: rvFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both; }
.hero-right { animation: rvFadeUp 0.7s 0.18s cubic-bezier(0.22,1,0.36,1) both; }
.navbar     { animation: rvFadeIn 0.4s ease both; }

.btn-prop-wa { animation: rvGlow 2.8s infinite; }
.whatsapp-float { animation: rvBounceY 3.5s ease infinite; }
.whatsapp-float:hover { animation: none; transform: scale(1.12); }

.prop-card-h { transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease; }
.prop-card-h:hover { transform: translateY(-6px) !important; box-shadow: 0 20px 50px rgba(0,0,0,0.13) !important; }
.city-card   { transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease; }

.prop-save-btn.saved { animation: rvPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }

.skeleton-box {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3,#e5e7eb) 50%, var(--bg2) 75%);
  background-size: 200% 100%;
  animation: rvShimmer 1.4s infinite;
}
.skeleton-line {
  height: 14px; border-radius: 6px; margin: 10px 0;
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3,#e5e7eb) 50%, var(--bg2) 75%);
  background-size: 200% 100%;
  animation: rvShimmer 1.4s infinite;
}
.skeleton-line.short { width: 55%; }

/* ================================================================
   RENTVALA GLOW + ANIMATION + DISCOUNT SYSTEM — Phase 2
   Appended: keytohome.in inspired upgrade
   ================================================================ */

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
  --glow-teal:   0 0 18px rgba(45,197,162,.45), 0 0 40px rgba(45,197,162,.18);
  --glow-teal-s: 0 0 10px rgba(45,197,162,.35);
  --glow-navy:   0 0 18px rgba(26,60,94,.4);
  --glow-gold:   0 0 16px rgba(245,158,11,.5);
  --glow-red:    0 0 14px rgba(244,63,94,.4);
  --teal:        #2DC5A2;
  --teal-d:      #23a589;
  --navy:        #1A3C5E;
  --transition:  all .25s cubic-bezier(.4,0,.2,1);
}

/* ── GLOBAL ENTRANCE ANIMATIONS ─────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
@keyframes glowPulse {
  0%,100% { box-shadow: var(--glow-teal); }
  50%      { box-shadow: 0 0 28px rgba(45,197,162,.7), 0 0 60px rgba(45,197,162,.28); }
}
@keyframes waPulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.22); opacity:0; }
}
@keyframes floatUp {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-8px); }
}
@keyframes badgeSlide {
  from { opacity:0; transform:translateX(-10px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes discountPop {
  0%   { transform:scale(.8) rotate(-6deg); opacity:0; }
  70%  { transform:scale(1.1) rotate(2deg); opacity:1; }
  100% { transform:scale(1) rotate(0deg); opacity:1; }
}

/* Intersection-observer driven animation class */
.rv-animate-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.rv-animate-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section-level fade-in */
.rv-section-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.rv-section-fade.is-visible { opacity:1; transform:translateY(0); }

/* ── IMAGE SKELETON LOADING ──────────────────────────────────── */
.prop-img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e8f4f1 25%, #d4ede8 50%, #e8f4f1 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 0;
  z-index: 1;
}
.prop-img-wrap { position: relative; overflow: hidden; }
.rv-img-lazy {
  opacity: 0;
  transition: opacity .4s ease;
  position: relative;
  z-index: 2;
}
.rv-img-lazy.loaded { opacity: 1; }

/* ── PROPERTY CARD GLOW + HOVER ──────────────────────────────── */
.prop-card-h {
  transition: var(--transition), box-shadow .3s ease;
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
}
.prop-card-h:hover {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 12px 40px rgba(45,197,162,.18), 0 2px 8px rgba(0,0,0,.08);
}
.prop-card-featured {
  box-shadow: 0 0 0 2px var(--teal), var(--glow-teal-s);
}
.prop-card-featured:hover {
  box-shadow: 0 12px 40px rgba(45,197,162,.25), 0 0 0 2px var(--teal), var(--glow-teal);
}

/* Card grid version hover */
.prop-card-grid:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(45,197,162,.2), 0 4px 12px rgba(0,0,0,.08);
}

/* Image hover zoom */
.prop-img-wrap img { transition: transform .5s cubic-bezier(.4,0,.2,1); }
.prop-card-h:hover .prop-img-wrap img { transform: scale(1.07); }

/* ── DISCOUNT PRICE DISPLAY ──────────────────────────────────── */
.prop-price-discount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.prop-price-original {
  font-size: .82rem;
  color: #e11d48;
  text-decoration: line-through;
  font-weight: 600;
  opacity: .85;
}
.prop-discount-pct-tag {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 50px;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(244,63,94,.35);
  animation: discountPop .5s cubic-bezier(.34,1.56,.64,1) both;
}
.prop-discount-label-tag {
  display: inline-block;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: .7rem;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 50px;
  margin-bottom: 3px;
}
/* Discount badge on card image */
.prop-discount-badge {
  position: absolute;
  bottom: 36px;
  left: 10px;
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 3;
  box-shadow: 0 3px 12px rgba(244,63,94,.45);
  animation: discountPop .6s .2s cubic-bezier(.34,1.56,.64,1) both;
}

/* ── BUTTON GLOW ─────────────────────────────────────────────── */
.btn-primary,
.btn-teal,
.search-btn,
.hero-search-btn {
  box-shadow: 0 4px 16px rgba(45,197,162,.3);
  transition: var(--transition);
}
.btn-primary:hover,
.btn-teal:hover,
.search-btn:hover,
.hero-search-btn:hover {
  box-shadow: var(--glow-teal);
  transform: translateY(-2px);
}
.btn-prop-wa {
  transition: var(--transition);
}
.btn-prop-wa:hover {
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transform: translateY(-1px);
}
.btn-prop-visit {
  transition: var(--transition);
}
.btn-prop-visit:hover {
  box-shadow: 0 4px 16px rgba(26,60,94,.25);
  transform: translateY(-1px);
}

/* ── WHATSAPP BUBBLE GLOW + PULSE ────────────────────────────── */
.wa-float-btn,
.whatsapp-float {
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  animation: floatUp 3s ease-in-out infinite;
  transition: var(--transition);
}
.wa-float-btn::after,
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid rgba(37,211,102,.4);
  animation: waPulse 2s ease-in-out infinite;
  pointer-events: none;
}
.wa-float-btn:hover,
.whatsapp-float:hover {
  transform: scale(1.14) rotate(-5deg);
  box-shadow: 0 8px 32px rgba(37,211,102,.7);
}

/* ── NAV GLOW ON ACTIVE ──────────────────────────────────────── */
.nav-link.active,
.nav-link:hover {
  text-shadow: 0 0 12px rgba(45,197,162,.5);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,60,94,.12), 0 1px 0 rgba(45,197,162,.1);
}

/* ── TRUST STAT / STATS SECTION GLOW ────────────────────────── */
.trust-stat {
  transition: var(--transition);
}
.trust-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-teal-s);
}

/* ── CITY CARD GLOW ──────────────────────────────────────────── */
.city-card,
.city-card-item {
  transition: var(--transition);
  border-radius: 16px;
  overflow: hidden;
}
.city-card:hover,
.city-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(26,60,94,.18), 0 0 0 2px rgba(45,197,162,.3);
}

/* ── FEATURED BADGE GLOW ─────────────────────────────────────── */
.prop-featured-badge {
  box-shadow: 0 2px 10px rgba(245,158,11,.4);
  animation: badgeSlide .4s .1s cubic-bezier(.34,1.56,.64,1) both;
}

/* ── FORM INPUT FOCUS GLOW ───────────────────────────────────── */
.form-input:focus,
.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(45,197,162,.18) !important;
  outline: none;
}

/* ── HERO SECTION ANIMATION ──────────────────────────────────── */
.hero-content,
.hero-title,
.city-hero-content {
  animation: fadeInLeft .8s cubic-bezier(.4,0,.2,1) both;
}
.hero-search,
.hero-search-box,
.city-hero-search {
  animation: fadeInUp .8s .2s cubic-bezier(.4,0,.2,1) both;
}
.hero-stats,
.trust-bar,
.trust-bar-inner {
  animation: fadeInUp .8s .35s cubic-bezier(.4,0,.2,1) both;
}

/* ── SECTION HEADING UNDERLINE ANIMATE ───────────────────────── */
.section-title::after,
.rv-sec-title::after,
h2.with-line::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  border-radius: 2px;
  margin-top: 8px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.section-title.is-visible::after,
.rv-sec-title.is-visible::after,
h2.with-line.is-visible::after {
  width: 60px;
}

/* ── ADMIN PANEL GLOW ────────────────────────────────────────── */
.panel {
  transition: box-shadow .25s ease;
}
.panel:hover {
  box-shadow: 0 4px 24px rgba(45,197,162,.1);
}

/* ── HOW-IT-WORKS STEP ICONS GLOW ───────────────────────────── */
.how-step-icon {
  transition: var(--transition);
}
.how-step:hover .how-step-icon {
  box-shadow: var(--glow-teal);
  transform: scale(1.08) rotate(-3deg);
}

/* ── ENQUIRY FORM SUBMIT GLOW ────────────────────────────────── */
.enquiry-submit-btn,
.btn-enquiry {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.enquiry-submit-btn::before,
.btn-enquiry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.enquiry-submit-btn:hover::before,
.btn-enquiry:hover::before {
  transform: translateX(100%);
}
.enquiry-submit-btn:hover,
.btn-enquiry:hover {
  box-shadow: var(--glow-teal);
  transform: translateY(-2px);
}

/* ── SAVE BUTTON GLOW ────────────────────────────────────────── */
.prop-save-btn.saved {
  color: #e11d48;
  box-shadow: 0 0 12px rgba(225,29,72,.3);
  animation: discountPop .35s cubic-bezier(.34,1.56,.64,1) both;
}

/* ── MOBILE STICKY BAR GLOW ──────────────────────────────────── */
.mobile-sticky-bar {
  box-shadow: 0 -4px 24px rgba(26,60,94,.18);
  backdrop-filter: blur(10px);
}
.sticky-whatsapp {
  box-shadow: 0 2px 12px rgba(37,211,102,.35);
  transition: var(--transition);
}
.sticky-whatsapp:hover { box-shadow: 0 4px 20px rgba(37,211,102,.55); }
.sticky-call {
  transition: var(--transition);
}
.sticky-visit {
  box-shadow: 0 2px 12px rgba(45,197,162,.3);
  transition: var(--transition);
}
.sticky-visit:hover { box-shadow: var(--glow-teal-s); }

/* ── PROPERTY DETAIL PRICE GLOW ──────────────────────────────── */
.prop-detail-price {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(45,197,162,.3));
}

/* ── DASHBOARD CARD GLOW ─────────────────────────────────────── */
.dash-stat-card,
.dashboard-stat {
  transition: var(--transition);
  border-radius: 14px;
}
.dash-stat-card:hover,
.dashboard-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(45,197,162,.15);
}

/* ── GALLERY THUMBNAIL GLOW ──────────────────────────────────── */
.gallery-thumb,
.gal-thumb {
  transition: var(--transition);
}
.gallery-thumb:hover,
.gal-thumb:hover {
  box-shadow: 0 0 0 2.5px var(--teal);
  transform: scale(1.04);
}
.gallery-thumb.active,
.gal-thumb.active {
  box-shadow: 0 0 0 2.5px var(--teal), var(--glow-teal-s);
}

/* ── LOADING SHIMMER FOR CARD LISTS ──────────────────────────── */
.skeleton-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8f4f1;
}
.skeleton-img {
  height: 200px;
  background: linear-gradient(90deg, #e8f4f1 25%, #d4ede8 50%, #e8f4f1 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
}
.skeleton-line {
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, #e8f4f1 25%, #d4ede8 50%, #e8f4f1 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
  margin: 10px 16px;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.shorter { width: 40%; }

/* ── AMENITY CHIPS HOVER ─────────────────────────────────────── */
.amenity-chip {
  transition: var(--transition);
}
.amenity-chip:hover {
  background: var(--teal);
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--glow-teal-s);
}

/* ── CTA BANNER GLOW ─────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(45,197,162,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FILTER SIDEBAR ACTIVE ───────────────────────────────────── */
.filter-group label input:checked + span,
.filter-active {
  color: var(--teal);
  font-weight: 700;
}

/* ── SCROLLBAR TEAL ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f0faf7; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-d); }

/* ── STAGGERED LIST ANIMATIONS ───────────────────────────────── */
.props-list .prop-card-h:nth-child(1)  { transition-delay: 0ms; }
.props-list .prop-card-h:nth-child(2)  { transition-delay: 60ms; }
.props-list .prop-card-h:nth-child(3)  { transition-delay: 120ms; }
.props-list .prop-card-h:nth-child(4)  { transition-delay: 180ms; }
.props-list .prop-card-h:nth-child(5)  { transition-delay: 240ms; }
.props-list .prop-card-h:nth-child(6)  { transition-delay: 300ms; }
.props-list .prop-card-h:nth-child(n+7){ transition-delay: 360ms; }

/* ── DASHBOARD QUICK SEARCH ──────────────────────────────────── */
.dash-quick-search {
  background: linear-gradient(135deg, #f0faf7 0%, #e8f8f3 100%);
  border: 1.5px solid rgba(45,197,162,.2);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.dash-quick-search-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: .95rem;
}

/* ── DASHBOARD INQUIRY ROW ───────────────────────────────────── */
.inquiry-row {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8f4f1;
  align-items: flex-start;
  transition: background .15s;
}
.inquiry-row:hover { background: #f8fffe; }
.inquiry-row:last-child { border-bottom: none; }
.inquiry-thumb {
  width: 68px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8f4f1;
}
.inquiry-info { flex: 1; min-width: 0; }
.inquiry-prop-name {
  font-weight: 600;
  font-size: .875rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inquiry-meta { font-size: .75rem; color: #6b7280; margin-top: 2px; }
.inquiry-status-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ib-new      { background:#fef9c3; color:#92400e; border:1px solid #fde68a; }
.ib-contacted{ background:#dbeafe; color:#1e40af; border:1px solid #bfdbfe; }
.ib-converted{ background:#dcfce7; color:#166534; border:1px solid #bbf7d0; }
.ib-lost     { background:#f3f4f6; color:#374151; border:1px solid #e5e7eb; }

/* ── ALLIED SERVICES SECTION ─────────────────────────────────── */
.allied-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.allied-item {
  border: 1.5px solid #e8f4f1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.allied-item:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #f0faf7;
  box-shadow: var(--glow-teal-s);
}

/* ── WELCOME BANNER ANIMATE ──────────────────────────────────── */
.welcome-banner {
  animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) both;
}

/* ── DASHBOARD AVATAR RING ───────────────────────────────────── */
.dashboard-avatar {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 4px 18px rgba(45,197,162,.4), 0 0 0 4px rgba(45,197,162,.15);
  animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) both;
  transition: var(--transition);
}
.dashboard-avatar:hover {
  box-shadow: 0 6px 24px rgba(45,197,162,.55), 0 0 0 6px rgba(45,197,162,.15);
  transform: scale(1.05);
}

/* ── FEATURED PROPERTY SIDEBAR ───────────────────────────────── */
.dash-featured-card {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e8f4f1;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.dash-featured-card:hover { background: #f0faf7; }
.dash-featured-card:last-child { border-bottom: none; }
.dash-feat-img {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8f4f1;
}
.dash-feat-info { flex: 1; min-width: 0; }
.dash-feat-title {
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-feat-city { font-size: .72rem; color: #6b7280; }
.dash-feat-price { font-weight: 800; color: var(--teal); font-size: .88rem; }

/* ── PROPERTY DETAIL — DISCOUNT PRICE ───────────────────────── */
.detail-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-price-original {
  font-size: 1rem;
  color: #e11d48;
  text-decoration: line-through;
  font-weight: 600;
  opacity: .8;
}
.detail-discount-badge {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(244,63,94,.4);
}

/* ── RESPONSIVE REFINEMENTS ──────────────────────────────────── */
@media (max-width: 768px) {
  .prop-price-discount-row { flex-wrap: wrap; }
  .allied-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-thumb { width: 54px; height: 42px; }
  .dash-feat-img { width: 52px; height: 40px; }
}
@media (max-width: 480px) {
  .prop-discount-badge { font-size: .65rem; padding: 3px 8px; }
  .prop-discount-pct-tag { font-size: .62rem; }
}

/* ═══════════════════════════════════════════════════════
   CITY CARDS GRID — 3-column layout, gradient backgrounds
═══════════════════════════════════════════════════════ */
.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 900px) { .city-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .city-cards-grid { grid-template-columns: 1fr; } }

.city-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.city-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 40px rgba(26,60,94,.2) !important;
  text-decoration: none;
}
.city-card-img-wrap {
  position: absolute;
  inset: 0;
}
.city-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Gradient fallback when no image */
.city-card-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A3C5E 0%, #2DC5A2 100%);
}
/* Unique gradient per card position */
.city-card:nth-child(2) .city-card-gradient-bg { background: linear-gradient(135deg, #0f2744 0%, #1A3C5E 60%, #2DC5A2 100%); }
.city-card:nth-child(3) .city-card-gradient-bg { background: linear-gradient(135deg, #2DC5A2 0%, #1A3C5E 100%); }
.city-card:nth-child(4) .city-card-gradient-bg { background: linear-gradient(135deg, #1e4d3a 0%, #2DC5A2 100%); }
.city-card:nth-child(5) .city-card-gradient-bg { background: linear-gradient(135deg, #0f2744 0%, #2a5298 100%); }
.city-card:nth-child(6) .city-card-gradient-bg { background: linear-gradient(135deg, #1A3C5E 0%, #0f2744 100%); }

/* Subtle city pattern overlay */
.city-card-gradient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(45,197,162,.25) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.06) 0%, transparent 50%);
}
.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,.85) 0%, rgba(10,20,40,.3) 50%, transparent 100%);
  z-index: 2;
}
.city-card-active .city-card-overlay {
  background: linear-gradient(to top, rgba(45,197,162,.7) 0%, rgba(26,60,94,.4) 60%, transparent 100%);
}
.city-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
  z-index: 3;
}
.city-card-accent {
  width: 28px; height: 3px;
  background: #2DC5A2;
  border-radius: 2px;
  margin-bottom: 8px;
  transition: width .3s ease;
}
.city-card:hover .city-card-accent { width: 50px; }
.city-card-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 2px;
  line-height: 1.2;
}
.city-card-count {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  display: block;
}
.city-card-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #2DC5A2;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.city-card:hover .city-card-cta {
  opacity: 1;
  transform: translateY(0);
}
