/* ============================================================
   JD REAL ESTATE – Global Styles
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --gold:       hsl(42, 85%, 52%);
  --gold-light: hsl(42, 95%, 68%);
  --gold-dark:  hsl(38, 80%, 38%);
  --dark:       hsl(220, 20%, 8%);
  --dark-2:     hsl(220, 18%, 12%);
  --dark-3:     hsl(220, 15%, 18%);
  --text:       hsl(220, 10%, 85%);
  --text-muted: hsl(220, 8%, 55%);
  --white:      #ffffff;
  --card-bg:    hsl(220, 18%, 14%);
  --border:     hsl(220, 15%, 22%);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.25);
  --shadow-md:  0 6px 30px rgba(0,0,0,.35);
  --shadow-lg:  0 16px 60px rgba(0,0,0,.5);
  --shadow-gold:0 0 30px rgba(212,165,38,.25);

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --nav-h:      80px;
}

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

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

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

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

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

ul { list-style: none; }

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

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 99px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212,165,38,.3);
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,165,38,.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 99px;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 99px;
  transition: var(--transition);
}
.btn-white:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ── Section Headers ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  background: rgba(212,165,38,.12);
  border: 1px solid rgba(212,165,38,.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title.left { text-align: left; }

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#main-header.scrolled {
  background: rgba(12,14,20,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-brand { font-weight: 700; font-size: 1rem; color: var(--white); line-height: 1.2; }
.logo-tagline { font-size: 0.68rem; color: var(--gold); letter-spacing: 0.8px; text-transform: uppercase; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 99px;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 99px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: var(--transition);
}
.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;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,10,16,0.88) 0%,
    rgba(8,10,16,0.55) 50%,
    rgba(8,10,16,0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,165,38,.15);
  border: 1px solid rgba(212,165,38,.35);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 7px 18px;
  border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.2s both;
}

/* ── Search Box ─────────────────────────────────────────────── */
.search-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 48px;
  max-width: 860px;
  animation: fadeUp 0.8s ease 0.3s both;
  overflow: hidden;
}

.search-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 6px 0;
  margin-bottom: 4px;
}

.tab {
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.tab.active, .tab:hover {
  background: var(--gold);
  color: var(--dark);
}

.search-inputs {
  display: flex;
  gap: 8px;
  padding: 8px;
  flex-wrap: wrap;
}

.input-group {
  flex: 1;
  min-width: 160px;
  position: relative;
  display: flex;
  align-items: center;
}
.input-group svg {
  position: absolute;
  left: 14px;
  width: 16px; height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 14px 12px 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.input-group input::placeholder { color: var(--text-muted); }
.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,165,38,.08);
}
.input-group select option { background: var(--dark-2); color: var(--white); }

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.search-btn svg { width: 16px; height: 16px; }
.search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,165,38,.4);
}

/* ── Hero Stats ─────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.8s ease 0.45s both;
}

.stat { text-align: center; }
.stat-num {
  display: inline;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat span { color: var(--gold); font-size: 1.3rem; font-weight: 700; }
.stat p { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

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

/* ================================================================
   PROPERTIES
   ================================================================ */
.properties-section { background: var(--dark-2); }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

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

/* Property Card */
.property-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeUp 0.6s ease both;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,165,38,.25);
}
.property-card.hidden { display: none; }

.card-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.property-card:hover .card-image img { transform: scale(1.07); }

.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-badge.rent {
  background: linear-gradient(135deg, hsl(200,80%,50%), hsl(210,75%,40%));
  color: #fff;
}

.card-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(212,165,38,.4);
}

.card-favorite {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.card-favorite svg { width: 16px; height: 16px; color: var(--white); transition: var(--transition); }
.card-favorite.active svg { fill: hsl(0,80%,60%); stroke: hsl(0,80%,60%); }
.card-favorite:hover { background: rgba(0,0,0,0.8); transform: scale(1.1); }

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

.card-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-price span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }

.card-offer-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: hsl(142, 71%, 50%);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.card-offer-price span {
  color: hsl(142, 71%, 45%);
  font-weight: 800;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
  align-content: flex-start;
}
.card-location svg { width: 13px; height: 13px; flex-shrink: 0; }

.card-features {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-features svg { width: 13px; height: 13px; color: var(--gold); }

.card-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: rgba(212,165,38,.1);
  border: 1px solid rgba(212,165,38,.3);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: auto;
}
.card-btn:hover {
  background: var(--gold);
  color: var(--dark);
  transform: none;
}

