/* ============================================================
   GramProfile Real Estate — Premium Design System
   Inspired by Rajasthan's terracotta, sandstone & desert hues
   gram.sadulpur.in | Sadulpur (Rajgarh), Churu 331023
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand — Rajasthan earth palette */
  --c-forest:   #1B6B4A;   /* deep forest green — trust, stability */
  --c-sage:     #2E8B62;   /* medium green */
  --c-mint:     #4CAF85;   /* light accent */
  --c-sand:     #C8924A;   /* sandstone amber */
  --c-terracotta: #B85C38; /* Rajasthan terracotta */
  --c-dust:     #E8DDD0;   /* warm off-white */
  --c-stone:    #8B7355;   /* stone grey-brown */

  /* Surfaces */
  --bg-primary:   #FDFAF6;
  --bg-secondary: #F5F0E8;
  --bg-tertiary:  #EDE5D8;
  --bg-card:      #FFFFFF;
  --bg-dark:      #1A1612;

  /* Text */
  --text-primary:   #1A1612;
  --text-secondary: #5C4F3D;
  --text-muted:     #9B8E7E;
  --text-hint:      #BDB0A0;

  /* Borders */
  --border-soft:    rgba(139,115,85,0.12);
  --border-medium:  rgba(139,115,85,0.22);
  --border-strong:  rgba(139,115,85,0.4);

  /* Typography */
  --font-display: 'DM Serif Display', serif;
  --font-body:    'DM Sans', 'Noto Sans Devanagari', sans-serif;

  /* Spacing */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(26,22,18,0.06), 0 1px 2px rgba(26,22,18,0.04);
  --shadow-md:  0 4px 16px rgba(26,22,18,0.08), 0 2px 6px rgba(26,22,18,0.05);
  --shadow-lg:  0 12px 40px rgba(26,22,18,0.12), 0 4px 12px rgba(26,22,18,0.06);
  --shadow-card:0 2px 8px rgba(26,22,18,0.07), 0 0 0 1px rgba(139,115,85,0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary:   #1A1612;
    --bg-secondary: #221E18;
    --bg-tertiary:  #2A241C;
    --bg-card:      #241F18;
    --text-primary:   #F0EAE0;
    --text-secondary: #C4B8A8;
    --text-muted:     #8A7E6E;
    --text-hint:      #5A4E3E;
    --border-soft:    rgba(200,180,150,0.08);
    --border-medium:  rgba(200,180,150,0.15);
    --border-strong:  rgba(200,180,150,0.28);
    --shadow-card:    0 2px 8px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,180,150,0.07);
  }
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a   { color: var(--c-sage); }
select, input, textarea, button { font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.re-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }

/* ============================================================
   HEADER
   ============================================================ */
.re-header {
  background: rgba(253,250,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky; top: 0; z-index: 200;
}
@media (prefers-color-scheme: dark) {
  .re-header { background: rgba(26,22,18,0.92); }
}
.re-header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 20px; height: 64px; gap: 8px;
}
.re-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.re-logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-sage) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; color: #fff;
  letter-spacing: -0.5px;
}
.re-logo-text .brand {
  font-family: var(--font-display); font-size: 17px;
  color: var(--text-primary); letter-spacing: -0.3px; line-height: 1.2;
}
.re-logo-text .tagline { font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }

.re-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.re-nav a {
  padding: 7px 13px; font-size: 13.5px; font-weight: 400;
  text-decoration: none; color: var(--text-secondary);
  border-radius: var(--radius-md); transition: all .15s;
}
.re-nav a:hover { background: var(--bg-secondary); color: var(--text-primary); }
.re-nav a.active { color: var(--c-forest); font-weight: 500; }

.re-nav-cta {
  margin-left: 8px; padding: 8px 18px;
  background: var(--c-forest); color: #fff !important;
  border-radius: var(--radius-md); font-size: 13.5px;
  font-weight: 500; text-decoration: none;
  transition: background .15s, transform .1s;
}
.re-nav-cta:hover { background: var(--c-sage) !important; transform: translateY(-1px); }

.re-topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px; color: var(--text-muted);
}
.re-topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 5px 20px;
  display: flex; justify-content: space-between;
}
.re-topbar a { color: var(--text-muted); text-decoration: none; }
.re-topbar a:hover { color: var(--c-forest); }

/* Mobile nav */
.re-hamburger {
  display: none; background: none; border: 1px solid var(--border-medium);
  cursor: pointer; padding: 8px; border-radius: var(--radius-sm);
  margin-left: auto; flex-direction: column; gap: 4px;
}
.re-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--text-secondary); border-radius: 2px; }

