/*
 * VedaOne Advisors — UI Design System v2
 * Sq Yards–inspired: clean, fast, premium portal feel
 * Covers: buttons, cards, forms, nav, search, filters, modals, badges, typography
 */

/* ═══════════════════════════════════════════════════════════
   1. DESIGN TOKENS — extended palette + easing curves
═══════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --navy-deep:   #0a1628;
  --navy:        #122040;
  --navy-mid:    #1a3158;
  --navy-light:  #243b6e;
  --navy-subtle: #f0f3f9;

  --gold:        #c9a84c;
  --gold-light:  #e2c06b;
  --gold-pale:   #fdf6e3;
  --gold-border: rgba(201,168,76,0.22);

  --white:       #ffffff;
  --off-white:   #f8f9fb;   /* slightly cooler — cleaner portal feel */
  --surface:     #f2f4f8;
  --gray-50:     #fafafa;
  --gray-100:    #f4f4f6;
  --gray-200:    #e8e9ed;
  --gray-300:    #d1d3db;
  --gray-400:    #9ea3b0;
  --gray-500:    #6b7180;
  --gray-700:    #383d4a;
  --gray-900:    #111827;

  --success:     #16a34a;
  --warning:     #d97706;
  --danger:      #dc2626;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale (8px base) */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 999px;

  /* Shadows — layered for depth */
  --shadow-xs:  0 1px 3px rgba(10,22,40,0.06), 0 1px 2px rgba(10,22,40,0.04);
  --shadow-sm:  0 2px 8px rgba(10,22,40,0.07), 0 1px 3px rgba(10,22,40,0.05);
  --shadow-md:  0 4px 16px rgba(10,22,40,0.10), 0 2px 6px rgba(10,22,40,0.06);
  --shadow-lg:  0 12px 40px rgba(10,22,40,0.14), 0 4px 12px rgba(10,22,40,0.08);
  --shadow-xl:  0 24px 64px rgba(10,22,40,0.18), 0 8px 20px rgba(10,22,40,0.10);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.30);
  --shadow-card-hover: 0 16px 48px rgba(10,22,40,0.16), 0 4px 12px rgba(10,22,40,0.08);

  /* Easing curves */
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Transition presets */
  --t-fast:   150ms var(--ease-out);
  --t-base:   220ms var(--ease-out);
  --t-slow:   350ms var(--ease-out);
  --t-spring: 400ms var(--ease-spring);
}


/* ═══════════════════════════════════════════════════════════
   2. BASE RESET & GLOBAL REFINEMENTS
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(201,168,76,0.20); color: var(--navy-deep); }

/* Smooth focus rings */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) { outline: none; }

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }


/* ═══════════════════════════════════════════════════════════
   3. TYPOGRAPHY SYSTEM
═══════════════════════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-deep);
  letter-spacing: -0.3px;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 10px;
  line-height: 1.75;
  max-width: 540px;
}


/* ═══════════════════════════════════════════════════════════
   4. BUTTON SYSTEM
═══════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Ripple effect on all buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 65%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
  border-radius: inherit;
  pointer-events: none;
}
.btn:active::after {
  opacity: 1;
  transform: scale(2.5);
  transition: none;
}

/* Primary — Gold */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  box-shadow: 0 2px 8px rgba(201,168,76,0.30);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, #d4b358 0%, #e8ca76 100%);
  color: var(--navy-deep);
}
.btn-gold:active { transform: translateY(0); box-shadow: none; }

/* Secondary — Navy */
.btn-navy {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--navy-mid);
  color: var(--white);
}
.btn-navy:active { transform: translateY(0); }

/* Outline */
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
}
.btn-outline:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--navy-mid);
  border: none;
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--navy-deep);
}

/* WhatsApp */
.btn-wa {
  background: #25D366;
  color: #fff;
  gap: 8px;
}
.btn-wa:hover {
  background: #22c75c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  color: #fff;
}

/* Sizes */
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--r-md); }
.btn-xl { padding: 16px 40px; font-size: 16px; border-radius: var(--r-md); }
.btn-full { width: 100%; }

