﻿/* ============================================
   PREMIUM REAL ESTATE — DESIGN SYSTEM
   ============================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  /* Colour palette */
  --navy:        #0B1D3A;
  --navy-light:  #132B54;
  --navy-dark:   #06101F;
  --gold:        #C9A96E;
  --gold-light:  #DBBF8A;
  --gold-dark:   #A88B4A;
  --white:       #FFFFFF;
  --off-white:   #F7F7F9;
  --light-grey:  #F0F1F3;
  --mid-grey:    #D1D5DB;
  --text-dark:   #1A1A2E;
  --text-medium: #555566;
  --text-light:  #8A8A9A;
  --border:      #E5E7EB;
  --success:     #22C55E;
  --danger:      #EF4444;
  --overlay:     rgba(11, 29, 58, 0.70);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.10);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.14);
  --shadow-gold: 0 4px 20px rgba(201,169,110,0.25);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.35s;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section ---------- */
.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-grey {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header .section-label::before,
.section-header .section-label::after {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--gold);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 17px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.65);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1400px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.logo span {
  color: var(--gold);
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Header action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-call, .btn-whatsapp-header, .btn-sell-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-sell-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-sell-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(201,169,110,0.35);
}

.btn-sell-mobile {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  box-shadow: var(--shadow-gold);
}

.btn-call {
  background: var(--navy);
  color: var(--white);
}

.btn-call:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp-header {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp-header:hover {
  background: #1EBE57;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,16,31,0.75) 0%,
    rgba(11,29,58,0.80) 50%,
    rgba(6,16,31,0.90) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s var(--ease);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease);
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.15s var(--ease) both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s 0.25s var(--ease) both;
  flex-wrap: wrap;
}

/* ---------- Hero Search Box ---------- */
.hero-search {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  gap: 8px;
  animation: fadeInUp 0.8s 0.35s var(--ease) both;
  max-width: 760px;
  margin: 0 auto;
}

.hero-search .search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  min-width: 0;
}

.hero-search .search-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-search .search-field select,
.hero-search .search-field input {
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border: none;
  width: 100%;
}

.hero-search .search-field select option {
  background: var(--navy);
  color: var(--white);
}

.hero-search .search-field input::placeholder {
  color: rgba(255,255,255,0.5);
}

.hero-search .btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
  gap: 8px;
}

.hero-search .btn-search:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn svg,
.btn-call svg,
.btn-whatsapp-header svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}

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

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

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

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.category-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.category-card:hover .category-card-img img {
  transform: scale(1.08);
}

.category-card-img .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,29,58,0.6) 100%);
  transition: opacity var(--duration) var(--ease);
}

.category-card-icon {
  position: absolute;
  bottom: -22px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  z-index: 2;
  box-shadow: var(--shadow-gold);
}

.category-card-body {
  padding: 36px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.category-card-body p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.category-card-body .btn {
  align-self: flex-start;
}

/* ============================================
   PROPERTY / LISTING CARDS
   ============================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.listing-card-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.listing-card:hover .listing-card-img img {
  transform: scale(1.06);
}

.listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  z-index: 2;
}

.listing-badge.badge-rental { background: #3B82F6; }
.listing-badge.badge-new { background: var(--success); }
.listing-badge.badge-resale { background: #8B5CF6; }
.listing-badge.badge-luxury { background: var(--gold-dark); }
.listing-badge.badge-farm { background: #7C5C2E; }
.listing-badge.badge-uttarakhand { background: #0F766E; }
.listing-badge.badge-sonipat { background: #B45309; }

.listing-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 16px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.listing-card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-card-body h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.listing-location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.listing-description {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-meta {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.listing-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-medium);
  font-weight: 500;
}

.listing-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.listing-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.listing-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  justify-content: center;
}

/* ============================================
   CAR CARDS
   ============================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.car-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.car-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.car-card:hover .car-card-img img {
  transform: scale(1.06);
}

.car-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.car-card-body {
  padding: 24px;
}

.car-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.car-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-medium);
  background: var(--off-white);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.car-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.car-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.car-price span {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
}

.car-actions {
  display: flex;
  gap: 10px;
}

.car-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  position: relative;
  padding: 140px 0 80px;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,16,31,0.80) 0%,
    rgba(11,29,58,0.88) 100%
  );
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.page-banner .breadcrumb a {
  color: var(--gold-light);
}

.page-banner .breadcrumb a:hover {
  color: var(--gold);
}

/* ============================================
   FILTERS BAR
   ============================================ */
.filters-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color var(--duration) var(--ease);
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--gold);
}

.filters-bar .btn {
  padding: 12px 28px;
  flex-shrink: 0;
}

