/*
Theme Name: Via One
Theme URI: https://viaone.co.th/
Description: A premium real estate theme built for Via One Company Limited — covering Agency, Development and Property Management across Thailand.
Author: Via One Company Limited
Author URI: https://viaone.co.th/
Version: 1.0.0
Text Domain: viaone
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: real-estate, business, custom-logo, custom-menu, featured-images, full-width-template, theme-options, footer-widgets, sticky-post, threaded-comments, translation-ready
*/

/* ==============================================================================
   VIA ONE BRAND SYSTEM
   Primary   #1A3C5E  Deep Navy
   Gold      #C8A96E  Warm Gold
   Dark      #0F1F2E  Near-Black Navy
   Royal     #2B6CB0  Royal Blue
   Light BG  #F7F8FA
   Text      #1A202C / #4A5568 / #718096
============================================================================== */

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────────────────────── */
:root {
  --vo-navy:      #1A4D2E;
  --vo-gold:      #C8A96E;
  --vo-gold-dk:   #A8894E;
  --vo-royal:     #2D6A4F;
  --vo-dark:      #0D2318;
  --vo-light:     #F7F8FA;
  --vo-white:     #FFFFFF;
  --vo-text:      #1A202C;
  --vo-mid:       #4A5568;
  --vo-muted:     #718096;
  --vo-border:    #E2E8F0;
  --vo-success:   #2F855A;
  --vo-error:     #C53030;
  --vo-font-h:    'Playfair Display', Georgia, serif;
  --vo-font-b:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --vo-radius:    6px;
  --vo-radius-lg: 12px;
  --vo-shadow:    0 4px 16px rgba(15,31,46,0.10);
  --vo-shadow-lg: 0 8px 32px rgba(15,31,46,0.16);
  --vo-transition:0.25s ease;
  --vo-max-width: 1220px;
  --vo-container: 0 auto;
}

/* ============================================================================
   1. RESET & BASE
============================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--vo-font-b);
  font-size: 16px;
  line-height: 1.75;
  color: var(--vo-text);
  background: var(--vo-white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--vo-royal); text-decoration: none; transition: color var(--vo-transition); }
a:hover { color: var(--vo-gold); }

ul, ol { list-style: none; }

/* ============================================================================
   2. TYPOGRAPHY
============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vo-font-h);
  color: var(--vo-navy);
  line-height: 1.25;
  margin-bottom: 0.5em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);    font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem;    font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

p { color: var(--vo-mid); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.125rem; color: var(--vo-mid); line-height: 1.8; }
.muted { color: var(--vo-muted); }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.text-center { text-align: center; }
.text-white { color: var(--vo-white) !important; }
.text-gold  { color: var(--vo-gold)  !important; }
.text-navy  { color: var(--vo-navy)  !important; }

blockquote {
  border-left: 3px solid var(--vo-gold);
  padding: 12px 20px;
  font-style: italic;
  color: var(--vo-mid);
  margin: 1.5em 0;
}

/* Section heading with gold underline */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 { margin-bottom: 12px; }
.section-heading p  { color: var(--vo-muted); max-width: 600px; margin: 0 auto 16px; }
.section-heading::after,
.gold-bar {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--vo-gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ============================================================================
   3. LAYOUT / GRID
============================================================================ */
.container {
  max-width: var(--vo-max-width);
  margin: var(--vo-container);
  padding: 0 24px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
.col { padding: 0 12px; flex: 1 1 0; }

/* Named column sizes */
.col-2  { flex: 0 0 16.666%; max-width: 16.666%; padding: 0 12px; }
.col-3  { flex: 0 0 25%;      max-width: 25%;      padding: 0 12px; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 12px; }
.col-6  { flex: 0 0 50%;      max-width: 50%;      padding: 0 12px; }
.col-8  { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 12px; }
.col-9  { flex: 0 0 75%;      max-width: 75%;      padding: 0 12px; }
.col-12 { flex: 0 0 100%;     max-width: 100%;     padding: 0 12px; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.bg-light { background: var(--vo-light); }
.bg-navy  { background: var(--vo-navy);  }
.bg-dark  { background: var(--vo-dark);  }
.bg-white { background: var(--vo-white); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.clear { clear: both; }

/* ============================================================================
   4. BUTTONS
============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--vo-font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--vo-radius);
  cursor: pointer;
  transition: all var(--vo-transition);
  text-decoration: none;
  line-height: 1;
}
.btn:focus { outline: 3px solid rgba(200,169,110,0.4); outline-offset: 2px; }

/* Primary — Gold */
.btn-primary, input[type="submit"], button[type="submit"] {
  background: var(--vo-gold);
  color: var(--vo-dark);
  border-color: var(--vo-gold);
}
.btn-primary:hover, input[type="submit"]:hover, button[type="submit"]:hover {
  background: var(--vo-gold-dk);
  border-color: var(--vo-gold-dk);
  color: var(--vo-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200,169,110,0.35);
}

/* Secondary — Navy */
.btn-secondary {
  background: var(--vo-navy);
  color: var(--vo-white);
  border-color: var(--vo-navy);
}
.btn-secondary:hover {
  background: var(--vo-dark);
  border-color: var(--vo-dark);
  color: var(--vo-white);
  transform: translateY(-1px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--vo-navy);
  border-color: var(--vo-navy);
}
.btn-outline:hover {
  background: var(--vo-navy);
  color: var(--vo-white);
}

/* Outline light (on dark backgrounds) */
.btn-outline-light {
  background: transparent;
  color: var(--vo-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--vo-gold);
  border-color: var(--vo-gold);
  color: var(--vo-dark);
}

/* Small */
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* ============================================================================
   5. TOP BAR
============================================================================ */
#topbar {
  background: var(--vo-dark);
  border-bottom: 1px solid rgba(200,169,110,0.15);
  font-size: 12px;
  color: #718096;
}
#topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
#topbar a { color: #718096; }
#topbar a:hover { color: var(--vo-gold); }

#topbar .topbar-left { display: flex; align-items: center; gap: 20px; }
#topbar .topbar-right { display: flex; align-items: center; gap: 4px; }

#topbar .topbar-phone { display: flex; align-items: center; gap: 6px; }
#topbar .topbar-phone svg { width: 13px; height: 13px; fill: var(--vo-gold); }

#topbar .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: #4a5568;
  transition: all var(--vo-transition);
}
#topbar .social-link:hover { background: rgba(200,169,110,0.12); color: var(--vo-gold); }
#topbar .social-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================================
   6. HEADER
============================================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 3px solid var(--vo-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: background var(--vo-transition), box-shadow var(--vo-transition);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 48px; width: auto; }
.logo-text { line-height: 1.15; }
.logo-text .logo-main {
  display: block;
  font-family: var(--vo-font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vo-navy);
  letter-spacing: 0.02em;
}
.logo-text .logo-sub {
  display: block;
  font-family: var(--vo-font-b);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--vo-gold-dk, #A8894E);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Primary Navigation */
#primary-nav { display: flex; align-items: center; gap: 4px; }
#primary-nav > li { position: relative; }
#primary-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--vo-mid);
  border-radius: var(--vo-radius);
  transition: color var(--vo-transition), background var(--vo-transition);
}
#primary-nav > li > a:hover,
#primary-nav > li.current-menu-item > a,
#primary-nav > li.current-menu-ancestor > a {
  color: var(--vo-navy);
  background: rgba(26,77,46,0.07);
}

/* Dropdown arrow */
#primary-nav > li > a .caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform var(--vo-transition);
}
#primary-nav > li:hover > a .caret { transform: rotate(180deg); }

