/* ═══════════════════════════════════════════════════════════
   Lucknow Realty Hub — Design System
   Theme: Refined Gold & Deep Teal — Luxury Indian Real Estate
   ═══════════════════════════════════════════════════════════ */

:root {
  --gold:        #b8860b;
  --gold-light:  #d4a017;
  --gold-pale:   #fdf6e3;
  --teal:        #1a4a52;
  --teal-light:  #2a6875;
  --teal-pale:   #e8f4f7;
  --dark:        #0f1c1e;
  --mid:         #2c4a50;
  --body:        #4a5568;
  --muted:       #718096;
  --border:      #e2e8f0;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --success:     #38a169;
  --danger:      #e53e3e;
  --warning:     #d69e2e;
  --info:        #3182ce;

  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', -apple-system, sans-serif;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.18);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ── Container ─────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Section Header ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--dark);
  margin-bottom: 12px;
}
.section-header h2 em { color: var(--gold); font-style: normal; }
.section-header p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 auto; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,134,11,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--teal); color: var(--teal);
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; transition: var(--transition);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--teal);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; transition: var(--transition);
}
.btn-white:hover { background: var(--gold); color: var(--white); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.4); color: var(--white);
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 6px; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #c53030; }
.btn-success { background: var(--success); color: var(--white); }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); flex-shrink: 0;
}
.brand-icon { font-size: 24px; }
.brand-text { font-size: 16px; font-weight: 300; letter-spacing: .5px; }
.brand-text strong { font-weight: 700; color: var(--gold-light); }

.nav-links {
  display: flex; list-style: none; gap: 4px; margin: 0; padding: 0;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn-primary { padding: 9px 20px; font-size: 14px; }
.nav-actions .nav-link { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 6px; transition: var(--transition); }
.nav-actions .nav-link:hover { background: rgba(255,255,255,.1); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1f23 0%, #1a4a52 50%, #0d2b2f 100%);
}
.hero-bg { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(184,134,11,.2) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(26,74,82,.8) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: 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='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--gold); }

.hero-title {
  font-family: var(--font-head); font-size: clamp(40px, 6vw, 72px);
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero-title em { color: var(--gold-light); font-style: normal; }

.hero-subtitle { color: rgba(255,255,255,.7); font-size: 18px; max-width: 560px; margin: 0 auto 40px; }

/* Search Bar */
.hero-search {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xl);
  max-width: 820px; margin: 0 auto 48px;
}
.search-tabs {
  display: flex; background: var(--bg); border-bottom: 1px solid var(--border);
}
.stab {
  flex: 1; padding: 12px; font-size: 14px; font-weight: 600;
  color: var(--muted); transition: var(--transition); border-bottom: 3px solid transparent;
}
.stab.active { color: var(--gold); border-bottom-color: var(--gold); background: var(--white); }
.stab:hover { color: var(--dark); }

.search-bar {
  display: flex; align-items: center; padding: 16px; gap: 12px;
}
.search-field {
  flex: 1; display: flex; align-items: center; gap: 8px;
  border-right: 1px solid var(--border); padding-right: 12px;
}
.search-field:last-of-type { border-right: none; }
.search-field .material-icons-round { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.search-field input, .search-field select {
  flex: 1; border: none; outline: none; font-family: var(--font-body);
  font-size: 14px; color: var(--dark); background: transparent;
  min-width: 0;
}
.search-field select { cursor: pointer; }
.search-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: var(--transition); flex-shrink: 0;
}
.search-btn:hover { background: var(--teal-light); transform: scale(1.02); }

/* Hero Stats */
.hero-stats {
  display: flex; justify-content: center; gap: 48px;
}
.stat { text-align: center; }
.stat-num {
  display: block; font-family: var(--font-head);
  font-size: 36px; color: var(--gold-light); font-weight: 700; line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; }

/* ── Areas Section ────────────────────────────────────────── */
.areas-section { padding: 100px 0; background: var(--bg); }
.areas-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px;
}
.area-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transition: var(--transition);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.area-card:hover::before { transform: scaleX(1); }
.area-card .material-icons-round { font-size: 32px; color: var(--teal); margin-bottom: 10px; }
.area-card h4 { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.area-card span { font-size: 12px; color: var(--muted); }
.area-featured { border-color: var(--gold-light); }

/* ── Property Cards ─────────────────────────────────────────  */
.listing-tabs { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.ltab {
  padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600;
  border: 2px solid var(--border); color: var(--muted); transition: var(--transition);
}
.ltab.active, .ltab:hover { border-color: var(--teal); background: var(--teal); color: var(--white); }

.listings-section { padding: 100px 0; }
.properties-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px;
}
.property-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition); cursor: pointer;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .card-img img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-rent { background: var(--teal); color: var(--white); }
.badge-sale { background: var(--gold); color: var(--white); }
.card-featured {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.6); color: var(--gold-light);
  padding: 4px 10px; border-radius: 30px; font-size: 11px; font-weight: 700;
}
.card-save {
  position: absolute; bottom: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--transition); color: var(--muted);
}
.card-save.saved { color: var(--danger); }
.card-save:hover { transform: scale(1.1); }