.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-section { background: var(--dark); }

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

.service-card {
  position: relative;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover::before,
.service-card.featured::before { opacity: 1; }

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,165,38,.25);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.service-card.featured {
  background: linear-gradient(160deg, hsl(220,20%,16%), hsl(220,18%,13%));
  border-color: rgba(212,165,38,.3);
}

.service-icon {
  width: 60px; height: 60px;
  background: rgba(212,165,38,.1);
  border: 1px solid rgba(212,165,38,.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(212,165,38,.18);
  box-shadow: var(--shadow-gold);
}
.service-icon svg { width: 26px; height: 26px; color: var(--gold); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 0.83rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 3px;
}

.popular-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section {
  background: var(--dark-2);
  overflow: hidden;
}

.testimonial-slider { position: relative; }

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  min-width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; left: 40px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(212,165,38,.08);
  line-height: 1;
  pointer-events: none;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
  max-width: 700px;
}

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

.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  flex-shrink: 0;
}

.testimonial-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,165,38,.08);
}

.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--gold);
  width: 24px;
}

/* ================================================================
   ABOUT
   ================================================================ */
.about-section { background: var(--dark); }

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

.about-visual { position: relative; }

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-badge-card {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.about-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
}

.about-stats-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.mini-stat {
  flex: 1;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
}
.mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.mini-stat span { font-size: 0.78rem; color: var(--text-muted); }

.about-content .section-badge { display: inline-block; margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 20px; }

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-features {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
}
.feature-check {
  width: 28px; height: 28px;
  background: rgba(212,165,38,.12);
  border: 1px solid rgba(212,165,38,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 4px; }
.about-feature p { font-size: 0.83rem; color: var(--text-muted); }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, hsl(38,80%,30%) 0%, hsl(42,85%,38%) 50%, hsl(38,75%,28%) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-content { position: relative; max-width: 640px; margin: 0 auto; }

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.cta-content p { color: rgba(0,0,0,.65); font-size: 1rem; margin-bottom: 36px; }

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

.cta-buttons .btn-primary {
  background: var(--dark);
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.cta-buttons .btn-primary:hover { background: var(--dark-2); box-shadow: 0 8px 30px rgba(0,0,0,.4); }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-section { background: var(--dark-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: stretch;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }

.contact-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.contact-item:hover {
  border-color: rgba(212,165,38,.3);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 46px; height: 46px;
  background: rgba(212,165,38,.1);
  border: 1px solid rgba(212,165,38,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--gold); }

.contact-item strong { display: block; color: var(--white); font-size: 0.88rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* Contact Form */
.contact-form {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { margin-bottom: 24px; }

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,165,38,.06);
  box-shadow: 0 0 0 3px rgba(212,165,38,.1);
}
.form-group select option { background: var(--dark-2); }

.btn-primary.full-width {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
}
.btn-primary.full-width svg { width: 16px; height: 16px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(100,220,120,.1);
  border: 1px solid rgba(100,220,120,.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 16px;
  color: hsl(140,60%,65%);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer-main {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-brand .logo { margin-bottom: 18px; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

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

.social-link {
  width: 38px; height: 38px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

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

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }

.footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--dark-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); transition: var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 96px; right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--dark);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(212,165,38,.5); }
.back-to-top svg { width: 20px; height: 20px; }

/* ================================================================
   FLOATING CHAT ASSISTANT
   ================================================================ */
.assistant-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Bubble Trigger */
.assistant-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.assistant-trigger:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
.assistant-trigger svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Pulsing Badge Indicator */
.assistant-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: var(--gold);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 165, 38, 0.8);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 165, 38, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(212, 165, 38, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 165, 38, 0); }
}

/* Assistant Chat Card */
.assistant-card {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 211, 102, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.assistant-card.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
.assistant-header {
  padding: 16px 20px;
  background: var(--dark-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.assistant-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.assistant-info {
  display: flex;
  flex-direction: column;
}
.assistant-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.assistant-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.assistant-status-dot {
  width: 7px;
  height: 7px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  animation: statusPulse 1.8s infinite;
}
@keyframes statusPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.assistant-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.assistant-close-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.assistant-close-btn svg {
  width: 16px;
  height: 16px;
}

/* Body */
.assistant-body {
  padding: 20px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
}

/* Chat bubble styling for prompt */
.assistant-bubble-welcome {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 4px 14px 14px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}

/* Form Styles */
.assistant-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.assistant-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.assistant-form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.assistant-input {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.assistant-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,165,38,0.15);
}
textarea.assistant-input {
  resize: none;
}

.assistant-submit-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border: none;
  border-radius: 24px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  margin-top: 6px;
}
.assistant-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #2ae771, #149c8c);
}
.assistant-submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Light Theme overrides */
[data-theme="light"] .assistant-card {
  background: var(--white);
  border-color: hsl(210, 20%, 88%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 0 30px rgba(37, 211, 102, 0.08);
}
[data-theme="light"] .assistant-header {
  background: hsl(210, 18%, 97%);
  border-color: hsl(210, 20%, 88%);
}
[data-theme="light"] .assistant-title {
  color: var(--dark);
}
[data-theme="light"] .assistant-close-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--dark);
}
[data-theme="light"] .assistant-body {
  background: linear-gradient(180deg, hsl(210,18%,99%), hsl(210,18%,96%));
}
[data-theme="light"] .assistant-bubble-welcome {
  background: hsl(210, 18%, 94%);
  border-color: hsl(210, 20%, 86%);
  color: var(--dark);
}
[data-theme="light"] .assistant-input {
  background: var(--white);
  border-color: hsl(210, 20%, 80%);
  color: var(--dark);
}
[data-theme="light"] .assistant-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(212,165,38,0.12);
}
[data-theme="light"] .assistant-avatar {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Animation classes for validation error */
@keyframes assistantShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.assistant-shake {
  animation: assistantShake 0.4s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-image-wrap { height: 360px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(12,14,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    padding: 12px 28px;
    border-radius: 0;
    font-size: 1rem;
    width: 100%;
  }
  .hamburger { display: flex; }

  .properties-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }

  .search-inputs { flex-direction: column; }
  .input-group { min-width: 100%; }

  .about-stats-row { flex-direction: column; }

  .testimonial-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .contact-form { padding: 24px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ================================================================
   THEME TOGGLE BUTTON
   ================================================================ */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,165,38,.1);
  transform: rotate(20deg) scale(1.08);
  box-shadow: 0 0 16px rgba(212,165,38,.25);
}
.theme-toggle svg {
  width: 18px; height: 18px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.4,0,.2,1);
}
/* Dark mode: show sun, hide moon */
.icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }

