/* ============================
   CSS Custom Properties
   ============================ */
:root {
  --primary: #e8651a;
  --primary-dark: #c4511a;
  --primary-light: #fdf0e8;
  --secondary: #1a3c5e;
  --secondary-dark: #122a44;
  --accent: #f0b429;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6b7280;
  --text-xlight: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-subtle: #f3f4f6;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --nav-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   Reset & Base
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ============================
   Layout Helpers
   ============================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.section-pad {
  padding: clamp(60px, 8vw, 100px) 0;
}

/* ============================
   Typography Helpers
   ============================ */
.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.accent {
  color: var(--primary);
}

/* ============================
   Buttons
   ============================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(232, 101, 26, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 101, 26, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.navbar.scrolled .nav-link {
  color: var(--text-mid);
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Active nav link highlighted by scroll-spy */
.navbar.scrolled .nav-link.active-nav {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link.active-nav {
  color: #fff;
  background: rgba(255,255,255,0.18);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(232,101,26,0.3);
}

/* Removed redundant background-color duplicate */
.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.navbar.scrolled .nav-cta {
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar.scrolled .nav-toggle {
  background: var(--bg-subtle);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-dark);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(26, 60, 94, 0.82) 0%, rgba(18, 42, 68, 0.75) 60%, rgba(232, 101, 26, 0.35) 100%),
    url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1600&q=80') center/cover no-repeat;
  padding-top: var(--nav-h);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232, 101, 26, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 100px) clamp(16px, 4vw, 48px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  max-width: 780px;
  box-shadow: var(--shadow-xl);
  gap: 4px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  padding: 10px 14px;
  min-width: 0;
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-xlight);
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-dark);
  width: 100%;
  background: transparent;
}

.search-input::placeholder { color: var(--text-xlight); }

.search-select-wrap {
  flex: 0 1 160px;
  padding: 0 8px;
  border-left: 1px solid var(--border);
}

.search-select {
  border: none;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-mid);
  background: transparent;
  cursor: pointer;
  width: 100%;
  padding: 10px 4px;
  appearance: none;
  -webkit-appearance: none;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item strong {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.25);
}

/* ============================
   CATEGORIES
   ============================ */
.categories {
  background: var(--bg-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.cat-apartment::before { background: linear-gradient(135deg, rgba(232,101,26,0.05), rgba(232,101,26,0.02)); }
.cat-villa::before { background: linear-gradient(135deg, rgba(26,60,94,0.05), rgba(26,60,94,0.02)); }
.cat-plot::before { background: linear-gradient(135deg, rgba(240,180,41,0.07), rgba(240,180,41,0.03)); }
.cat-commercial::before { background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02)); }

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cat-card:hover::before { opacity: 1; }

.cat-apartment:hover { border-color: var(--primary); }
.cat-villa:hover { border-color: var(--secondary); }
.cat-plot:hover { border-color: var(--accent); }
.cat-commercial:hover { border-color: var(--success); }

