/* ============================================================
   Gautam Realtech — design system
   Architectural / estate-agency: ink, bone, single brass accent.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --ink:        #12161A;
  --ink-2:      #1C2228;
  --body:       #4C555C;
  --muted:      #8B949B;
  --bone:       #FBFAF8;
  --bone-2:     #F2EFEA;
  --line:       #E3DED6;
  --line-2:     #D3CCC1;
  --brass:      #9A7434;
  --brass-lt:   #C9A462;
  --white:      #FFFFFF;

  --display: 'Marcellus', 'Times New Roman', serif;
  --sans: 'Barlow', -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1280px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --r: 2px;

  --sh-1: 0 1px 2px rgba(18,22,26,.04), 0 6px 18px -8px rgba(18,22,26,.12);
  --sh-2: 0 2px 6px rgba(18,22,26,.06), 0 24px 48px -20px rgba(18,22,26,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--ink);
}

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* small caps label — the workhorse of the whole layout */
.label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
  display: block;
}
.label--light { color: var(--brass-lt); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .88rem; letter-spacing: .05em;
  text-transform: uppercase; padding: .95rem 1.7rem; border: 1px solid transparent;
  border-radius: var(--r); cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--brass); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--brass); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .7rem 1.2rem; font-size: .78rem; }
.btn-block { width: 100%; }

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(251,250,248,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(18,22,26,.05); }
.nav-in { display: flex; align-items: center; gap: 2.2rem; height: 78px; }

.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 30px; height: 30px; flex: none; border: 1px solid var(--brass);
  display: grid; place-items: center; position: relative;
}
.logo-mark::after {
  content: ""; width: 10px; height: 10px; border: 1.5px solid var(--brass);
  border-bottom: 0; border-right: 0; transform: rotate(45deg) translate(1px,1px);
}
.logo b, .logo span {
  font-family: var(--display); font-size: 1.16rem; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1;
}
.logo b { color: var(--ink); }
.logo span { color: var(--brass); }