.card-body { padding: 20px; }
.card-price {
  font-family: var(--font-head); font-size: 22px;
  color: var(--gold); font-weight: 700; margin-bottom: 6px;
}
.card-price-note { font-size: 12px; font-weight: 400; color: var(--muted); }
.card-title { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.card-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--muted); margin-bottom: 14px;
}
.card-location .material-icons-round { font-size: 16px; color: var(--gold); }
.card-specs {
  display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.spec {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--muted);
}
.spec .material-icons-round { font-size: 17px; color: var(--teal); }

.no-results { text-align: center; padding: 60px 20px; color: var(--muted); }
.no-results .material-icons-round { font-size: 64px; color: var(--border); margin-bottom: 16px; display: block; }

/* ── Skeleton Loader ─────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Why Us ─────────────────────────────────────────────── */
.why-section { padding: 100px 0; background: var(--gold-pale); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text .eyebrow { margin-bottom: 12px; }
.why-text h2 { font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 40px); color: var(--dark); margin-bottom: 16px; }
.why-text h2 em { color: var(--gold); font-style: normal; }
.why-text > p { color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.why-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.wf { display: flex; align-items: flex-start; gap: 14px; }
.wf .material-icons-round { color: var(--gold); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.wf strong { display: block; color: var(--dark); font-weight: 600; margin-bottom: 2px; }
.wf p { font-size: 14px; color: var(--muted); }

.why-visual {
  position: relative; height: 400px;
}
.why-card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-md); text-align: center;
  width: 150px; border-top: 3px solid var(--gold);
}
.why-card .material-icons-round { font-size: 32px; color: var(--teal); margin-bottom: 8px; }
.why-card strong { display: block; color: var(--dark); font-weight: 700; font-size: 15px; }
.why-card p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.wc1 { top: 20px; left: 40px; transform: rotate(-3deg); }
.wc2 { top: 20px; right: 30px; transform: rotate(3deg); }
.wc3 { bottom: 40px; left: 20px; transform: rotate(2deg); }
.wc4 { bottom: 40px; right: 50px; transform: rotate(-2deg); }
.why-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--teal); color: var(--white); width: 120px; height: 120px;
  border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; text-align: center; gap: 4px;
  box-shadow: 0 0 0 8px var(--gold-pale), 0 0 0 16px rgba(184,134,11,.2);
}
.why-badge .material-icons-round { color: var(--gold-light); font-size: 24px; }

/* ── News Section ─────────────────────────────────────────── */
.news-section { padding: 100px 0; background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; margin-bottom: 40px; }
.news-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 24px; }
.news-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--muted); margin-bottom: 10px;
}
.news-date { display: flex; align-items: center; gap: 4px; }
.news-date .material-icons-round { font-size: 15px; }
.news-card h3 { font-family: var(--font-head); font-size: 18px; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-card h3 a:hover { color: var(--gold); }
.news-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.news-read-more { display: inline-flex; align-items: center; gap: 4px; color: var(--teal); font-size: 13px; font-weight: 600; margin-top: 14px; }
.news-read-more .material-icons-round { font-size: 16px; transition: transform .2s; }
.news-read-more:hover .material-icons-round { transform: translateX(4px); }

.news-nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); font-size: 14px; font-weight: 600; color: var(--muted);
  transition: var(--transition);
}
.nav-btn:not(:disabled):hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.news-pages { display: flex; gap: 6px; }
.page-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); transition: var(--transition); cursor: pointer;
}
.page-dot.active { background: var(--gold); transform: scale(1.3); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--teal) 0%, #0d3038 100%);
  border-radius: var(--radius-lg); padding: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; overflow: hidden;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); color: var(--white); margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,.7); font-size: 16px; margin-bottom: 28px; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-decoration { position: relative; flex-shrink: 0; }
.cta-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.c1 { width: 160px; height: 160px; top: -40px; right: -20px; }
.c2 { width: 260px; height: 260px; top: -90px; right: -70px; }
.cta-icon { font-size: 80px; color: rgba(255,255,255,.15); position: relative; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand > p { font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-social .material-icons-round { font-size: 18px; }

.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact .material-icons-round { font-size: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-districts { margin-top: 16px; }
.footer-districts small { color: rgba(255,255,255,.4); font-size: 12px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Toast ───────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500;
  min-width: 280px; max-width: 380px;
  animation: slideIn .3s ease; background: var(--white); color: var(--dark);
  border-left: 4px solid var(--info);
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast .material-icons-round { font-size: 20px; }
.toast.success .material-icons-round { color: var(--success); }
.toast.error   .material-icons-round { color: var(--danger); }
.toast.warning .material-icons-round { color: var(--warning); }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(100px); } }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px;
  color: var(--dark); transition: var(--transition); background: var(--white);
  outline: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,74,82,.1); }
