/* =============================================
   KWORLD REAL ESTATE — REFINED STYLES
   Brand: Deep Navy (#0D1B3E) + Forest Green (#2A7D4F)
   Accent: Sage (#4CAF7D) | Off-white: #F5F7F4
   ============================================= */
:root {
  --navy:        #0D1B3E;
  --navy-light:  #162251;
  --navy-mid:    #1E2D5A;
  --green:       #2A7D4F;
  --green-mid:   #348C5A;
  --green-light: #4CAF7D;
  --green-glow:  rgba(42,125,79,0.18);
  --white:       #ffffff;
  --off-white:   #F5F7F4;
  --cream:       #EEF1EC;
  --gray:        #6B7280;
  --gray-light:  #9CA3AF;
  --light-gray:  #E4E8E2;
  --dark:        #080F20;
  --font-display:'Playfair Display', serif;
  --font-body:   'DM Sans', sans-serif;
  --shadow-sm:   0 2px 10px rgba(13,27,62,0.07);
  --shadow-md:   0 8px 32px rgba(13,27,62,0.11);
  --shadow-lg:   0 24px 64px rgba(13,27,62,0.16);
  --shadow-green:0 8px 32px rgba(42,125,79,0.22);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--green-light); }
.section { padding: 90px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(42,125,79,0.09);
  color: var(--green);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(42,125,79,0.2);
}
.section-header { text-align: center; margin-bottom: 50px; }
.section-title {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.section-desc { color: var(--gray); font-size: 16px; max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-footer { text-align: center; margin-top: 48px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(42,125,79,0.28);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(42,125,79,0.38); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy);
  padding: 13px 32px; border-radius: 50px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; background: transparent; cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.35); cursor: pointer;
  transition: var(--transition); backdrop-filter: blur(8px);
}
.btn-white:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all 0.4s ease; background: transparent;
}
.navbar.scrolled {
  background: var(--navy); padding: 13px 0;
  box-shadow: 0 4px 24px rgba(13,27,62,0.22);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { text-decoration: none; display: flex; align-items: center; }
.brand-lockup {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
}
.brand-lockup__mark {
  width: 52px; height: 52px; border-radius: 16px; overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(8,15,32,0.18); backdrop-filter: blur(10px);
}
.brand-lockup__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-lockup__text { display: flex; flex-direction: column; gap: 3px; }
.brand-lockup__text strong {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
}
.brand-lockup__text small {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
}
.brand-lockup--nav .brand-lockup__text strong { color: var(--white); }
.brand-lockup--nav .brand-lockup__text small { color: rgba(255,255,255,0.58); }
.brand-lockup--footer { margin-bottom: 16px; }
.brand-lockup--footer .brand-lockup__mark {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1);
}
.brand-lockup--footer .brand-lockup__text strong { color: var(--white); }
.brand-lockup--footer .brand-lockup__text small { color: rgba(255,255,255,0.46); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 500; font-size: 15px; transition: var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--green-light);
  transform: scaleX(0); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--green); color: var(--white) !important;
  padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(42,125,79,0.28);
}
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,15,32,0.92) 0%, rgba(13,27,62,0.78) 50%, rgba(13,27,62,0.52) 100%);
}
.hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(42,125,79,0.1) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  padding-top: 100px; width: 100%;
}
.hero-panel { max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,175,125,0.14);
  border: 1px solid rgba(76,175,125,0.32);
  color: #8DDAB0;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 8px 20px; border-radius: 50px;
  margin-bottom: 28px; animation: fadeUp 0.8s ease forwards;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green-light); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 6vw, 76px); font-weight: 900;
  color: var(--white); line-height: 1.08; margin-bottom: 22px;
  animation: fadeUp 0.9s ease 0.1s both; letter-spacing: -0.05em;
}
.hero-desc {
  font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.7);
  max-width: 500px; margin-bottom: 44px;
  animation: fadeUp 1s ease 0.2s both; line-height: 1.75;
}
.hero-quickproof {
  display: flex; flex-wrap: wrap; gap: 14px; margin: -10px 0 34px;
}
.hero-quickproof div {
  min-width: 140px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}
