/* ============================================================
   BHUMI SEWA – Real Estate CSS
   Aesthetic: Earthy Organic · Refined Editorial · Warm Luxury
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Color Palette */
  --clr-earth: #3d2b1f;
  /* Deep soil brown */
  --clr-bark: #5c3d2e;
  /* Bark brown */
  --clr-leaf: #4a7c59;
  /* Forest green */
  --clr-moss: #6b9e7a;
  /* Lighter green */
  --clr-sage: #a8c5a8;
  /* Pale sage */
  --clr-wheat: #c9a84c;
  /* Wheat / gold accent */
  --clr-straw: #e8d5a3;
  /* Light straw */
  --clr-cream: #faf7f0;
  /* Warm cream bg */
  --clr-parchment: #f2ead8;
  /* Parchment */
  --clr-sand: #e6dcc6;
  /* Sand */
  --clr-white: #ffffff;
  --clr-text: #2a1f14;
  /* Dark earth text */
  --clr-text-light: #5c4a38;
  --clr-text-muted: #8a7560;
  --clr-danger: #c0392b;
  --clr-success: #27ae60;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Mukta', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(61, 43, 31, 0.08);
  --shadow-md: 0 8px 32px rgba(61, 43, 31, 0.12);
  --shadow-lg: 0 16px 48px rgba(61, 43, 31, 0.18);
  --shadow-xl: 0 24px 80px rgba(61, 43, 31, 0.22);

  /* Transitions */
  --trans-fast: all 0.2s ease;
  --trans-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Navbar height */
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--clr-cream);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: var(--font-body);
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hidden {
  display: none !important;
}

/* ==================== UTILITY ==================== */
.accent {
  color: var(--clr-wheat);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--trans-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-leaf);
  color: var(--clr-white);
  border-color: var(--clr-leaf);
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.35);
}

.btn-primary:hover {
  background: #3a6347;
  border-color: #3a6347;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74, 124, 89, 0.45);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--clr-leaf);
  border-color: var(--clr-leaf);
}

.btn-ghost:hover {
  background: var(--clr-leaf);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: var(--clr-earth);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
}

.btn-sm:hover {
  background: var(--clr-bark);
}

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

/* ==================== SECTION HEADERS ==================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.section-tag {
  display: inline-block;
  background: var(--clr-sage);
  color: var(--clr-earth);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--clr-earth);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

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

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-leaf);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: color 0.4s;
}

.navbar.scrolled .logo-text {
  color: var(--clr-earth);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: var(--trans-fast);
}

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

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

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--clr-leaf);
  background: rgba(74, 124, 89, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--clr-wheat);
  color: var(--clr-earth);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--trans-fast);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #b8942a;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

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

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
  padding: var(--nav-height) var(--space-md) var(--space-xl);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(30, 18, 10, 0.78) 0%,
      rgba(61, 43, 31, 0.65) 40%,
      rgba(40, 70, 50, 0.55) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--clr-wheat);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-accent {
  color: var(--clr-wheat);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}

.stat {
  text-align: center;
  padding: 0 0.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-wheat);
}

.stat span:last-child {
  color: var(--clr-wheat);
}

.stat p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  animation: bounce-down 2s ease infinite;
}

.hero-scroll-hint i {
  font-size: 1.1rem;
}

@keyframes bounce-down {

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

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

/* ==================== INTRO BAND ==================== */
.intro-band {
  background: var(--clr-earth);
  padding: 1.5rem 0;
}

.intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.intro-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--clr-straw);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.intro-item i {
  font-size: 1.3rem;
  color: var(--clr-wheat);
}

/* ==================== PROPERTY LISTINGS ==================== */
.listings-section {
  padding: var(--space-2xl) 0;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  background: var(--clr-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
}

.search-box input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border: 1.5px solid var(--clr-sand);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--clr-cream);
  transition: var(--trans-fast);
}

.search-box input:focus {
  border-color: var(--clr-leaf);
}

.filter-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group select {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--clr-sand);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  background: var(--clr-cream);
  color: var(--clr-text);
  cursor: pointer;
  transition: var(--trans-fast);
}

.filter-group select:focus {
  border-color: var(--clr-leaf);
}

.results-count {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

/* ==================== PROPERTY GRID ==================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

/* ==================== PROPERTY CARD ==================== */
.property-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-smooth);
  animation: card-in 0.5s ease both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

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

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--clr-leaf);
  color: var(--clr-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.card-badge.sold {
  background: var(--clr-danger);
}

.card-badge.pending {
  background: var(--clr-wheat);
  color: var(--clr-earth);
}

.card-fav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--trans-fast);
  backdrop-filter: blur(4px);
}

.card-fav:hover,
.card-fav.active {
  color: var(--clr-danger);
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--clr-leaf);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-earth);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--clr-text-light);
}

.spec i {
  font-size: 0.75rem;
  color: var(--clr-wheat);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-sand);
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-leaf);
}

.card-price-sub {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--clr-earth);
  color: var(--clr-white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--trans-fast);
}

.btn-view:hover {
  background: var(--clr-leaf);
  transform: translateY(-1px);
}

.no-results {
  text-align: center;
  padding: var(--space-xl) 0;
  color: var(--clr-text-muted);
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.4;
}

/* ==================== SERVICES ==================== */
.services-section {
  position: relative;
  background: var(--clr-parchment);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(74, 124, 89, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-smooth);
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--clr-leaf);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--clr-sage), var(--clr-leaf));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-earth);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ==================== ABOUT ==================== */
.about-section {
  padding: var(--space-2xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

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

.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 110px;
  height: 110px;
  background: var(--clr-wheat);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 4px solid var(--clr-white);
}

.badge-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-earth);
  line-height: 1;
}

