/* ============================================
   FRIENDS REAL ESTATE — Warm Beige Theme
   Modern Property Portal
   ============================================ */

/* ── MOBILE PERFORMANCE OPTIMIZATIONS ── */
* { -webkit-tap-highlight-color: transparent; }
html { overscroll-behavior-y: none; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
.aos-animate { transition-duration: 400ms !important; } /* Faster animations on mobile */

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

/* ── Variables ── */
:root {
  --bg:          #F8F5EE;
  --bg-2:        #F5F1E8;
  --bg-3:        #E6E0D2;
  --card:        #FFFFFF;
  --text:        #1A1A1A;
  --text-2:      #504F4D;
  --muted:       #6B6B6B;
  --accent:      #C9A84C;
  --accent-2:    #E8C97A;
  --accent-dark: #C9A84C;
  --accent-light:rgba(201,168,76,0.12);
  --border:      #E6E0D2;
  --border-2:    #D4CFC5;
  --green:       #3DBE8A;
  --green-bg:    rgba(61,190,138,0.1);
  --font-h:      'Outfit', sans-serif;
  --font-b:      'DM Sans', sans-serif;
  --radius:      16px;
  --radius-sm:   12px;
  --radius-xs:   8px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:   0 2px 8px rgba(47,47,47,0.04);
  --shadow:      0 10px 30px rgba(47,47,47,0.08);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: var(--text);
  font-family: var(--font-b);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ── Page Loader ── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 44px; height: 44px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--accent-dark);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-logo { font-family: var(--font-h); font-size: 20px; font-weight: 700; color: var(--text); }
.loader-logo span { color: var(--accent-dark); }

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent-dark); z-index: 10000; width: 0%;
  transition: width 0.1s linear;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  width: 42px; height: 42px;
  background: var(--accent-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  cursor: pointer; z-index: 500; border: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition); opacity: 0;
  text-decoration: none;
}
.back-to-top.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.back-to-top:hover { background: var(--accent-2); transform: translateX(-50%) translateY(-3px); }

/* ── Toast ── */
.toast-notification {
  position: fixed; top: 86px; right: 24px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); padding: 16px 20px;
  border-radius: var(--radius-sm); font-size: 14px;
  z-index: 9000; box-shadow: var(--shadow-md);
  transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 340px;
}
.toast-notification.show { transform: translateX(0); }
.toast-close { position: absolute; top: 8px; right: 12px; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; }

/* ── Agent Status ── */
.agent-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 500; }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 60px;
  background: rgba(245,241,232,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(47,47,47,0.05);
  transition: var(--transition);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent-dark);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; color: #fff;
}
.logo-text { font-family: var(--font-h); font-size: 18px; font-weight: 700; color: var(--text); white-space: nowrap; }
.logo-text span { color: var(--accent-dark); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: var(--transition); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent-dark);
  transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-size: 13px; color: var(--muted); border: 1px solid var(--border); padding: 7px 15px; border-radius: var(--radius-xs); font-weight: 500; }
.nav-phone span { color: var(--accent-dark); font-weight: 600; }
.nav-cta {
  background: var(--accent-dark); color: #fff;
  padding: 9px 22px; border-radius: var(--radius-xs);
  font-weight: 600; font-size: 13px; text-decoration: none;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 1px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 140px 60px 80px;
  position: relative; overflow: hidden;
}
.hero-bg-slider { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slider .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease-in-out;
}
.hero-bg-slider .slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 55%, rgba(8,8,8,0.98) 100%);
  z-index: 1;
}
.hero-left { position: relative; z-index: 2; max-width: 840px; opacity: 1 !important; visibility: visible !important; }
.hero-brand {
  font-family: var(--font-b); font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 20px; display: flex; align-items: center;
  justify-content: center; gap: 14px; font-weight: 600;
}
.hero-brand::before, .hero-brand::after {
  content: ''; flex: 1; max-width: 60px; height: 1px;
  background: var(--accent-dark); opacity: 0.4;
}
.hero-bigname {
  font-family: var(--font-h);
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.92; font-weight: 800;
  margin-bottom: 24px; letter-spacing: -2px;
}
.hero-bigname .line1 { display: block; color: var(--text); }
.hero-bigname .line2 { display: block; color: var(--accent-dark); font-style: italic; }
.hero-divider { width: 48px; height: 2px; background: var(--accent-dark); margin: 0 auto 24px; border-radius: 2px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(203,191,163,0.15); border: 1px solid var(--accent);
  color: var(--accent-dark); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; padding: 7px 18px; border-radius: 50px;
  margin-bottom: 24px; font-weight: 600;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.4); } }