/* Dropdown menu */
#primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: var(--vo-dark);
  border-top: 2px solid var(--vo-gold);
  border-radius: 0 0 var(--vo-radius) var(--vo-radius);
  box-shadow: var(--vo-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--vo-transition);
  z-index: 100;
}
#primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#primary-nav .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: #a0aec0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--vo-transition);
}
#primary-nav .sub-menu li:last-child a { border-bottom: none; }
#primary-nav .sub-menu li a:hover { color: var(--vo-gold); background: rgba(200,169,110,0.08); padding-left: 24px; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.header-cta .btn-outline-light {
  color: var(--vo-navy) !important;
  border-color: var(--vo-navy) !important;
  background: transparent !important;
}
.header-cta .btn-outline-light:hover {
  background: var(--vo-navy) !important;
  color: #fff !important;
}

/* Mobile hamburger */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--vo-navy);
  border-radius: 2px;
  transition: all var(--vo-transition);
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--vo-dark);
  z-index: 9999;
  overflow-y: auto;
  padding: 24px;
}
#mobile-nav.open { display: block; }
#mobile-nav .mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
#mobile-nav .mobile-nav-close { background: none; border: none; cursor: pointer; color: var(--vo-white); font-size: 28px; line-height: 1; }
#mobile-nav ul { }
#mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  color: #a0aec0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--vo-font-h);
}
#mobile-nav ul li a:hover { color: var(--vo-gold); }
#mobile-nav .sub-menu { padding-left: 16px; }
#mobile-nav .sub-menu li a { font-size: 0.95rem; font-family: var(--vo-font-b); }
#mobile-nav .mobile-cta { margin-top: 32px; }

/* ============================================================================
   7. HERO
============================================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--vo-dark) 0%, var(--vo-navy) 100%);
  overflow: hidden;
}
.hero.hero-full { min-height: 88vh; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,46,0.80) 0%, rgba(26,60,94,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--vo-white);
  max-width: 720px;
}
.hero-content h1 {
  color: var(--vo-white);
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--vo-gold); }
.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.4);
  color: var(--vo-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero search bar */
