/* =============================================
   REAL ESTATE AGENCY — BREMANG, KUMASI
   Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================= */
:root {
  --primary: #1F3D2B;
  --primary-light: #2E5A3F;
  --primary-dark: #142A1E;
  --gold: #C9A34E;
  --gold-light: #DFBC76;
  --gold-dark: #A8832E;
  --white: #FFFFFF;
  --off-white: #F8F6F2;
  --light-grey: #F0EFEB;
  --mid-grey: #D4D2CC;
  --text-dark: #1A1A1A;
  --text-body: #3D3D3D;
  --text-muted: #7A7A7A;
  --text-light: #AAAAAA;
  --shadow-sm: 0 2px 8px rgba(31, 61, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 61, 43, 0.12);
  --shadow-lg: 0 16px 48px rgba(31, 61, 43, 0.18);
  --shadow-gold: 0 4px 20px rgba(201, 163, 78, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

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

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

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-header.centered .section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

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

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

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

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

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

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.navbar-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
}

.navbar-logo .logo-tagline {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  transition: var(--transition);
}

.navbar.scrolled .logo-name {
  color: var(--primary);
}

.navbar.scrolled .logo-tagline {
  color: var(--gold-dark);
}

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

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

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--gold);
  font-weight: 600;
}

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

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

.navbar.scrolled .nav-link.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--primary);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  padding: 12px 32px;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/WhatsApp%20Image%202026-04-12%20at%201.36.52%20PM.jpeg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(20, 42, 30, 0.88) 0%,
      rgba(31, 61, 43, 0.75) 50%,
      rgba(20, 42, 30, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 163, 78, 0.2);
  border: 1px solid rgba(201, 163, 78, 0.4);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-title .highlight {
  color: var(--gold);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--gold);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Search Box */
.search-box {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  padding: 8px 8px 8px 8px;
  box-shadow: var(--shadow-lg);
  margin-top: -32px;
  position: relative;
  z-index: 3;
}

.search-box-inner {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.search-field:hover {
  background: var(--off-white);
}

.search-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 4px;
}

.search-field select,
.search-field input {
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
}

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

.search-divider {
  width: 1px;
  background: var(--mid-grey);
  margin: 16px 0;
  flex-shrink: 0;
}

.search-btn {
  padding: 0 28px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  align-self: stretch;
  min-height: 60px;
}

/* =============================================
   PROPERTY CARDS
   ============================================= */
.prop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.prop-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.prop-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale {
  background: var(--primary);
  color: var(--white);
}

.badge-rent {
  background: var(--gold);
  color: var(--white);
}

.badge-land {
  background: #8B4513;
  color: var(--white);
}

.prop-card-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}

.prop-card-wishlist:hover {
  background: var(--white);
  transform: scale(1.1);
}

.prop-card-wishlist.active {
  background: #ff6b6b;
  color: var(--white);
}

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

.prop-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.prop-price .period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

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

.prop-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.prop-location svg {
  flex-shrink: 0;
}

.prop-features {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 16px;
}

.prop-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.prop-feature span {
  font-weight: 600;
  color: var(--text-dark);
}

.prop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =============================================
   FEATURED LISTINGS (HOMEPAGE)
   ============================================= */
.featured {
  background: var(--off-white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.why-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.why-img-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-img-badge .badge-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-img-badge .badge-text {}

.why-img-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.why-img-badge .badge-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition: var(--transition);
}

.why-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
  background: var(--gold);
}

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

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

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

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials .section-label {
  color: var(--gold-light);
}

.testimonials .section-label::before {
  background: var(--gold);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-author-info {}

.testimonial-author-name {
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
}

.testimonial-author-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.footer-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 24px;
}

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

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

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '→';
  font-size: 12px;
  opacity: 0.5;
}

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

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  z-index: 900;
  transition: var(--transition);
  text-decoration: none;
  animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

@keyframes float-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.whatsapp-float:hover {
  animation: none;
}

/* =============================================
   LISTINGS PAGE
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

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

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* Listings Layout */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Filters Sidebar */
.filters-sidebar {
  position: sticky;
  top: 92px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
}