/* Icon button */
.btn-icon {
  width: 38px; height: 38px;
  padding: 0;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon.round { border-radius: 50%; }

/* Loading state */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}
.btn.loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }


/* ═══════════════════════════════════════════════════════════
   5. FORM INPUTS — refined, consistent
═══════════════════════════════════════════════════════════ */
.vo-input,
.vo-select,
.vo-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    background var(--t-base);
  -webkit-appearance: none;
  appearance: none;
}
.vo-input::placeholder, .vo-textarea::placeholder { color: var(--gray-400); }
.vo-input:hover, .vo-select:hover { border-color: var(--gray-300); }
.vo-input:focus, .vo-select:focus, .vo-textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,32,64,0.08);
  background: var(--white);
}
.vo-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.vo-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}
.vo-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23122040' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Label */
.vo-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

/* Field group */
.vo-field { margin-bottom: 14px; }
.vo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .vo-field-row { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════
   6. BADGE / PILL SYSTEM
═══════════════════════════════════════════════════════════ */
.vo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.vo-badge-navy   { background: var(--navy-deep); color: var(--white); }
.vo-badge-gold   { background: var(--gold); color: var(--navy-deep); }
.vo-badge-green  { background: #dcfce7; color: #15803d; }
.vo-badge-amber  { background: #fef3c7; color: #92400e; }
.vo-badge-red    { background: #fee2e2; color: #991b1b; }
.vo-badge-glass  { background: rgba(255,255,255,0.92); color: var(--navy-deep); backdrop-filter: blur(4px); }
.vo-badge-outline { background: transparent; border: 1px solid var(--gray-200); color: var(--gray-700); }

/* Status badges with dot */
.vo-badge.dot::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   7. PROPERTY CARD — refined Sq Yards style
═══════════════════════════════════════════════════════════ */
.property-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition:
    transform 280ms var(--ease-spring),
    box-shadow 280ms var(--ease-out),
    border-color 200ms var(--ease-out);
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.property-card:hover .card-image img,
.property-card:hover .card-img {
  transform: scale(1.07);
}

/* Card image wrapper */
.card-image,
.blog-card-img {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}
.card-image img,
.card-img,
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-smooth);
  display: block;
}

/* Price overlay */
.card-price-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(5,13,28,0.88) 0%, rgba(5,13,28,0.3) 60%, transparent 100%);
  padding: 40px 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.card-price-main {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.3px;
}
.card-price-label {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
  font-family: var(--font-body);
}
.card-possession-tag {
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: var(--r-xs);
  padding: 3px 9px;
  font-size: 10px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Wishlist / save button */
.card-save {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  transition: transform var(--t-base), color var(--t-base), background var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow-xs);
  z-index: 2;
}
.card-save:hover { color: #e05252; transform: scale(1.15); box-shadow: var(--shadow-sm); }
.card-save.saved { color: #e05252; }
.card-save.saved svg { fill: #e05252; stroke: #e05252; }

/* Card body */
.card-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title { font-size: 14px; font-weight: 600; color: var(--navy-deep); line-height: 1.4; margin-bottom: 5px; }
.card-title a { color: inherit; transition: color var(--t-fast); }
.card-title a:hover { color: var(--gold); }

.card-locality {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--gray-500);
  margin-bottom: 11px;
}
.card-locality svg { color: var(--gold); flex-shrink: 0; }

/* Config chips */
.card-config { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 11px; }
.config-chip {
  background: var(--navy-subtle);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xs);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy-mid);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.property-card:hover .config-chip {
  background: var(--gold-pale);
  border-color: var(--gold-border);
}

/* Features strip */
.card-features {
  display: flex;
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
  margin-top: auto;
}
.card-feat {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: var(--gray-700);
}
.card-feat:not(:last-child) { border-right: 1px solid var(--gray-100); }
.card-feat svg { color: var(--gold); }

/* Card footer */
.card-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
  margin-top: 10px;
}
.card-view-link {
  font-size: 13px; font-weight: 600; color: var(--navy-deep);
  transition: color var(--t-fast), gap var(--t-fast);
  display: flex; align-items: center; gap: 4px;
}
.card-view-link:hover { color: var(--gold); gap: 8px; }

/* WhatsApp quick icon */
.card-wa-btn {
  width: 30px; height: 30px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-spring), box-shadow var(--t-base);
  flex-shrink: 0;
}
.card-wa-btn:hover { transform: scale(1.18); box-shadow: 0 4px 14px rgba(37,211,102,0.4); }