.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--body); padding: .4rem 0; position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: flex; gap: .55rem; align-items: center; }
.burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,13,16,.93) 0%, rgba(10,13,16,.64) 42%, rgba(10,13,16,.30) 100%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding: 5rem 0 0; color: #fff; }
.hero-in .label { color: var(--brass-lt); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.1rem); max-width: 16ch; margin-bottom: 1.3rem; }
.hero .lede { color: rgba(255,255,255,.82); font-size: 1.06rem; max-width: 52ch; margin: 0 0 2.2rem; font-weight: 300; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.hero-cta .tel { font-family: var(--display); font-size: 1.25rem; color: #fff; letter-spacing: .02em; margin-left: .6rem; }
.hero-cta .tel:hover { color: var(--brass-lt); }

.hero-strip {
  position: relative; z-index: 2; margin-top: 3.6rem;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-strip div { padding: 1.35rem 1.4rem 1.5rem; border-right: 1px solid rgba(255,255,255,.14); }
.hero-strip div:first-child { padding-left: 0; }
.hero-strip div:last-child { border-right: 0; }
.hero-strip b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1.1; }
.hero-strip span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------------- search bar ---------------- */
.searchbar {
  background: var(--white); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: stretch;
  box-shadow: var(--sh-1); margin: -2.9rem auto 0; position: relative; z-index: 5;
}
.sfield { padding: .95rem 1.3rem; border-right: 1px solid var(--line); }
.sfield label {
  display: block; font-size: .62rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .25rem; font-weight: 600;
}
.sfield input, .sfield select {
  width: 100%; border: 0; background: transparent; font-family: var(--sans);
  font-size: .95rem; font-weight: 500; color: var(--ink); outline: none; appearance: none; padding: 0;
}
.searchbar .btn { border-radius: 0; padding-inline: 2.2rem; }

/* ---------------- sections ---------------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.sec-head { margin-bottom: 3rem; max-width: 62ch; }
.sec-head h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.sec-head p { color: var(--body); margin: 0; font-weight: 300; font-size: 1.07rem; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; flex-wrap: wrap; }
.sec-head.row > div { max-width: 60ch; }

.band { background: var(--ink); color: rgba(255,255,255,.78); }
.band h2, .band h3 { color: #fff; }
.band .sec-head p { color: rgba(255,255,255,.62); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* numbered approach columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.col { padding: 2.4rem 2rem 2.4rem 0; border-right: 1px solid rgba(255,255,255,.14); }
.col:last-child { border-right: 0; padding-right: 0; }
.col:not(:first-child) { padding-left: 2rem; }
.col .n { font-family: var(--display); font-size: .95rem; color: var(--brass-lt); letter-spacing: .1em; }
.col h3 { font-size: 1.4rem; margin: 1.2rem 0 .7rem; }
.col p { margin: 0; font-size: .94rem; color: rgba(255,255,255,.62); font-weight: 300; }

/* ---------------- property cards ---------------- */
.filters { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.filter {
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 1.4rem; border: 0; border-bottom: 2px solid transparent; background: none;
  color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; margin-bottom: -1px;
}
.filter:first-child { padding-left: 0; }
.filter:hover { color: var(--ink); }
.filter.active { color: var(--ink); border-bottom-color: var(--brass); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card:hover { transform: translateY(-3px); }
.card:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }

.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bone-2); }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.card:hover .card-media > img { transform: scale(1.045); }
.card-tag {
  position: absolute; top: .7rem; left: .7rem; background: rgba(18,22,26,.88); color: #fff;
  font-size: .6rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  padding: .38rem .7rem; border-radius: 999px; z-index: 4; backdrop-filter: blur(4px);
}
.card-bhk {
  position: absolute; bottom: .85rem; right: .85rem; background: rgba(255,255,255,.94); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; padding: .35rem .75rem;
  border-radius: 999px; z-index: 4;
}
/* scrim keeps the price legible over a bright photo */
.card-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(10,13,16,.78), rgba(10,13,16,.28) 45%, rgba(10,13,16,0));
}
.card-rent {
  position: absolute; bottom: .75rem; left: .9rem; z-index: 4; color: #fff;
  font-family: var(--display); font-size: 1.62rem; line-height: 1; letter-spacing: .01em;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.card-rent small {
  font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,.82); margin-left: .25rem;
}