.filters-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-title .icon {
  color: var(--gold);
}

.filter-group {
  margin-bottom: 28px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-body);
  transition: var(--transition);
}

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

.filter-option input[type="checkbox"] {
  display: none;
}

.filter-checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--mid-grey);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 11px;
  color: var(--white);
}

.filter-option input:checked+.filter-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-option input:checked+.filter-checkmark::after {
  content: '✓';
}

.range-slider {
  margin-top: 8px;
}

.range-slider input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A7A7A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.filter-select:focus {
  border-color: var(--primary);
}

.btn-filter-apply {
  width: 100%;
  margin-top: 8px;
}

/* Listings Main */
.listings-main {}

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.listings-count {
  font-size: 15px;
  color: var(--text-muted);
}

.listings-count strong {
  color: var(--text-dark);
  font-weight: 700;
}

.listings-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listings-sort label {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.listings-sort select {
  padding: 8px 12px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  background: white;
}

.listings-sort select:focus {
  border-color: var(--primary);
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-body);
  text-decoration: none;
}

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

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* =============================================
   PROPERTY DETAILS PAGE
   ============================================= */
.prop-detail-gallery {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
}

.prop-detail-gallery .gallery-main {
  grid-row: 1 / 3;
  overflow: hidden;
}

.prop-detail-gallery .gallery-thumb {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.prop-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.prop-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.prop-detail-main {}

.prop-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.prop-detail-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.prop-detail-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.prop-detail-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.prop-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.prop-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.prop-spec {
  text-align: center;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.prop-spec-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.prop-spec-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.prop-spec-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prop-desc h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.prop-desc p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prop-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.prop-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.prop-features-list li .check {
  width: 24px;
  height: 24px;
  background: rgba(31, 61, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 12px;
  flex-shrink: 0;
}

/* Agent Card */
.agent-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-grey);
  position: sticky;
  top: 92px;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-grey);
}

.agent-avatar {
  position: relative;
}

.agent-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.agent-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.agent-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.agent-title {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.agent-stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.agent-stat {
  font-size: 12px;
  color: var(--text-muted);
}

.agent-stat strong {
  color: var(--text-dark);
}

.agent-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.agent-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.agent-contact-item:hover {
  background: var(--light-grey);
  transform: translateX(4px);
}

.agent-contact-item .icon {
  color: var(--primary);
  font-size: 18px;
}

.inquiry-form h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--light-grey);
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  background: var(--white);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.about-img-stack {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-img-main img,
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-gold);
  z-index: 2;
  white-space: nowrap;
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-experience-badge .label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.value-card {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.value-card:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Contact Section */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.contact-info-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

.contact-info-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-card>p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  background: var(--white);
  resize: vertical;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--primary);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--text-light);
}

.contact-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Map */
.map-section {}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--gold);
}

.team-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   MOBILE BOTTOM NAV
   ============================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  z-index: 800;
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-item .nav-icon {
  font-size: 22px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary);
}

.mobile-nav-item.active .nav-icon {
  transform: scale(1.1);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  animation: fadeInUp 0.7s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {

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

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

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

  .why-img-wrap {
    max-width: 560px;
    margin: 0 auto;
  }

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

  .about-img-stack {
    height: 360px;
  }

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

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

  .agent-card {
    position: static;
  }

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

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

  .filters-sidebar {
    position: static;
  }

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

  .contact-form-card {
    padding: 32px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .hero-stats {
    gap: 24px;
  }

  .search-box-inner {
    flex-direction: column;
  }

  .search-divider {
    display: none;
  }

  .why-img-badge {
    left: 16px;
  }

  .prop-detail-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .prop-detail-gallery .gallery-main {
    grid-row: auto;
    height: 280px;
  }

  .prop-detail-gallery .gallery-thumb {
    height: 140px;
  }

  .prop-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
  }

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

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

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

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

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

  .mobile-bottom-nav {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  .whatsapp-float {
    bottom: 90px;
  }

  .about-img-stack {
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .contact-form-card {
    padding: 24px;
  }

  .prop-detail-gallery .gallery-thumb {
    display: none;
  }
}