.form-control.error { border-color: var(--danger); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
.form-control.error + .form-error { display: block; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; }
.input-group .form-control { padding-left: 44px; }
.input-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); cursor: pointer; }

/* ── Auth Pages ──────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; background: var(--bg); }
.auth-side {
  flex: 1; background: linear-gradient(145deg, var(--teal) 0%, #0d3038 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 60px;
  position: relative; overflow: hidden;
}
.auth-side::after {
  content: ''; position: absolute; inset: 0; opacity: .05;
  background-image: 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='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.auth-side-content { position: relative; z-index: 1; }
.auth-side h2 { font-family: var(--font-head); font-size: 36px; color: var(--white); margin-bottom: 16px; line-height: 1.3; }
.auth-side h2 em { color: var(--gold-light); font-style: normal; }
.auth-side p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; }
.auth-features { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.auth-feat { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.8); font-size: 15px; }
.auth-feat .material-icons-round { color: var(--gold-light); }

.auth-form-wrap {
  width: 520px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.auth-card {
  width: 100%; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-xl); padding: 48px 40px;
}
.auth-header { text-align: center; margin-bottom: 36px; }
.auth-header .brand { justify-content: center; color: var(--dark); margin-bottom: 20px; }
.auth-header h2 { font-family: var(--font-head); font-size: 26px; color: var(--dark); margin-bottom: 6px; }
.auth-header p { font-size: 14px; color: var(--muted); }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--teal); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 13px; color: var(--muted); }

/* ── Admin Layout ────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; background: #f0f4f8; }
.admin-sidebar {
  width: 260px; flex-shrink: 0; background: var(--dark);
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 200;
  overflow-y: auto; padding-bottom: 20px;
}
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-header .brand { color: var(--white); }
.admin-nav { padding: 16px 0; }
.admin-nav-group { margin-bottom: 8px; }
.admin-nav-label { padding: 8px 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.3); }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; color: rgba(255,255,255,.65); font-size: 14px; font-weight: 500;
  transition: var(--transition); border-left: 3px solid transparent;
}
.admin-nav-item:hover { background: rgba(255,255,255,.07); color: var(--white); }
.admin-nav-item.active { background: rgba(184,134,11,.15); color: var(--gold-light); border-left-color: var(--gold); }
.admin-nav-item .material-icons-round { font-size: 20px; }
.admin-nav-badge {
  margin-left: auto; background: var(--danger); color: var(--white);
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}

.admin-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; }
.admin-topbar {
  background: var(--white); padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.admin-topbar h1 { font-size: 20px; font-weight: 700; color: var(--dark); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.admin-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.admin-content { padding: 32px; flex: 1; }

/* Admin Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 16px;
}
.stat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon .material-icons-round { font-size: 24px; }
.si-gold   { background: rgba(184,134,11,.12); color: var(--gold); }
.si-teal   { background: rgba(26,74,82,.12); color: var(--teal); }
.si-green  { background: rgba(56,161,105,.12); color: var(--success); }
.si-red    { background: rgba(229,62,62,.12); color: var(--danger); }
.stat-info .label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.stat-info .value { font-size: 28px; font-weight: 700; color: var(--dark); line-height: 1; }
.stat-info .change { font-size: 12px; margin-top: 4px; color: var(--success); }

/* Admin Table */
.admin-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-header { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.table-header h3 { font-size: 16px; font-weight: 700; color: var(--dark); }
.table-filters { display: flex; gap: 10px; align-items: center; }
.filter-select {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--dark); outline: none; cursor: pointer;
}
table { width: 100%; border-collapse: collapse; }
thead th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--border); }
tbody td { padding: 14px 16px; font-size: 14px; color: var(--body); border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg); }

.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.sb-active   { background: rgba(56,161,105,.12); color: var(--success); }
.sb-pending  { background: rgba(214,158,46,.12); color: var(--warning); }
.sb-rejected { background: rgba(229,62,62,.12); color: var(--danger); }
.sb-expired  { background: rgba(113,128,150,.12); color: var(--muted); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: var(--transition); cursor: pointer;
}
.page-btn:hover, .page-btn.active { background: var(--teal); color: var(--white); border-color: var(--teal); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius);
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  transform: translateY(-20px); transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { padding: 24px 28px 0; display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-family: var(--font-head); font-size: 22px; color: var(--dark); }
.modal-close { color: var(--muted); transition: color .2s; }
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 24px 28px 28px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid    { grid-template-columns: 1fr; }
  .why-visual  { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .search-bar { flex-direction: column; align-items: stretch; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
  .search-field:last-of-type { border-bottom: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .auth-page { flex-direction: column; }
  .auth-side { display: none; }
  .auth-form-wrap { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .properties-grid, .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Utility */
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--muted); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.hidden { display: none !important; }