@media (max-width: 680px) {
  .re-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border-soft);
    flex-direction: column; align-items: stretch;
    padding: 10px 16px 14px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .re-nav.open { display: flex; }
  .re-nav a { padding: 11px 14px; font-size: 14px; }
  .re-nav-cta { margin-left: 0; margin-top: 4px; text-align: center; }
  .re-hamburger { display: flex; }
  .re-header { position: relative; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.re-hero {
  padding: 64px 20px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  margin: 0 -20px 40px;
  position: relative; overflow: hidden;
}
.re-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(27,107,74,0.05) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(200,146,74,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.re-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-sand); background: rgba(200,146,74,0.1);
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(200,146,74,0.2); margin-bottom: 20px;
}
.re-hero h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px);
  color: var(--text-primary); line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.re-hero h1 em { font-style: italic; color: var(--c-forest); }
.re-hero p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

.re-search-box {
  display: flex; gap: 0; max-width: 640px; margin: 0 auto 28px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.search-input {
  flex: 1; padding: 14px 18px; border: none; outline: none;
  font-size: 14px; background: transparent; color: var(--text-primary);
}
.search-input::placeholder { color: var(--text-hint); }
.btn-search {
  padding: 12px 24px; background: var(--c-forest); color: #fff;
  border: none; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.btn-search:hover { background: var(--c-sage); }

.hero-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.hero-stat-item { text-align: center; }
.hero-stat-num { font-family: var(--font-display); font-size: 28px; color: var(--c-forest); line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.re-filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 16px 20px; background: var(--bg-card);
  border-radius: var(--radius-lg); border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.re-filter-bar select,
.re-filter-bar input[type=text] {
  padding: 8px 12px; border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); font-size: 13px;
  background: var(--bg-secondary); color: var(--text-primary);
  transition: border-color .15s;
}
.re-filter-bar select:focus,
.re-filter-bar input:focus { outline: none; border-color: var(--c-sage); }

.view-toggle {
  display: flex; border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); overflow: hidden; margin-left: auto;
}
.view-toggle a {
  padding: 8px 14px; font-size: 13px; text-decoration: none;
  color: var(--text-muted); background: var(--bg-secondary); transition: all .15s;
}
.view-toggle a.active { background: var(--c-forest); color: #fff; }

/* Mode pills */
.mode-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.mode-pill {
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--border-medium); background: var(--bg-card);
  color: var(--text-secondary); cursor: pointer; text-decoration: none; transition: all .15s;
}
.mode-pill:hover, .mode-pill.active {
  border-color: var(--c-forest); background: var(--c-forest); color: #fff;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-family: var(--font-display); font-size: 24px; color: var(--text-primary); letter-spacing: -0.02em; }
.section-link  { font-size: 13px; color: var(--c-sage); text-decoration: none; }

/* ============================================================
   PROPERTY GRID
   ============================================================ */
.re-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.no-results { grid-column: 1/-1; text-align: center; padding: 80px 20px; color: var(--text-muted); }
.no-results p { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }

/* ============================================================
   PROPERTY CARD — Premium
   ============================================================ */
.re-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  cursor: pointer;
}
.re-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(139,115,85,0.1);
}
.re-card.is-featured {
  border-color: rgba(200,146,74,0.35);
  box-shadow: var(--shadow-card), 0 0 0 2px rgba(200,146,74,0.15);
}

/* Card image */
.card-img-wrap {
  display: block; position: relative;
  height: 200px; overflow: hidden;
  background: var(--bg-tertiary);
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.re-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-no-img {
  height: 100%; display: flex; align-items: center;
  justify-content: center; color: var(--text-hint); font-size: 13px;
  background: repeating-linear-gradient(
    45deg, var(--bg-tertiary), var(--bg-tertiary) 4px,
    var(--bg-secondary) 4px, var(--bg-secondary) 8px
  );
}

/* Badges on image */
.card-badges {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.mode-badge {
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: #fff;
  backdrop-filter: blur(4px);
}
.mode-sell     { background: rgba(27,107,74,0.9); }
.mode-buy      { background: rgba(37,95,165,0.9); }
.mode-rent     { background: rgba(133,79,11,0.9); }
.mode-rentreq  { background: rgba(83,74,183,0.9); }

.badge-featured {
  padding: 4px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.05em;
  background: rgba(200,146,74,0.92); color: #fff;
  backdrop-filter: blur(4px);
}
.badge-new {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 8px; border-radius: 5px;
  background: rgba(184,92,56,0.9); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
}

/* Card body */
.card-body { padding: 16px 18px 18px; }
.card-type-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.card-type {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--c-sage);
}
.card-doc-badge {
  font-size: 10px; font-weight: 500; padding: 2px 7px; border-radius: 4px;
}
.badge-verified { background: rgba(27,107,74,0.1); color: var(--c-forest); }
.badge-partial  { background: rgba(200,146,74,0.12); color: var(--c-sand); }
.badge-disputed { background: rgba(184,92,56,0.1); color: var(--c-terracotta); }

.card-title {
  font-family: var(--font-display); font-size: 17px;
  color: var(--text-primary); line-height: 1.3;
  margin-bottom: 5px; letter-spacing: -0.01em;
}
.card-title a { text-decoration: none; color: inherit; }
.card-title a:hover { color: var(--c-forest); }

.card-location {
  font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 4px;
}
.card-location::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c-sage); flex-shrink: 0;
}

