/* =========================================================
   Govind Shri Properties — Land & Farmhouse Plots
   Design tokens
   ========================================================= */
:root {
  --pine-900: #14261C;
  --pine-800: #1C3829;
  --pine-700: #24462F;
  --pine-600: #33603F;
  --soil-700: #6B4425;
  --soil-500: #8A5A34;
  --gold-600: #B8860B;
  --gold-500: #C99A2E;
  --stone-100: #EDEAD9;
  --stone-50:  #F5F3E8;
  --paper:     #FBFAF3;
  --ink-900:   #1A1F16;
  --ink-700:   #3A3F33;
  --ink-500:   #656B58;
  --line:      #D8D3BC;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 4px;
  --shadow-card: 0 2px 0 var(--line), 0 10px 24px -18px rgba(20,38,28,0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--stone-100);
  color: var(--ink-900);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; color: var(--pine-900); }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { color: var(--ink-700); }

.mono { font-family: var(--font-mono); letter-spacing: .01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold-600); color: var(--paper); }
.btn-primary:hover { background: var(--gold-500); }
.btn-outline { border-color: var(--pine-800); color: var(--pine-800); background: transparent; }
.btn-outline:hover { background: var(--pine-800); color: var(--paper); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Topbar & Header ---------- */
.site-topbar { background: var(--pine-900); color: #E4E2CF; font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-contact a { margin-left: 14px; color: #E4E2CF; }
.topbar-contact a:hover { color: var(--gold-500); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--pine-900); }
.brand-mark { color: var(--gold-600); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.brand-sub { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-500); }
.brand-logo { max-height: 56px; width: auto; display: block; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--ink-700); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--pine-800); border-color: var(--gold-600); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--pine-900); }