/* ═══════════════════════════════════════════════════════════
   8. FILTER BAR — Sq Yards style pill chips
═══════════════════════════════════════════════════════════ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(10,22,40,0.05);
  position: sticky;
  top: 74px;
  z-index: 100;
  padding: 12px 0;
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-select {
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gray-900);
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color var(--t-base),
    background-color var(--t-base),
    color var(--t-base),
    box-shadow var(--t-base);
}
.filter-select:hover { border-color: var(--gray-300); }
.filter-select:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,32,64,0.08);
}
.filter-select.active {
  background-color: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.filter-price-range {
  display: flex; align-items: center; gap: 6px;
  height: 38px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 0 14px;
  background: var(--white);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.filter-price-range:focus-within {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,32,64,0.08);
}
.filter-price-range input {
  border: none; outline: none;
  font-size: 13px; font-family: var(--font-body);
  width: 80px; color: var(--gray-900);
  background: transparent;
}
.filter-price-range span { color: var(--gray-400); font-size: 12px; }

.btn-apply-filters {
  height: 38px;
  padding: 0 20px;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  white-space: nowrap;
}
.btn-apply-filters:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-apply-filters:active { transform: none; }

.btn-clear-filters {
  height: 38px;
  padding: 0 16px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  font-size: 13px; color: var(--gray-500);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color var(--t-base), color var(--t-base);
  display: inline-flex; align-items: center; gap: 5px;
}
.btn-clear-filters:hover { border-color: var(--danger); color: var(--danger); }

/* Active filter tags */
.active-filter-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-subtle);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 12px; font-weight: 500;
  color: var(--navy-mid);
  transition: background var(--t-fast);
}
.active-filter-tag a {
  color: var(--gray-400); font-size: 14px; line-height: 1;
  margin-left: 2px;
  transition: color var(--t-fast);
}
.active-filter-tag a:hover { color: var(--danger); }


/* ═══════════════════════════════════════════════════════════
   9. SEARCH PANEL — Sq Yards clean tabbed search
═══════════════════════════════════════════════════════════ */
.search-panel {
  background: var(--white);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  padding: 24px 32px 28px;
  box-shadow: 0 16px 48px rgba(10,22,40,0.14);
  max-width: 960px;
  margin: -48px auto 0;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
}

/* Tabs */
.search-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 22px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--r-sm);
  width: fit-content;
}
.stab {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px; font-weight: 500;
  background: none; color: var(--gray-500);
  border: none; cursor: pointer;
  transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base);
  font-family: var(--font-body);
}
.stab:hover:not(.active) { color: var(--navy-deep); background: rgba(255,255,255,0.6); }
.stab.active {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Search fields */
.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.sf { display: flex; flex-direction: column; gap: 5px; }
.sf label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray-400);
}
.sf select, .sf input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--gray-900); background: var(--white);
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.sf input { background-image: none; padding-right: 14px; }
.sf select:focus, .sf input:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,32,64,0.08);
}
.btn-search-main {
  height: 44px; padding: 0 28px;
  background: var(--navy-deep); color: var(--white);
  border: none; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.btn-search-main:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-search-main:active { transform: none; }

/* Quick links pills */
.sql-pill {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font-size: 12px; font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base), color var(--t-base);
  text-decoration: none;
  display: inline-block;
}
.sql-pill:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy-deep);
}


