/* Public site. Layout language from the reference: grey canvas, big rounded white/soft panels, red where the reference used charcoal. */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.page { position: relative; overflow-x: clip; padding: 12px 0 96px; }
@media (min-width: 1024px) { .page { padding-bottom: 48px; } }
.watermark { position: absolute; top: 140px; font: 800 220px/0.8 var(--font-ui); color: transparent; -webkit-text-stroke: 1.5px rgba(11,59,140,.06); writing-mode: vertical-rl; pointer-events: none; user-select: none; z-index: 0; letter-spacing: .02em; }
.watermark.l { left: -40px; transform: rotate(180deg); }
.watermark.r { right: -40px; top: 900px; }
@media (max-width: 1023px) { .watermark { display: none; } }
.page > *:not(.watermark) { position: relative; z-index: 1; }

.panel { background: var(--bg); border-radius: var(--radius-xl); padding: 24px 20px; }
.panel.soft { background: var(--panel-soft); }
@media (min-width: 768px) { .panel { padding: 48px; } }
@media (min-width: 1280px) { .panel { padding: 56px 64px; } }
.stack > * + * { margin-top: 20px; }
.section { margin-top: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; max-width: 18ch; margin: 0; }
.section-head .cap { color: var(--muted); font-size: 14px; max-width: 34ch; text-align: right; }
.center-title { text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 500; margin: 8px 0 32px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font: 600 13px/1.4 var(--font-body); color: var(--red); letter-spacing: .04em; text-transform: uppercase; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--border); }
.topbar.scrolled { border-bottom-color: var(--border); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand b { font: 600 21px/1 var(--font-head); display: block; color: var(--red); letter-spacing: .06em; text-transform: uppercase; }
.brand small { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--radius-pill); text-decoration: none; font: 500 15px/1 var(--font-body); color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-btn { font: 600 14px/1 var(--font-ta); padding: 10px 12px; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--border); }
.menu-btn { display: inline-grid; }
@media (min-width: 1100px) { .nav { display: flex; } .top-actions { margin-left: 8px; } .menu-btn { display: none; } }
@media (max-width: 640px) { .top-actions .btn-primary { display: none; } .brand small { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer .shade { position: absolute; inset: 0; background: rgba(15,23,42,.4); }
.drawer nav { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.drawer nav a { padding: 14px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 500; color: var(--ink); }
.drawer nav a:hover { background: var(--surface-2); }

/* Hero split panel */
.hero { display: grid; gap: 16px; }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 20px; } }
.hero-left { background: radial-gradient(120% 90% at 0% 0%, #FFFFFF 0%, #EEF3FB 70%); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px 20px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .hero-left { padding: 48px 52px; } }
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 500; max-width: 16ch; margin-top: 8px; }
html[lang="ta"] .hero h1 { font-size: clamp(26px, 3.4vw, 40px); }
.hero .sub { color: var(--muted); max-width: 44ch; font-size: 15px; }
.hero-search { display: grid; gap: 8px; margin: 22px 0 8px; background: var(--surface); border-radius: 24px; padding: 8px; box-shadow: var(--shadow); }
.hero-search select { min-width: 0; border: 0; min-height: 44px; padding: 8px 12px; font: 500 15px/1.2 var(--font-body); color: var(--ink); background: transparent; border-radius: 16px; }
.hero-search select:focus { background: var(--surface-2); }
@media (min-width: 640px) { .hero-search { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; border-radius: var(--radius-pill); align-items: center; } .hero-search select + select { border-left: 1px solid var(--border); border-radius: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 28px; }
.stat { background: var(--surface); border-radius: 20px; padding: 14px; }
.stat .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 12px; }
.stat b { display: block; font: 500 clamp(24px, 3vw, 34px)/1 var(--font-ui); color: var(--ink); }
.stat b sup { font-size: .5em; color: var(--muted); margin-left: 2px; }
.stat span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 6px; }
.hero-right { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 340px; background: #DDE1E6; }
.hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-pills { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pill-float { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); font: 600 14px/1 var(--font-body); box-shadow: var(--shadow); }
.pill-float:hover { background: var(--surface); color: var(--red); }
.hero-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.95); color: var(--text); box-shadow: var(--shadow); border-radius: 18px; padding: 12px 16px; max-width: 280px; font-size: 13px; }
.hero-tag b { display: block; color: var(--ink); font-size: 15px; }