.hero-quickproof strong {
  display: block; color: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px; font-weight: 800; line-height: 1;
}
.hero-quickproof span {
  display: block; margin-top: 6px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.62);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- REDESIGNED SEARCH BOX ---- */
.search-box { animation: fadeUp 1.1s ease 0.3s both; max-width: 880px; }
.hero-search-wrap { max-width: 980px; }

.search-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.stab {
  padding: 9px 24px; border-radius: 50px; border: none; cursor: pointer;
  font-weight: 600; font-size: 13px; letter-spacing: 0.3px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.65);
  transition: var(--transition); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.stab.active {
  background: var(--green); color: var(--white); border-color: var(--green);
  box-shadow: 0 4px 16px rgba(42,125,79,0.38);
}
.stab:hover:not(.active) { background: rgba(255,255,255,0.18); color: var(--white); }

/* Main search — unified card */
.search-fields {
  display: flex; gap: 0; align-items: stretch;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 56px rgba(8,15,32,0.36), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}
.sfield {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 0 20px; min-width: 0;
  border-right: 1px solid var(--light-gray); position: relative;
}
.sfield:last-of-type { border-right: none; }
.sfield:focus-within { background: #FAFCF9; }
.sfield i { color: var(--green); font-size: 16px; flex-shrink: 0; }
.sfield-inner { display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; padding: 16px 0; }
.sfield-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-light); margin-bottom: 3px; }
.sfield input, .sfield select {
  border: none; background: transparent; font-family: var(--font-body);
  font-size: 14px; font-weight: 500; color: var(--navy); width: 100%;
  outline: none; -webkit-appearance: none; cursor: pointer;
}
.sfield select option { color: var(--navy); }
.sfield input::placeholder { color: var(--gray-light); font-weight: 400; }
.search-btn {
  background: var(--green); color: var(--white); border: none; cursor: pointer;
  padding: 0 36px; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition); white-space: nowrap; flex-shrink: 0;
  border-radius: 0 16px 16px 0; min-height: 68px;
}
.search-btn:hover { background: var(--green-mid); }
.search-btn i { font-size: 14px; }

.hero-scroll {
  position: relative; z-index: 2; width: fit-content;
  margin: 26px auto 0;
}
.hero-scroll span {
  display: block; width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.28); border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 8px;
  background: var(--green-light); border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0%   { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar { background: var(--navy); padding: 44px 0; border-top: 1px solid rgba(255,255,255,0.04); }
.stats-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 16px 48px; }
.stat-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--green-light); line-height: 1; }
.stat-num::after { content: '+'; }
.stat-label { color: rgba(255,255,255,0.48); font-size: 12px; margin-top: 7px; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.08); }

/* =============================================
   PROPERTY CARDS
   ============================================= */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.fbtn {
  padding: 10px 24px; border-radius: 50px;
  border: 1.5px solid var(--light-gray); background: transparent;
  color: var(--gray); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: var(--transition); letter-spacing: 0.2px;
}
.fbtn.active, .fbtn:hover {
  border-color: var(--green); background: var(--green); color: var(--white);
  box-shadow: 0 4px 14px rgba(42,125,79,0.22);
}
.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.home-featured-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px;
}
.home-featured-head__copy { max-width: 720px; }
.home-featured-head .section-header { text-align: left; margin-bottom: 0; }
.home-featured-head__meta {
  min-width: 210px; padding: 22px; border-radius: 22px; background: var(--white);
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
}
.home-featured-head__meta strong {
  display: block; color: var(--navy); font-size: 34px; font-weight: 800; line-height: 1;
}
.home-featured-head__meta span {
  display: block; margin-top: 8px; color: var(--gray); font-size: 13px; line-height: 1.6; text-transform: uppercase; letter-spacing: 1.1px;
}
.prop-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
  border: 1px solid rgba(0,0,0,0.04);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prop-image { position: relative; height: 220px; overflow: hidden; }