.hero-search {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  background: rgba(15,31,46,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200,169,110,0.2);
  border-top: 3px solid var(--vo-gold);
  border-radius: 0 0 var(--vo-radius) var(--vo-radius);
  padding: 28px 32px;
}
.hero-search h4 { color: var(--vo-white); margin-bottom: 16px; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.search-form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.search-field {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.search-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #718096; }
.search-field input,
.search-field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,169,110,0.25);
  color: var(--vo-white);
  border-radius: var(--vo-radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--vo-font-b);
  width: 100%;
  appearance: none;
  transition: border-color var(--vo-transition);
}
.search-field input::placeholder { color: #4a5568; }
.search-field select option { background: var(--vo-dark); color: var(--vo-white); }
.search-field input:focus,
.search-field select:focus { border-color: var(--vo-gold); outline: none; }
.search-field.search-submit { justify-content: flex-end; }
.search-field.search-submit .btn { width: 100%; justify-content: center; padding: 12px 20px; }

/* ============================================================================
   8. CARDS — PROPERTY LISTINGS
============================================================================ */
.listing-card {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius-lg);
  overflow: hidden;
  box-shadow: var(--vo-shadow);
  transition: transform var(--vo-transition), box-shadow var(--vo-transition);
  display: flex;
  flex-direction: column;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vo-shadow-lg);
  border-color: rgba(200,169,110,0.3);
}

.listing-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--vo-light);
}
.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-card-img img { transform: scale(1.04); }

.listing-card-img .listing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}
.badge-sale     { background: var(--vo-navy);   color: var(--vo-white); }
.badge-rent     { background: var(--vo-gold);   color: var(--vo-dark); }
.badge-sold     { background: var(--vo-error);  color: var(--vo-white); }
.badge-new      { background: var(--vo-success);color: var(--vo-white); }
.badge-featured { background: var(--vo-gold);   color: var(--vo-dark); }

.listing-card-save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--vo-muted);
  transition: all var(--vo-transition);
}
.listing-card-save:hover, .listing-card-save.saved { color: var(--vo-error); background: var(--vo-white); }
.listing-card-save svg { width: 16px; height: 16px; fill: currentColor; }

.listing-card-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15,31,46,0.88);
  color: var(--vo-gold);
  font-family: var(--vo-font-h);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--vo-radius);
}

.listing-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.listing-card-title a {
  font-family: var(--vo-font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--vo-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card-title a:hover { color: var(--vo-gold); }

.listing-card-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--vo-muted);
}
.listing-card-address svg { width: 13px; height: 13px; fill: var(--vo-gold); flex-shrink: 0; }

.listing-card-meta {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--vo-border);
  margin-top: auto;
}
.listing-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--vo-mid);
  font-weight: 500;
}
.listing-meta-item svg { width: 15px; height: 15px; fill: var(--vo-gold); }

/* Listings grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ============================================================================
   9. SERVICES SECTION
============================================================================ */
.service-card {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--vo-shadow);
  transition: all var(--vo-transition);
}
.service-card:hover {
  border-color: var(--vo-gold);
  transform: translateY(-4px);
  box-shadow: var(--vo-shadow-lg);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--vo-navy), var(--vo-royal));
  border-radius: 50%;
  margin: 0 auto 20px;
}
.service-icon svg { width: 30px; height: 30px; fill: var(--vo-gold); }
.service-card h3 { color: var(--vo-navy); margin-bottom: 12px; }
.service-card p  { color: var(--vo-muted); font-size: 14px; line-height: 1.7; }
.service-card .btn { margin-top: 20px; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================================
   10. STATS BAND
============================================================================ */
.stats-band {
  background: linear-gradient(135deg, var(--vo-dark) 0%, var(--vo-navy) 100%);
  border-top: 3px solid var(--vo-gold);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 8px; }
.stat-number {
  display: block;
  font-family: var(--vo-font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--vo-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #718096;
}
.stat-divider {
  display: block;
  width: 32px;
  height: 2px;
  background: rgba(200,169,110,0.3);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ============================================================================
   11. TESTIMONIALS
============================================================================ */
.testimonial-card {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius-lg);
  padding: 32px;
  box-shadow: var(--vo-shadow);
}
.testimonial-stars { color: var(--vo-gold); font-size: 16px; margin-bottom: 16px; }
.testimonial-text {
  font-family: var(--vo-font-h);
  font-style: italic;
  font-size: 1rem;
  color: var(--vo-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vo-gold);
}
.testimonial-author-info strong { display: block; font-size: 14px; font-weight: 600; color: var(--vo-navy); }
.testimonial-author-info span   { font-size: 12px; color: var(--vo-muted); }

/* ============================================================================
   12. AGENT / TEAM CARDS
============================================================================ */
.agent-card {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--vo-shadow);
  transition: all var(--vo-transition);
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--vo-shadow-lg); border-color: rgba(200,169,110,0.4); }
.agent-card-photo { aspect-ratio: 1; overflow: hidden; }
.agent-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.agent-card:hover .agent-card-photo img { transform: scale(1.04); }
.agent-card-body { padding: 20px; }
.agent-card h4 { color: var(--vo-navy); margin-bottom: 4px; }
.agent-card .agent-title { font-size: 12px; font-weight: 600; color: var(--vo-gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.agent-card p { font-size: 13px; color: var(--vo-muted); margin-bottom: 16px; }
.agent-social { display: flex; justify-content: center; gap: 8px; }
.agent-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--vo-light);
  color: var(--vo-mid);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--vo-transition);
}
.agent-social a:hover { background: var(--vo-navy); color: var(--vo-white); }
.agent-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================================
   13. FORMS
