/* =========================================================
   GANGA REALTORS — DESIGN TOKENS
========================================================= */
:root {
  /* Palette */
  --ink:        #1B2430;   /* primary text — deep charcoal navy */
  --ink-soft:   #5B6572;   /* secondary text */
  --ink-faint:  #93A0AC;
  --navy-deep:  #101A2C;   /* dark section background */
  --navy-deep-2:#16223A;
  --gold:       #B8925B;   /* accent */
  --gold-light: #D8B98B;
  --gold-dark:  #93713F;
  --bg:         #FFFFFF;
  --bg-tint:    #F7F4EE;
  --border:     #E7E1D3;
  --border-soft:#EFECE3;
  --white:      #FFFFFF;

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

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(27, 36, 48, 0.06);
  --shadow-md: 0 12px 30px rgba(27, 36, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 26, 44, 0.18);
  --shadow-gold: 0 14px 34px rgba(184, 146, 91, 0.28);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --t-fast: 0.2s;
  --t-med: 0.4s;
}

/* =========================================================
   RESET
========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

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

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

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

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.0);
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), padding var(--t-med) var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 10px;
  flex-shrink: 0;
}
.site-header.scrolled .brand-mark,
.site-footer .brand-mark { background: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.site-header:not(.scrolled) .brand-name { color: var(--white); }
.brand-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease);
}
.site-header:not(.scrolled) .nav-link { color: var(--white); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--t-fast) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 6px 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.site-header:not(.scrolled) .hamburger span { background: var(--white); }
.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); }
.hamburger.open span { background: var(--ink) !important; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 84vw);
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  z-index: 499;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav-link { font-size: 1.1rem; font-weight: 500; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,44,0.62) 0%, rgba(16,26,44,0.42) 45%, rgba(16,26,44,0.85) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.eyebrow-line { width: 34px; height: 1.5px; background: var(--gold-light); }

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.25s forwards;
}
.hero-subtext {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Search box */
.search-wrap {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.55s forwards;
}
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.search-toggle {
  display: inline-flex;
  background: var(--bg-tint);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin: 10px 10px 16px;
}
.toggle-btn {
  padding: 9px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
}
.toggle-btn.active { background: var(--ink); color: var(--white); }

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 0 10px 10px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding-left: 2px;
}
.field select, .field input, .field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease);
}
.field select:focus, .field input:focus, .field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.search-submit { height: 48px; }

.trust-line {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
}
.trust-line strong { color: var(--gold-light); font-family: var(--font-display); }
.trust-line .dot { opacity: 0.5; }

/* =========================================================
   SECTIONS — SHARED
========================================================= */
.section { padding: 110px 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy-deep); color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head-light { color: var(--white); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-light); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--ink); margin-bottom: 16px; }
.section-title-light { color: var(--white); }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }
.section-cta-row { display: flex; justify-content: center; margin-top: 48px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   FILTER CHIPS
========================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* =========================================================
   PROPERTY CARDS
========================================================= */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.property-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.property-card:hover .card-media img { transform: scale(1.07); }

.card-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.card-badge.badge-rent { background: var(--ink); }

.fav-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.active { color: #C1454B; }
.fav-btn.active i { font-weight: 900; }

.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-type { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dark); }
.card-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.card-loc { font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.card-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-top: 2px; }
.card-price small { font-family: var(--font-body); font-weight: 500; font-size: 0.76rem; color: var(--ink-soft); }

.card-specs {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border-soft);
  color: var(--ink-soft);
  font-size: 0.84rem;
}
.card-specs span { display: flex; align-items: center; gap: 6px; }

.card-view-btn {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition: all var(--t-fast) var(--ease);
}
.card-view-btn:hover { background: var(--ink); color: var(--white); }