/* Light mode: show moon, hide sun */
[data-theme="light"] .icon-sun  { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="light"] .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* ================================================================
   LIGHT MODE – COLOR OVERRIDES
   ================================================================ */
[data-theme="light"] {
  --dark:       hsl(210, 20%, 98%);
  --dark-2:     hsl(210, 18%, 93%);
  --dark-3:     hsl(210, 15%, 88%);
  --text:       hsl(220, 20%, 20%);
  --text-muted: hsl(220, 12%, 45%);
  --white:      hsl(220, 25%, 12%);
  --card-bg:    hsl(0, 0%, 100%);
  --border:     hsl(210, 20%, 82%);
}

/* Nav in light mode */
[data-theme="light"] #main-header.scrolled {
  background: rgba(245, 247, 250, 0.95);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav-link { color: hsl(220, 20%, 30%); }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: hsl(220, 20%, 10%); }

/* Hero in light mode */
[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(240, 245, 255, 0.65) 0%,
    rgba(240, 245, 255, 0.25) 50%,
    rgba(240, 245, 255, 0.1) 100%
  );
}
[data-theme="light"] .hero-title { color: hsl(220, 25%, 10%); }
[data-theme="light"] .hero-subtitle { color: rgba(20, 30, 60, 0.75); }

/* Search box */
[data-theme="light"] .search-box {
  background: rgba(255,255,255, 0.82);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .input-group input,
[data-theme="light"] .input-group select {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: hsl(220,20%,15%);
}
[data-theme="light"] .input-group input::placeholder { color: hsl(220,10%,55%); }

/* Properties section */
[data-theme="light"] .properties-section { background: hsl(210,18%,95%); }
[data-theme="light"] .property-card {
  background: #ffffff;
  border-color: hsl(210,20%,85%);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
[data-theme="light"] .property-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
[data-theme="light"] .card-title { color: hsl(220,25%,12%); }
[data-theme="light"] .card-features span { color: hsl(220,12%,40%); }
[data-theme="light"] .filter-btn { color: hsl(220,12%,40%); border-color: hsl(210,20%,78%); }

/* Services section */
[data-theme="light"] .services-section { background: hsl(0,0%,100%); }
[data-theme="light"] .service-card {
  background: hsl(210,18%,97%);
  border-color: hsl(210,20%,85%);
}
[data-theme="light"] .service-card.featured {
  background: linear-gradient(160deg, hsl(210,20%,95%), hsl(210,18%,92%));
}
[data-theme="light"] .service-card h3 { color: hsl(220,25%,12%); }
[data-theme="light"] .service-list li { color: hsl(220,15%,30%); }

/* About section */
[data-theme="light"] .about-section { background: hsl(210,18%,97%); }
[data-theme="light"] .mini-stat {
  background: #fff;
  border-color: hsl(210,20%,83%);
}

/* Contact section */
[data-theme="light"] .contact-section { background: hsl(210,18%,95%); }
[data-theme="light"] .contact-item {
  background: #fff;
  border-color: hsl(210,20%,83%);
}
[data-theme="light"] .contact-form {
  background: #fff;
  border-color: hsl(210,20%,83%);
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: hsl(210,18%,97%);
  border-color: hsl(210,20%,78%);
  color: hsl(220,20%,15%);
}
[data-theme="light"] .form-group label { color: hsl(220,15%,30%); }

/* Footer */
[data-theme="light"] .footer-main { background: hsl(210,18%,93%); border-top-color: hsl(210,20%,80%); }
[data-theme="light"] .footer-bottom { background: hsl(210,18%,88%); border-top-color: hsl(210,20%,78%); }
[data-theme="light"] .social-link {
  background: #fff;
  border-color: hsl(210,20%,80%);
  color: hsl(220,15%,40%);
}
[data-theme="light"] .newsletter-form input {
  background: #fff;
  border-color: hsl(210,20%,78%);
  color: hsl(220,20%,15%);
}

/* Section headers in light mode */
[data-theme="light"] .section-title { color: hsl(220,25%,12%); }
[data-theme="light"] .section-sub   { color: hsl(220,12%,45%); }

/* Mobile nav */
[data-theme="light"] .nav-links.open { background: rgba(245,247,250,0.98); }

/* Theme toggle button in light mode */
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.05);
  border-color: hsl(210,20%,78%);
  color: hsl(220,15%,40%);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(212,165,38,.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* ================================================================
   AVADI LAND MODAL
   ================================================================ */

/* Overlay */
.prop-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 7, 14, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.prop-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal Box */
.prop-modal {
  position: relative;
  background: var(--dark-2);
  border: 1px solid rgba(212,165,38,.25);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 50px rgba(212,165,38,.12);
  transform: translateY(32px) scale(0.97);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
  max-height: 90vh;
  overflow-y: auto;
}
.prop-modal-overlay.open .prop-modal {
  transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 38px; height: 38px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover {
  background: rgba(220,60,60,.7);
  transform: scale(1.1);
}

/* Banner */
.modal-banner {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.modal-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,10,20,0.92) 0%,
    rgba(8,10,20,0.4) 50%,
    rgba(8,10,20,0.15) 100%
  );
}
.modal-banner-content {
  position: absolute;
  bottom: 20px; left: 24px; right: 24px;
}
.modal-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.modal-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.modal-pill.gold  { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); }
.modal-pill.green { background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.5); color: hsl(142,70%,55%); }
.modal-pill.amber { background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.4); color: hsl(42,95%,65%); }