============================================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--vo-navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--vo-font-b);
  font-size: 14px;
  color: var(--vo-text);
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius);
  transition: border-color var(--vo-transition), box-shadow var(--vo-transition);
  appearance: none;
}
.form-control::placeholder { color: #a0aec0; }
.form-control:focus {
  border-color: var(--vo-navy);
  box-shadow: 0 0 0 3px rgba(26,60,94,0.1);
  outline: none;
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--vo-navy); cursor: pointer; }
.form-check label { font-size: 14px; color: var(--vo-mid); cursor: pointer; }

/* Contact card */
.contact-card {
  background: var(--vo-navy);
  border-radius: var(--vo-radius-lg);
  padding: 36px;
  color: var(--vo-white);
}
.contact-card h3 { color: var(--vo-gold); margin-bottom: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-item-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(200,169,110,0.12);
  border-radius: var(--vo-radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 16px; height: 16px; fill: var(--vo-gold); }
.contact-item-text strong { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #718096; margin-bottom: 2px; }
.contact-item-text a, .contact-item-text span { color: #a0aec0; font-size: 14px; }
.contact-item-text a:hover { color: var(--vo-gold); }

/* ============================================================================
   14. SIDEBAR & WIDGETS
============================================================================ */
.sidebar { padding-left: 24px; }
.widget {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--vo-font-h);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vo-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vo-gold);
  margin-bottom: 16px;
}
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--vo-border); font-size: 14px; color: var(--vo-mid); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--vo-mid); }
.widget ul li a:hover { color: var(--vo-gold); }

/* Price range */
.price-range-inputs { display: flex; gap: 10px; align-items: center; }
.price-range-inputs span { color: var(--vo-muted); font-size: 12px; }

/* ============================================================================
   15. SINGLE LISTING PAGE
============================================================================ */
.listing-header { padding: 32px 0; border-bottom: 1px solid var(--vo-border); }
.listing-header h1 { color: var(--vo-navy); margin-bottom: 8px; }
.listing-header .listing-address { color: var(--vo-muted); font-size: 15px; }

.listing-price-card {
  background: var(--vo-navy);
  color: var(--vo-white);
  border-radius: var(--vo-radius);
  padding: 20px 24px;
  display: inline-block;
}
.listing-price-card .price-main {
  font-family: var(--vo-font-h);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vo-gold);
}
.listing-price-card .price-label { font-size: 12px; color: #718096; margin-top: 2px; }

.listing-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: var(--vo-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.gallery-main { grid-row: 1 / 3; }
.gallery-main img, .gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}
.gallery-main img:hover, .gallery-thumb img:hover { transform: scale(1.02); }

.listing-tabs { margin: 32px 0; }
.tab-nav { display: flex; border-bottom: 2px solid var(--vo-border); margin-bottom: 24px; overflow-x: auto; }
.tab-nav button {
  padding: 10px 20px;
  font-family: var(--vo-font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vo-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--vo-transition);
}
.tab-nav button:hover, .tab-nav button.active {
  color: var(--vo-navy);
  border-bottom-color: var(--vo-gold);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.prop-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.prop-detail-item {
  background: var(--vo-light);
  border-radius: var(--vo-radius);
  padding: 14px 16px;
}
.prop-detail-item .detail-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vo-muted); margin-bottom: 4px; }
.prop-detail-item .detail-value { font-size: 15px; font-weight: 600; color: var(--vo-navy); }

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--vo-mid);
  padding: 6px 0;
}
.features-list li svg { width: 14px; height: 14px; fill: var(--vo-gold); flex-shrink: 0; }

/* Contact agent sidebar */
.agent-contact-card {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-top: 4px solid var(--vo-gold);
  border-radius: var(--vo-radius-lg);
  overflow: hidden;
}
.agent-contact-header { padding: 20px; display: flex; align-items: center; gap: 14px; background: var(--vo-light); }
.agent-contact-header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--vo-gold); }
.agent-contact-header h5 { color: var(--vo-navy); margin: 0; }
.agent-contact-header span { font-size: 12px; color: var(--vo-gold); font-weight: 600; }
.agent-contact-body { padding: 20px; }
.agent-contact-actions { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 20px; }