.about-img-badge span:last-child {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--clr-earth);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.about-img-accent {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: var(--clr-sage);
  opacity: 0.3;
  z-index: 0;
}

.about-content .section-tag {
  display: inline-block;
  margin-bottom: 1rem;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--clr-text-light);
}

.highlight i {
  color: var(--clr-leaf);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  background: var(--clr-earth);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.testimonials-section .section-tag {
  background: rgba(201, 168, 76, 0.2);
  color: var(--clr-wheat);
}

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

.testimonials-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  min-width: calc(33.333% - 1rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  flex-shrink: 0;
  transition: var(--trans-smooth);
}

.testimonial-card.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.4);
}

.testi-stars {
  color: var(--clr-wheat);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testi-quote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
}

.testi-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(201, 168, 76, 0.3);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  line-height: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-leaf), var(--clr-wheat));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  color: var(--clr-white);
  font-size: 0.95rem;
}

.testi-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-btn:hover {
  background: var(--clr-wheat);
  color: var(--clr-earth);
  border-color: var(--clr-wheat);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--trans-fast);
}

.dot.active {
  background: var(--clr-wheat);
  width: 24px;
  border-radius: 4px;
}

/* ==================== CONTACT ==================== */
.contact-section {
  padding: var(--space-2xl) 0;
  background: var(--clr-parchment);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.info-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--clr-sand);
}

.info-item:first-child {
  padding-top: 0;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item>i {
  width: 42px;
  height: 42px;
  background: var(--clr-parchment);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-leaf);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  margin-bottom: 0.35rem;
}

.info-item p,
.info-item a {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

.info-item a:hover {
  color: var(--clr-leaf);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-white);
  transition: var(--trans-fast);
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn.whatsapp {
  background: #25d366;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.youtube {
  background: #ff0000;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-light);
  letter-spacing: 0.02em;
}

.form-group label span {
  color: var(--clr-danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--clr-sand);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--clr-text);
  background: var(--clr-cream);
  transition: var(--trans-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-leaf);
  background: var(--clr-white);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--clr-danger);
}

.field-error {
  font-size: 0.8rem;
  color: var(--clr-danger);
  min-height: 1rem;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: var(--clr-success);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-weight: 600;
}

.form-success i {
  font-size: 1.2rem;
}

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

.footer-main {
  padding: var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  color: var(--clr-white);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--trans-fast);
}

.footer-social a:hover {
  background: var(--clr-wheat);
  color: var(--clr-earth);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--trans-fast);
}

.footer-links a:hover {
  color: var(--clr-wheat);
  padding-left: 4px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.area-tags span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: var(--trans-fast);
}

.area-tags span:hover {
  background: var(--clr-leaf);
  border-color: var(--clr-leaf);
  color: var(--clr-white);
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer-contact-info i {
  color: var(--clr-wheat);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.25rem;
}

.footer-bottom i {
  color: var(--clr-danger);
}

/* ==================== PROPERTY MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(30, 18, 10, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background: var(--clr-earth);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: var(--trans-fast);
}

.modal-close:hover {
  background: var(--clr-danger);
  transform: rotate(90deg);
}

.modal-content {
  padding: 0;
}

/* Gallery Slider inside modal */
.modal-gallery {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.gallery-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
  cursor: pointer;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.gallery-arrow {
  pointer-events: all;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-earth);
  cursor: pointer;
  transition: var(--trans-fast);
  backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
  background: var(--clr-white);
}

.gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--trans-fast);
}

.gallery-dot.active {
  background: var(--clr-white);
}

.modal-body {
  padding: 2rem;
}

.modal-header-info {
  margin-bottom: 1.5rem;
}

.modal-badge {
  display: inline-block;
  background: var(--clr-sage);
  color: var(--clr-earth);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-earth);
  margin-bottom: 0.5rem;
}

.modal-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--clr-leaf);
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.detail-chip {
  background: var(--clr-parchment);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.detail-chip i {
  font-size: 1.1rem;
  color: var(--clr-leaf);
  margin-bottom: 0.4rem;
  display: block;
}

.detail-chip .dchip-val {
  font-weight: 700;
  color: var(--clr-earth);
  display: block;
  font-size: 1rem;
}

.detail-chip .dchip-lbl {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-description {
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.modal-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--clr-parchment);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-leaf);
}

.modal-price-lbl {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: var(--clr-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--clr-wheat);
  color: var(--clr-earth);
}

.lightbox-close {
  top: -50px;
  right: 0;
}

.lightbox-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--trans-bounce);
  animation: wa-pulse 2.5s ease infinite;
}

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

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--clr-earth);
  color: var(--clr-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--trans-fast);
  pointer-events: none;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--clr-earth);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--clr-earth);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--trans-smooth);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--clr-leaf);
  transform: translateY(-3px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .testimonial-card {
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250, 247, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.25rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    box-shadow: var(--shadow-md);
  }

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

  .nav-link {
    color: var(--clr-text);
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--clr-leaf);
    background: var(--clr-parchment);
  }

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

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

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

  .hero-stats {
    gap: 0.75rem;
    padding: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .testimonial-card {
    min-width: 100%;
  }

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

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

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }

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

  .filter-group {
    flex-wrap: wrap;
  }

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

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

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

  .intro-grid {
    gap: 0.25rem;
  }

  .intro-item span {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}