.prop-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.prop-card:hover .prop-image img { transform: scale(1.05); }
.prop-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.prop-badge {
  position: static; padding: 8px 14px; border-radius: 999px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px;
  border: 1px solid transparent; box-shadow: 0 10px 28px rgba(8,15,32,0.2); backdrop-filter: blur(12px);
}
.badge-sale   { background: rgba(13,27,62,0.88); border-color: rgba(255,255,255,0.18); color: var(--white); }
.badge-rent   { background: rgba(42,125,79,0.9); border-color: rgba(255,255,255,0.18); color: var(--white); }
.prop-badge--featured { background: rgba(255,255,255,0.94); color: var(--navy); border-color: rgba(255,255,255,0.72); }
.badge-sold   { background: #8B9CB3; color: var(--white); }
.badge-rented { background: #6B7280; color: var(--white); }
.prop-fav {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 14px; transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.prop-fav:hover { color: #EF4444; background: var(--white); }
.prop-body { padding: 22px; }
.prop-topline {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px;
}
.prop-category {
  color: var(--gray-light); font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
}
.prop-status {
  display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px;
  border-radius: 999px; background: rgba(42,125,79,0.08); border: 1px solid rgba(42,125,79,0.14);
  color: var(--green); font-size: 11px; font-weight: 700;
}
.prop-price {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px; font-weight: 800; color: var(--green); margin-bottom: 6px; letter-spacing: -0.02em;
}
.prop-price span { font-size: 13px; font-weight: 400; color: var(--gray); }
.prop-title {
  font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.2;
}
.prop-location { color: var(--gray); font-size: 13px; display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.prop-location i { color: var(--green); }
.prop-features { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--light-gray); }
.prop-feat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.prop-feat i { color: var(--navy); font-size: 13px; }
.prop-actions { margin-top: 16px; }

/* =============================================
   WHY SECTION
   ============================================= */
.properties-section { background: var(--off-white); }
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-image { position: relative; }
.why-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why-badge {
  position: absolute; bottom: -20px; right: -20px; background: var(--navy); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-md);
}
.wbadge-num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--green-light); line-height: 1; }
.wbadge-text { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.why-content p { color: var(--gray); margin-bottom: 28px; font-size: 16px; line-height: 1.8; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.wfeat { display: flex; gap: 14px; align-items: flex-start; }
.wfeat-icon {
  width: 44px; height: 44px; flex-shrink: 0; background: rgba(42,125,79,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 18px;
}
.wfeat strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.wfeat p { font-size: 12px; color: var(--gray); margin: 0; line-height: 1.6; }

/* =============================================
   CATEGORIES
   ============================================= */
.cat-section { background: var(--off-white); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; height: 200px; border-radius: var(--radius-lg);
  overflow: hidden; background-size: cover; background-position: center;
  text-decoration: none; display: block; transition: var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,32,0.88) 0%, rgba(8,15,32,0.2) 100%);
  transition: var(--transition);
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(8,15,32,0.94) 0%, rgba(8,15,32,0.38) 100%); }
.cat-content { position: absolute; bottom: 20px; left: 20px; color: var(--white); display: flex; align-items: center; gap: 12px; }
.cat-icon {
  width: 36px; height: 36px; background: var(--green); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--white); flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(42,125,79,0.3);
}
.cat-content span { font-weight: 700; font-size: 15px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testi-section { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative; transition: var(--transition);
  border: 1px solid var(--light-gray);
}
.testi-card.featured {
  background: var(--navy); color: var(--white);
  transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-card.featured:hover { transform: translateY(-14px); }
.testi-stars { color: #F5A623; font-size: 17px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { font-size: 15px; line-height: 1.75; color: var(--gray); margin-bottom: 20px; }
.testi-card.featured p { color: rgba(255,255,255,0.7); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--white); flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; color: var(--navy); }
.testi-card.featured .testi-author strong { color: var(--white); }
.testi-author span { font-size: 12px; color: var(--gray-light); }
.testi-card.featured .testi-author span { color: rgba(255,255,255,0.48); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { position: relative; }
.cta-bg { background-size: cover; background-position: center; position: relative; padding: 100px 24px; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,15,32,0.94) 0%, rgba(13,27,62,0.82) 100%);
}
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.cta-content h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.03em;
}
.cta-content p { color: rgba(255,255,255,0.65); font-size: 17px; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--dark); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 48px; }
.footer-brand p { color: rgba(255,255,255,0.42); font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 14px; text-decoration: none;
  transition: var(--transition); border: 1px solid rgba(255,255,255,0.06);
}
.social-links a:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.42); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.42); font-size: 14px; margin-bottom: 14px !important; line-height: 1.6; }
.footer-contact li i { color: var(--green-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.42); text-decoration: none; }
.footer-contact a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.22); font-size: 13px; }