/* ============================================================================
   16. BREADCRUMBS
============================================================================ */
.breadcrumbs {
  background: var(--vo-light);
  border-bottom: 1px solid var(--vo-border);
  padding: 12px 0;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.breadcrumbs ol li { color: var(--vo-muted); display: flex; align-items: center; gap: 6px; }
.breadcrumbs ol li::after { content: '›'; color: var(--vo-border); }
.breadcrumbs ol li:last-child::after { display: none; }
.breadcrumbs ol li a { color: var(--vo-navy); }
.breadcrumbs ol li a:hover { color: var(--vo-gold); }

/* ============================================================================
   17. PAGINATION
============================================================================ */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin: 48px 0; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--vo-border);
  border-radius: var(--vo-radius);
  color: var(--vo-mid);
  transition: all var(--vo-transition);
}
.pagination a:hover { background: var(--vo-light); color: var(--vo-navy); border-color: var(--vo-navy); }
.pagination .current { background: var(--vo-navy); color: var(--vo-white); border-color: var(--vo-navy); }

/* ============================================================================
   18. FOOTER
============================================================================ */
#footer-widgets {
  background: var(--vo-dark);
  border-top: 3px solid var(--vo-gold);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-text .logo-main { font-size: 1.2rem; }
.footer-brand p { color: #718096; font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: #4a5568;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--vo-transition);
}
.footer-social a:hover { background: var(--vo-gold); color: var(--vo-dark); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

.footer-col h5 {
  font-family: var(--vo-font-h);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vo-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200,169,110,0.2);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #718096; transition: color var(--vo-transition); }
.footer-col ul li a:hover { color: var(--vo-gold); }

.footer-col .contact-line { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.footer-col .contact-line svg { width: 14px; height: 14px; fill: var(--vo-gold); flex-shrink: 0; margin-top: 2px; }
.footer-col .contact-line span, .footer-col .contact-line a { font-size: 13px; color: #718096; line-height: 1.5; }
.footer-col .contact-line a:hover { color: var(--vo-gold); }

.footer-bottom {
  background: #060d14;
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #4a5568;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: #4a5568; }
.footer-bottom a:hover { color: var(--vo-gold); }
.footer-bottom nav { display: flex; gap: 16px; }

/* ============================================================================
   19. ALERTS & NOTIFICATIONS
============================================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--vo-radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #f0fff4; color: #276749; border-left: 4px solid #2f855a; }
.alert-success svg { fill: #2f855a; }
.alert-error   { background: #fff5f5; color: #9b2c2c; border-left: 4px solid var(--vo-error); }
.alert-error svg { fill: var(--vo-error); }
.alert-info    { background: #ebf8ff; color: #2c5282; border-left: 4px solid var(--vo-royal); }
.alert-info svg { fill: var(--vo-royal); }
.alert-warning { background: #fffbeb; color: #7b341e; border-left: 4px solid #d69e2e; }

/* ============================================================================
   20. DASHBOARD
============================================================================ */
.dashboard-wrap { display: flex; gap: 32px; align-items: flex-start; }
.dashboard-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--vo-dark);
  border-radius: var(--vo-radius-lg);
  overflow: hidden;
}
.dashboard-user { padding: 24px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.07); }
.dashboard-user img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; border: 2px solid var(--vo-gold); }
.dashboard-user h5 { color: var(--vo-white); margin: 0; }
.dashboard-user span { font-size: 12px; color: var(--vo-gold); }
.dashboard-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  color: #718096;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--vo-transition);
}
.dashboard-nav li a svg { width: 15px; height: 15px; fill: currentColor; }
.dashboard-nav li a:hover, .dashboard-nav li a.active { color: var(--vo-gold); background: rgba(200,169,110,0.08); padding-left: 26px; }
.dashboard-content { flex: 1; min-width: 0; }
.dashboard-stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.dashboard-stat {
  background: var(--vo-white);
  border: 1px solid var(--vo-border);
  border-top: 3px solid var(--vo-navy);
  border-radius: var(--vo-radius);
  padding: 20px;
}
.dashboard-stat .stat-n { font-family: var(--vo-font-h); font-size: 2rem; color: var(--vo-navy); display: block; }
.dashboard-stat .stat-l { font-size: 12px; color: var(--vo-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================================
   21. MAP
============================================================================ */
.listings-map { border-radius: var(--vo-radius-lg); overflow: hidden; border: 1px solid var(--vo-border); }
.map-infobox { font-family: var(--vo-font-b); min-width: 200px; }
.map-infobox h5 { color: var(--vo-navy); font-size: 0.9rem; margin-bottom: 4px; }
.map-infobox .map-price { color: var(--vo-gold); font-weight: 700; font-size: 0.95rem; }
.map-infobox a { color: var(--vo-navy); font-size: 12px; }

/* ============================================================================
   22. 404 / UTILITY PAGES
============================================================================ */
.page-not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.page-not-found .error-code {
  font-family: var(--vo-font-h);
  font-size: clamp(6rem, 15vw, 10rem);
  color: var(--vo-border);
  line-height: 1;
  margin-bottom: 16px;
}
.page-not-found h2 { color: var(--vo-navy); }
.page-not-found p  { color: var(--vo-muted); max-width: 420px; margin: 0 auto 28px; }

/* ============================================================================
   23. BACK TO TOP
============================================================================ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--vo-navy);
  color: var(--vo-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--vo-transition);
  z-index: 500;
  box-shadow: var(--vo-shadow);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--vo-gold); color: var(--vo-dark); }
#back-to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================================
   24. RESPONSIVE
============================================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .prop-details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #primary-nav, .header-cta { display: none; }
  #nav-toggle { display: flex; }
  .sidebar { padding-left: 0; margin-top: 32px; }
  .hero { min-height: 500px; }
  .hero.hero-full { min-height: 70vh; }
  .listings-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .dashboard-wrap { flex-direction: column; }
  .dashboard-sidebar { width: 100%; }
  .listing-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-main { grid-row: auto; }
  .search-form-row { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .prop-details-grid { grid-template-columns: 1fr 1fr; }
  #topbar { display: none; }
}

@media (max-width: 480px) {
  .listings-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-stat-cards { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

/* ============================================================================
   25. PRINT
============================================================================ */
@media print {
  #topbar, #site-header, #mobile-nav, #footer-widgets, .footer-bottom,
  #back-to-top, .hero-search, .agent-contact-actions, .pagination { display: none !important; }
  body { font-size: 12px; color: #000; }
  a { color: #000; }
  .listing-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
}

/* ── Logo image + text layout ───────────────────────────────────────────── */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo-img { 
  width: 48px; 
  height: 48px; 
  object-fit: contain;
  filter: brightness(0) invert(1); /* white version on dark header */
}
/* Footer logo stays white */
#footer-widgets .site-logo-img { filter: brightness(0) invert(1); opacity: 0.9; }

/* ── Body scroll lock when mobile nav open ──────────────────────────────── */
body.noscroll { overflow: hidden; }

/* ── Header: increased contrast so green logo reads clearly ────────────── */
#site-header {
  background: #fff !important;
  border-bottom: 3px solid var(--vo-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(8px);
}

/* Logo text dark on white header */
.logo-text .logo-main { color: var(--vo-navy) !important; }
.logo-text .logo-sub  { color: var(--vo-gold)  !important; }

/* Logo image: show natural green colour on white header */
#site-header .site-logo-img { filter: none; }

/* Nav links dark on white */
#primary-nav > li > a { color: var(--vo-mid) !important; }
#primary-nav > li > a:hover,
#primary-nav > li.current-menu-item > a,
#primary-nav > li.current-menu-ancestor > a { color: var(--vo-navy) !important; background: rgba(26,77,46,0.06) !important; }

/* Dropdown stays dark */
#primary-nav .sub-menu { background: var(--vo-dark) !important; }

/* Mobile toggle dark on white bg */
#nav-toggle span { background: var(--vo-navy); }

/* Header CTA buttons */
.header-cta .btn-outline-light {
  color: var(--vo-navy) !important;
  border-color: var(--vo-navy) !important;
}
.header-cta .btn-outline-light:hover {
  background: var(--vo-navy) !important;
  color: #fff !important;
}

/* Top bar stays dark */
#topbar { background: var(--vo-dark); }


/* ============================================================================
   26. LANGUAGE SWITCHER
============================================================================ */

.vo-lang-switcher {
  position: relative;
  z-index: 200;
}

.vo-lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--vo-light);
  border: 1px solid var(--vo-border);
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--vo-font-b);
  font-size: 13px;
  font-weight: 600;
  color: var(--vo-navy);
  transition: all var(--vo-transition);
  white-space: nowrap;
}
.vo-lang-current:hover {
  background: var(--vo-navy);
  color: #fff;
  border-color: var(--vo-navy);
}
.vo-lang-flag { font-size: 16px; line-height: 1; }
.vo-lang-name { font-size: 12px; }

/* Dropdown */
.vo-lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--vo-border);
  border-top: 3px solid var(--vo-navy);
  border-radius: 0 0 var(--vo-radius) var(--vo-radius);
  box-shadow: var(--vo-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--vo-transition);
  padding: 4px 0;
}
.vo-lang-switcher:hover .vo-lang-dropdown,
.vo-lang-switcher.open .vo-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vo-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--vo-mid);
  transition: background var(--vo-transition), color var(--vo-transition);
  text-decoration: none;
}
.vo-lang-option:hover { background: var(--vo-light); color: var(--vo-navy); }
.vo-lang-option.active { color: var(--vo-navy); background: rgba(26,77,46,0.05); }
.vo-lang-option .vo-lang-flag { font-size: 20px; flex-shrink: 0; }
.vo-lang-option strong { display: block; font-size: 13px; color: var(--vo-navy); }
.vo-lang-option small  { display: block; font-size: 11px; color: var(--vo-muted); }
.vo-lang-check { margin-left: auto; color: var(--vo-navy); font-weight: 700; font-size: 14px; }