/* ═══════════════════════════════════════════════════════════
   10. PROPERTY TYPE CARDS
═══════════════════════════════════════════════════════════ */
.type-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px 14px;
  text-align: center;
  text-decoration: none;
  transition:
    background var(--t-base),
    border-color var(--t-base),
    transform var(--t-spring),
    box-shadow var(--t-base);
}
.type-card:hover {
  background: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.type-icon {
  width: 52px; height: 52px;
  background: var(--gray-100);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
  transition: background var(--t-base), transform var(--t-spring);
  box-shadow: var(--shadow-xs);
}
.type-card:hover .type-icon {
  background: rgba(201,168,76,0.15);
  transform: scale(1.12);
}
.type-name {
  font-size: 13px; font-weight: 600;
  color: var(--navy-mid);
  transition: color var(--t-fast);
  margin-bottom: 3px;
}
.type-card:hover .type-name { color: var(--white); }
.type-count {
  font-size: 11px; color: var(--gray-400);
  transition: color var(--t-fast);
}
.type-card:hover .type-count { color: rgba(201,168,76,0.8); }


/* ═══════════════════════════════════════════════════════════
   11. NAV ENHANCEMENTS
═══════════════════════════════════════════════════════════ */
.navbar {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow var(--t-slow);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(10,22,40,0.10);
}

/* Dropdown menus */
.nav-links .drop-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    visibility 200ms;
  display: block !important; /* override display:none */
}
.nav-links .has-drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .drop-menu a {
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.nav-links .drop-menu a:hover {
  background: var(--navy-subtle);
  color: var(--navy-deep);
  padding-left: 22px;
}


/* ═══════════════════════════════════════════════════════════
   12. SECTION CONTAINERS
═══════════════════════════════════════════════════════════ */
.properties-section,
.types-section,
.testimonials-section { background: var(--off-white); }

.why-section { background: var(--navy-deep); }

/* Section headers */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}
.section-header .btn { flex-shrink: 0; }

/* Property grid */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .property-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════
   13. FILTER TABS (horizontal pill row)
═══════════════════════════════════════════════════════════ */
.filter-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.ftab {
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-spring), box-shadow var(--t-base);
  font-family: var(--font-body);
}
.ftab:hover:not(.active) {
  border-color: var(--gray-300);
  background: var(--gray-50);
  transform: translateY(-1px);
}
.ftab.active {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}


/* ═══════════════════════════════════════════════════════════
   14. TESTIMONIAL CARDS
═══════════════════════════════════════════════════════════ */
.testi-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-spring), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: -4px; left: 20px;
  font-family: var(--font-display);
  font-size: 80px; color: var(--gold);
  line-height: 1; opacity: 0.18;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}


/* ═══════════════════════════════════════════════════════════
   15. MODAL SYSTEM — smooth entrance
═══════════════════════════════════════════════════════════ */
.vo-modal-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(7,12,24,0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  padding: 20px;
  animation: backdrop-in 200ms var(--ease-out) forwards;
}
.vo-modal-backdrop.open { display: flex; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.vo-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modal-in 320ms var(--ease-spring) both;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.vo-modal::before {
  content: ''; display: block;
  height: 4px; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.vo-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--gray-500);
  cursor: pointer; line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-spring);
  flex-shrink: 0;
}
.vo-modal-close:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: rotate(90deg);
}
.vo-modal-submit {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: var(--white); border: none; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700; font-family: var(--font-body);
  cursor: pointer; margin-top: 4px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.vo-modal-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.vo-modal-submit:active { transform: none; }
.vo-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.vo-modal-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--gray-900); background: var(--white);
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  -webkit-appearance: none;
}
.vo-modal-input:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,32,64,0.08);
}
.vo-modal-input::placeholder { color: var(--gray-400); }