/* =============================================
   PROPERTIES PAGE
   ============================================= */
.page-hero {
  background: var(--navy); padding: 140px 0 60px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(42,125,79,0.1) 0%, transparent 60%);
}
.page-hero h1 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 800; color: var(--white); margin-bottom: 12px; position: relative;
  letter-spacing: -0.04em;
}
.page-hero p { color: rgba(255,255,255,0.62); font-size: 17px; position: relative; max-width: 680px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.38); position: relative;
}
.breadcrumb a { color: var(--green-light); text-decoration: none; }
.breadcrumb i { font-size: 10px; }
.search-filter-bar {
  background: var(--white); box-shadow: var(--shadow-md); padding: 24px;
  border-radius: var(--radius-lg); margin: -30px 24px 48px;
  position: relative; z-index: 10; max-width: 1200px;
  margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px; align-items: end; border: 1px solid var(--light-gray);
}
.filter-group label {
  display: block; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-light); margin-bottom: 7px;
}
.filter-input {
  width: 100%; border: 1.5px solid var(--light-gray); border-radius: 9px;
  padding: 11px 14px; font-family: var(--font-body); font-size: 14px; color: var(--navy);
  outline: none; transition: var(--transition); -webkit-appearance: none; background: var(--off-white);
}
.filter-input:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(42,125,79,0.1); }
.prop-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 70px 0; color: var(--gray); }
.no-results i { font-size: 48px; color: var(--light-gray); display: block; margin-bottom: 16px; }
.listing-shell { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: start; }
.listing-sidebar { position: sticky; top: 110px; }
.listing-filter-card {
  background: var(--white); border: 1px solid var(--light-gray); border-radius: 22px;
  box-shadow: var(--shadow-md); padding: 26px; display: flex; flex-direction: column; gap: 18px;
}
.listing-filter-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.listing-filter-card__eyebrow, .listing-results__eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--green); font-weight: 700; margin-bottom: 6px;
}
.listing-filter-card h2, .listing-results__header h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px; line-height: 1.15; color: var(--navy); font-weight: 700;
}
.listing-clear {
  color: var(--gray); text-decoration: none; font-size: 13px; font-weight: 600; padding-top: 4px;
}
.listing-clear:hover { color: var(--green); }
.listing-filter-submit { width: 100%; justify-content: center; }
.listing-results__header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px;
}
.listing-results__subtext { color: var(--gray); font-size: 15px; margin-top: 8px; }
.listing-active-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.listing-active-filters span {
  background: rgba(42,125,79,0.08); border: 1px solid rgba(42,125,79,0.18); color: var(--green);
  border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600;
}
.listing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.listing-card {
  background: var(--white); border: 1px solid var(--light-gray); border-radius: 24px;
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden; transition: var(--transition);
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.listing-card__media { position: relative; min-height: 100%; background: var(--light-gray); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card__badges { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.listing-card__badge {
  position: static; display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(8,15,32,0.16);
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  backdrop-filter: blur(10px); border: 1px solid transparent;
}
.listing-card__badge--type { padding-inline: 15px; }
.listing-card__badge--featured {
  background: rgba(255,255,255,0.94); color: var(--navy); border-color: rgba(255,255,255,0.75);
}
.badge-featured { background: rgba(255,255,255,0.94); color: var(--navy); border-color: rgba(255,255,255,0.75); }
.listing-card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.listing-card__topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.listing-card__headline { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.listing-card__category { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gray-light); font-weight: 700; }
.listing-card__price { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 24px; font-weight: 800; color: var(--green); }
.listing-card__availability {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 12px; border-radius: 999px; background: rgba(42,125,79,0.08);
  border: 1px solid rgba(42,125,79,0.16); color: var(--green);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.listing-card__title a {
  color: var(--navy); text-decoration: none; font-size: 28px; line-height: 1.15;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700;
}
.listing-card__location { color: var(--gray); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.listing-card__location i { color: var(--green); }
.listing-card__summary { color: var(--gray); font-size: 15px; line-height: 1.7; }
.listing-card__features { display: flex; flex-wrap: wrap; gap: 12px; }
.listing-card__features span {
  background: var(--off-white); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--navy);
}
.listing-card__features i { color: var(--green); margin-right: 6px; }
.listing-card__actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.listing-card__actions .btn-primary, .listing-card__actions .btn-outline { padding: 12px 18px; border-radius: 12px; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--green); color: var(--white); padding: 20px 24px;
  border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-md);
}
.about-img-badge .num { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1; }
.about-img-badge .txt { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.about-text h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.5vw, 42px); font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.03em;
}
.about-text p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-img { height: 240px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 20px; }
.team-body strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.team-body span { font-size: 13px; color: var(--green); font-weight: 500; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.val-card {
  background: var(--off-white); border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition); border: 1px solid var(--light-gray);
}
.val-card:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); border-color: var(--navy); }
.val-icon {
  width: 54px; height: 54px; background: rgba(42,125,79,0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 24px; margin-bottom: 20px; transition: var(--transition);
}
.val-card:hover .val-icon { background: rgba(42,125,79,0.2); }
.val-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; transition: var(--transition); }
.val-card:hover h3 { color: var(--white); }
.val-card p { font-size: 14px; color: var(--gray); line-height: 1.7; transition: var(--transition); }
.val-card:hover p { color: rgba(255,255,255,0.58); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px,3.5vw,40px); font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.03em;
}
.contact-info p { color: var(--gray); margin-bottom: 32px; font-size: 16px; line-height: 1.75; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.citem { display: flex; align-items: flex-start; gap: 16px; }
.citem-icon {
  width: 48px; height: 48px; flex-shrink: 0; background: rgba(42,125,79,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 18px;
}
.citem-text strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-light); margin-bottom: 4px; }
.citem-text span { font-size: 15px; color: var(--navy); font-weight: 500; }
.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); border: 1px solid var(--light-gray);
}
.contact-form h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.03em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1.5px solid var(--light-gray); border-radius: 9px; padding: 12px 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--navy); outline: none;
  resize: vertical; transition: var(--transition); -webkit-appearance: none; background: var(--off-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(42,125,79,0.1); background: var(--white);
}
.form-submit {
  width: 100%; background: var(--navy); color: var(--white); border: none; cursor: pointer;
  padding: 15px; border-radius: 50px; font-weight: 700; font-size: 15px;
  font-family: var(--font-body); transition: var(--transition);
}
.form-submit:hover { background: var(--green); transform: translateY(-2px); }
.success-msg {
  display: none; background: rgba(42,125,79,0.08); border: 1px solid rgba(42,125,79,0.28);
  color: var(--green); border-radius: 8px; padding: 14px;
  text-align: center; margin-top: 16px; font-weight: 500;
}