/* Inline / footer pill style */
.vo-lang-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.vo-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  color: #718096;
  transition: all var(--vo-transition);
  text-decoration: none;
}
.vo-lang-pill:hover { color: var(--vo-gold); border-color: var(--vo-gold); }
.vo-lang-pill.active { background: var(--vo-gold); color: var(--vo-dark); border-color: var(--vo-gold); }

/* Mobile lang switcher */
@media (max-width: 768px) {
  .vo-lang-name { display: none; }
  .vo-lang-current { padding: 6px 8px; }
  .vo-lang-dropdown { right: 0; min-width: 160px; }
}

/* ============================================================================
   27. LUXURY REDESIGN — Hero, Categories, Trust Bar, Premium Cards
   Direction: Sotheby's / Engel & Völkers / Christie's — large photography,
   generous white space, restrained typography, quiet motion.
============================================================================ */

/* ── Luxury hero (fullscreen, minimal) ──────────────────────────────────── */
.lux-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--vo-dark);
}
.lux-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.lux-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,35,24,0.35) 0%, rgba(13,35,24,0.55) 55%, rgba(13,35,24,0.85) 100%);
}
.lux-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
  color: #fff;
}
.lux-hero-eyebrow {
  font-family: var(--vo-font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--vo-gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: luxFadeUp 0.9s 0.1s ease forwards;
}
.lux-hero-content h1 {
  font-family: var(--vo-font-h);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  opacity: 0;
  animation: luxFadeUp 0.9s 0.25s ease forwards;
}
.lux-hero-content h1 em {
  font-style: italic;
  color: var(--vo-gold);
}
.lux-hero-content p {
  font-family: var(--vo-font-b);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: luxFadeUp 0.9s 0.4s ease forwards;
}
.lux-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: luxFadeUp 0.9s 0.55s ease forwards;
}
@keyframes luxFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Minimal luxury buttons */
.lux-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--vo-font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  transition: all 0.35s ease;
  background: transparent;
}
.lux-btn:hover { background: #fff; color: var(--vo-dark); border-color: #fff; }
.lux-btn-solid { background: var(--vo-gold); border-color: var(--vo-gold); color: var(--vo-dark); }
.lux-btn-solid:hover { background: transparent; color: #fff; border-color: #fff; }

/* Scroll cue */
.lux-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lux-scroll-cue::after {
  content: '';
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.4);
  animation: luxScroll 1.8s infinite ease;
}
@keyframes luxScroll {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Full-width search bar (not boxed) ──────────────────────────────────── */
.lux-search-bar {
  background: var(--vo-white);
  border-bottom: 1px solid var(--vo-border);
  padding: 28px 0;
  position: relative;
  z-index: 5;
}
.lux-search-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 0;
  align-items: stretch;
}
.lux-search-field {
  padding: 0 28px;
  border-right: 1px solid var(--vo-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.lux-search-field:first-child { padding-left: 0; }
.lux-search-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vo-muted);
}
.lux-search-field input,
.lux-search-field select {
  border: none;
  padding: 0;
  font-family: var(--vo-font-b);
  font-size: 15px;
  color: var(--vo-navy);
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.lux-search-field input:focus,
.lux-search-field select:focus { outline: none; }
.lux-search-submit {
  padding: 0 0 0 28px;
  display: flex;
  align-items: center;
}
.lux-search-submit button {
  background: var(--vo-navy);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-family: var(--vo-font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.lux-search-submit button:hover { background: var(--vo-gold); color: var(--vo-dark); }

@media (max-width: 900px) {
  .lux-search-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lux-search-field { border-right: none; border-bottom: 1px solid var(--vo-border); padding: 0 0 12px; }
  .lux-search-submit { grid-column: span 2; padding: 8px 0 0; }
  .lux-search-submit button { width: 100%; justify-content: center; }
}

/* ── Category cards (Luxury Villas / Beachfront / etc.) ─────────────────── */
.lux-categories {
  padding: 100px 0;
  background: var(--vo-white);
}
.lux-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.lux-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vo-gold-dk, #A8894E);
  margin-bottom: 16px;
  display: block;
}
.lux-section-head h2 {
  font-family: var(--vo-font-h);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--vo-navy);
  margin-bottom: 16px;
}
.lux-section-head p {
  font-size: 15px;
  color: var(--vo-muted);
  font-weight: 300;
  line-height: 1.8;
}

.lux-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.lux-category-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: var(--vo-dark);
}
.lux-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.lux-category-card:hover img { transform: scale(1.08); }
.lux-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,35,24,0) 40%, rgba(13,35,24,0.75) 100%);
}
.lux-category-label {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
}
.lux-category-label span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vo-gold);
  margin-bottom: 6px;
}
.lux-category-label h3 {
  font-family: var(--vo-font-h);
  font-weight: 400;
  font-size: 1.4rem;
  color: #fff;
  margin: 0;
}
.lux-category-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.35s ease;
}
.lux-category-card:hover .lux-category-arrow {
  background: var(--vo-gold);
  border-color: var(--vo-gold);
  color: var(--vo-dark);
  transform: rotate(45deg);
}
.lux-category-arrow svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 900px) {
  .lux-category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lux-category-grid { grid-template-columns: 1fr; }
  .lux-categories { padding: 64px 0; }
}