/* ═══════════════════════════════════════════════════════════
   16. LAYOUT BLUR / UNLOCK
═══════════════════════════════════════════════════════════ */
.layout-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  background: var(--white);
}
.layout-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.layout-img-wrap img {
  filter: blur(9px) brightness(0.72);
  transform: scale(1.09);
  transition: filter 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.layout-card:hover .layout-img-wrap img {
  filter: blur(11px) brightness(0.58);
}
.layout-lock-icon {
  transition: transform var(--t-spring), background var(--t-base);
}
.layout-card:hover .layout-lock-icon {
  transform: scale(1.12);
  background: rgba(201,168,76,0.22);
}


/* ═══════════════════════════════════════════════════════════
   17. SCROLL REVEAL — single global observer class
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }


/* ═══════════════════════════════════════════════════════════
   18. SIDEBAR CARDS — property detail
═══════════════════════════════════════════════════════════ */
.price-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}
.cf-field {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--gray-900); outline: none;
  margin-bottom: 9px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  background: var(--white);
  -webkit-appearance: none;
}
.cf-field:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,32,64,0.08);
}
.cf-field::placeholder { color: var(--gray-400); }
.btn-enquire {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: var(--white); border: none; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; margin-bottom: 9px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.btn-enquire:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-site-visit {
  width: 100%; padding: 12px;
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; margin-top: 9px;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.btn-site-visit:hover {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}


/* ═══════════════════════════════════════════════════════════
   19. PAGINATION
═══════════════════════════════════════════════════════════ */
.pagination-wrap {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 48px;
}
.pagination-wrap .page-numbers {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-700);
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-spring);
  text-decoration: none;
}
.pagination-wrap .page-numbers:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-1px);
}
.pagination-wrap .page-numbers.current {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.pagination-wrap .page-numbers.dots { border: none; background: none; }


/* ═══════════════════════════════════════════════════════════
   20. BLOG CARDS
═══════════════════════════════════════════════════════════ */
.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease-out), border-color 200ms;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.post-cat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--navy-subtle);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 10px; font-weight: 700;
  color: var(--navy-mid); letter-spacing: 0.5px;
  text-decoration: none; width: fit-content;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.blog-card:hover .post-cat-chip {
  background: var(--gold-pale);
  border-color: var(--gold-border);
  color: var(--navy-deep);
}


/* ═══════════════════════════════════════════════════════════
   21. VIEW TOGGLE
═══════════════════════════════════════════════════════════ */
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}
.view-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}
.view-btn:hover:not(.active) { border-color: var(--gray-300); color: var(--gray-700); }

.sort-select {
  height: 36px; padding: 0 32px 0 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 13px; font-family: var(--font-body);
  color: var(--gray-700); background: var(--white);
  outline: none; cursor: pointer; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color var(--t-base);
}
.sort-select:focus { border-color: var(--navy-mid); }


/* ═══════════════════════════════════════════════════════════
   22. FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.62);
  padding: 72px 0 0;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-base), padding-left var(--t-base);
  display: inline-flex; align-items: center; gap: 5px;
}
.footer-links a::before { content: '›'; color: var(--gold); opacity: 0; transition: opacity var(--t-fast); }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-links a:hover::before { opacity: 1; }
.slink {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-spring);
  text-decoration: none;
}
.slink:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}


/* ═══════════════════════════════════════════════════════════
   23. GLOBAL SCROLL-BASED NAV SHADOW (JS adds class)
═══════════════════════════════════════════════════════════ */
/* Applied via JS */
.navbar.elevated {
  box-shadow: 0 4px 24px rgba(10,22,40,0.12);
}


/* ═══════════════════════════════════════════════════════════
   24. LOADING SKELETON (for future AJAX use)
═══════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-xs);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ═══════════════════════════════════════════════════════════
   25. RESPONSIVE UTILITIES
═══════════════════════════════════════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 900px) { .container { padding: 0 20px; } }

@media (max-width: 768px) {
  .search-fields { grid-template-columns: 1fr; }
  .btn-search-main { width: 100%; justify-content: center; }
  .filter-bar-inner { gap: 7px; }
  .filter-select, .btn-apply-filters, .btn-clear-filters { font-size: 12px; }
}


/* ═══════════════════════════════════════════════════════════
   26. GLOBAL MICRO-INTERACTIONS via JS (injected once)
   — nav elevation on scroll, reveal observer init
═══════════════════════════════════════════════════════════ */
/* The actual JS is injected by functions.php via wp_add_inline_script */