.map-section { padding: 0; }
.map-embed { width: 100%; height: 400px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* =============================================
   PROPERTY DETAIL
   ============================================= */
.detail-breadcrumb-bar {
  background: var(--off-white); padding: 92px 0 0; border-bottom: 1px solid var(--light-gray);
}
.detail-breadcrumb-bar__inner { padding-bottom: 18px; }
.breadcrumb--left { justify-content: flex-start; }
.detail-page-section { padding-top: 40px; }
.detail-hero {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
  gap: 28px; align-items: start; margin-bottom: 34px;
}
.detail-hero__lead {
  background: linear-gradient(180deg, #fff 0%, #f8faf7 100%);
  border: 1px solid var(--light-gray); border-radius: 28px; padding: 30px;
  box-shadow: var(--shadow-sm);
}
.detail-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.detail-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.3px;
}
.detail-pill--soft { background: rgba(13,27,62,0.06); color: var(--navy); }
.detail-pill--success { background: rgba(42,125,79,0.12); color: var(--green); }
.detail-summary-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px; margin-top: 24px;
}
.detail-summary-card {
  border: 1px solid var(--light-gray); border-radius: 18px; padding: 18px;
  background: var(--white);
}
.detail-summary-card__label {
  display: block; font-size: 11px; font-weight: 700; color: var(--gray-light);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 6px;
}
.detail-summary-card strong {
  display: block; color: var(--navy); font-size: 24px; font-weight: 800;
  line-height: 1.1;
}
.detail-hero__cta {
  border-radius: 28px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); padding: 28px; box-shadow: var(--shadow-md);
}
.detail-hero__cta-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,0.58); margin-bottom: 12px;
}
.detail-hero__cta h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 12px;
}
.detail-hero__cta p { color: rgba(255,255,255,0.7); line-height: 1.7; }
.detail-hero__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.detail-hero__cta .btn-outline { border-color: rgba(255,255,255,0.22); color: var(--white); }
.detail-hero__cta .btn-outline:hover { background: var(--white); color: var(--navy); }
.detail-gallery-wrap {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 0.9fr); gap: 16px;
  margin-bottom: 36px;
}
.main-photo, .side-photo {
  background-size: cover; background-position: center; border-radius: 24px; position: relative; overflow: hidden;
}
.main-photo { min-height: 480px; box-shadow: var(--shadow-md); }
.side-photos { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.side-photo { min-height: 149px; }
.side-photo::after, .main-photo::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(8,15,32,0.12) 100%);
}
.side-photo--stack span {
  position: absolute; left: 18px; bottom: 18px; z-index: 1; color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 40px; align-items: start; }