/* ── Luxury listing card (Sotheby's style) ──────────────────────────────── */
.lux-listing-card {
  position: relative;
  background: #fff;
  text-decoration: none;
  display: block;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.lux-listing-card:hover { border-color: var(--vo-border); }

.lux-listing-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--vo-light);
}
.lux-listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.lux-listing-card:hover .lux-listing-img img { transform: scale(1.06); }

.lux-listing-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--vo-navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
}
.lux-listing-badge.rent { color: var(--vo-gold-dk, #A8894E); }

.lux-listing-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
}
.lux-listing-card:hover .lux-listing-actions { opacity: 1; transform: translateX(0); }

.lux-action-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--vo-navy);
  transition: all 0.25s ease;
}
.lux-action-btn:hover { background: var(--vo-navy); color: #fff; }
.lux-action-btn.saved { background: var(--vo-error); color: #fff; }
.lux-action-btn svg { width: 16px; height: 16px; fill: currentColor; }

.lux-listing-body {
  padding: 24px 4px 8px;
}
.lux-listing-price {
  font-family: var(--vo-font-h);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--vo-navy);
  margin-bottom: 8px;
}
.lux-listing-title {
  font-family: var(--vo-font-b);
  font-size: 14px;
  font-weight: 500;
  color: var(--vo-text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.lux-listing-location {
  font-size: 12px;
  color: var(--vo-muted);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.lux-listing-specs {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--vo-border);
}
.lux-listing-specs span {
  font-size: 12px;
  color: var(--vo-mid);
  display: flex;
  align-items: center;
  gap: 5px;
}
.lux-listing-specs svg { width: 13px; height: 13px; fill: var(--vo-gold-dk, #A8894E); }

.lux-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 900px) { .lux-listings-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 560px) { .lux-listings-grid { grid-template-columns: 1fr; } }

/* ── Trust bar ───────────────────────────────────────────────────────────── */
.lux-trust-bar {
  background: var(--vo-light);
  border-top: 1px solid var(--vo-border);
  border-bottom: 1px solid var(--vo-border);
  padding: 40px 0;
}
.lux-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.lux-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--vo-mid);
}
.lux-trust-item svg { width: 22px; height: 22px; fill: var(--vo-gold-dk, #A8894E); flex-shrink: 0; }
.lux-trust-item strong { display: block; font-size: 13px; color: var(--vo-navy); font-weight: 600; }
.lux-trust-item span { display: block; font-size: 11px; color: var(--vo-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.lux-trust-stars { color: var(--vo-gold); font-size: 14px; letter-spacing: 2px; }

/* ── Why Via One — icon grid ─────────────────────────────────────────────── */
.lux-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.lux-why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.lux-why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--vo-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lux-why-icon svg { width: 20px; height: 20px; fill: var(--vo-navy); }
.lux-why-item h4 {
  font-family: var(--vo-font-b);
  font-size: 15px;
  font-weight: 600;
  color: var(--vo-navy);
  margin-bottom: 6px;
}
.lux-why-item p { font-size: 13px; color: var(--vo-muted); line-height: 1.7; margin: 0; }

@media (max-width: 900px) { .lux-why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lux-why-grid { grid-template-columns: 1fr; } }

/* ── Development cards (with completion %) ──────────────────────────────── */
.lux-dev-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--vo-border);
  overflow: hidden;
}
.lux-dev-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.lux-dev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.lux-dev-card:hover .lux-dev-img img { transform: scale(1.05); }
.lux-dev-status {
  position: absolute; top: 18px; left: 18px;
  background: var(--vo-navy); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px;
}
.lux-dev-body { padding: 24px; }
.lux-dev-body h3 { font-family: var(--vo-font-h); font-size: 1.2rem; font-weight: 400; color: var(--vo-navy); margin-bottom: 6px; }
.lux-dev-meta { font-size: 12px; color: var(--vo-muted); margin-bottom: 16px; }
.lux-dev-progress-track { height: 4px; background: var(--vo-border); border-radius: 2px; margin-bottom: 8px; overflow: hidden; }
.lux-dev-progress-fill { height: 100%; background: var(--vo-gold); border-radius: 2px; }
.lux-dev-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--vo-muted); margin-bottom: 18px; }
.lux-dev-price { font-family: var(--vo-font-h); font-size: 1.15rem; color: var(--vo-navy); }
.lux-dev-price span { font-size: 11px; color: var(--vo-muted); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 2px; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.lux-cta-band {
  background: var(--vo-dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lux-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200,169,110,0.08), transparent 60%);
}
.lux-cta-band h2 {
  position: relative;
  font-family: var(--vo-font-h);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 20px;
}
.lux-cta-band p {
  position: relative;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.lux-cta-actions { position: relative; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ── Section spacing rhythm for luxury layout ───────────────────────────── */
.lux-section { padding: 100px 0; }
.lux-section-alt { background: var(--vo-light); }
@media (max-width: 768px) {
  .lux-section { padding: 60px 0; }
  .lux-categories { padding: 60px 0; }
  .lux-cta-band { padding: 64px 0; }
}