/* Why block: illustration + stacked red cards */
.why { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .why { grid-template-columns: 1fr 1fr; gap: 56px; } }
.why h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 500; max-width: 16ch; }
.why .art { margin-top: 20px; color: #B9C0CA; }
.red-cards { display: grid; gap: 12px; }
.red-card { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: 22px; background: var(--red-deep); color: var(--on-red); }
.red-card .thumb { width: 76px; height: 76px; border-radius: 16px; background: var(--surface); color: var(--red); display: grid; place-items: center; }
.red-card b { display: block; font: 600 17px/1.3 var(--font-ui); margin-bottom: 4px; }
.red-card p { margin: 0; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.45; }

/* Catalogue carousel */
.cards-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cards-row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cards-row { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .cards-row { grid-auto-columns: calc(25% - 9px); } }
.tall-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: var(--surface-2); }
.tall-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tall-card:hover img { transform: scale(1.04); }
.tall-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(15,23,42,.85), rgba(15,23,42,0)); }
.tall-card .txt { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.tall-card .txt b { display: block; font: 600 16px/1.3 var(--font-ui); }
.tall-card .txt span { font-size: 13px; color: rgba(255,255,255,.85); }
.tall-card .badges { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.row-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.row-foot .arrows { display: flex; gap: 8px; }

/* Payment / options cards (grey / red alternating) */
.opt-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .opt-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .opt-grid { grid-template-columns: repeat(4, 1fr); } }
.opt { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 22px 20px 64px; border-radius: 22px; background: var(--panel-soft); text-decoration: none; color: var(--text); }
.opt b { font: 600 17px/1.3 var(--font-ui); color: var(--ink); margin-bottom: 12px; }
.opt p { font-size: 14px; line-height: 1.5; margin: 0; }
.opt .go { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.opt.red { background: var(--red-deep); color: rgba(255,255,255,.85); }
.opt.red b { color: var(--on-red); }
.opt.red .go { background: var(--surface); color: var(--red); }

/* 3 steps with bracket numbers */
.steps { display: grid; gap: 28px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.step-head svg { color: #C8CDD5; }
.step-head b { font: 600 17px/1.3 var(--font-ui); color: var(--ink); }
.step p { font-size: 14px; color: var(--muted); }

/* Area tiles */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .area-grid { grid-template-columns: repeat(6, 1fr); } }
.area-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); }
.area-tile:hover { border-color: var(--red); }
.area-tile b { font: 600 15px/1.3 var(--font-ui); }
.area-tile span { font-size: 12px; color: var(--muted); }
.area-tile.east { border-left: 3px solid var(--red); }

/* Listing cards (search grid) */
.lgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .lgrid.three { grid-template-columns: repeat(3, 1fr); } }
.lcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s, border-color .2s; }
.lcard:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.lcard .ph { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.lcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.lcard .ph .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.lcard .ph .code { position: absolute; right: 10px; bottom: 10px; background: rgba(15,23,42,.7); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: var(--radius-pill); }
.lcard .bd { padding: 14px 16px 16px; display: grid; gap: 6px; }
.lcard .pr { font: 700 20px/1.2 var(--font-ui); color: var(--red); }
.lcard .pr small { font: 500 13px/1 var(--font-body); color: var(--muted); margin-left: 6px; }
.lcard h3 { font-size: 16px; font-weight: 600; margin: 0; color: var(--ink); line-height: 1.35; }
.lcard .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.lcard .meta span { display: inline-flex; align-items: center; gap: 5px; }
.lcard.sold { opacity: .78; }
.lcard.sold .pr { color: var(--muted); }

/* Search: filters + list/map split */
.search-layout { display: grid; gap: 16px; }
@media (min-width: 1024px) { .search-layout { grid-template-columns: 300px 1fr; align-items: start; } .search-layout.with-map { grid-template-columns: 300px 1fr 1fr; } }
.filters { background: var(--surface); border-radius: 24px; padding: 18px; }
@media (min-width: 1024px) { .filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; } }
.filters h2 { font-size: 16px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.filters details { border-top: 1px solid var(--border); padding: 12px 0; }
.filters summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters .chips { margin-top: 10px; }
.filters .chip span { min-height: 32px; font-size: 13px; padding: 4px 12px; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.results-bar h1 { font-size: clamp(20px, 2.4vw, 28px); margin: 0; font-weight: 600; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px; }
.seg a, .seg button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius-pill); border: 0; background: none; text-decoration: none; color: var(--text); font: 500 14px/1 var(--font-body); cursor: pointer; }
.seg .on { background: var(--red); color: var(--on-red); }
.map-col { position: sticky; top: 84px; height: calc(100vh - 100px); border-radius: 24px; overflow: hidden; background: var(--surface-2); }
@media (max-width: 1023px) { .map-col { position: relative; top: 0; height: 60vh; } }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }
@media (max-width: 1023px) { .filters { display: none; } .filters.open { display: block; } }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager .on { background: var(--red); color: var(--on-red); border-color: var(--red); }
.empty { text-align: center; padding: 48px 20px; background: var(--surface); border-radius: 24px; }
.empty svg { margin: 0 auto 12px; color: #C8CDD5; }

/* Listing detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.gallery { display: grid; gap: 8px; border-radius: var(--radius-xl); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
@media (min-width: 768px) { .gallery.multi { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 460px; } .gallery.multi a:first-child { grid-row: 1 / 3; } }
.gallery a { display: block; position: relative; }
.gallery .more { position: absolute; right: 12px; bottom: 12px; }
.gallery a { overflow: hidden; background: var(--surface-2); }
.gallery a.fit::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.8); }
.gallery a.fit img { position: relative; object-fit: contain; background: none; }
.gallery:not(.multi) a.fit { height: min(560px, 120vw); }
.gallery:not(.multi) a.fit img { max-height: none; }
.detail { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) { .detail { grid-template-columns: 1fr 380px; align-items: start; } }
.detail h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 6px 0 16px; }
.price-box .big { font: 700 clamp(28px, 3.6vw, 38px)/1 var(--font-ui); color: var(--red); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { background: var(--surface); padding: 14px 16px; }
.facts dt { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.facts dd { margin: 4px 0 0; font: 600 15px/1.3 var(--font-ui); color: var(--ink); }
.doclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doclist li { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--surface-2); border-radius: 12px; font-size: 14px; }
.doclist li.ok svg { color: var(--success); }
.doclist li.no { color: var(--muted); }
.doclist li.no svg { color: #C8CDD5; }
.side-card { background: var(--surface); border-radius: 24px; padding: 22px; border: 1px solid var(--border); }
@media (min-width: 1024px) { .side-card.sticky { position: sticky; top: 84px; } }
.agent { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.agent img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.agent b { display: block; color: var(--ink); }
.map-box { height: 340px; border-radius: 20px; overflow: hidden; background: var(--surface-2); }
.gmap { width: 100%; height: 300px; border: 0; border-radius: 20px; margin-top: 12px; background: var(--surface-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.answer { border-left: 4px solid var(--red); background: var(--red-soft); padding: 14px 18px; border-radius: 0 14px 14px 0; color: var(--ink); }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font: 600 16px/1.4 var(--font-ui); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 10px 0 0; }

/* Forms page */
.form-shell { display: grid; gap: 20px; }
@media (min-width: 1024px) { .form-shell { grid-template-columns: 1.1fr .9fr; } }
.stepper { display: flex; gap: 8px; margin-bottom: 20px; }
.stepper span { flex: 1; height: 6px; border-radius: 6px; background: var(--border); }
.stepper span.on { background: var(--red); }
.fstep[hidden] { display: none; }
.pin-map { height: 280px; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.tool-out { background: var(--surface-2); border-radius: 18px; padding: 18px; display: grid; gap: 8px; }
.tool-out .line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tool-out .line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tool-out .total { border-top: 1px solid var(--border); padding-top: 10px; font-size: 17px; }
.tool-out .total b { color: var(--red); }

/* Layout plot grid */
.plot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.plot { padding: 10px 6px; text-align: center; border-radius: 12px; font-size: 13px; background: var(--surface); border: 2px solid var(--red); color: var(--ink); }
.plot b { display: block; font-size: 15px; }
.plot.token { background: var(--warning-soft); border-color: var(--warning); }
.plot.sold { background: var(--surface-2); border-color: var(--border); color: var(--muted); }
.plot.hold { background: var(--surface-2); border-color: var(--border-strong); }

/* Footer */
.footer { background: var(--surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 20px; padding: 40px 0 24px; }
.footer .cols { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer a { text-decoration: none; color: var(--text); }
.footer a:hover { color: var(--red); }
.footer .legal { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.nap { font-size: 14px; display: grid; gap: 6px; }
.nap div { display: flex; gap: 8px; align-items: flex-start; }

/* Sticky mobile CTA */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(15,23,42,.06); }
.mbar .btn { min-height: 46px; padding: 8px 10px; font-size: 14px; }
@media (min-width: 1024px) { .mbar { display: none; } }

/* Chatbot */
.chat-fab { position: fixed; right: 16px; bottom: 84px; z-index: 61; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--red); color: var(--on-red); display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; }
@media (min-width: 1024px) { .chat-fab { bottom: 24px; } }
.chat-box { position: fixed; right: 16px; bottom: 150px; z-index: 62; width: min(370px, calc(100vw - 32px)); max-height: min(560px, 70vh); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--border); }
@media (min-width: 1024px) { .chat-box { bottom: 92px; } }
.chat-box.open { display: flex; }
.chat-head { padding: 14px 16px; background: var(--red-deep); color: var(--on-red); display: flex; justify-content: space-between; align-items: center; }
.chat-head b { font-family: var(--font-ui); }
.chat-head button { background: none; border: 0; color: var(--on-red); cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.msg { max-width: 86%; padding: 10px 12px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--red); color: var(--on-red); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--border); }
.chat-opts button { border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-pill); padding: 8px 12px; font: 500 13px/1 var(--font-body); cursor: pointer; color: var(--ink); }
.chat-opts button:hover { border-color: var(--red); color: var(--red); }
.chat-form { display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; min-height: 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 14px; }
.msg a { color: inherit; font-weight: 600; }