.card-divider { height: 1px; background: var(--border-soft); margin-bottom: 14px; }

.card-price-row { display: flex; justify-content: space-between; align-items: flex-end; }
.card-price {
  font-family: var(--font-display); font-size: 22px;
  color: var(--c-forest); letter-spacing: -0.02em; line-height: 1;
}
.card-price-unit { font-size: 12px; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.card-area { font-size: 13px; color: var(--text-secondary); }
.card-area strong { font-weight: 500; color: var(--text-primary); }

.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-soft);
}
.card-stats { font-size: 11.5px; color: var(--text-hint); }
.btn-enquiry {
  padding: 7px 16px; background: var(--c-forest); color: #fff;
  border-radius: var(--radius-md); font-size: 12.5px; font-weight: 500;
  text-decoration: none; transition: all .15s;
}
.btn-enquiry:hover { background: var(--c-sage); transform: translateY(-1px); }

/* ============================================================
   MAP VIEW
   ============================================================ */
.re-map-container {
  height: 600px; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
}
#reMap { width: 100%; height: 100%; }

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.re-detail-wrap { padding-top: 24px; }
.breadcrumb {
  font-size: 12.5px; color: var(--text-muted); margin-bottom: 24px;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-forest); }
.breadcrumb span { opacity: .4; }

.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .detail-layout { grid-template-columns: 1fr; } }

/* Gallery */
.photo-gallery { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 20px; background: var(--bg-tertiary); }
.gallery-main  { position: relative; height: 380px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex; gap: 8px; padding: 10px;
  background: var(--bg-secondary); overflow-x: auto;
}
.gallery-thumbs img {
  width: 76px; height: 58px; object-fit: cover; border-radius: var(--radius-md);
  cursor: pointer; opacity: .6; border: 2px solid transparent; flex-shrink: 0; transition: .15s;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--c-forest); }
.no-photo-placeholder {
  height: 340px; display: flex; align-items: center;
  justify-content: center; color: var(--text-hint); font-size: 14px;
}