.hero-sub { font-size: 17px; color: var(--text-2); line-height: 1.8; max-width: 520px; margin: 0 auto 40px; font-weight: 400; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }
.btn-gold {
  background: var(--accent-dark); color: #fff;
  padding: 15px 34px; font-weight: 600; font-size: 14px;
  border-radius: var(--radius-xs); text-decoration: none;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  border: 1.5px solid var(--accent-dark); color: var(--accent-dark);
  padding: 15px 34px; font-weight: 500; font-size: 14px;
  border-radius: var(--radius-xs); text-decoration: none;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
  background: rgba(140,123,98,0.05);
}
.btn-outline:hover { background: var(--accent-dark); color: #fff; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  max-width: 580px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.hstat { padding: 22px 16px; text-align: center; background: rgba(255,255,255,0.7); }
.hstat-num { font-family: var(--font-h); font-size: 30px; color: var(--accent-dark); font-weight: 700; line-height: 1; }
.hstat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 5px; font-weight: 500; }
.hero-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hdot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); transition: var(--transition); cursor: pointer; }
.hdot.on { background: var(--accent-dark); width: 22px; border-radius: 3px; }
.hero-right { display: none; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { font-size: 22px; }
.trust-num { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: var(--accent-dark); line-height: 1; }
.trust-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.trust-sep { width: 1px; height: 40px; background: var(--border); }

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap { background: var(--accent-dark); padding: 12px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; animation: marquee 22s linear infinite; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mitem { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #fff; letter-spacing: 0.5px; }
.mdot { width: 4px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 50%; }

/* ============================================
   SEARCH
   ============================================ */
.search-wrap { background: var(--bg-2); padding: 44px 60px; border-bottom: 1px solid var(--border); }
.search-label { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; font-weight: 600; }
.sbox {
  display: flex; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; max-width: 920px;
  box-shadow: var(--shadow-sm);
}
.sbox select, .sbox input {
  background: transparent; border: none; color: var(--text);
  padding: 16px 20px; font-family: var(--font-b); font-size: 14px;
  outline: none; flex: 1; border-right: 1px solid var(--border);
}
.sbox select option { background: #fff; }
.sbox button {
  background: var(--accent-dark); color: #fff; border: none;
  padding: 16px 30px; font-weight: 600; font-size: 14px;
  cursor: pointer; font-family: var(--font-b); transition: var(--transition); white-space: nowrap;
}
.sbox button:hover { background: var(--accent-2); }

/* ============================================
   SECTIONS (general)
   ============================================ */
section { padding: 96px 60px; }
.sec-eye { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; font-weight: 600; }
.sec-title { font-family: var(--font-h); font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin-bottom: 14px; line-height: 1.1; color: var(--text); letter-spacing: -0.5px; }
.sec-sub { color: var(--muted); font-size: 15px; font-weight: 400; max-width: 460px; line-height: 1.75; }

/* ============================================
   FEATURED PROPERTIES
   ============================================ */
.featured-sec { background: var(--bg-2); }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.featured-badge-wrap { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }

/* ============================================
   PROPERTIES
   ============================================ */
.props-sec { background: var(--bg); }
.props-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; flex-wrap: wrap; gap: 20px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ftab {
  padding: 8px 18px; border: 1.5px solid var(--border);
  color: var(--muted); font-size: 13px; border-radius: 50px;
  cursor: pointer; transition: var(--transition);
  background: var(--card); font-family: var(--font-b); font-weight: 500;
}
.ftab.on, .ftab:hover { border-color: var(--accent-dark); color: var(--accent-dark); background: var(--accent-light); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

/* Property Card */
.view-details-btn:hover { background: var(--accent-2); }

/* --- FORCE DARK THEME ON PROPERTY CARDS --- */
.pcard {
  background: #1C1A16 !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
}
.pcard .pname, .pcard .pprice { color: #F8F5EE !important; }
.pcard .ploc, .pcard .pcard-footer-urgency { color: rgba(248,245,238,0.6) !important; }
.pcard .ptag {
  background: rgba(201,168,76,0.1) !important;
  border-color: rgba(201,168,76,0.2) !important;
  color: #C9A84C !important;
}
.pcard .pcard-footer {
  background: rgba(255,255,255,0.03) !important;
  border-top: 1px solid rgba(201,168,76,0.1) !important;
}
.pcard .phint, .pcard .share-btn {
  background: rgba(28,26,22,0.8) !important;
  color: #fff !important;
}
.pcard:hover { border-color: #C9A84C !important; }

/* Section Specific Backgrounds for Beige Theme */
section, .search-wrap, .trust-bar { background-color: var(--bg) !important; }
.featured-sec, .testi-sec, .admin-sec { background-color: var(--bg-2) !important; }
#about { background-color: white !important; } /* Clean white for about */
.hstat { background: white !important; }
.owner-box { background: var(--bg-2) !important; }

/* ============================================
   WHY US
   ============================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.wcard::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-dark); opacity: 0;
  transition: opacity 0.3s;
}
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wcard:hover::before { opacity: 1; }
.wcard-num { font-family: var(--font-h); font-size: 52px; color: rgba(203,191,163,0.3); font-weight: 800; position: absolute; top: 10px; right: 16px; line-height: 1; }
.wcard-icon { font-size: 30px; margin-bottom: 16px; }
.wcard-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.wcard-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-vis { position: relative; }
.about-img {
  background: var(--bg-2); border-radius: var(--radius); height: 480px;
  display: flex; align-items: center; justify-content: center;
  font-size: 110px; border: 1px solid var(--border); position: relative; z-index: 1;
}
.about-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 160px;
  background: var(--accent-light); border: 1px solid var(--accent); border-radius: var(--radius); z-index: 0;
}
.about-float {
  position: absolute; top: 24px; right: -30px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 22px; z-index: 2;
  white-space: nowrap; box-shadow: var(--shadow);
}
.af-num { font-family: var(--font-h); font-size: 26px; color: var(--accent-dark); font-weight: 700; }
.af-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
p.about-text, .about-text { font-size: 15px; color: var(--text-2); line-height: 1.8; font-weight: 400; margin-bottom: 16px; }
.owner-box {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 24px;
}
.owner-av {
  width: 50px; height: 50px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.owner-name { font-size: 15px; font-weight: 600; color: var(--text); }
.owner-role { font-size: 12px; color: var(--accent-dark); margin-top: 2px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.afeat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.afeat::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-sec { background: var(--bg-2); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.tcard:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.tquote { font-size: 36px; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.tstars { color: #E8B84B; font-size: 13px; margin-bottom: 12px; letter-spacing: 2px; }
.ttext { font-size: 14px; color: var(--text-2); line-height: 1.8; font-weight: 400; margin-bottom: 20px; font-style: italic; }
.tauthor { display: flex; align-items: center; gap: 12px; }
.tav { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.tname { font-size: 14px; font-weight: 600; color: var(--text); }
.tloc { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.citem {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.citem:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.cicon { width: 42px; height: 42px; background: var(--accent-light); border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.clabel { font-size: 10px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 3px; font-weight: 600; }
.cval { font-size: 14px; font-weight: 500; color: var(--text); }
.cform { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.cform-title { font-family: var(--font-h); font-size: 26px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.cform-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border); color: var(--text);
  padding: 12px 15px; border-radius: var(--radius-xs);
  font-family: var(--font-b); font-size: 14px; outline: none;
  transition: var(--transition); resize: vertical;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent-dark); background: #fff; }
.fg select option { background: #fff; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fsub {
  width: 100%; background: var(--accent-dark); color: #fff;
  border: none; padding: 14px; font-weight: 700; font-size: 14px;
  border-radius: var(--radius-xs); cursor: pointer;
  font-family: var(--font-b); transition: var(--transition); margin-top: 4px;
}
.fsub:hover { background: var(--accent-2); transform: translateY(-1px); }
.smsg { display: none; background: var(--green-bg); border: 1px solid var(--green); color: var(--green); padding: 12px; border-radius: var(--radius-xs); text-align: center; margin-top: 12px; font-size: 13px; }
.smsg.error { background: var(--red-bg); border-color: var(--red); color: var(--red); }
.visit-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-top: 28px; box-shadow: var(--shadow-sm); }
.visit-form .cform-title { font-size: 22px; }

/* ============================================
   MODAL
   ============================================ */
.moverlay { display: none; position: fixed; inset: 0; background: rgba(47,47,47,0.7); z-index: 9999; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(8px); }
.moverlay.open { display: flex !important; }
.modal { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); max-width: 720px; width: 100%; max-height: 92vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.mclose { position: absolute; top: 14px; right: 14px; background: var(--bg); border: 1px solid var(--border); color: var(--text); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.mclose:hover { background: var(--accent-light); border-color: var(--accent); }
.mvidbox { width: 100%; height: 300px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--bg-2); }
.mvidbox video { width: 100%; height: 100%; object-fit: cover; }
.mbody { padding: 28px 32px 36px; }
.mbrow { display: flex; gap: 8px; margin-bottom: 14px; }
.mbadge { font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-xs); letter-spacing: 1px; text-transform: uppercase; }
.mprice { font-family: var(--font-h); font-size: 34px; color: var(--accent-dark); font-weight: 700; margin-bottom: 4px; }
.mtitle { font-size: 19px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.mloc { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.mspecs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.mspec { background: var(--bg); padding: 16px; border-radius: var(--radius-sm); text-align: center; border: 1px solid var(--border); }
.mspec-val { font-size: 17px; font-weight: 600; color: var(--accent-dark); }
.mspec-key { font-size: 10px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.mdesc { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 24px; padding: 18px; background: var(--bg); border-radius: var(--radius-sm); border-left: 3px solid var(--accent-dark); }
.mcta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-wa { background: #25D366; color: #fff; padding: 12px 22px; border-radius: var(--radius-xs); font-weight: 600; text-decoration: none; font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.btn-wa:hover { background: #1eb559; transform: translateY(-1px); }
.btn-call { background: var(--accent-dark); color: #fff; padding: 12px 22px; border-radius: var(--radius-xs); font-weight: 600; text-decoration: none; font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.btn-call:hover { background: var(--accent-2); transform: translateY(-1px); }

/* ============================================
   ADMIN
   ============================================ */
.admin-sec { background: var(--bg-2); }
.hidden { display: none !important; }
.abox { max-width: 420px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; margin: 0 auto; box-shadow: var(--shadow); }
.apanel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; max-width: 760px; }
.atabs { display: flex; gap: 8px; margin-bottom: 26px; }
.atab { padding: 9px 22px; border: 1.5px solid var(--border); border-radius: var(--radius-xs); cursor: pointer; font-family: var(--font-b); color: var(--muted); background: transparent; transition: var(--transition); font-size: 13px; font-weight: 500; }
.atab.on { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); font-weight: 700; }
.aform .fg input, .aform .fg select, .aform .fg textarea { width: 100%; background: var(--bg); border: 1.5px solid var(--border); color: var(--text); padding: 12px 15px; border-radius: var(--radius-xs); font-family: var(--font-b); font-size: 14px; outline: none; transition: var(--transition); resize: vertical; }
.aform .fg input:focus, .aform .fg select:focus, .aform .fg textarea:focus { border-color: var(--accent-dark); background: #fff; }
.aform .fg select option { background: #fff; }
.asub { background: var(--accent-dark); color: #fff; border: none; padding: 12px 26px; font-weight: 700; font-size: 14px; border-radius: var(--radius-xs); cursor: pointer; font-family: var(--font-b); transition: var(--transition); }
.asub:hover { background: var(--accent-2); }
.pli { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px; transition: var(--transition); }
.pli:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.pli-icon { font-size: 24px; flex-shrink: 0; }
.pli-name { font-size: 14px; font-weight: 600; color: var(--text); }
.pli-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pli-price { font-family: var(--font-h); font-size: 18px; color: var(--accent-dark); margin-left: auto; margin-right: 14px; white-space: nowrap; font-weight: 700; }
.delbtn { background: var(--red-bg); border: 1px solid rgba(214,80,80,0.25); color: var(--red); padding: 7px 14px; border-radius: var(--radius-xs); cursor: pointer; font-size: 12px; font-family: var(--font-b); transition: var(--transition); font-weight: 500; }
.delbtn:hover { background: rgba(214,80,80,0.15); }
.asmsg { display: none; background: var(--green-bg); border: 1px solid var(--green); color: var(--green); padding: 12px; border-radius: var(--radius-xs); text-align: center; margin-top: 12px; font-size: 13px; }

/* ============================================
/* ============================================
   WHATSAPP
   ============================================ */
.wa-popup { position: fixed; bottom: 90px; left: 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; z-index: 501; width: 240px; box-shadow: var(--shadow-lg); transform: translateY(20px); opacity: 0; pointer-events: none; transition: var(--transition); }
.wa-popup.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.wa-popup-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.wa-popup a { display: block; padding: 10px 14px; margin-bottom: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: 13px; transition: var(--transition); font-weight: 500; }
.wa-popup a:last-child { margin-bottom: 0; }
.wa-popup a:hover { border-color: #25D366; background: rgba(37,211,102,0.06); }
.wa-close-btn { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 18px; color: var(--muted); cursor: pointer; line-height: 1; transition: var(--transition); z-index: 10; }
.wa-close-btn:hover { color: var(--red); transform: rotate(90deg); }
.wa-chat-bubble { position: fixed; bottom: 28px; left: 28px; z-index: 500; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; border: none; box-shadow: 0 6px 24px rgba(37,211,102,0.3); transition: var(--transition); animation: chatPulse 2s infinite; }
@keyframes chatPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-chat-bubble:hover { transform: scale(1.08); animation: none; }

/* ============================================
   FOOTER (Premium Dark Theme)
   ============================================ */
footer {
  background: #1C1A16 !important;
  border-top: 1px solid rgba(201,168,76,0.1) !important;
  padding: 80px 60px 40px;
  color: #fff !important;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.fdesc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 320px;
  margin: 20px 0 25px;
}
.fline {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.fline:hover { color: var(--accent-2); }
.fline span { color: #fff; font-weight: 500; }
.fcol-title {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.fcol-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.flinks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.flinks a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.flinks a:hover { color: #fff; transform: translateX(5px); }
.flinks a::before { content: '→'; font-size: 10px; color: var(--accent); opacity: 0; transition: var(--transition); }
.flinks a:hover::before { opacity: 1; }

/* QR Code Section in Footer */
.footer-qr-grid { display: flex; gap: 20px; margin-top: 5px; }
.footer-qr-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  transition: var(--transition);
}
.footer-qr-card:hover { background: rgba(255,255,255,0.06); border-color: var(--accent); }
.footer-qr-label { font-size: 10px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; font-weight: 700; }
.footer-qr-card img, .footer-qr-card canvas {
  width: 80px !important; height: 80px !important;
  margin: 0 auto;
  border-radius: 4px;
  background: #fff;
  padding: 4px;
}
.footer-qr-url { font-size: 9px; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* WhatsApp Channel Footer Link */
.wa-footer-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.2);
  padding: 15px;
  border-radius: 12px;
  margin-top: 25px;
  text-decoration: none;
  transition: var(--transition);
}
.wa-footer-channel:hover {
  background: rgba(37,211,102,0.2);
  border-color: #25D366;
  transform: translateY(-2px);
}

.fbottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}
.fcopy, .fmade { font-size: 13px; color: rgba(255,255,255,0.4); }
.fmade span { color: var(--accent-2); font-weight: 600; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text span { color: var(--accent-2); }
.footer-logo .logo-icon { background: var(--accent-2); }

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; background: rgba(8,8,8,0.97); backdrop-filter: blur(16px); border-top: 1px solid rgba(201,168,76,0.2); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(47,47,47,0.08); }
.mobile-bottom-bar .bar-inner { display: flex; justify-content: space-around; align-items: center; }
.mobile-bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--text-2); font-size: 11px; font-weight: 500; padding: 6px 18px; border-radius: var(--radius-sm); transition: var(--transition); }
.mobile-bottom-bar a:hover, .mobile-bottom-bar a:active { background: var(--accent-light); color: var(--accent-dark); }
.mobile-bottom-bar .bar-icon { font-size: 19px; }

/* ============================================
   RESPONSIVE ≤1024px
   ============================================ */
@media(max-width:1024px){
  nav { padding: 14px 24px; }
  .nav-links, .nav-phone, .agent-status { display: none; }
  .hamburger { display: flex; }
  .nav-cta { padding: 8px 16px; font-size: 12px; }
  section, .search-wrap { padding: 72px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-bigname { font-size: clamp(40px, 10vw, 80px); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .tgrid { grid-template-columns: 1fr; }
  footer { padding: 44px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .pgrid, .featured-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .about-float { right: 0; top: auto; bottom: -16px; }
  .owner-box { flex-wrap: wrap; }
  .trust-bar { padding: 18px 24px; gap: 24px; }
  .trust-sep { display: none; }

  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.98); backdrop-filter: blur(20px);
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
}

/* ============================================
   RESPONSIVE ≤768px
   ============================================ */
@media(max-width:768px){
  /* Trust bar 2x2 grid */
  .trust-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 16px;
  }
  .trust-sep { display: none; }
  .trust-item { justify-content: center; text-align: center; }

  /* Search stacked full-width */
  .search-wrap { padding: 20px 16px; margin: 0 12px; border-radius: 12px; }
  .sbox { flex-direction: column !important; gap: 10px; }
  .sbox select, .sbox button {
    width: 100%; font-size: 14px; padding: 13px 14px;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }

  /* Section padding */
  section { padding: 48px 16px !important; }

  /* Contact grid single column */
  .contact-grid { grid-template-columns: 1fr !important; gap: 28px; }

  /* Forms */
  .cform { padding: 20px 16px; }
  .visit-form { padding: 20px 16px; }
  .frow { grid-template-columns: 1fr !important; }

  /* Office photo on mobile */
  .office-photo-wrap { min-height: 260px !important; }

  /* New Sticky Mobile Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: #1C1A16;
    border-top: 1px solid rgba(201,168,76,0.2);
    z-index: 9990;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
  }
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: rgba(240,234,216,0.6);
    font-size: 10px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
  }
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a.active {
    color: #C9A84C;
  }
  .mobile-bottom-nav a span.nav-icon { font-size: 20px; }

  /* Hide old bar */
  .mobile-bottom-bar { display: none !important; }

  /* Push page content above bottom nav on mobile */
  body { padding-bottom: 60px; }
}

/* ============================================
   RESPONSIVE ≤480px
   ============================================ */
@media(max-width:480px){
  .hero { padding: 82px 16px 36px; }
  .hero-bigname { font-size: clamp(30px, 11vw, 46px); }
  .hero-badge { font-size: 9px; padding: 5px 14px; }
  .hero-sub { font-size: 13px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 16px; }
  .cform { padding: 22px 16px; }
  .visit-form { padding: 22px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .mspecs { grid-template-columns: 1fr; }
  .mbody { padding: 18px 16px; }
  .mvidbox { height: 200px; }
  .logo-text { font-size: 16px; }
  nav { padding: 12px 16px; }
  .search-wrap { padding: 28px 16px; }
  .filter-row { gap: 6px; }
  .ftab { padding: 6px 14px; font-size: 11px; }
  .trust-bar { padding: 14px 16px; gap: 16px; }
  .trust-num { font-size: 18px; }
}

/* ── DARK THEME OVERRIDES ── */
.hero-bigname .line1 { color: #F8F5EE !important; }
.hero-bigname .line2 { color: #C9A84C !important; font-style: italic; }
.hero-brand { color: #C9A84C !important; }
.hero-sub { color: rgba(255,255,255,0.75) !important; }
.hero-badge { background: rgba(201,168,76,0.12) !important; border: 1px solid rgba(201,168,76,0.3) !important; color: #C9A84C !important; }
.hero-left { z-index: 10 !important; position: relative !important; }
.hstat-num { color: #C9A84C !important; }
.hstat-label { color: rgba(255,255,255,0.5) !important; }
.hero-stats { background: rgba(0,0,0,0.4) !important; border: 1px solid rgba(255,255,255,0.1) !important; backdrop-filter: blur(16px); }
.sec-title { color: #F8F5EE !important; }
.sec-eye { color: #C9A84C !important; }
.nav-links a { color: #AAAAAA !important; }
.nav-links a:hover { color: #F8F5EE !important; }
.logo-text { color: #F8F5EE !important; }
.logo-text span { color: #C9A84C !important; }
.pprice { color: #C9A84C !important; }
.pname { color: #F8F5EE !important; }
.ploc { color: #777 !important; }
.btn-gold { background: #C9A84C !important; color: #080808 !important; }
.btn-gold:hover { background: #E8C97A !important; }
.nav-cta { background: #C9A84C !important; color: #080808 !important; }

/* ═══ DARK THEME OVERRIDES ═══ */
body { background: #080808 !important; color: #F8F5EE !important; }
.hero-bigname .line1 { color: #F8F5EE !important; }
.hero-bigname .line2 { color: #C9A84C !important; font-style: italic; }
.hero-brand { color: #C9A84C !important; }
.hero-sub { color: rgba(255,255,255,0.75) !important; }
.hero-badge { background: rgba(201,168,76,0.12) !important; border-color: rgba(201,168,76,0.3) !important; color: #C9A84C !important; }
.hero-left, .hero-content { z-index: 10 !important; position: relative !important; }
.hstat-num { color: #C9A84C !important; }
.hstat-label { color: rgba(255,255,255,0.5) !important; }
.hero-stats { background: rgba(0,0,0,0.4) !important; border: 1px solid rgba(255,255,255,0.1) !important; }
.sec-title { color: #F8F5EE !important; }
.sec-eye { color: #C9A84C !important; }
.pprice { color: #C9A84C !important; }
.pname { color: #F8F5EE !important; }
.ploc { color: #777 !important; }
.btn-gold { background: #C9A84C !important; color: #080808 !important; font-weight: 700 !important; }
.btn-gold:hover { background: #E8C97A !important; }
.btn-outline { border-color: rgba(255,255,255,0.3) !important; color: #F8F5EE !important; }
.btn-outline:hover { border-color: #C9A84C !important; color: #C9A84C !important; }
.nav-cta { background: #C9A84C !important; color: #080808 !important; }
.pcard { background: #181818 !important; border-color: rgba(255,255,255,0.07) !important; }
.pcard:hover { border-color: rgba(201,168,76,0.4) !important; }
.cform, .visit-form { background: #111111 !important; border-color: rgba(201,168,76,0.18) !important; }
.fg input, .fg select, .fg textarea { background: #181818 !important; border-color: rgba(255,255,255,0.07) !important; color: #F8F5EE !important; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: #C9A84C !important; }
.citem { background: #111111 !important; border-color: rgba(255,255,255,0.07) !important; }
.wcard { background: #111111 !important; border-color: rgba(255,255,255,0.07) !important; }
.tcard { background: #181818 !important; border-color: rgba(255,255,255,0.07) !important; }
.nav-links.mobile-open { background: rgba(8,8,8,0.98) !important; }
.nav-links.mobile-open a { color: #F8F5EE !important; }
nav { background: rgba(8,8,8,0.97) !important; }

/* ═══ PROPERTY CARD OVERLAY ═══ */
.pcard-media { position: relative; }
.pcard-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* ═══ GOOGLE MAPS ═══ */
.map-wrap {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  height: 260px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: #C9A84C;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.3s;
  cursor: pointer;
}
.map-open-btn:hover { background: rgba(201,168,76,0.18); transform: translateY(-1px); }

/* ═══ NAV SCROLLED ═══ */
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important; }

/* ═══ FOOTER YEAR FIX ═══ */
.fcopy::after { content: ''; }

/* ═══ MOBILE RESPONSIVE FIXES ═══ */
@media(max-width: 768px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-gold, .btn-outline { width: 100%; justify-content: center; }
  .about-float { position: static !important; margin-top: 16px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .map-wrap { height: 200px; }
  .mobile-bottom-bar { background: rgba(8,8,8,0.97) !important; border-top: 1px solid rgba(201,168,76,0.2) !important; }
  .mobile-bottom-bar a { color: #AAAAAA !important; }
  .mobile-bottom-bar a:hover { color: #C9A84C !important; background: rgba(201,168,76,0.08) !important; }
}