/* ---------- Topographic motif (signature element) ---------- */
.contour-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 20%, var(--pine-700), var(--pine-900) 70%);
  color: #EFEDDD;
}
.contour-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 15% 30%, transparent 0, transparent 26px, rgba(201,154,46,.35) 27px, transparent 28px, transparent 54px),
    repeating-radial-gradient(circle at 85% 75%, transparent 0, transparent 34px, rgba(237,234,217,.18) 35px, transparent 36px, transparent 70px);
}
.contour-strip {
  height: 46px;
  background-image: repeating-radial-gradient(circle at 50% 220%, transparent 0, transparent 30px, var(--line) 31px, transparent 32px, transparent 62px);
  background-color: var(--stone-100);
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 96px; position: relative; }
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500);
  border: 1px solid rgba(201,154,46,.5); padding: 6px 12px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero-lede { color: #D8D5C0; font-size: 1.08rem; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-mono); font-size: 1.7rem; color: #fff; font-weight: 600; }
.hero-stat .label { font-size: .78rem; color: #B9B69E; text-transform: uppercase; letter-spacing: .07em; }

/* ---------- Quick filter bar ---------- */
.quick-filter {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px;
  margin-top: -54px; position: relative; z-index: 2; box-shadow: var(--shadow-card);
}
.quick-filter label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); display: block; margin-bottom: 5px; }
.quick-filter select, .quick-filter input {
  width: 100%; padding: 10px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .92rem; background: #fff; color: var(--ink-900);
}
.quick-filter .btn { align-self: end; height: 42px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soil-500); display: block; margin-bottom: 10px; }
.section-alt { background: var(--stone-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--pine-900); color: #E4E2CF; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #C4C1AA; }

/* ---------- Listing type tiles ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.type-card .icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.type-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.type-card p { font-size: .92rem; margin-bottom: 14px; }
.type-card a { font-weight: 600; color: var(--pine-800); font-size: .88rem; }

/* ---------- Listing / Property cards ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.listing-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.listing-thumb { position: relative; aspect-ratio: 4/3; background: var(--stone-100) center/cover no-repeat; }
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-badge {
  position: absolute; top: 12px; left: 12px; background: var(--pine-900); color: #fff;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 100px;
}
.listing-badge.status-sold { background: var(--soil-700); }
.listing-badge.status-hold { background: var(--gold-600); }
.listing-featured { position: absolute; top: 12px; right: 12px; background: var(--gold-600); color: #fff; font-size: .68rem; padding: 5px 9px; border-radius: 100px; font-weight: 600; }
.listing-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.listing-type-tag { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--soil-500); }
.listing-body h3 { font-size: 1.12rem; margin: 0; }
.listing-loc { font-size: .85rem; color: var(--ink-500); }
.listing-stats {
  display: flex; justify-content: space-between; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  padding: 10px 0; font-family: var(--font-mono); font-size: .82rem; margin-top: 4px;
}
.listing-stats .stat-label { color: var(--ink-500); display: block; font-size: .65rem; text-transform: uppercase; }
.listing-price { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; color: var(--pine-800); margin-top: auto; }
.listing-cta { display: flex; gap: 8px; margin-top: 10px; }
.listing-cta .btn { flex: 1; padding: 9px 12px; font-size: .85rem; }

/* ---------- Filters sidebar (properties page) ---------- */
.properties-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.filter-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.filter-panel h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-500); margin: 18px 0 8px; }
.filter-panel h4:first-child { margin-top: 0; }
.filter-panel select, .filter-panel input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); }
.filter-panel .price-row { display: flex; gap: 8px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .9rem; color: var(--ink-500); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-500); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-mono); font-size: .85rem; }
.pagination a:hover { background: var(--pine-800); color: #fff; border-color: var(--pine-800); }
.pagination .current { background: var(--pine-900); color: #fff; border-color: var(--pine-900); }

/* ---------- Property detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail-gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--stone-100); margin-bottom: 10px; }
.detail-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-gallery-thumbs img { width: 84px; height: 60px; object-fit: cover; border-radius: 3px; cursor: pointer; border: 2px solid transparent; }
.detail-gallery-thumbs img.active { border-color: var(--gold-600); }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 28px 0 6px; }
.detail-price { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--pine-800); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 11px 6px; font-size: .92rem; }
.spec-table td:first-child { color: var(--ink-500); width: 46%; }
.spec-table td:last-child { font-weight: 600; font-family: var(--font-mono); }
.record-stamp {
  border: 1.5px dashed var(--soil-500); border-radius: var(--radius); padding: 16px 18px;
  font-family: var(--font-mono); font-size: .8rem; color: var(--soil-700); margin: 22px 0; background: rgba(138,90,52,.05);
}

.enquiry-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.enquiry-card h3 { font-size: 1.1rem; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; color: var(--ink-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .92rem; background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* ---------- Why us / process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-item { position: relative; padding-top: 44px; }
.process-item::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 1.6rem; color: var(--gold-500); display: block; margin-bottom: 8px;
}
.process-item h4 { font-size: 1.02rem; color: #fff; }
.process-item p { font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold-600); color: #fff; padding: 54px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 26px; }
.cta-band .btn-primary { background: var(--pine-900); }
.cta-band .btn-primary:hover { background: var(--pine-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-900); color: #C4C1AA; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 46px 24px 30px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; font-family: var(--font-body); }
.footer-col a, .footer-col p { display: block; font-size: .88rem; margin-bottom: 9px; color: #C4C1AA; }
.footer-col a:hover { color: var(--gold-500); }
.footer-brand .brand-name { color: #fff; font-family: var(--font-display); font-size: 1.15rem; display: block; margin-bottom: 12px; }
.footer-readmore { color: var(--gold-500); font-weight: 600; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 24px; font-size: .78rem; text-align: center; }

/* ---------- About / Contact pages ---------- */
.page-hero { background: var(--pine-900); color: #fff; padding: 56px 0; text-align: left; }
.page-hero h1 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.info-card h4 { font-size: .95rem; margin-bottom: 6px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 20px; }

.alert { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: #E4F0E6; color: var(--pine-800); border: 1px solid #B7D9BC; }
.alert-error { background: #FBE7E4; color: #8A3A2A; border: 1px solid #F0C0B7; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-filter { grid-template-columns: repeat(2, 1fr); }
  .properties-layout { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .type-grid, .listing-grid { grid-template-columns: 1fr; }
  .quick-filter { grid-template-columns: 1fr; margin-top: 20px; }
  .hero { padding: 56px 0 40px; }
  .process-list { grid-template-columns: 1fr; }
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 999;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.testimonial-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.testimonial-quote { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--ink-700); margin-bottom: 14px; }
.testimonial-name { font-weight: 600; color: var(--pine-900); font-size: .92rem; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 760px; margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--pine-900); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.3rem; color: var(--gold-600); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 18px; color: var(--ink-700); line-height: 1.6; margin: 0; }