/* ============================================
   STATS / TRUST SECTION
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================
   WHY CHOOSE US / FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(201,169,110,0.12), rgba(201,169,110,0.04));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip {
  background: var(--navy);
  padding: 28px 0;
}

.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

.contact-strip-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-strip-item a {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-strip-item a:hover {
  color: var(--gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,29,58,0.92), rgba(6,16,31,0.95));
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

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

.form-success {
  display: none;
  padding: 20px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-sm);
  color: #166534;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s var(--ease);
}

/* ============================================
   SELL PROPERTY SECTION
   ============================================ */
.sell-property-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(11,29,58,0.94), rgba(6,16,31,0.96)),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1400&q=80') center/cover;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.sell-property-copy {
  color: var(--white);
}

.sell-property-copy .section-label {
  color: var(--gold-light);
  margin-bottom: 16px;
}

.sell-property-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.sell-property-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  max-width: 500px;
  margin-bottom: 28px;
}

.sell-property-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-lg);
}

.sell-property-form .btn {
  width: 100%;
}

/* ============================================
   CATEGORY DETAIL
   ============================================ */
.category-detail-banner {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-xl);
}

.category-detail-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,16,31,0.92), rgba(11,29,58,0.58), rgba(11,29,58,0.24));
}

.category-detail-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 56px;
  color: var(--white);
}

.category-detail-content .section-label {
  color: var(--gold-light);
  margin-bottom: 14px;
}

.category-detail-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.category-detail-content p {
  color: rgba(255,255,255,0.74);
  font-size: 17px;
  margin-bottom: 28px;
}

/* Contact info sidebar */
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,169,110,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .ci-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.contact-info-item .ci-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-item .ci-text span,
.contact-info-item .ci-text a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.contact-info-item .ci-text a:hover {
  color: var(--gold-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--light-grey);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-light);
  margin-top: 40px;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text .highlight-list {
  margin-top: 24px;
}

.about-text .highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-medium);
}

.about-text .highlight-list li svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Staggered children */
.reveal-stagger .reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-stagger.visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible .reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible .reveal-child:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible .reveal-child:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible .reveal-child:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible .reveal-child:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible .reveal-child:nth-child(6) { transition-delay: 0.40s; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 80px 24px 40px;
  transition: right 0.35s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: color var(--duration) var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.mobile-nav-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--duration) var(--ease);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* No results message */
.no-results {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.no-results h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-medium);
}

/* ============================================
   RESPONSIVE: TABLET (≤992px)
   ============================================ */
@media (max-width: 992px) {
  .section { padding: 70px 0; }

  .nav-links,
  .header-actions { display: none; }

  .hamburger { display: flex; }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .sell-property-panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .hero-search {
    flex-direction: column;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    min-width: 100%;
  }
}

/* ============================================
   RESPONSIVE: MOBILE (≤640px)
   ============================================ */
@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 110px 0 50px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 32px;
  }

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

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

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

  .sell-property-panel {
    padding: 22px;
    border-radius: var(--radius-lg);
  }

  .sell-property-card {
    padding: 20px;
  }

  .category-detail-content {
    padding: 34px 22px;
  }

  .listing-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .listing-actions {
    flex-direction: column;
  }

  .car-actions {
    flex-direction: column;
  }

  .contact-strip .container {
    flex-direction: column;
    text-align: center;
  }

  .contact-strip-item {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .page-banner {
    padding: 120px 0 60px;
  }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--mid-grey);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: var(--gold);
  color: var(--white);
}

/* ============================================
   POLISHED ICON SIZING + LIGHT ANIMATIONS
   ============================================ */
body {
  animation: pageFade 0.45s var(--ease) both;
}

.category-card,
.listing-card,
.car-card,
.feature-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
  will-change: transform;
}

.category-card:hover,
.listing-card:hover,
.car-card:hover,
.feature-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
}

.category-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.listing-location svg,
.listing-meta-item svg,
.car-meta-item svg,
.contact-strip-item svg,
.footer-contact-item svg {
  width: 18px;
  height: 18px;
}

.contact-info-item .ci-icon svg {
  width: 22px;
  height: 22px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(34,197,94,0.14);
  color: var(--success);
}

.success-icon svg {
  width: 26px;
  height: 26px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(6,16,31,0.62));
  z-index: 1;
  pointer-events: none;
}

.hero-search,
.filters-bar,
.contact-info-card,
.listing-price {
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.hero-search:hover,
.filters-bar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.listing-card:hover .listing-price {
  transform: translateY(-2px);
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .category-card,
  .listing-card,
  .car-card,
  .feature-card,
  .category-card:hover,
  .listing-card:hover,
  .car-card:hover,
  .feature-card:hover {
    transform: none;
  }
}