.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-apartment .cat-icon { background: var(--primary-light); color: var(--primary); }
.cat-villa .cat-icon { background: #e8f0f7; color: var(--secondary); }
.cat-plot .cat-icon { background: #fef9e7; color: #b87d0a; }
.cat-commercial .cat-icon { background: #ecfdf5; color: #065f46; }

.cat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cat-card p {
  font-size: 0.84rem;
  color: var(--text-light);
  font-weight: 500;
}

.cat-arrow {
  font-size: 1.2rem;
  margin-top: auto;
  transition: transform var(--transition);
}

.cat-apartment .cat-arrow { color: var(--primary); }
.cat-villa .cat-arrow { color: var(--secondary); }
.cat-plot .cat-arrow { color: #b87d0a; }
.cat-commercial .cat-arrow { color: #065f46; }

.cat-card:hover .cat-arrow {
  transform: translateX(6px);
}

/* ============================
   PROPERTIES
   ============================ */
.properties {
  background: var(--bg-white);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 40px);
  justify-content: center;
}

.filter-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 9px 22px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232,101,26,0.25);
}

/* Properties Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.prop-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.prop-card.hidden {
  display: none;
}

.prop-img-wrap {
  position: relative;
  overflow: hidden;
}

.prop-img {
  height: 220px;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.prop-card:hover .prop-img {
  transform: scale(1.05);
}

/* Property image placeholders with gradients */
.prop-img-1 {
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%),
    linear-gradient(135deg, #1a3c5e 0%, #2d6a9f 40%, #e8651a 100%);
}

.prop-img-2 {
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%),
    linear-gradient(135deg, #0f4c75 0%, #1b6ca8 50%, #2ecc71 100%);
}

.prop-img-3 {
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%),
    linear-gradient(135deg, #4a1942 0%, #8b2fc9 50%, #e8651a 100%);
}

.prop-img-4 {
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%),
    linear-gradient(135deg, #1a3a2a 0%, #2d8653 50%, #f0b429 100%);
}

.prop-img-5 {
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%),
    linear-gradient(135deg, #1a1a3e 0%, #3b3b8f 50%, #e74c3c 100%);
}

.prop-img-6 {
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%),
    linear-gradient(135deg, #2c1810 0%, #8b4513 50%, #f39c12 100%);
}

.prop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.badge-buy { background: rgba(26, 60, 94, 0.9); color: #fff; }
.badge-rent { background: rgba(16, 185, 129, 0.9); color: #fff; }
.badge-new { background: rgba(232, 101, 26, 0.95); color: #fff; }

.prop-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.prop-wishlist:hover,
.prop-wishlist.active {
  color: #ef4444;
  background: #fff;
  transform: scale(1.12);
}

.prop-wishlist.active svg {
  fill: #ef4444;
  stroke: #ef4444;
}

.prop-body {
  padding: 20px 22px 22px;
}

.prop-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.prop-price-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

.prop-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.prop-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.prop-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.prop-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
}

.view-all-wrap {
  text-align: center;
  margin-top: clamp(36px, 5vw, 52px);
}

/* ============================
   WHY US
   ============================ */
.why-us {
  background: var(--bg-light);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.why-us-left .section-badge { margin-bottom: 16px; }

.why-us-left .section-title {
  text-align: left;
  margin-bottom: 18px;
}

.why-us-desc {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.why-us-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}

.why-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon-1 { background: var(--primary-light); color: var(--primary); }
.why-icon-2 { background: #e8f0f7; color: var(--secondary); }
.why-icon-3 { background: #fef9e7; color: #b87d0a; }
.why-icon-4 { background: #ecfdf5; color: #065f46; }

.why-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.why-text p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.testi-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.06;
  line-height: 1;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testi-stars {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-av-1 { background: linear-gradient(135deg, #e8651a, #c4511a); }
.testi-av-2 { background: linear-gradient(135deg, #1a3c5e, #2d6a9f); }
.testi-av-3 { background: linear-gradient(135deg, #065f46, #10b981); }

.testi-author div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testi-author strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 50%, #0d2035 100%);
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,26,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 60px);
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================
   CONTACT
   ============================ */
.contact {
  background: var(--bg-white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-detail-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-detail-item span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Form */
.contact-form-wrap {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,101,26,0.12);
}

.form-group input.error,
.form-group select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 16px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-success.show {
  display: flex;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--secondary-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(50px, 7vw, 80px) 0 clamp(40px, 5vw, 60px);
}

.footer-brand .footer-logo {
  color: #fff;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,101,26,0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 999;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* Intersection Observer reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .why-us-inner {
    grid-template-columns: 1fr;
  }

  .why-us-left .section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    color: var(--text-mid) !important;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 12px;
  }

  .search-field {
    width: 100%;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
  }

  .search-select-wrap {
    flex: 1 0 auto;
    width: 100%;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
    padding-bottom: 8px;
  }

  .search-select {
    width: 100%;
    padding: 8px 4px;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider { display: none; }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .why-us-right {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cat-card {
    padding: 20px 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}