.detail-gallery { border-radius: var(--radius-lg); overflow: hidden; background: var(--light-gray); }
.detail-gallery img { width: 100%; height: 420px; object-fit: cover; }
.detail-body { margin-top: 28px; }
.detail-price {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 34px; font-weight: 900; color: var(--green); margin-bottom: 6px; letter-spacing: -0.03em;
}
.detail-title {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.03em;
}
.detail-loc { color: var(--gray); display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.detail-inline-notes {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
}
.detail-inline-notes span {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,27,62,0.04); color: var(--navy); border: 1px solid rgba(13,27,62,0.08);
  border-radius: 999px; padding: 9px 12px; font-size: 12px; font-weight: 700;
}
.detail-inline-notes i { color: var(--green); }
.detail-feats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.dfeat {
  display: flex; align-items: center; gap: 8px; background: var(--off-white); padding: 12px 16px;
  border-radius: 14px; font-size: 14px; font-weight: 700; border: 1px solid var(--light-gray);
}
.dfeat i { color: var(--green); }
.detail-panel {
  background: var(--white); border: 1px solid var(--light-gray); border-radius: 24px;
  padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.detail-panel__header { margin-bottom: 16px; }
.detail-panel__eyebrow {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--green); margin-bottom: 6px;
}
.detail-panel h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px; line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -0.03em;
}
.detail-panel p { color: var(--gray); font-size: 15px; line-height: 1.85; }
.detail-lead-copy {
  color: var(--navy) !important; font-size: 17px !important; font-weight: 600; line-height: 1.8 !important;
  margin-bottom: 12px;
}
.detail-meta-table {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.detail-meta-item {
  display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--light-gray);
  border-radius: 16px; padding: 16px; background: #fbfcfa;
}
.detail-meta-item span {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; color: var(--gray-light);
}
.detail-meta-item strong { color: var(--navy); font-size: 15px; font-weight: 700; }
.detail-meta-item__success { color: var(--green) !important; }
.detail-highlights {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.detail-highlight {
  display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--light-gray);
  border-radius: 18px; padding: 18px; background: #fbfcfa;
}
.detail-highlight i {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: rgba(42,125,79,0.12); color: var(--green);
}
.detail-highlight strong {
  display: block; color: var(--navy); font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.detail-highlight span { color: var(--gray); font-size: 14px; line-height: 1.7; display: block; }
.agent-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-md); position: sticky; top: 100px; border: 1px solid var(--light-gray);
}
.agent-card__intro { margin-bottom: 22px; }
.agent-card h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800; font-size: 24px; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.03em; line-height: 1.1;
}
.agent-card__intro p { color: var(--gray); font-size: 14px; line-height: 1.7; }
.agent-info { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.agent-avatar { width: 56px; height: 56px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 18px; }
.agent-name strong { display: block; font-size: 15px; color: var(--navy); }
.agent-name span { font-size: 13px; color: var(--gray); }
.contact-action-btns { display: grid; gap: 10px; margin-bottom: 20px; }
.btn-call, .btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 14px; padding: 13px 18px; font-weight: 700;
}
.btn-call { background: var(--navy); color: var(--white); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.detail-action-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 14px; padding: 13px 18px; font-weight: 700;
  background: var(--off-white); color: var(--navy); border: 1px solid var(--light-gray);
}
.detail-assurance {
  display: grid; gap: 10px; margin-bottom: 20px;
}
.detail-assurance__item {
  display: flex; align-items: center; gap: 10px; background: rgba(42,125,79,0.06);
  border: 1px solid rgba(42,125,79,0.12); border-radius: 14px; padding: 12px 14px;
  color: var(--navy); font-size: 13px; font-weight: 600;
}
.detail-assurance__item i { color: var(--green); }
.detail-form-wrap { border-top: 1px solid var(--light-gray); padding-top: 20px; }
.detail-form-wrap h3 { font-size: 20px; margin-bottom: 16px; }
.inquiry-form label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-light); margin-bottom: 6px; display: block; margin-top: 12px; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select {
  width: 100%; border: 1.5px solid var(--light-gray); border-radius: 9px;
  padding: 10px 14px; font-family: var(--font-body); font-size: 14px;
  outline: none; resize: none; transition: var(--transition); background: var(--off-white); -webkit-appearance: none;
}
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus { border-color: var(--green); background: var(--white); }
.inquiry-btn {
  width: 100%; background: var(--green); color: var(--white); border: none; cursor: pointer;
  padding: 13px; border-radius: 50px; font-weight: 700; font-size: 14px;
  font-family: var(--font-body); margin-top: 16px; transition: var(--transition);
}
.inquiry-btn:hover { background: var(--green-mid); }

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--navy); color: var(--white); padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0; transition: all 0.4s ease;
  display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.07);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--green-light); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .home-featured-head { flex-direction: column; align-items: stretch; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-image { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-gallery-wrap { grid-template-columns: 1fr; }
  .side-photos { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .agent-card { position: static; }
  .listing-shell { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .listing-card { grid-template-columns: 1fr; }
  .listing-card__media { min-height: 260px; }
}
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 68px 0; }
  .section-header { margin-bottom: 34px; }
  .nav-links {
    display: none; flex-direction: column; gap: 18px; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,27,62,0.98); justify-content: center; align-items: center; z-index: 999;
    padding: 32px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; z-index: 1000; }
  .nav-link, .nav-cta { font-size: 18px; }
  .brand-lockup__mark { width: 46px; height: 46px; border-radius: 14px; }
  .brand-lockup__text strong { font-size: 15px; }
  .brand-lockup__text small { font-size: 9px; letter-spacing: 1.4px; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 92px; padding-bottom: 90px; }
  .hero-title { font-size: clamp(34px, 10vw, 52px); line-height: 1.02; margin-bottom: 18px; }
  .hero-desc { margin-bottom: 24px; max-width: none; }
  .hero-quickproof { display: none; }
  .hero-search-wrap { max-width: none; }
  .hero-scroll { display: none; }
  .search-fields { flex-direction: column; border-radius: 16px; overflow: hidden; }
  .sfield { border-right: none; border-bottom: 1px solid var(--light-gray); }
  .sfield:last-of-type { border-bottom: none; }
  .search-btn { border-radius: 0 0 16px 16px; justify-content: center; padding: 16px; min-height: 52px; }
  .stats-container { flex-direction: column; gap: 0; }
  .stat-item { padding: 14px 0; width: 100%; }
  .stat-num { font-size: 36px; }
  .stat-divider { width: 60px; height: 1px; }
  .properties-grid, .prop-grid-full { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card.featured { transform: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .search-filter-bar { grid-template-columns: 1fr; margin: -20px 18px 36px; padding: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 56px 0 36px; }
  .why-badge { right: 0; bottom: -10px; }
  .about-img-badge { left: 0; bottom: -10px; }
  .listing-card__body { padding: 20px; }
  .listing-card__title a { font-size: 24px; }
  .prop-topline { align-items: flex-start; flex-direction: column; }
  .prop-features { gap: 12px; flex-wrap: wrap; }
  .prop-actions .btn-outline, .listing-card__actions .btn-primary, .listing-card__actions .btn-outline { width: 100%; justify-content: center; }
  .listing-filter-card { padding: 20px; border-radius: 18px; }
  .listing-results__header h2 { font-size: 28px; }
  .page-hero { padding: 120px 0 44px; }
  .page-hero p { font-size: 15px; }
  .detail-breadcrumb-bar { padding-top: 78px; }
  .detail-hero__lead, .detail-hero__cta, .detail-panel, .agent-card { padding: 22px; }
  .detail-meta-table { grid-template-columns: 1fr; }
  .detail-highlights { grid-template-columns: 1fr; }
  .detail-summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-inline-notes span { width: 100%; justify-content: flex-start; }
  .detail-feats { gap: 12px; }
  .contact-action-btns a, .detail-action-secondary { width: 100%; }
  .main-photo { min-height: 320px; }
  .side-photos { grid-template-columns: 1fr; }
  .side-photo { min-height: 120px; }
  .contact-form { padding: 24px; }
  .contact-info p, .about-text p, .why-content p { font-size: 15px; }
}
@media (max-width: 480px) {
  .hero-content { padding-top: 86px; padding-bottom: 76px; }
  .brand-lockup { gap: 10px; }
  .brand-lockup__text small { display: none; }
  .hero-scroll { display: none; }
  .hero-tag { margin-bottom: 18px; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 30px; }
  .home-featured-head__meta { min-width: auto; padding: 18px; }
  .listing-card { border-radius: 20px; }
  .listing-card__price { font-size: 21px; }
  .detail-price, .detail-title { font-size: 28px; }
  .detail-summary-cards { grid-template-columns: 1fr; }
  .search-filter-bar { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .fbtn { padding: 8px 16px; font-size: 12px; }
}
