/* =========================================================
   KEYSTONE REALTY — independent realtor template (Bengaluru)
   Warm cream, deep slate and brick; condensed Archivo headings
   with Figtree body text. Vanilla CSS, no framework.
   ========================================================= */

:root {
  --cream: #FBF7F1;
  --stone: #F1E9DE;
  --stone-2: #E4D8C8;
  --white: #FFFFFF;
  --slate: #1E2A30;
  --slate-2: #34444C;
  --muted: #5A6468;
  --brick: #B3472A;
  --brick-d: #8F3720;
  --ochre: #E2A84B;
  --sage: #7E9C8A;
  --line: rgba(30, 42, 48, .12);
  --line-2: rgba(30, 42, 48, .22);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 44px);
  --sp: clamp(68px, 8.5vw, 120px);
  --r: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 22px 44px -26px rgba(30, 42, 48, .45);
  --nav: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--slate);
  font-family: var(--body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.has-dialog { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--slate); color: var(--cream); padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 4px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn--brick { background: var(--brick); color: var(--white); }
.btn--brick:hover { background: var(--brick-d); transform: translateY(-2px); }
.btn--line { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--line:hover { background: var(--slate); color: var(--cream); }

.eyebrow { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin-bottom: .7rem; }
.eyebrow--light { color: var(--ochre); }

/* ---------- top bar + nav ---------- */
.topbar { background: var(--slate); color: #D9DFE1; font-size: .8rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; flex-wrap: wrap; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
.sep { margin-inline: .5rem; opacity: .6; }

.nav { position: sticky; top: 0; z-index: 80; background: rgba(251, 247, 241, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 2rem; height: var(--nav); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--slate); margin-right: auto; }
.brand__mark { width: 34px; height: 34px; }
.brand__t { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.45rem; letter-spacing: .01em; text-transform: uppercase; line-height: 1; }
.brand__t b { font-weight: 500; color: var(--brick); margin-left: .25rem; }
.brand--light { color: var(--cream); }
.brand--light .brand__t b { color: var(--ochre); }
.nav__menu ul { display: flex; gap: 1.7rem; }
.nav__menu a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav__menu a:hover { border-color: var(--brick); }
.nav__cta { padding: .7rem 1.1rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--slate); border-radius: 4px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--cream); transition: transform .3s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 3.5vw, 48px) 0 clamp(48px, 6vw, 84px); position: relative; }
.hero::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 47%; background: linear-gradient(180deg, #F6E4D2, var(--stone) 70%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .55rem; background: var(--white); border: 1px solid var(--line-2); border-radius: 99px; padding: .4rem .9rem; font-size: .85rem; font-weight: 600; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brick); }
.hero__t {
  font-family: var(--display); font-stretch: 72%; font-weight: 800;
  font-size: clamp(3rem, 7.4vw, 7.4rem); line-height: .9; letter-spacing: -.01em; text-transform: uppercase;
  margin: 1.3rem 0 1.2rem;
}
.hero__t span { color: var(--brick); }
.hero__lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--slate-2); max-width: 36em; }

.quick {
  margin-top: 1.8rem; display: grid; grid-template-columns: auto minmax(124px, 1fr) minmax(150px, 1.25fr) auto; gap: .8rem; align-items: end;
  background: var(--white); padding: .9rem; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.seg { display: inline-flex; background: var(--stone); border-radius: 6px; padding: 4px; align-self: stretch; }
.seg label { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; padding: 0 1rem; border-radius: 4px; font-weight: 700; font-size: .92rem; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--slate); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--brick); outline-offset: 1px; }
.quick__f { display: grid; gap: .2rem; }
.quick__f label, .filters__f label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-left: .2rem; }
select {
  appearance: none; -webkit-appearance: none; width: 100%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2A30' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .8rem center;
  border: 1px solid var(--line-2); border-radius: 5px; padding: .62rem 2rem .62rem .7rem; font-weight: 600; cursor: pointer;
}
select:disabled { opacity: .55; cursor: not-allowed; }
.quick__go { height: 46px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.6rem; font-size: .92rem; color: var(--muted); }
.hero__proof b { font-family: var(--display); font-stretch: 80%; font-size: 1.35rem; color: var(--slate); margin-right: .25rem; }