/* =========================================================
   CATEGORIES
========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,44,0) 40%, rgba(16,26,44,0.82) 100%);
}
.category-card:hover img { transform: scale(1.08); }
.category-label {
  position: absolute; left: 22px; bottom: 20px; z-index: 1;
  color: var(--white);
}
.category-label h3 { font-size: 1.2rem; margin-bottom: 4px; }
.category-label span { font-size: 0.82rem; color: var(--gold-light); font-weight: 600; }

/* =========================================================
   FEATURE GRID (Why Choose Us)
========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  padding: 34px 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: all var(--t-med) var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-4px); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* =========================================================
   ABOUT
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-media-badge {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
}
.badge-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-light); font-weight: 700; }
.badge-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); line-height: 1.35; }

.about-copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.02rem; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.stat-label { font-size: 0.78rem; color: var(--ink-soft); }

/* =========================================================
   LOCATIONS
========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease);
}
.location-card:hover { transform: translateY(-5px); }
.location-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.location-card:hover img { transform: scale(1.08); }
.location-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,44,0.05) 30%, rgba(16,26,44,0.88) 100%);
}
.location-info { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: var(--white); }
.location-info h3 { font-size: 1.15rem; }
.location-info span { font-size: 0.82rem; color: var(--gold-light); font-weight: 600; }

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonial-carousel { max-width: 760px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s var(--ease); }
.testimonial-slide { min-width: 100%; padding: 8px; }
.testimonial-card {
  background: var(--navy-deep-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
}
.testimonial-stars { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 20px; letter-spacing: 3px; }
.testimonial-quote { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; line-height: 1.55; margin-bottom: 26px; color: rgba(255,255,255,0.94); }
.testimonial-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.testimonial-person-name { font-weight: 600; color: var(--white); }
.testimonial-person-loc { font-size: 0.82rem; color: var(--ink-faint); }

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; }
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); }
.testimonial-dots { display: flex; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: all var(--t-fast) var(--ease); }
.t-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* =========================================================
   AGENTS
========================================================= */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.agent-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all var(--t-med) var(--ease);
}
.agent-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.agent-photo { aspect-ratio: 1; overflow: hidden; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-body { padding: 22px 18px 26px; }
.agent-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.agent-position { font-size: 0.8rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 12px; }
.agent-contact { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 4px; }
.agent-props { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 16px; }
.agent-view-btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.agent-view-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* =========================================================
   CTA BAND
========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep) 0%, #1B2E4E 100%);
  padding: 90px 0;
  text-align: center;
  color: var(--white);
}
.cta-inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.78); font-size: 1.08rem; margin-bottom: 34px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   CONTACT
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-error { font-size: 0.76rem; color: #C1454B; min-height: 16px; display: block; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #C1454B; }
.form-success {
  display: none;
  color: #2E7D4F;
  background: #EAF6EE;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.form-success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card i { color: var(--gold-dark); font-size: 1.1rem; margin-top: 3px; width: 22px; }
.info-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.info-card p { font-size: 0.9rem; color: var(--ink-soft); }
.info-card a:hover { color: var(--gold-dark); }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 8px; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.82); padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p { margin: 18px 0 20px; font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 320px; }
.brand-footer .brand-name { color: var(--white); }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); }

.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--t-fast) var(--ease); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-col > p { font-size: 0.87rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }

.newsletter-form { display: flex; border-radius: var(--radius-pill); overflow: hidden; background: rgba(255,255,255,0.08); padding: 4px; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 10px 14px; color: var(--white); font-size: 0.88rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form button { width: 38px; height: 38px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; transition: background var(--t-fast) var(--ease); }
.newsletter-form button:hover { background: var(--gold-dark); }
.newsletter-success { display: none; font-size: 0.8rem; color: var(--gold-light); margin-top: 10px; }
.newsletter-success.show { display: block; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* =========================================================
   PROPERTY MODAL
========================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(16, 22, 34, 0.6);
  backdrop-filter: blur(4px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  background: var(--white);
  width: min(980px, 100%);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.98);
  transition: transform var(--t-med) var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }
.modal-scroll { max-height: 88vh; overflow-y: auto; }
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
  transition: transform var(--t-fast) var(--ease);
}
.modal-close:hover { transform: rotate(90deg); }

.modal-gallery { position: relative; aspect-ratio: 16/8; background: var(--bg-tint); }
.modal-gallery-main { width: 100%; height: 100%; object-fit: cover; }
.modal-gallery-thumbs { display: flex; gap: 8px; padding: 12px; position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); }
.modal-gallery-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.7; border: 2px solid transparent; transition: all var(--t-fast) var(--ease); }
.modal-gallery-thumbs img:hover, .modal-gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }

.modal-body { padding: 40px 44px 48px; }
.modal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.modal-title { font-size: 1.7rem; margin-bottom: 8px; }
.modal-loc { color: var(--ink-soft); display: flex; align-items: center; gap: 6px; font-size: 0.95rem; }
.modal-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }

.modal-spec-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.modal-spec { text-align: center; }
.modal-spec i { color: var(--gold-dark); font-size: 1.15rem; margin-bottom: 8px; display: block; }
.modal-spec strong { display: block; font-size: 1rem; }
.modal-spec span { font-size: 0.76rem; color: var(--ink-soft); }

.modal-section { margin-bottom: 28px; }
.modal-section h3 { font-size: 1.1rem; margin-bottom: 12px; }
.modal-section p { color: var(--ink-soft); font-size: 0.96rem; }

.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amenity-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.amenity-item i { color: var(--gold); }

.floorplan-box {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--ink-faint);
  background: var(--bg-tint);
}
.floorplan-box i { font-size: 2rem; margin-bottom: 10px; display: block; }

.modal-map iframe { width: 100%; height: 200px; border: 0; border-radius: var(--radius); }

.modal-agent { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--bg-tint); border-radius: var(--radius); }
.modal-agent img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.modal-agent-name { font-weight: 700; }
.modal-agent-role { font-size: 0.82rem; color: var(--ink-soft); }

.modal-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 200px; }

/* =========================================================
   TOAST
========================================================= */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-med) var(--ease);
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .property-grid, .feature-grid, .category-grid, .location-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media { max-width: 460px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .search-submit { grid-column: span 2; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  .modal-spec-row { grid-template-columns: repeat(3, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .hero { min-height: auto; padding-top: 130px; padding-bottom: 60px; }
  .property-grid, .feature-grid, .category-grid, .location-grid, .agent-grid { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .search-submit { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .modal-body { padding: 28px 22px 34px; }
  .modal-spec-row { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .modal-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2.2rem; }
  .search-box { padding: 8px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: 1fr; }
  .modal-spec-row { grid-template-columns: repeat(2, 1fr); }
}