.modal-prop-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.modal-prop-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
}
.modal-prop-location svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Body */
.modal-body { padding: 24px; }

/* Price row */
.modal-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-price-block { display: flex; flex-direction: column; gap: 4px; }
.modal-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
}
.modal-price span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.modal-offer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: hsl(142,71%,50%);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  width: fit-content;
}
.modal-call-btn svg { width: 16px; height: 16px; }

/* Taglines chips */
.modal-taglines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.tagline-chip {
  background: rgba(212,165,38,.1);
  border: 1px solid rgba(212,165,38,.28);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  letter-spacing: 0.2px;
}

/* Two column */
.modal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Section heading */
.modal-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,165,38,.2);
}
.modal-section-heading svg { width: 18px; height: 18px; }

/* Amenity list */
.modal-amenity-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.modal-amenity-list li {
  font-size: 0.84rem;
  color: var(--text);
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.modal-amenity-list li:hover {
  background: rgba(212,165,38,.08);
  border-color: rgba(212,165,38,.25);
}

/* Highlight list */
.modal-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin-bottom: 18px;
}
.modal-highlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: var(--transition);
}
.modal-highlight-list li:hover {
  background: rgba(212,165,38,.08);
  border-color: rgba(212,165,38,.25);
}
.hl-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.modal-highlight-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-highlight-list li strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.modal-highlight-list li span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Approval badges */
.modal-approvals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.approval-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: hsl(142,70%,55%);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
}
.approval-badge svg { width: 14px; height: 14px; }