.hero__art { position: relative; }
.skyline { width: 100%; height: auto; max-height: 720px; margin-inline: auto; }
.feature {
  position: absolute; left: -4%; top: 14%; display: grid; gap: .1rem; text-align: left;
  background: var(--white); border: 0; border-radius: var(--r); padding: .9rem 1.1rem; box-shadow: var(--shadow); cursor: pointer;
  border-left: 5px solid var(--brick); transition: transform .25s var(--ease);
}
.feature:hover { transform: translateY(-3px); }
.feature__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brick); }
.feature__t { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.feature__p { font-weight: 700; display: flex; gap: .8rem; align-items: baseline; }
.feature__p span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.agentchip {
  position: absolute; right: 2%; bottom: 3%; display: flex; gap: .7rem; align-items: center;
  background: var(--slate); color: var(--cream); padding: .65rem 1rem .65rem .65rem; border-radius: 99px; box-shadow: var(--shadow); max-width: 300px;
}
.agentchip svg { width: 44px; height: 44px; flex: none; }
.agentchip p { display: grid; line-height: 1.25; font-size: .8rem; color: #CBD3D6; }
.agentchip b { color: var(--white); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: var(--sp) 0; scroll-margin-top: var(--nav); }
.section--stone { background: var(--stone); }
.section--slate { background: var(--slate); color: #DCE2E4; }
.shead { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.shead__t { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: .95; letter-spacing: -.005em; }
.shead__note { max-width: 30em; color: var(--muted); }

/* ---------- filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 1.2rem; padding: 1rem; margin-bottom: 1.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
}
.filters__mode { display: inline-flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.fbtn { border: 0; background: transparent; padding: .7rem 1.2rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.fbtn + .fbtn { border-left: 1px solid var(--line-2); }
.fbtn[aria-pressed="true"] { background: var(--slate); color: var(--cream); }
.fbtn:hover:not([aria-pressed="true"]) { background: var(--stone); }
.filters__f { display: grid; gap: .2rem; min-width: 170px; }
.filters__hint { font-size: .82rem; color: var(--muted); align-self: center; }
.filters__count { margin-left: auto; font-weight: 700; align-self: center; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card__art { position: relative; background: var(--sky); aspect-ratio: 16 / 10; }
.card__art svg { width: 100%; height: 100%; }
.tag { position: absolute; left: 12px; top: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 3px; }
.tag--buy { background: var(--brick); color: var(--white); }
.tag--rent { background: var(--slate); color: var(--cream); }
.card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card__loc { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card__t { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.45rem; text-transform: uppercase; line-height: 1.05; }
.card__price { font-weight: 800; font-size: 1.3rem; color: var(--brick-d); }
.card__price small { font-size: .82rem; font-weight: 600; color: var(--muted); }
.card__specs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.card__specs li { font-size: .8rem; background: var(--stone); padding: .2rem .55rem; border-radius: 3px; }
.card__btn {
  margin-top: auto; align-self: stretch; border: 2px solid var(--slate); background: transparent; border-radius: 4px;
  padding: .7rem 1rem; font-weight: 700; cursor: pointer; text-align: center; transition: background .2s, color .2s;
}
.card__btn:hover { background: var(--slate); color: var(--cream); }
.empty { text-align: center; padding: 2.4rem 1rem; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r); display: grid; gap: 1rem; justify-items: center; }

/* art palettes */
.art-a { --sky: linear-gradient(#F6D9C3, #FBF0E5); --sun: #F2C98A; --w1: #B3472A; --w2: #34444C; --w3: #E2A84B; --tree: #5F7D5B; --ground: #D9CBB6; --acc: #1E2A30; }
.art-b { --sky: linear-gradient(#D7E3DE, #F2F5EF); --sun: #F2C98A; --w1: #7E9C8A; --w2: #1E2A30; --w3: #E2A84B; --tree: #4E6B4C; --ground: #CFC6B4; --acc: #FBF7F1; }
.art-c { --sky: linear-gradient(#F3E1C1, #FBF6EC); --sun: #E9B970; --w1: #FBF7F1; --w2: #34444C; --w3: #B3472A; --tree: #5F7D5B; --ground: #D8C7AC; --acc: #1E2A30; }
.art-d { --sky: linear-gradient(#E4DDF0, #F6F2F8); --sun: #F0C38A; --w1: #E2A84B; --w2: #B3472A; --w3: #7E9C8A; --tree: #5F7D5B; --ground: #D3C9BA; --acc: #8F3720; }
.art-e { --sky: linear-gradient(#CFE0E6, #F1F5F3); --sun: #F2C98A; --w1: #F1E3CC; --w2: #B3472A; --w3: #7E9C8A; --tree: #4E6B4C; --ground: #CBBFA9; --acc: #34444C; }
.art-f { --sky: linear-gradient(#F6E2CF, #FCF4EA); --sun: #EFB77C; --w1: #34444C; --w2: #E2A84B; --w3: #B3472A; --tree: #5F7D5B; --ground: #D9CBB6; --acc: #1E2A30; }
.art-g { --sky: linear-gradient(#22323A, #4B5F68); --sun: #E2A84B; --w1: #8F3720; --w2: #FBF7F1; --w3: #7E9C8A; --tree: #3E5A44; --ground: #1E2A30; --acc: #E2A84B; }
.art-h { --sky: linear-gradient(#E6EDE0, #F7F8F1); --sun: #F2C98A; --w1: #B3472A; --w2: #F1E3CC; --w3: #34444C; --tree: #5F7D5B; --ground: #D3C9B6; --acc: #8F3720; }
.art-i { --sky: linear-gradient(#F0D3B8, #F9EADB); --sun: #FBF7F1; --w1: #7E9C8A; --w2: #FBF7F1; --w3: #34444C; --tree: #4E6B4C; --ground: #CDBB9F; --acc: #B3472A; }

/* ---------- EMI ---------- */
.emi { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, .95fr); gap: clamp(24px, 3.5vw, 52px); align-items: start; }
.emi__intro .shead__t { margin-bottom: 1rem; font-size: clamp(2rem, 3.3vw, 3rem); }
.emi__intro p { color: var(--slate-2); }
.emi__fine { margin-top: 1rem; font-size: .85rem; color: var(--muted) !important; border-left: 3px solid var(--ochre); padding-left: .8rem; }
.emi__calc { display: grid; gap: 1.6rem; background: var(--white); border-radius: var(--r); padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); }
.rng { display: grid; gap: .6rem; }
.rng__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.rng label { font-weight: 700; }
.rng output { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.3rem; color: var(--brick-d); white-space: nowrap; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--brick) 0 var(--pct, 50%), var(--stone-2) var(--pct, 50%) 100%);
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 4px solid var(--slate); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--slate); }
input[type="range"]:focus-visible { outline-offset: 6px; }
.emi__out { background: var(--slate); color: #DCE2E4; border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 1rem; box-shadow: var(--shadow); }
.emi__k { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ochre); }
.emi__big { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; color: var(--white); }
.emi__bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--slate-2); }
.emi__bar span { display: block; height: 100%; transition: width .4s var(--ease); }
#barP { background: var(--ochre); }
#barI { background: var(--brick); }
.emi__legend { display: grid; gap: .1rem; }
.emi__legend li { display: flex; align-items: center; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid rgba(220, 226, 228, .14); font-size: .92rem; }
.emi__legend b { margin-left: auto; color: var(--white); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--p { background: var(--ochre); }
.dot--i { background: #E06A48; }
.emi__out .btn { justify-self: start; margin-top: .4rem; }

/* ---------- agent ---------- */
.agent { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.agent__pic { position: relative; }
.agent__pic svg { width: 100%; height: auto; border-radius: var(--r); }
.agent__pic figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--cream); color: var(--slate); font-weight: 700; padding: .5rem .9rem; border-radius: 4px; font-size: .9rem; }
.agent__body .shead__t { color: var(--white); }
.agent__lede { margin-top: 1.1rem; font-size: 1.08rem; max-width: 38em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.stats li { border-top: 3px solid var(--ochre); padding-top: .8rem; display: grid; gap: .2rem; }
.stats b { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--white); }
.stats span { font-size: .85rem; line-height: 1.35; }
.promise { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.promise li { padding-left: 1.6rem; position: relative; }
.promise li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--brick); transform: rotate(45deg); }
.promise b { color: var(--white); }
.areas { border-top: 1px solid rgba(220, 226, 228, .18); padding-top: 1.2rem; }
.areas__k { font-weight: 700; color: var(--white); margin-bottom: .7rem; }
.areas__list { display: flex; flex-wrap: wrap; gap: .45rem; }
.areas__list li { border: 1px solid rgba(220, 226, 228, .35); border-radius: 99px; padding: .25rem .8rem; font-size: .85rem; }
.areas__lang { margin-top: .9rem; font-size: .88rem; color: #B5C0C4; }
.section--slate :focus-visible { outline-color: var(--ochre); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rev { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: grid; gap: 1rem; align-content: start; }
.rev--accent { background: var(--brick); color: var(--white); border-color: var(--brick); }
.stars { color: var(--ochre); letter-spacing: .15em; font-size: 1.1rem; }
.rev--accent .stars { color: #FFE0A8; }
.stars__off { color: var(--stone-2); }
.rev blockquote p { font-size: 1.05rem; }
.rev figcaption { display: grid; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.rev figcaption b { color: var(--slate); font-size: 1rem; }
.rev--accent figcaption { color: #FFF1EA; border-color: rgba(255, 255, 255, .3); }
.rev--accent figcaption b { color: var(--white); }

/* ---------- visit form ---------- */
.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.visit__intro .shead__t { margin-bottom: 1rem; }
.visit__intro > p { color: var(--slate-2); }
.visit__list { margin: 1.6rem 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.visit__list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; }
.visit__list span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: .15rem; }
.vform { background: var(--white); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); display: grid; gap: 1.1rem; box-shadow: var(--shadow); border-top: 6px solid var(--brick); }
.vform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fld { display: grid; gap: .35rem; align-content: start; }
.fld label, .fld legend { font-weight: 700; font-size: .9rem; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="date"], .fld textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--line-2); border-radius: 5px; padding: .7rem .8rem;
}
.fld select { background-color: var(--cream); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid rgba(179, 71, 42, .35); border-color: var(--brick); }
.fld [aria-invalid="true"] { border-color: #A32A12; background: #FCEEEA; }
.fld__e { color: #A32A12; font-size: .84rem; font-weight: 600; }
.fld__e:empty { display: none; }
.fld--radio { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.fld--radio legend { width: 100%; margin-bottom: .35rem; }
.fld--radio label { display: inline-flex; gap: .45rem; align-items: center; font-weight: 500; cursor: pointer; }
.fld--radio input { accent-color: var(--brick); width: 18px; height: 18px; }
.vform .btn { justify-self: start; }
.vform__status { font-weight: 600; }
.vform__status:empty { display: none; }

/* ---------- footer ---------- */
.foot { background: var(--slate); color: #C7D0D3; padding: clamp(48px, 6vw, 80px) 0 1.4rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; position: relative; }
.foot__grid::after { content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 1px; background: rgba(220, 226, 228, .16); }
.foot__blurb { margin-top: 1rem; max-width: 28em; }
.foot__links { display: grid; gap: .55rem; }
.foot__links a { text-decoration: none; overflow-wrap: anywhere; }
.foot__links a:hover { color: var(--ochre); }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; padding-top: 1.3rem; font-size: .85rem; }
.foot :focus-visible { outline-color: var(--ochre); }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F8A4C; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.wa:hover { transform: scale(1.06); }

/* ---------- dialog ---------- */
.dlg { padding: 0; border: 0; border-radius: 12px; width: min(920px, calc(100% - 24px)); max-height: calc(100% - 24px); background: var(--white); color: var(--slate); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.dlg::backdrop { background: rgba(20, 28, 32, .66); }
.dlg__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); position: relative; }
.dlg__art { position: relative; background: var(--sky); min-height: 100%; display: flex; align-items: center; }
.dlg__art svg { width: 100%; height: auto; }
.dlg__body { padding: clamp(20px, 3vw, 34px); display: grid; gap: .5rem; align-content: start; }
.dlg__t { font-family: var(--display); font-stretch: 78%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; padding-right: 2.6rem; }
.dlg__price { font-size: 1.5rem; font-weight: 800; color: var(--brick-d); }
.dlg__sub { font-size: .88rem; color: var(--muted); }
.dlg__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; margin: .6rem 0; border-top: 1px solid var(--line); }
.dlg__specs div { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.dlg__specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.dlg__specs dd { font-weight: 600; }
.dlg__desc { color: var(--slate-2); }
.dlg__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .4rem; }
.dlg__amen { display: flex; flex-wrap: wrap; gap: .4rem; }
.dlg__amen li { font-size: .82rem; background: var(--stone); padding: .22rem .6rem; border-radius: 3px; }
.dlg__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.dlg__actions .btn { padding: .7rem 1rem; font-size: .9rem; }
.dlg__x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--slate); color: var(--cream); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .emi { grid-template-columns: 1fr 1fr; }
  .emi__intro { grid-column: 1 / -1; max-width: 46em; }
  .quick { grid-template-columns: 1fr 1fr; }
  .seg { justify-self: start; }
  .quick__go { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav__cta { display: none; }
  .nav__menu { position: absolute; left: 0; right: 0; top: var(--nav); background: var(--cream); border-bottom: 3px solid var(--slate); padding: .5rem var(--gut) 1.2rem; display: none; }
  .nav__menu.is-open { display: block; }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .hero::before { display: none; }
  .hero__art { background: linear-gradient(180deg, #F6E4D2, var(--stone)); border-radius: 12px; padding: 18px 14px 0; overflow: hidden; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 620px; width: 100%; margin-inline: auto; }
  .feature { left: 0; }
  .grid, .reviews { grid-template-columns: 1fr 1fr; }
  .agent, .visit { grid-template-columns: 1fr; }
  .agent__pic { max-width: 380px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .filters__count { margin-left: 0; width: 100%; }
  .dlg__panel { grid-template-columns: 1fr; }
  .dlg__art { min-height: 0; }
}
@media (max-width: 680px) {
  .topbar__in p:first-child { display: none; }
  .grid, .reviews, .emi { grid-template-columns: 1fr; }
  .quick { grid-template-columns: 1fr; }
  .seg { justify-self: stretch; height: 46px; }
  .seg label { flex: 1; }
  .seg span { width: 100%; justify-content: center; }
  .vform__row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .filters__f { min-width: 0; flex: 1 1 140px; }
  .filters__mode { width: 100%; }
  .fbtn { flex: 1; }
  .feature { position: relative; left: auto; top: auto; margin: -8% 0 0 2%; width: max-content; max-width: 96%; }
  .agentchip { position: relative; right: auto; bottom: auto; margin: .8rem 0 14px; }
  .dlg__specs { grid-template-columns: 1fr; }
  .foot { padding-bottom: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