.side-card h2, .side-card h3 { display: flex; align-items: center; gap: 8px; }
.side-card details > summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.side-card details > summary::-webkit-details-marker { display: none; }
.gallery:not(.multi) img { max-height: 480px; }

/* Wide photos on the home page */
.wide-ph { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel-soft); aspect-ratio: 3 / 2; }
.wide-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .wide-ph { aspect-ratio: 21 / 9; } }
.wide-ph.banner { aspect-ratio: 16 / 7; }
@media (min-width: 768px) { .wide-ph.banner { aspect-ratio: 16 / 5; } }

/* iOS-style liquid glass call-to-action buttons */
.btn-primary, .btn-secondary, .btn-wa, .pill-float, .icon-btn.red, .lang-btn {
  position: relative; isolation: isolate; overflow: hidden;
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s;
}
.btn-primary::before, .btn-secondary::before, .btn-wa::before, .pill-float::before, .icon-btn.red::before, .lang-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 46%, rgba(255,255,255,0) 52%, rgba(255,255,255,.10) 100%);
}
/* Very dark blue glass: deep navy body, a thin top highlight and one soft sheen */
.btn-primary, .icon-btn.red {
  background: linear-gradient(180deg, rgba(16,38,86,.94) 0%, rgba(5,17,44,.97) 100%); color: #fff;
  border: 1px solid rgba(150,180,240,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.35), 0 10px 26px -10px rgba(5,17,44,.7), 0 2px 6px rgba(5,17,44,.2);
}
.btn-primary::before, .icon-btn.red::before { opacity: .22; }
.btn-primary::after, .icon-btn.red::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 100%); transform: skewX(-18deg); transition: left .6s ease; }
.btn-primary:hover::after, .icon-btn.red:hover::after { left: 120%; }
.btn-primary:hover, .icon-btn.red:hover { background: linear-gradient(180deg, rgba(22,50,108,.95) 0%, rgba(6,20,52,.98) 100%); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 14px 30px -10px rgba(5,17,44,.75); }
.btn-primary .arr { background: rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.btn-secondary, .pill-float, .lang-btn {
  background: rgba(255,255,255,.55); color: var(--ink);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 .5px rgba(11,59,140,.10), 0 8px 24px -10px rgba(11,27,54,.28), 0 1px 3px rgba(11,27,54,.08);
}
.btn-secondary:hover, .pill-float:hover, .lang-btn:hover { background: rgba(255,255,255,.75); color: var(--red); transform: translateY(-1px); }
.btn-wa {
  background: linear-gradient(180deg, rgba(37,211,102,.80) 0%, rgba(18,140,74,.86) 100%); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 24px -8px rgba(18,140,74,.5);
}
.btn-wa::before { opacity: .55; }
.btn-wa:hover { background: linear-gradient(180deg, rgba(37,211,102,.88) 0%, rgba(18,140,74,.92) 100%); transform: translateY(-1px); }
.btn-primary:active, .btn-secondary:active, .btn-wa:active, .pill-float:active { transform: scale(.97); }
.mbar { background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-top: 1px solid rgba(255,255,255,.8); }

/* Founder banner (home) */
.hb { position: relative; display: grid; border-radius: var(--radius-xl); overflow: hidden; background: #EAF1FC; }
.hb-media { position: relative; aspect-ratio: 4 / 5; }
.hb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hb-name { position: absolute; right: 14px; bottom: 14px; display: grid; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 8px 24px -10px rgba(11,27,54,.35); line-height: 1.3; }
.hb-name b { font: 700 15px/1.3 var(--font-ui); color: var(--ink); }
.hb-name span { font-size: 12px; color: var(--muted); }
.hb-copy { position: relative; z-index: 2; margin: -48px 12px 12px; padding: 22px 18px; border-radius: 22px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px -20px rgba(11,27,54,.35); }
.hb h1 { font-size: clamp(28px, 4.2vw, 52px); font-weight: 600; line-height: 1.12; margin: 6px 0 12px; max-width: 17ch; }
html[lang="ta"] .hb h1 { font-size: clamp(25px, 3.3vw, 40px); line-height: 1.4; max-width: 20ch; }
.hb .sub { color: var(--text); font-size: 16px; max-width: 46ch; }
.hb-motto { margin: 2px 0 0; font: 600 15px/1.5 var(--font-ta); color: var(--red); }
.hb-trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-trust li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font: 600 13px/1.3 var(--font-ui); color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--border); }
.hb-trust li svg { color: var(--red); }
@media (min-width: 900px) {
  .hb { min-height: min(78vh, 680px); align-items: center; }
  .hb-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hb-media img { object-position: 85% 30%; }
  .hb-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,247,252,.97) 0%, rgba(244,247,252,.88) 36%, rgba(244,247,252,.25) 58%, rgba(244,247,252,0) 70%); }
  .hb-name { right: 28px; bottom: 28px; }
  .hb-copy { margin: 0; max-width: 640px; padding: 48px 0 48px 56px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.hb-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .hb-stats { grid-template-columns: repeat(4, 1fr); margin-top: -10px; } }