/* Detail card */
.detail-card {
  background: var(--bg-card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft); padding: 28px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-badge {
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.detail-title {
  font-family: var(--font-display); font-size: 28px;
  color: var(--text-primary); line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.detail-title-en { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.detail-price {
  font-family: var(--font-display); font-size: 36px;
  color: var(--c-forest); letter-spacing: -0.03em; margin-bottom: 28px; line-height: 1;
}
.detail-price small { font-size: 16px; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; margin-left: 4px; }

/* Specs */
.specs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: var(--bg-secondary); border-radius: var(--radius-lg);
  padding: 18px; margin-bottom: 24px;
}
@media (max-width: 500px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-item { }
.spec-item .spec-label { font-size: 11px; color: var(--text-hint); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 3px; }
.spec-item .spec-val   { font-size: 14px; color: var(--text-primary); font-weight: 500; }
.spec-wide { grid-column: span 2; }

/* Desc tabs */
.desc-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.desc-tabs button {
  padding: 6px 16px; border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); background: var(--bg-secondary);
  color: var(--text-muted); cursor: pointer; font-size: 13px; transition: .15s;
}
.desc-tabs button.active { background: var(--c-forest); color: #fff; border-color: var(--c-forest); }
#desc-hi, #desc-en { font-size: 14.5px; line-height: 1.8; color: var(--text-secondary); }

.share-row { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.share-row span { font-size: 13px; color: var(--text-muted); }
.btn-wa-share {
  padding: 8px 18px; background: #25D366; color: #fff;
  border-radius: var(--radius-md); font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background .15s;
}
.btn-wa-share:hover { background: #20b858; }
.detail-meta-footer { font-size: 12px; color: var(--text-hint); padding-top: 14px; border-top: 1px solid var(--border-soft); }

/* ---- Enquiry Box ---- */
.enquiry-box {
  background: var(--bg-card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft); padding: 24px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.enquiry-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.broker-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-forest), var(--c-sage));
  color: #fff; font-family: var(--font-display); font-size: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.broker-name   { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.broker-sub    { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.broker-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--c-forest); background: rgba(27,107,74,0.08);
  padding: 2px 8px; border-radius: 4px; margin-top: 3px;
}

.seller-hidden-note {
  background: rgba(27,107,74,0.06); border: 1px solid rgba(27,107,74,0.15);
  border-radius: var(--radius-md); padding: 10px 14px;
  font-size: 12.5px; color: var(--c-forest); margin-bottom: 16px; line-height: 1.6;
}

.re-input {
  padding: 10px 14px; border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); font-size: 14px; width: 100%;
  background: var(--bg-secondary); color: var(--text-primary); transition: border-color .15s;
}
.re-input:focus { outline: none; border-color: var(--c-sage); background: var(--bg-card); }
textarea.re-input { resize: vertical; }
.enquiry-form  { display: flex; flex-direction: column; gap: 10px; }

.btn-enquiry-submit {
  padding: 12px; background: var(--c-forest); color: #fff; border: none;
  border-radius: var(--radius-md); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .15s, transform .1s; width: 100%;
}
.btn-enquiry-submit:hover { background: var(--c-sage); transform: translateY(-1px); }

.btn-wa-direct {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; background: #25D366; color: #fff;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background .15s;
}
.btn-wa-direct:hover { background: #20b858; }

.enquiry-note { font-size: 11.5px; color: var(--text-hint); margin-top: 12px; line-height: 1.6; text-align: center; }
.enquiry-success { background: rgba(27,107,74,0.06); border: 1px solid rgba(27,107,74,0.2); border-radius: var(--radius-md); padding: 16px; text-align: center; margin-bottom: 14px; }
.enquiry-error   { background: rgba(184,92,56,0.08); border: 1px solid rgba(184,92,56,0.2); border-radius: var(--radius-md); color: var(--c-terracotta); padding: 10px 14px; margin-bottom: 12px; font-size: 13px; }
.btn-wa-full     { display: block; background: #25D366; color: #fff; padding: 11px; border-radius: var(--radius-md); text-decoration: none; font-size: 14px; margin-top: 10px; text-align: center; font-weight: 500; }
.btn-outline     { display: inline-block; padding: 9px 20px; border: 1px solid var(--border-medium); border-radius: var(--radius-md); color: var(--text-secondary); text-decoration: none; font-size: 13px; transition: .15s; }
.btn-outline:hover { background: var(--bg-secondary); }

/* Similar listings */
.similar-box { background: var(--bg-card); border-radius: var(--radius-xl); border: 1px solid var(--border-soft); padding: 20px; box-shadow: var(--shadow-sm); }
.similar-box h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 14px; letter-spacing: -0.01em; }
.sim-card { display: flex; gap: 12px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--border-soft); transition: .15s; }
.sim-card:last-child { border-bottom: none; padding-bottom: 0; }
.sim-card:hover { opacity: .8; }
.sim-card img { width: 68px; height: 52px; object-fit: cover; border-radius: var(--radius-md); flex-shrink: 0; }
.sim-title { font-size: 13px; color: var(--text-primary); line-height: 1.4; font-weight: 500; margin-bottom: 4px; }
.sim-price { font-size: 13px; color: var(--c-forest); font-weight: 600; }

/* ============================================================
   POST FORM
   ============================================================ */
.post-wrap  { max-width: 780px; margin: 0 auto; padding: 28px 0 80px; }
.post-title { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; margin-bottom: 6px; }
.post-sub   { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }

.form-section {
  background: var(--bg-card); border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft); padding: 24px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.form-section h3 {
  font-family: var(--font-display); font-size: 18px; margin-bottom: 20px;
  color: var(--text-primary); letter-spacing: -0.01em;
  padding-bottom: 12px; border-bottom: 1px solid var(--border-soft);
}
.form-section h3 span { font-size: 13px; color: var(--text-hint); font-family: var(--font-body); font-style: normal; margin-left: 8px; font-weight: 400; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.form-group label small { font-weight: 400; color: var(--text-hint); }
.form-hint { font-size: 12px; color: var(--text-hint); margin-bottom: 14px; }
.checkbox-label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; cursor: pointer; color: var(--text-secondary); }

.mode-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
@media (max-width: 500px) { .mode-selector { grid-template-columns: 1fr; } }
.mode-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg); cursor: pointer; font-size: 13.5px;
  color: var(--text-secondary); transition: all .15s; background: var(--bg-secondary);
}
.mode-opt:has(input:checked) {
  border-color: var(--c-forest); background: rgba(27,107,74,0.06); color: var(--c-forest);
}
.mode-opt input { margin: 0; accent-color: var(--c-forest); }

.photo-upload-area {
  border: 2px dashed var(--border-medium); border-radius: var(--radius-lg);
  padding: 36px; text-align: center; color: var(--text-muted); margin-bottom: 14px;
  background: var(--bg-secondary); transition: border-color .15s;
}
.photo-upload-area:hover { border-color: var(--c-sage); }
.btn-upload {
  padding: 9px 22px; background: var(--bg-card); border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); cursor: pointer; font-size: 14px;
  color: var(--text-secondary); margin-bottom: 8px; transition: .15s;
}
.btn-upload:hover { background: var(--bg-tertiary); }
.photo-preview-row { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-row    { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.btn-add-doc {
  padding: 8px 16px; border: 1px dashed var(--c-sage); color: var(--c-sage);
  background: transparent; border-radius: var(--radius-md); cursor: pointer; font-size: 13px; transition: .15s;
}
.btn-add-doc:hover { background: rgba(27,107,74,0.05); }

.private-badge {
  font-size: 11px; background: rgba(200,146,74,0.1); color: var(--c-sand);
  padding: 2px 9px; border-radius: 4px; font-weight: 500; margin-left: 8px;
  border: 1px solid rgba(200,146,74,0.2);
}
.privacy-note {
  font-size: 12.5px; color: var(--text-muted); background: var(--bg-secondary);
  padding: 12px 16px; border-radius: var(--radius-md); margin-top: 10px;
  line-height: 1.7; border-left: 3px solid var(--c-sage); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.form-errors { background: rgba(184,92,56,0.06); border: 1px solid rgba(184,92,56,0.2); color: var(--c-terracotta); border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 18px; font-size: 13px; line-height: 2; }

.btn-submit-listing {
  width: 100%; padding: 15px; background: var(--c-forest); color: #fff;
  border: none; border-radius: var(--radius-lg); font-size: 16px;
  font-weight: 500; cursor: pointer; margin-top: 10px; transition: all .15s;
  letter-spacing: 0.01em;
}
.btn-submit-listing:hover { background: var(--c-sage); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.post-success { text-align: center; background: var(--bg-card); border-radius: var(--radius-xl); border: 1px solid var(--border-soft); padding: 48px 28px; box-shadow: var(--shadow-sm); }
.success-icon { font-size: 56px; color: var(--c-forest); margin-bottom: 20px; }
.post-success h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; letter-spacing: -0.02em; }
.post-success p  { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.re-footer { background: var(--bg-dark); color: #8A7E6E; margin-top: 80px; }
.re-footer-inner { max-width: 1200px; margin: 0 auto; padding: 52px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-mark { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--c-forest), var(--c-sage)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; color: #fff; }
.footer-brand-name { font-family: var(--font-display); font-size: 16px; color: #E8DDD0; }
.footer-brand p { line-height: 1.8; font-size: 13px; margin-bottom: 14px; }
.footer-wa { color: #4CAF85; text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-wa:hover { color: #6CCF9E; }
.footer-links h4 { font-size: 11px; font-weight: 600; color: #C4B8A8; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links a  { display: block; color: #6A5E4E; text-decoration: none; padding: 4px 0; font-size: 13px; transition: color .15s; }
.footer-links a:hover { color: #4CAF85; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #4A3E2E; }

/* ============================================================
   UTILITY
   ============================================================ */
.btn-post {
  padding: 9px 20px; background: var(--c-forest); color: #fff;
  border-radius: var(--radius-md); font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.btn-post:hover { background: var(--c-sage); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.re-card { animation: fadeUp .3s ease both; }
.re-card:nth-child(2) { animation-delay: .05s; }
.re-card:nth-child(3) { animation-delay: .1s; }
.re-card:nth-child(4) { animation-delay: .15s; }
.re-card:nth-child(5) { animation-delay: .2s; }
.re-card:nth-child(6) { animation-delay: .25s; }