/* CTA footer */
.modal-footer-cta {
  background: linear-gradient(135deg, rgba(212,165,38,.08), rgba(212,165,38,.04));
  border: 1px solid rgba(212,165,38,.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.modal-footer-msg {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 14px;
}
.modal-footer-msg strong { color: var(--gold); }
.modal-footer-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Section block */
.modal-section-block { display: flex; flex-direction: column; }

/* Kuvathur size info line */
.modal-kuvsize {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.modal-kuvsize strong { color: var(--gold); }

/* ── Puthupatinam Modal – 4-col grid ─────────────────────────── */
.putha-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 960px) {
  .putha-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Gold "no-bad-stuff" highlight badge */
.approval-badge.putha-highlight {
  background: rgba(212,165,38,.12);
  border-color: rgba(212,165,38,.35);
  color: var(--gold-light);
}
.approval-badge.putha-highlight svg { stroke: var(--gold); }

/* Modal responsive */
@media (max-width: 640px) {
  .modal-two-col { grid-template-columns: 1fr; }
  .modal-banner  { height: 180px; }
  .modal-body    { padding: 16px; }
  .modal-top-row { flex-direction: column; align-items: flex-start; }
  .modal-footer-buttons { flex-direction: column; }
  .modal-footer-buttons .btn-primary,
  .modal-footer-buttons .btn-outline { text-align: center; justify-content: center; }
}

/* ── Pazhaverkadu Modal – special styles ─────────────────────── */

/* Brand tag in the banner */
.pazha-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(212,165,38,.45);
}

/* Upcoming projects heading – blue-purple accent */
.modal-section-heading.pazha-upcoming {
  color: hsl(220,80%,68%);
  border-bottom-color: rgba(100,140,255,.25);
}
.modal-section-heading.pazha-upcoming svg { stroke: hsl(220,80%,68%); }

/* TN Government note chip */
.pazha-upcoming-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(100,140,255,.1);
  border: 1px solid rgba(100,140,255,.3);
  color: hsl(220,80%,72%);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

/* ================================================================
   WELCOME SPLASH POPUP
   ================================================================ */

/* Overlay backdrop */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 6, 14, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
}

/* Dismiss transition */
.welcome-overlay.dismissing {
  animation: welcomeFadeOut 0.4s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes welcomeFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; }
}

/* Modal card */
.welcome-modal {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0,0,0,.75), 0 0 60px rgba(212,165,38,.18);
  border: 1px solid rgba(212,165,38,.25);
  transform: translateY(40px) scale(0.95);
  animation: welcomeSlideUp 0.55s cubic-bezier(.34,1.56,.64,1) 0.35s forwards;
}

@keyframes welcomeSlideUp {
  from { transform: translateY(40px) scale(0.95); }
  to   { transform: translateY(0) scale(1); }
}

/* Poster image */
.welcome-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Close button */
.welcome-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
  cursor: pointer;
}
.welcome-close svg { width: 15px; height: 15px; }
.welcome-close:hover {
  background: rgba(220,60,60,.75);
  transform: scale(1.1) rotate(90deg);
}

/* Action buttons row */
.welcome-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px 12px;
  background: var(--dark-2);
  border-top: 1px solid rgba(212,165,38,.15);
}

.welcome-explore {
  padding: 11px 26px;
  font-size: 0.88rem;
}
.welcome-explore svg { width: 15px; height: 15px; }

.welcome-skip {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.25s;
  font-family: var(--font-body);
}
.welcome-skip:hover { color: var(--white); text-decoration: underline; }

/* Countdown timer bar */
.welcome-timer-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.welcome-timer-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
  animation: timerCountdown 7s linear 0.6s forwards;
}

@keyframes timerCountdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* Mobile */
@media (max-width: 520px) {
  .welcome-modal { border-radius: 14px; }
  .welcome-actions { flex-direction: column; gap: 8px; }
  .welcome-explore { width: 100%; justify-content: center; }
}