.hb-stats .stat { border: 1px solid var(--border); box-shadow: var(--shadow); }
.hb-stats .stat b { font-size: clamp(20px, 2.4vw, 28px); }
html[lang="ta"] .hb-stats .stat b { font-size: clamp(18px, 2vw, 24px); }
/* Tamil header fit: long Tamil nav labels stay on one line */
.topbar .btn, .nav a { white-space: nowrap; }
html[lang="ta"] .nav a { font-size: 14px; padding: 8px 9px; }
html[lang="ta"] .brand small { display: none; }
@media (max-width: 1279px) { html[lang="ta"] .nav { gap: 0; } html[lang="ta"] .nav a { font-size: 13.5px; padding: 8px 7px; } }
html[lang="ta"] .hb h1 { font-size: clamp(24px, 2.9vw, 38px); font-weight: 600; }
@media (min-width: 900px) { .hb-stats { margin-top: 0; } }
@media (max-width: 899px) {
  .hb-media { aspect-ratio: 1 / 1; }
  .hb-media img { object-position: 50% 20%; }
  .hb-name { right: auto; left: 12px; bottom: auto; top: 12px; padding: 8px 12px; }
}
html[lang="ta"] .mbar .btn { font-size: 12.5px; padding: 8px 6px; gap: 6px; line-height: 1.25; }
@media (min-width: 640px) and (max-width: 899px) { .hb-media { aspect-ratio: 16 / 9; } .hb-media img { object-position: 80% 25%; } }
/* Mobile polish */
@media (max-width: 767px) {
  .section-head { margin-bottom: 18px; }
  .section-head .cap { text-align: left; max-width: none; }
  .rail-head { width: 100%; justify-content: space-between; }
  .panel { padding: 22px 16px; border-radius: 22px; }
  .founder-ph img { aspect-ratio: 1 / 1; object-position: 50% 15%; max-height: 360px; }
  .founder h2 { font-size: 30px; }
  .hb h1 { font-size: 27px; }
  .hb .sub { font-size: 15px; }
  .hb-copy .btn-row { gap: 8px; }
  .hb-copy .btn-row .btn { flex: 1 1 auto; }
  .hb-trust li { font-size: 12.5px; padding: 6px 10px; }
  .wide-ph { margin-bottom: 18px; }
  .steps { gap: 18px; }
}
.chat-fab { background: linear-gradient(180deg, rgba(16,38,86,.94), rgba(5,17,44,.97)); border: 1px solid rgba(150,180,240,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 26px -8px rgba(5,17,44,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (max-width: 767px) { .chat-fab { width: 50px; height: 50px; right: 12px; } }
@media (max-width: 639px) { .hb-media img { object-position: 50% 62%; } .founder-ph img { object-position: 50% 55%; } }

/* Founder banner v4: the studio portrait sits on the right, its grey backdrop blends into the banner */
.hb { background: linear-gradient(100deg, #F6F8FC 0%, #EEF1F6 45%, #DEDEE1 75%, #DDDDDF 100%); }
.hb-media { background: #DDDDDF; }
.hb-media img { object-position: 50% 18%; }
@media (max-width: 639px) { .hb-media { aspect-ratio: 1 / 1; } .hb-media img { object-position: 50% 14%; } }
@media (min-width: 640px) and (max-width: 899px) { .hb-media { aspect-ratio: 4 / 3; } .hb-media img { object-position: 50% 16%; } }
@media (min-width: 900px) {
  .hb { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); min-height: 0; align-items: stretch; }
  .hb-media { position: relative; inset: auto; order: 2; min-height: 560px; }
  .hb-media::after { display: none; }
  .hb-media img { object-position: 50% 12%; }
  .hb-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 90px; z-index: 1; background: linear-gradient(90deg, #E2E3E7, rgba(221,221,223,0)); }
  .hb-copy { order: 1; align-self: center; padding: 48px 32px 48px 56px; max-width: none; }
  .hb-name { right: 18px; bottom: 18px; }
}

/* ===== v5 premium navy system: white base, deep navy as the strong second colour ===== */
:root { --navy: #0A1F44; --navy-2: #0F2D5C; --navy-3: #16397A; --navy-line: rgba(160,190,240,.18); --on-navy: #E8EEF9; --on-navy-muted: #A9B8D3; }
.utilbar { background: var(--navy); color: var(--on-navy); font: 500 13px/1.3 var(--font-ui); }
.utilbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 36px; }
.utilbar span, .utilbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--on-navy); text-decoration: none; white-space: nowrap; }
.utilbar svg { color: #8FB4FF; }
.utilbar a { font-weight: 700; }
@media (max-width: 899px) { .utilbar .hide-s { display: none; } .utilbar { font-size: 12px; } }
html[lang="ta"] .utilbar { font-size: 12.5px; }

/* section titles: confident, with a short navy rule */
.section-head h2, .center-title, .founder h2, #faq-h { font-weight: 650; letter-spacing: -0.025em; color: var(--navy); }
.section-head h2::after, .center-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 14px; background: linear-gradient(90deg, var(--navy), #2F6FE0); }
.center-title::after { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--navy-3); }

/* trust band */
.band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-line); box-shadow: 0 24px 50px -28px rgba(10,31,68,.7); }
.band-i { display: grid; gap: 4px; justify-items: start; padding: 22px 20px; background: radial-gradient(120% 140% at 0% 0%, var(--navy-3) 0%, var(--navy) 70%); color: var(--on-navy); }
.band-i svg { color: #8FB4FF; margin-bottom: 6px; }
.band-i b { font: 700 clamp(26px, 3vw, 38px)/1 var(--font-ui); color: #fff; letter-spacing: -0.02em; }
.band-i span { font-size: 13px; color: var(--on-navy-muted); }
@media (min-width: 900px) { .band { grid-template-columns: repeat(4, 1fr); } .band-i { padding: 28px 30px; } }

/* dark panels */
.panel.dark { background: radial-gradient(130% 120% at 0% 0%, var(--navy-3) 0%, var(--navy-2) 35%, var(--navy) 80%); color: var(--on-navy); position: relative; overflow: hidden; }
.panel.dark::before { content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,224,.28), rgba(47,111,224,0) 70%); pointer-events: none; }
.panel.dark > * { position: relative; }
.panel.dark h2, .panel.dark h3, .panel.dark b { color: #fff; }
.panel.dark p, .panel.dark .muted { color: var(--on-navy-muted); }
.panel.dark .eyebrow { color: #8FB4FF; }
.panel.dark .amen li { background: rgba(255,255,255,.06); border-color: var(--navy-line); color: var(--on-navy); }
.panel.dark .amen li svg { color: #8FB4FF; }
.panel.dark .founder-ph img { border-color: rgba(255,255,255,.14); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.panel.dark .btn-secondary { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.panel.dark .btn-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }
.panel.dark .side-card { background: #fff; color: var(--text); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.panel.dark .side-card b, .panel.dark .side-card label { color: var(--ink); }
.panel.dark .side-card p, .panel.dark .side-card .muted { color: var(--muted); }
.panel.dark .btn-primary { background: linear-gradient(180deg, #2F6FE0, #1747A6); }

/* phase cards: navy header strip */
.bb-card { position: relative; overflow: hidden; padding-top: 0; border-color: #DCE4F1; }
.bb-card::before { content: ""; display: block; height: 6px; margin: 0 -22px 14px; background: linear-gradient(90deg, var(--navy), #2F6FE0); }
.bb-card h3 { color: var(--navy); }
.bb-card .meter i { background: linear-gradient(90deg, var(--navy), #2F6FE0); }

/* footer: deep navy */
.footer { background: var(--navy); color: var(--on-navy); }
.footer h3, .footer b, .footer .brand b { color: #fff; }
.footer a, .footer li, .footer div { color: var(--on-navy-muted); }
.footer a:hover { color: #fff; }
.footer svg { color: #8FB4FF; }
.footer .legal { border-top-color: var(--navy-line); color: var(--on-navy-muted); }
.footer .brand small { color: var(--on-navy-muted); }

/* header polish */
.topbar { box-shadow: 0 1px 0 var(--border), 0 10px 30px -24px rgba(10,31,68,.35); }
.brand b { color: var(--navy); }
.area-tile:hover { background: var(--navy); border-color: var(--navy); }
.area-tile:hover b, .area-tile:hover span { color: #fff; }
.hb-trust li svg { color: var(--navy-3); }
.panel.dark #enq-h { color: #fff; font-weight: 650; font-size: clamp(26px, 3vw, 38px); }
@media (max-width: 899px) {
  .utilbar .wrap { gap: 10px; }
  .utilbar span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; }
  .utilbar span:first-child svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }
  .utilbar a { flex: none; }
}

/* v6 phase photos */
.bb-card.has-ph::before { display: none; }
.bb-card-ph { position: relative; margin: 0 -22px 6px; aspect-ratio: 16/9; overflow: hidden; background: var(--panel-soft); border-bottom: 4px solid var(--navy); }
.bb-card-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bb-card:hover .bb-card-ph img { transform: scale(1.04); }
.bb-card-ph figcaption, .bb-hero-ph figcaption { position: absolute; right: 10px; bottom: 10px; font-size: 11px; line-height: 1; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(10,31,68,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bb-hero-ph { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; max-height: 520px; width: 100%; background: var(--panel-soft); box-shadow: var(--shadow); }
.bb-hero-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 639px) { .bb-hero-ph { border-radius: 18px; aspect-ratio: 4/3; } }

/* sample 360 block */
.s360 .pano-box { background: var(--navy); }
.s360-start { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; cursor: pointer; background: none; display: grid; place-items: center; z-index: 1; }
.s360-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s360-start .btn { position: relative; }
.s360-tag { position: absolute; right: 12px; top: 12px; z-index: 3; }

/* v7: Emaar-style plot finder, Stockland-style nearby, dual-CTA phase cards */
.finder-wrap { position: relative; z-index: 2; margin-top: -8px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid #DCE4F1; box-shadow: 0 18px 40px -22px rgba(10,31,68,.35); }
.finder-h { font-size: 20px; margin: 0 0 14px; color: var(--navy); font-weight: 650; }
.finder { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-items: end; }
.finder .fd { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.finder label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.finder .input { height: 48px; border-radius: 14px; }
.finder .btn { grid-column: 1 / -1; height: 50px; justify-content: center; }
@media (min-width: 900px) { .finder { grid-template-columns: 1.1fr 1fr 1fr 1fr auto; } .finder .btn { grid-column: auto; padding-inline: 26px; } }
html[lang="ta"] .finder label { letter-spacing: 0; font-size: 12.5px; }

.nb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .nb-list { grid-template-columns: 1fr 1fr; gap: 12px 18px; } }
@media (min-width: 1100px) { .nb-list { grid-template-columns: 1fr 1fr 1fr; } }
.nb-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--panel-soft); border: 1px solid #E1E8F4; }
.nb-i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.nb-n { flex: 1; min-width: 0; font-size: 14.5px; color: var(--ink); line-height: 1.35; }
.nb-t { flex: none; font-size: 22px; color: var(--navy); font-weight: 700; line-height: 1; text-align: right; }
.nb-t small { font-size: 12px; font-weight: 600; color: var(--muted); }

.bb-card { cursor: pointer; }
.bb-card h3 a.stretch { color: inherit; text-decoration: none; }
.bb-card h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bb-card .lift { position: relative; z-index: 2; }
.bb-card-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.bb-card:focus-within { border-color: var(--red); }

/* ===== 2026-11-13 redesign: hero = option 1 (full-bleed aerial video + glass search), page = option 3 (founder trust, landmark strip). ===== */
body { font-family: var(--font-body); }
h1, h2, h3, .section-head h2, .center-title { font-family: var(--font-head); letter-spacing: -.02em; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3 { letter-spacing: 0; }
.page:has(> .hx) { padding-top: 0; }
.hx { position: relative; isolation: isolate; color: #fff; min-height: clamp(620px, 92vh, 820px); display: flex; align-items: center; margin: 0 0 20px; overflow: hidden; background: #0A1F44; }
.hx-media { position: absolute; inset: 0; z-index: -1; }
.hx-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,40,.55) 0%, rgba(6,18,40,.25) 38%, rgba(6,18,40,.55) 70%, rgba(6,18,40,.88) 100%); }
.hx-inner { position: relative; text-align: center; padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; }
.hx-eyebrow { font: 600 13px/1.4 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 10px; }
html[lang="ta"] .hx-eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.hx h1 { color: #fff; font-size: clamp(34px, 5.6vw, 68px); font-weight: 800; line-height: 1.05; margin: 0; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
html[lang="ta"] .hx h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 700; line-height: 1.3; max-width: 18ch; }
.hx-motto { font: 700 clamp(19px, 2.2vw, 26px)/1.5 var(--font-ta); margin: 10px 0 6px; color: #fff; }
.hx-sub { font-size: clamp(15px, 1.4vw, 18px); max-width: 52ch; margin: 0 auto 22px; color: rgba(255,255,255,.92); }
.finder.glass { width: min(100%, 940px); background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-radius: 22px; padding: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.25); text-align: left; }
.finder.glass .fd { background: #fff; border-radius: 14px; padding: 6px 12px; }
.finder.glass .fd label { color: var(--muted); }
.finder.glass .btn { min-height: 52px; }
.hx-cta { justify-content: center; margin-top: 18px; }
.hx-stats { list-style: none; margin: 34px 0 0; padding: 18px 8px 0; width: 100%; max-width: 1040px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 8px; border-top: 1px solid rgba(255,255,255,.25); }
.hx-stats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; justify-content: center; }
.hx-stats svg { grid-row: span 2; color: #fff; opacity: .9; }
.hx-stats b { font: 800 clamp(20px, 2.2vw, 28px)/1.1 var(--font-head); }
.hx-stats span { font-size: 13px; color: rgba(255,255,255,.82); }
@media (min-width: 900px) { .hx-stats { grid-template-columns: repeat(4, 1fr); } .hx-stats li + li { border-left: 1px solid rgba(255,255,255,.2); padding-left: 16px; } }
@media (max-width: 639px) { .hx { min-height: auto; } .hx-inner { padding-top: 40px; } .hx-cta .btn { flex: 1 1 auto; } .finder.glass { padding: 8px; } }
@media (prefers-reduced-motion: reduce) { .hx-video { display: none; } .hx-media { background: url(/assets/video/elite-loop-poster.webp) center/cover; } }

/* Founder trust split (option 3) */
.ft { display: grid; gap: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 960px) { .ft { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.ft-ph { position: relative; min-height: 380px; background: #E9EDF3; }
.ft-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ft-name { position: absolute; left: 16px; bottom: 16px; display: grid; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.ft-name b { font: 700 15px/1.3 var(--font-head); color: var(--ink); }
.ft-name span { font-size: 12px; color: var(--muted); }
.ft-copy { padding: 28px 20px; }
@media (min-width: 768px) { .ft-copy { padding: 48px 52px; } }
.ft-copy h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; margin: 0; color: #0A1F44; max-width: 18ch; }
html[lang="ta"] .ft-copy h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; font-weight: 700; }
.ft-motto { font: 700 20px/1.5 var(--font-ta); color: #0A1F44; margin: 8px 0 14px; padding-bottom: 12px; position: relative; }
.ft-motto::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: #0A1F44; }
.ft-copy > p { color: var(--text); max-width: 56ch; }
.ft-finder { margin-top: 22px; border: 1px solid var(--border-strong); border-radius: 18px; padding: 14px; background: var(--surface-2); }
.ft-fh { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 15px/1.2 var(--font-head); color: #0A1F44; }

/* Landmark strip */
.lm { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .lm { grid-template-columns: repeat(3, 1fr); } }
.lm figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #DDE3EC; }
.lm img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lm figure:hover img { transform: scale(1.04); }
.lm figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10,31,68,.82); color: #fff; font: 600 13px/1.3 var(--font-ui); }

/* Readable long-form type (guides / blog) */
.prose { font-size: 17.5px; line-height: 1.75; color: #2B3850; max-width: 70ch; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.25; font-weight: 800; color: #0A1F44; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 20px; font-weight: 700; color: #0A1F44; margin: 1.4em 0 .5em; }
.prose a { color: #0B3B8C; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose li::marker { color: #0B3B8C; font-weight: 700; }
html[lang="ta"] .prose { font-size: 18.5px; line-height: 1.95; max-width: 64ch; }
html[lang="ta"] .prose h2 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.5; font-weight: 700; }
html[lang="ta"] .prose h3 { line-height: 1.55; }
.prose .takeaways { border: 1px solid var(--border-strong); background: var(--surface-2); border-radius: 18px; padding: 18px 22px; margin: 0 0 1.6em; }
.prose .takeaways h2 { margin-top: 0; font-size: 19px; }
.prose .callout { background: #0A1F44; color: #E8EEF8; border-radius: 18px; padding: 20px 24px; margin: 1.6em 0; }
.prose .callout h3 { color: #fff; margin-top: 0; }
.prose .callout a { color: #BFD6FF; }
.prose table { display: block; overflow-x: auto; font-size: 15.5px; }
.guide-hero { margin: 0 0 18px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #DDE3EC; }
.guide-hero img { width: 100%; height: 100%; object-fit: cover; }
.finder.glass .input { height: 34px; border: 0; padding: 0; background: transparent; box-shadow: none; font-weight: 600; color: var(--ink); }
.finder.glass .fd { gap: 0; }
@media (min-width: 900px) { .ft-finder .finder { grid-template-columns: 1fr 1fr; } .ft-finder .finder .btn { grid-column: 1 / -1; } }

@media (max-width: 639px) { .hx .finder.glass { display: none; } .hx h1 { font-size: 34px; } .hx-stats { margin-top: 24px; } .hx-stats span { font-size: 12px; } }
.detail > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.prose h2, .prose h3 { max-width: none; }
.prose table { max-width: 100%; }
@media (max-width: 639px) { .detail .panel { padding: 20px 16px; } }

/* Hero v2 (2026-11-13): copy left, founder Thahir cut-out right, over the aerial video */
.hx { align-items: stretch; min-height: 0; }
.hx-inner { text-align: left; align-items: stretch; padding-top: 40px; padding-bottom: 26px; }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 8px; }
.hx-copy { min-width: 0; padding-bottom: 8px; }
.hx-copy h1 { max-width: 15ch; }
.hx-sub { margin: 0 0 18px; max-width: 46ch; }
.hx-cta { justify-content: flex-start; margin-top: 0; }
.hx-founder { position: relative; margin: 0; justify-self: center; width: min(240px, 62vw); }
.hx-founder img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)) drop-shadow(0 0 1px rgba(255,255,255,.6)); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.hx-founder figcaption { position: absolute; right: -6px; bottom: 18%; display: grid; padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hx-founder figcaption b { font: 700 14px/1.3 var(--font-head); }
.hx-founder figcaption span { font-size: 12px; color: var(--muted); }
.hx .finder.glass { margin-top: 4px; width: 100%; max-width: none; }
.hx-stats { margin-top: 22px; max-width: none; }
@media (min-width: 900px) {
  .hx { min-height: 680px; }
  .hx-inner { padding-top: 56px; }
  .hx-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; }
  .hx-copy { padding-bottom: 48px; }
  .hx-founder { width: min(430px, 100%); justify-self: end; margin-bottom: -6px; }
  .hx-founder figcaption { right: auto; left: -24px; bottom: 22%; }
}
@media (max-width: 639px) {
  .hx-inner { padding-top: 28px; text-align: center; }
  .hx-copy h1, .hx-sub { margin-left: auto; margin-right: auto; }
  .hx-cta { justify-content: center; }
  .hx-founder { margin-top: 6px; }
}
.ft-ph img { object-position: 50% 30%; }

/* 3-step numbers: navy discs instead of serif bracket glyphs */
.step-head { display: flex; align-items: center; gap: 12px; }
.step-head svg { display: none; }
.steps { counter-reset: st; }
.step-head::before { counter-increment: st; content: counter(st); flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0A1F44; color: #fff; font: 800 17px/1 var(--font-head); }
/* long Tamil-district names must not stretch the grid past the panel */
.area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .area-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.area-tile { min-width: 0; }
.area-tile b { overflow-wrap: anywhere; hyphens: auto; }
/* founder photo: keep Thahir framed (subject sits right of centre in a landscape photo) */
.ft-ph { min-height: 0; aspect-ratio: 4 / 3; }
.ft-ph img { object-position: 72% 22%; }
@media (min-width: 960px) {
  .ft { align-items: start; }
  .ft-ph { aspect-ratio: 4 / 5; position: sticky; top: 96px; margin: 24px 0 24px 24px; border-radius: 22px; overflow: hidden; }
  .ft-ph img { object-position: 68% 18%; }
}
/* landmark strip: swipe left to right on phones */
@media (max-width: 699px) {
  .lm { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; margin-right: -16px; padding-right: 16px; }
  .lm::-webkit-scrollbar { display: none; }
  .lm figure { flex: 0 0 82%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
}
/* Muhammed Thahir: site-wide realtor band, footer + contact avatar, guide byline */
.th-band { display: grid; gap: 18px; align-items: center; margin-top: 28px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); grid-template-columns: minmax(0, 1fr); }
.th-band-ph { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #E9EDF3; max-width: 180px; }
.th-band-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.th-band-k { margin: 0 0 4px; font: 600 12px/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.th-band h2 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.2; color: #0A1F44; }
.th-band-copy > p { margin: 0 0 14px; max-width: 62ch; color: var(--text); }
@media (min-width: 600px) { .th-band { grid-template-columns: 160px minmax(0, 1fr); } .th-band-ph { max-width: none; } }
@media (min-width: 900px) { .th-band { grid-template-columns: 220px minmax(0, 1fr); padding: 28px 36px; gap: 36px; } }
.ft-owner { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ft-owner img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #E9EDF3; flex: none; }
.ft-owner span { display: grid; }
.ft-owner small { opacity: .75; }
.ct-owner img { width: 72px; height: 72px; }
.byline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.byline img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #E9EDF3; }
/* header: WhatsApp + Enquire */
.top-actions .top-wa { gap: 6px; }
@media (max-width: 1100px) { .top-actions .top-wa span { display: none; } .top-actions .top-wa { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 479px) { .top-actions .top-enq { display: none; } }
.topbar .brand b, .topbar .brand small { white-space: nowrap; }
@media (max-width: 1360px) { .topbar .brand small { display: none; } }
@media (max-width: 420px) { .topbar .brand b { font-size: 17px; letter-spacing: .02em; } .topbar .brand img { width: 34px; height: 34px; } }
.utilbar .wrap > * { min-width: 0; }
@media (max-width: 1199px) { html[lang="ta"] .utilbar .hide-s:nth-of-type(3) { display: none; } }
/* realtor band v2: compact, centred, small round photo */
.th-band { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 10px !important; max-width: 640px; margin: 32px auto 8px; padding: 24px 20px !important; }
.th-band-ph { width: 96px; height: 96px; max-width: none !important; aspect-ratio: 1; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(10,31,68,.18); }
.th-band-ph img { object-position: 50% 12%; }
.th-band h2 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 6px; }
.th-band-copy > p { font-size: 15px; margin: 0 auto 14px; max-width: 52ch; }
.th-band .btn-row { justify-content: center; flex-wrap: wrap; }
@media (max-width: 1520px) { .topbar .brand small { display: none; } }
/* header v3: brand never shrinks under the menu; menu only shows when it fits */
.topbar .brand { flex: none; }
.topbar .brand small { display: none !important; }
.topbar .nav { flex: 0 1 auto; min-width: 0; margin-left: auto; }
.topbar .nav a { padding: 8px 10px; white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1239px) { .topbar .nav { display: none; } .topbar .menu-btn { display: inline-grid; } }
@media (min-width: 1100px) and (max-width: 1499px) { html[lang="ta"] .topbar .nav { display: none; } html[lang="ta"] .topbar .menu-btn { display: inline-grid; } }
html[lang="ta"] .topbar .nav a { font-size: 14px; padding: 8px 8px; }
