:root {
  --green: #0A4D44;
  --laterite: #C7421E;
  --laterite-dark: #A5341A;
  --laterite-light: #F08A5D;
  --ink: #10201D;
  --ink-2: #24423C;
  --muted: #3F5E57;
  --mint: #DCEFE8;
  --mint-2: #A9CFC3;
  --paper: #F5F6F3;
  --line: #DDE3DF;
  --line-2: #B9C6C1;
  --white: #FFFFFF;
  --radius: 20px;
  --max: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ml: 'Anek Malayalam', 'Noto Sans Malayalam', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--laterite-light); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ml { font-family: var(--font-ml); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Logo */
.logo { display: inline-flex; align-items: baseline; gap: 0.22em; font-size: 30px; letter-spacing: -0.04em; line-height: 1; text-decoration: none; }
.logo .word { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 800; color: var(--green); }
.logo .o { width: 0.58em; height: 0.58em; }
.logo .sub { font-weight: 500; color: var(--muted); }
.logo.dark .word { color: var(--paper); }
.logo.dark .sub { color: var(--mint-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 0;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-green { background: var(--green); color: var(--paper); }
.btn-green:hover { background: #083D36; color: var(--paper); }
.btn-orange { background: var(--laterite); color: var(--white); }
.btn-orange:hover { background: var(--laterite-dark); color: var(--white); }
.btn-outline { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--mint); color: var(--green); }
.btn-pill { border-radius: 999px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; border-radius: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 600; }
.nav a { text-decoration: none; padding: 10px 0; color: var(--green); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.shortlist-link { position: relative; }
.count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: var(--laterite); color: var(--white); font-size: 12px; font-weight: 800; }
.count[hidden] { display: none; }

/* Sections */
section { padding: 72px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.035em; }
.lede { font-size: 18px; font-weight: 500; color: var(--muted); max-width: 560px; }
.tag { display: inline-block; background: var(--mint); color: var(--ink); font-size: 15px; font-weight: 700; border-radius: 999px; padding: 8px 16px; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-green { background: var(--green); color: var(--paper); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; color: var(--green); }
.hero .ml { font-size: 24px; line-height: 1.35; font-weight: 600; color: var(--ink-2); }
.hero-photo { position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; background: var(--mint); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-photo .strip { position: absolute; left: 20px; right: 20px; bottom: 20px; background: var(--white); border-radius: 16px; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-weight: 700; }
.hero-photo .strip span + span { font-weight: 600; color: var(--muted); }

/* Search panel */
.panel { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field select { height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 600; width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }

/* Steps / pillars */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 28px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-size: 15px; font-weight: 800; color: var(--laterite-dark); }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.step p, .pillar p { color: var(--muted); font-weight: 500; }
.pillar { border-top: 2px solid var(--laterite-light); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.pillar h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.band-green .pillar p { color: var(--mint); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-photo a { display: block; height: 100%; }
.badge { position: absolute; left: 14px; top: 14px; background: var(--green); color: var(--paper); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 6px 12px; }
.save { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.save svg { width: 20px; height: 20px; }
.save[aria-pressed="true"] { color: var(--laterite); }
.save[aria-pressed="true"] svg path { fill: currentColor; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.loc { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.loc svg { width: 16px; height: 16px; }
.card h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; }
.price strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--green); }
.price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.facts { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--paper); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.card-actions { margin-top: auto; padding-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card-actions .btn { font-size: 15px; padding: 0 10px; }
.empty { grid-column: 1 / -1; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* Listings page */
.page-head { padding: 48px 0 28px; }
.page-head h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: var(--green); }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 24px 0 18px; font-weight: 600; color: var(--muted); }

/* Property page */
.crumbs { padding: 24px 0 0; font-size: 15px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.prop { padding: 24px 0 72px; }
.prop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint); aspect-ratio: 4 / 3; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--mint); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--green); }
.prop-info { display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: 0.14em; color: var(--laterite-dark); text-transform: uppercase; }
.prop-info h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.04em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
.stat { border-top: 3px solid var(--green); padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: var(--green); }
.stat span { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-box { background: var(--green); color: var(--paper); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.price-box .label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--mint-2); text-transform: uppercase; }
.price-box .amount { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.price-box .unit { font-size: 18px; font-weight: 600; color: var(--mint); }
.price-box .btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.price-box .btn-light { background: var(--paper); color: var(--green); }
.price-box .btn-light:hover { background: var(--mint); color: var(--green); }
.price-box .btn-ghost { border: 1.5px solid var(--mint-2); color: var(--paper); background: transparent; }
.price-box .btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--paper); }
.price-box small { color: var(--mint-2); font-size: 14px; font-weight: 500; }
.ask { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ask h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ask ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ask a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 12px; background: var(--paper); font-weight: 600; text-decoration: none; color: var(--ink); }
.ask a:hover { background: var(--mint); }
.notice { font-size: 14px; color: var(--muted); }

/* CTA + footer */
.cta { background: var(--mint); border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-copy { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; min-width: 0; }
.cta .h2 { color: var(--green); }
.cta .ml { font-size: 21px; font-weight: 600; color: var(--ink-2); }
.cta p { font-size: 17px; font-weight: 500; color: var(--ink-2); }
.cta-action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-action > span { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.site-footer { background: var(--ink); color: var(--mint); }
.site-footer .wrap { padding-top: 52px; padding-bottom: 52px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; }
.site-footer p { color: var(--mint-2); font-size: 15px; font-weight: 500; max-width: 340px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 36px; font-weight: 600; }
.site-footer nav a { color: var(--mint); text-decoration: none; padding: 10px 0; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--mint-2); }
.site-footer address a { color: var(--paper); }
.foot-col { display: flex; flex-direction: column; gap: 12px; }

/* Floating WhatsApp on phones */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--paper); align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(16,32,29,0.25); }
.fab svg { width: 26px; height: 26px; }
@media (max-width: 720px) {
  .fab { display: flex; }
  .hero-photo { min-height: 380px; }
  .site-header { position: static; }
  section { padding: 56px 0; }
}