/* gallery */
.card-media.has-gallery img { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.card-media.has-gallery img.on { opacity: 1; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 1.2rem; line-height: 1; display: grid; place-items: center; opacity: 0; transition: opacity .22s, background .2s;
}
.gal-nav { border-radius: 50%; }
.gal-nav.prev { left: .55rem; } .gal-nav.next { right: .55rem; }
.card:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
.gal-nav:hover { background: #fff; }
.gal-dots { position: absolute; top: .8rem; right: .8rem; z-index: 4; display: flex; gap: .28rem; }
.gal-dots i { width: 5px; height: 5px; background: rgba(255,255,255,.6); box-shadow: 0 0 4px rgba(0,0,0,.5); transition: .25s; }
.gal-dots i.on { background: #fff; width: 16px; }
@media (hover: none) { .gal-nav { opacity: 1; } }

.card-body { padding: 1.15rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; gap: .3rem; }
.card-price { font-family: var(--display); font-size: 1.55rem; color: var(--ink); line-height: 1; }
.card-price small { font-family: var(--sans); font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .03em; }
.card h3 {
  font-size: 1.12rem; margin: 0; line-height: 1.28;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .loc {
  display: flex; align-items: center; flex-wrap: wrap; gap: .3rem;
  font-size: .84rem; letter-spacing: .01em; text-transform: none; color: var(--body); font-weight: 400;
}
.card .loc svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--brass); stroke-width: 1.7; }
.card .loc b { font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.card .loc span::before { content: "·"; margin-right: .3rem; color: var(--line-2); }
.card-specs {
  margin: .55rem 0 0; padding-top: .6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .35rem .95rem;
  font-size: .88rem; color: var(--body); font-weight: 400;
}
.card-specs span { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.card-specs svg { width: 15px; height: 15px; flex: none; color: var(--brass); }
.card .btn-block { margin-top: auto; padding: .85rem; font-size: .8rem; border-radius: 10px; }

.empty {
  padding: 3.5rem 1.5rem; text-align: center; color: var(--body); grid-column: 1 / -1;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 300;
}
.empty p { max-width: 52ch; margin-inline: auto; }
.empty .btn { cursor: pointer; }

/* ---------------- locality tiles ---------------- */
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.loc-card { background: var(--white); padding: 1.8rem 1.7rem; transition: background .25s; display: block; }
.loc-card:hover { background: var(--bone-2); }
.loc-card h4 { font-size: 1.2rem; margin-bottom: .45rem; }
.loc-card p { margin: 0; font-size: .84rem; color: var(--muted); font-weight: 300; }
.loc-card .rng { font-size: .8rem; color: var(--brass); font-weight: 600; margin-top: .8rem; letter-spacing: .03em; }

.rentbands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }

/* ---------------- enquiry block ---------------- */
.enquire { display: grid; grid-template-columns: 1.05fr .95fr; }
.enquire-copy { background: var(--ink); color: rgba(255,255,255,.75); padding: clamp(2.4rem, 5vw, 4rem); }
.enquire-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.enquire-copy p { font-weight: 300; }
.enquire-copy ul { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .85rem; }
.enquire-copy li { display: flex; gap: .8rem; font-size: .93rem; color: rgba(255,255,255,.72); font-weight: 300; }
.enquire-copy li::before { content: "—"; color: var(--brass-lt); flex: none; }
.enquire-form { background: var(--bone-2); padding: clamp(2.4rem, 5vw, 4rem); display: grid; align-content: center; gap: .8rem; }
.enquire-form h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.enquire-form p.sub { margin: 0 0 1.1rem; font-size: .9rem; color: var(--body); font-weight: 300; }

.owner-form input, .owner-form select, .enquire-form input, .enquire-form select {
  width: 100%; padding: .95rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r);
  font-family: var(--sans); font-size: .93rem; background: var(--white); color: var(--ink); outline: none;
  transition: border-color .2s;
}
.owner-form input:focus, .owner-form select:focus,
.enquire-form input:focus, .enquire-form select:focus { border-color: var(--brass); }
.owner-form { display: grid; gap: .8rem; }
.form-note { font-size: .78rem; color: var(--muted); margin: .2rem 0 0; }
.form-ok { color: var(--brass); font-weight: 600; }

.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .79rem; color: var(--body); line-height: 1.5; margin: .3rem 0; }
.consent input { width: auto; margin-top: .25rem; accent-color: var(--brass); flex: none; }
.consent a { color: var(--brass); text-decoration: underline; }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.15rem;
  padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq p { color: var(--body); font-size: 1rem; margin: 0 0 1.4rem; max-width: 72ch; font-weight: 300; }

/* ---------------- prose ---------------- */
.prose h3 { font-size: 1.35rem; margin: 2.4rem 0 .7rem; }
.prose p { color: var(--body); font-size: 1.02rem; font-weight: 300; }
.prose > p:first-of-type { font-size: 1.06rem; }

/* ---------------- disclaimer ---------------- */
.disclaimer {
  border: 1px solid var(--line); border-left: 2px solid var(--brass); background: var(--white);
  padding: 1.1rem 1.4rem; font-size: .88rem; color: var(--body); font-weight: 300; line-height: 1.6;
  margin-top: 2.5rem;
}
.disclaimer strong { color: var(--ink); font-weight: 600; }

/* ---------------- page head (listing page) ---------------- */
.crumbs { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 1.2rem; }
.crumbs a:hover { color: var(--brass); }
.page-head { padding: .8rem 0 1.4rem; }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 .35rem; }
.page-head .head-sub {
  margin: 0; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.page-head .head-sub [data-live-count] { color: var(--brass); font-weight: 700; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .7rem 0 1.1rem; }
.toolbar .count { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toolbar .count b { color: var(--ink); }
.toolbar select {
  font-family: var(--sans); font-size: .82rem; font-weight: 600; padding: .55rem 1rem;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); color: var(--ink); cursor: pointer;
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chips b { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chip { font-size: .8rem; padding: .45rem .95rem; border: 1px solid var(--line-2); color: var(--body); transition: .22s; background: var(--white); }
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------------- footer ---------------- */
footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 4.5rem 0 2rem; }
footer .logo b { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem 2rem; }
footer h5 {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-lt); margin: 0 0 1.2rem; font-weight: 600;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .92rem; font-weight: 300; }
footer a:hover { color: #fff; }
footer .blurb { font-size: .93rem; max-width: 36ch; margin: 1.2rem 0 0; font-weight: 300; line-height: 1.65; }
footer .tel-big { font-family: var(--display); font-size: 1.4rem; color: #fff; display: inline-block; margin-top: 1rem; letter-spacing: .02em; }
footer .tel-big:hover { color: var(--brass-lt); }
.foot-bot {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; font-size: .77rem; font-weight: 300;
}

/* ---------------- legal pages ---------------- */
.legal { padding: 3.5rem 0 5rem; max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .5rem; }
.legal .updated { color: var(--muted); font-size: .82rem; margin: 0 0 2.4rem; letter-spacing: .04em; }
.legal h2 { font-size: 1.3rem; margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: var(--body); font-size: 1rem; font-weight: 300; }
.legal ul { padding-left: 1.1rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--brass); text-decoration: underline; }
.legal .box { background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--brass); padding: 1.3rem 1.5rem; margin: 1.8rem 0; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

.callbar { display: none; }

/* ============================================================
   Floating contact (left) + chat assistant (right)
   ============================================================ */
.gr-dock { position: fixed; bottom: 1.15rem; z-index: 90; font-family: var(--sans); }
.gr-dock-left  { left: 1.15rem;  display: flex; flex-direction: column; gap: .6rem; }
.gr-dock-right { right: 1.15rem; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }

/* --- round contact buttons --- */
.gr-fab {
  width: 52px; height: 52px; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #fff; position: relative; border-radius: 50%; box-shadow: 0 6px 20px rgba(18,22,26,.26);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gr-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 26px rgba(18,22,26,.32); }
.gr-wa  { background: #25D366; }
.gr-tel { background: var(--brass); }

/* hover label that slides out of the left dock */
.gr-tip {
  position: absolute; left: calc(100% + .6rem); top: 50%; transform: translateY(-50%) translateX(-6px);
  background: var(--ink); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  padding: .4rem .7rem; border-radius: 3px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.gr-tip::before {
  content: ""; position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: var(--ink);
}
.gr-fab:hover .gr-tip, .gr-fab:focus-visible .gr-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* --- chat launcher --- */
.gr-launch {
  position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(18,22,26,.34); transition: transform .22s ease, background .22s ease;
}
.gr-launch:hover { transform: translateY(-2px) scale(1.04); background: #1d242b; }
.gr-launch-face { display: grid; place-items: center; grid-area: 1 / 1; }
.gr-launch-face > svg { grid-area: 1 / 1; transition: opacity .25s ease, transform .3s ease; }
/* the panel header already has a close button — a second X on the launcher
   reads as two ways to do the same thing, so the launcher keeps its chat icon */
.gr-ico-x { display: none; }
.gr-widget.gr-open .gr-launch { background: var(--brass); }

/* pulse rings — stop once the panel is open */
.gr-pulse, .gr-pulse::after {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brass-lt);
  animation: grPulse 2.6s cubic-bezier(.24,.6,.35,1) infinite; pointer-events: none;
}
.gr-pulse::after { content: ""; inset: -2px; animation-delay: 1.3s; }
@keyframes grPulse {
  0%   { transform: scale(1);   opacity: .75; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.gr-widget.gr-open .gr-pulse { display: none; }

.gr-badge {
  position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: #C0392B; color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--bone); z-index: 2;
}
.gr-widget.gr-open .gr-badge { display: none; }

/* --- teaser bubble --- */
.gr-teaser {
  position: relative; max-width: 232px; background: var(--white); border: 1px solid var(--line-2);
  border-radius: 12px 12px 3px 12px; padding: .85rem 1rem; box-shadow: var(--sh-2); cursor: pointer;
  animation: grTeaser .4s cubic-bezier(.2,.8,.3,1) both;
}
.gr-teaser strong { display: block; font-size: .87rem; color: var(--ink); line-height: 1.35; margin-bottom: .2rem; }
.gr-teaser span { display: block; font-size: .78rem; color: var(--body); font-weight: 300; line-height: 1.45; }
.gr-teaser-x {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--white); color: var(--muted);
  font-size: 1rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.gr-teaser-x:hover { color: var(--ink); }
@keyframes grTeaser { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* --- panel --- */
.gr-panel[hidden] { display: none !important; }
.gr-panel {
  padding: 0; /* the panel is a <section>; cancel the global section padding */
  position: absolute; right: 0; bottom: calc(100% + .8rem); width: min(92vw, 380px);
  max-height: min(74vh, 600px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 24px 60px -18px rgba(18,22,26,.42);
  animation: grPop .3s cubic-bezier(.2,.8,.3,1);
}
@keyframes grPop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.gr-head { display: flex; align-items: center; gap: .8rem; padding: .95rem 1.1rem; background: var(--ink); color: #fff; }
.gr-avatar {
  position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--brass);
  color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: .84rem; letter-spacing: .06em;
}
.gr-online {
  position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%;
  background: #2ecc71; border: 2px solid var(--ink);
}
.gr-head strong { display: block; font-size: .92rem; font-weight: 600; letter-spacing: .02em; }
.gr-head span { display: flex; align-items: center; gap: .35rem; font-size: .71rem; color: rgba(255,255,255,.62); }
.gr-dot { width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; display: inline-block; }
.gr-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .7; }
.gr-close:hover { opacity: 1; }

.gr-log { flex: 1 1 auto; min-height: 150px; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .55rem; background: var(--bone); }
.gr-msg { max-width: 85%; padding: .7rem .95rem; font-size: .92rem; line-height: 1.5; white-space: pre-line; animation: grIn .3s ease both; }
@keyframes grIn { from { opacity: 0; transform: translateY(6px); } }
.gr-bot { background: var(--white); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; align-self: flex-start; color: var(--ink); }
.gr-me  { background: var(--ink); color: #fff; border-radius: 12px 12px 3px 12px; align-self: flex-end; }

.gr-typing { display: flex; gap: 4px; align-items: center; }
.gr-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: grBlink 1.1s infinite; }
.gr-typing i:nth-child(2) { animation-delay: .16s; }
.gr-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes grBlink { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }

.gr-actions { flex: 0 0 auto; padding: .8rem 1.1rem 0; display: flex; flex-wrap: wrap; gap: .4rem; background: var(--bone); }
.gr-opt {
  font-family: var(--sans); font-size: .87rem; font-weight: 500; padding: .55rem .95rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer;
  transition: .2s; text-align: left;
}
.gr-opt:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.gr-opt-wa { border-color: #25D366; color: #15803d; }
.gr-opt-wa:hover { background: #25D366; border-color: #25D366; color: #fff; }

.gr-inputrow { display: flex; gap: .4rem; width: 100%; }
.gr-inputrow input {
  flex: 1; padding: .7rem .95rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--sans); font-size: 16px; background: var(--white); outline: none;
}
.gr-inputrow input:focus { border-color: var(--brass); }
.gr-inputrow button { width: 42px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.05rem; cursor: pointer; flex: none; }
.gr-err { width: 100%; margin: .15rem 0 0; font-size: .75rem; color: #C0392B; }

.gr-consent { width: 100%; display: grid; gap: .55rem; }
.gr-consent a { color: var(--brass); text-decoration: underline; }
.gr-send {
  width: 100%; padding: .8rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .09em;
  text-transform: uppercase; cursor: pointer; transition: .2s;
}
.gr-send:hover:not(:disabled) { background: var(--brass); }
.gr-send:disabled { background: var(--line-2); color: var(--muted); cursor: not-allowed; }
.gr-fineprint { margin: 0; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.gr-foot { padding: .8rem 1.1rem .9rem; font-size: .72rem; color: var(--muted); background: var(--bone); text-align: center; }
.gr-foot a { color: var(--brass); font-weight: 600; }


/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .cards, .locs, .cols, .rentbands { grid-template-columns: repeat(2, 1fr); }
  .col:nth-child(2) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .enquire { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .sfield:nth-child(2) { border-right: 0; }
  .searchbar .btn { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav-in { height: 66px; gap: 1rem; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 0 var(--gut); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  /* push the whole action cluster to the right edge */
  .nav-cta { margin-left: auto; gap: .45rem; }
  .burger { display: block; order: 3; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: .6rem .85rem; font-size: .68rem; }
  .nav-links { text-align: center; }
  .nav-links a { justify-content: center; }

  .hero { min-height: 82vh; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip div { padding: 1rem 1rem 1.1rem; }
  .hero-strip div:nth-child(2) { border-right: 0; }
  .hero-strip div:nth-child(1), .hero-strip div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-strip div:nth-child(3) { padding-left: 0; }
  .hero-cta .tel { margin-left: 0; }

  .searchbar { grid-template-columns: 1fr; margin-top: -1.5rem; }
  .sfield { border-right: 0; border-bottom: 1px solid var(--line); }
  /* one card per row — a large photo does more selling than a second column */
  .cards { grid-template-columns: 1fr; gap: 1.1rem; }
  .card-media { aspect-ratio: 16 / 10; }
  .card-body { padding: .95rem 1rem 1.05rem; gap: .25rem; }
  .card-rent { font-size: 1.48rem; bottom: .65rem; left: .75rem; }
  .card h3 { font-size: 1.06rem; }
  .card .loc { font-size: .8rem; gap: .25rem; }
  .card .loc svg { width: 14px; height: 14px; }
  .card-specs { font-size: .84rem; margin-top: .5rem; padding-top: .5rem; gap: .3rem .8rem; }
  .card-specs svg { width: 14px; height: 14px; }
  .card .btn-block { margin-top: .75rem; padding: .9rem; font-size: .79rem; }

  .locs, .cols, .rentbands, .foot-grid { grid-template-columns: 1fr; }
  .col, .locs > * { border-right: 0; }
  .col { padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .col:not(:first-child) { padding-left: 0; }
  .filters { overflow-x: auto; flex-wrap: nowrap; }

  /* On phones the sticky bar already covers call + WhatsApp, so the left dock
     would just be a duplicate. Hide it and keep only the assistant. */
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    border-top: 1px solid var(--line);
  }
  .callbar a { padding: .95rem; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
  .callbar .c-call { background: var(--ink); color: #fff; }
  .callbar .c-wa { background: #25D366; color: #fff; }
  body { padding-bottom: 54px; }

  .gr-dock-left { display: none; }
  .gr-dock-right { right: .85rem; bottom: calc(54px + .85rem); }
  .gr-launch { width: 54px; height: 54px; }
  .gr-teaser { max-width: 210px; }

  /* full-screen conversation on phones — a small floating panel is cramped for
     typing, and the sticky bars steal what little height is left */
  .gr-panel {
    position: fixed; inset: 0; width: auto; max-width: none;
    max-height: none; height: 100%; height: 100dvh;
    border: 0; border-radius: 0; z-index: 130; animation: grSheet .28s cubic-bezier(.2,.8,.3,1);
  }
  .gr-head { padding: 1.1rem 1.2rem; padding-top: calc(1.1rem + env(safe-area-inset-top, 0px)); }
  .gr-head strong { font-size: 1.05rem; }
  .gr-head span { font-size: .82rem; }
  .gr-avatar { width: 42px; height: 42px; font-size: .95rem; }
  .gr-close { font-size: 2.1rem; padding: 0 .3rem; }
  .gr-log { padding: 1.2rem 1.2rem 1.4rem; gap: .7rem; }
  .gr-msg { max-width: 88%; font-size: 1.06rem; line-height: 1.55; padding: .85rem 1.05rem; }
  .gr-actions { padding: .95rem 1.2rem 0; gap: .5rem; }
  .gr-opt { font-size: 1rem; padding: .78rem 1.15rem; }
  .gr-inputrow input { padding: .95rem 1.15rem; font-size: 17px; }
  .gr-inputrow button { width: 50px; font-size: 1.25rem; }
  .gr-fineprint { font-size: .85rem; line-height: 1.5; }
  .gr-foot { font-size: .85rem; padding-bottom: calc(.9rem + env(safe-area-inset-bottom, 0px)); }
  .gr-typing i { width: 7px; height: 7px; }
  /* the floating buttons and sticky bar would sit on top of a full-screen chat */
  body.gr-chat-open .callbar,
  body.gr-chat-open .gr-launch,
  body.gr-chat-open .gr-dock-left { display: none; }
  body.gr-chat-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* business identity blocks */
.foot-addr {
  font-style: normal; font-size: .86rem; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,.6); margin-top: 1rem;
}
.legal-addr {
  font-style: normal; background: var(--white); border: 1px solid var(--line);
  border-left: 2px solid var(--brass); padding: 1.1rem 1.4rem; margin: 1.4rem 0;
  font-size: .93rem; font-weight: 300; line-height: 1.75; color: var(--body);
}
.legal-addr strong { color: var(--ink); font-weight: 600; }

/* ---------------- save (heart) + prompt ---------------- */
.card-save {
  position: absolute; top: .7rem; right: .7rem; z-index: 5;
  width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.92); display: grid; place-items: center; padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.card-save:hover { background: #fff; transform: scale(1.08); }
.card-save svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; transition: .2s; }
.card-save.on { background: #fff; }
.card-save.on svg { fill: #D64545; stroke: #D64545; }
.card-save.pop { animation: savePop .42s cubic-bezier(.2,.9,.3,1.4); }
@keyframes savePop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* dots move to the bottom centre, clear of price and BHK */
.gal-dots { position: absolute; bottom: .85rem; left: 50%; transform: translateX(-50%); top: auto; right: auto; }

.gr-toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 130%);
  z-index: 96; display: flex; align-items: center; gap: .9rem;
  background: var(--ink); color: #fff; padding: .75rem .8rem .75rem 1.1rem;
  border-radius: 999px; box-shadow: 0 12px 34px rgba(18,22,26,.4);
  font-size: .85rem; max-width: calc(100vw - 2rem);
  transition: transform .32s cubic-bezier(.2,.8,.3,1), opacity .32s ease; opacity: 0;
}
.gr-toast.in { transform: translate(-50%, 0); opacity: 1; }
.gr-toast b { font-weight: 600; }
.gr-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gr-toast button {
  flex: none; border: 0; border-radius: 999px; background: var(--brass); color: #fff; cursor: pointer;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; padding: .55rem 1rem;
}
.gr-toast button:hover { background: #b0873f; }

@media (max-width: 780px) {
  .card-save { width: 32px; height: 32px; top: .6rem; right: .6rem; }
  .gr-toast { bottom: calc(54px + .7rem); font-size: .8rem; padding-left: .95rem; }
}

/* ---------------- thank-you page ---------------- */
.ty { max-width: 640px; padding: clamp(3rem, 8vw, 5rem) 0 5rem; text-align: center; }
.ty-mark {
  width: 64px; height: 64px; margin: 0 auto 1.8rem; border-radius: 50%;
  background: var(--forest, #1E4638); background: #17452F; color: #fff;
  display: grid; place-items: center; animation: tyPop .5s cubic-bezier(.2,.9,.3,1.3) both;
}
.ty-mark svg { width: 30px; height: 30px; }
@keyframes tyPop { from { transform: scale(.4); opacity: 0; } }
.ty h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: .8rem; }
.ty-lead { color: var(--body); font-size: 1.1rem; font-weight: 300; margin: 0 auto 2.6rem; max-width: 46ch; }

.ty-next {
  text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.7rem; margin-bottom: 2.2rem;
}
.ty-next h2 {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: 1.1rem;
}
.ty-next ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .95rem; }
.ty-next li {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .98rem; color: var(--body); font-weight: 300; line-height: 1.55;
}
.ty-next li span {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bone-2);
  color: var(--ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; margin-top: .1rem;
}

.ty-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.ty-back { margin-top: 2.4rem; font-size: .85rem; }
.ty-back a { color: var(--muted); }
.ty-back a:hover { color: var(--ink); }

@media (max-width: 780px) {
  .ty { padding-top: 2.4rem; }
  .ty-cta .btn { width: 100%; }
}

/* ---------------- enquiry modal ---------------- */
.gr-modal[hidden] { display: none !important; }
.gr-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.2rem; }
.gr-modal-back {
  /* no backdrop-filter here: over a translucent layer it composites badly on
     some devices and can wash the whole dialog out */
  position: absolute; inset: 0; background: rgba(10,13,16,.66);
  opacity: 0; transition: opacity .24s ease;
}
.gr-modal.in .gr-modal-back { opacity: 1; }
.gr-modal-card {
  position: relative; width: min(100%, 400px); background: var(--white);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 2rem 1.8rem 1.6rem;
  box-shadow: 0 30px 70px -20px rgba(18,22,26,.5);
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .26s ease, transform .26s cubic-bezier(.2,.8,.3,1);
}
.gr-modal.in .gr-modal-card { opacity: 1; transform: none; }
.gr-modal-x {
  position: absolute; top: .7rem; right: .8rem; background: none; border: 0; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--muted); padding: .2rem .4rem;
}
.gr-modal-x:hover { color: var(--ink); }
.gr-modal-eyebrow {
  margin: 0 0 .3rem; font-size: .66rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--brass); font-weight: 600;
}
.gr-modal-card h3 { font-size: 1.5rem; margin: 0 0 .4rem; }
.gr-modal-prop {
  margin: 0 0 1.3rem; font-size: .9rem; color: var(--body); font-weight: 300;
  padding-left: .7rem; border-left: 2px solid var(--brass-lt);
}
.gr-modal-card form { display: grid; gap: .6rem; }
.gr-modal-card input {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 10px;
  font-family: var(--sans); font-size: 16px; background: var(--bone); color: var(--ink); outline: none;
  transition: border-color .2s, background .2s;
}
.gr-modal-card input:focus { border-color: var(--brass); background: var(--white); }
.gr-modal-err { margin: 0; font-size: .78rem; color: #C0392B; }
.gr-modal-card .btn-block { border-radius: 10px; margin-top: .2rem; }
.gr-modal-note { margin: .3rem 0 0; font-size: .76rem; color: var(--muted); line-height: 1.55; }
.gr-modal-note a { color: var(--brass); text-decoration: underline; }
.gr-modal-call {
  display: block; text-align: center; margin-top: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--line); font-size: .88rem; color: var(--body);
}
.gr-modal-call:hover { color: var(--brass); }

@media (max-width: 780px) {
  .gr-modal { align-items: flex-end; padding: 0; }
  .gr-modal-card {
    width: 100%; border-radius: 16px 16px 0 0; padding: 1.6rem 1.3rem 1.4rem;
    transform: translateY(100%); max-height: 92vh; overflow-y: auto;
  }
  .gr-modal.in .gr-modal-card { transform: none; }
}

/* availability pill — sits on the photo, under the tag badge */
.card-avail {
  position: absolute; top: 2.9rem; left: .7rem; z-index: 4;
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.95); color: #14713D;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .6rem .3rem .35rem; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(18,22,26,.18);
}
.card-avail svg { width: 15px; height: 15px; flex: none; }
.card-avail svg circle { fill: #1B8A4B; }
@media (max-width: 780px) {
  .card-avail { top: 2.7rem; left: .6rem; font-size: .68rem; }
  .card-avail svg { width: 14px; height: 14px; }
}
