/* BhuDeals: mobile first, light, earthy green and harvest gold */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --g: #1f6b3a; --g2: #17532d; --g-soft: #e7f1ea; --gold: #c8962d; --gold-soft: #fbf1db;
  --ink: #16201a; --ink2: #3f4b43; --mut: #6b7770; --line: #e3e6df; --bg: #f7f5ef; --card: #fff;
  --wa: #1fa855; --red: #b3261e; --warn-bg: #fff4e0; --warn: #8a5a00;
  --r: 14px; --r-sm: 10px; --sh: 0 1px 2px rgba(20,30,20,.06), 0 4px 16px rgba(20,30,20,.06);
  --font: 'Inter', 'Noto Sans Telugu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --bnav: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; padding-bottom: calc(var(--bnav) + env(safe-area-inset-bottom)); }
body.no-scroll { overflow: hidden; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }
body > .foot { flex-shrink: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 4.5vw, 2.25rem); font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 .8em; }
em, i { font-style: normal; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.muted { color: var(--mut); } .small { font-size: .86rem; } .center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.warn { color: var(--warn); }
.link { color: var(--g); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ic { width: 18px; height: 18px; flex: none; }
.only-mobile { display: inline-flex; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.15rem; color: var(--g2); }
.logo-mark { width: 32px; height: 32px; }
.tnav { display: none; gap: 4px; margin-left: 12px; }
.tnav a { padding: 8px 12px; border-radius: 999px; color: var(--ink2); font-weight: 600; font-size: .93rem; }
.tnav a.on, .tnav a:hover { background: var(--g-soft); color: var(--g2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Bottom nav (mobile) */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--bnav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.bnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; font-weight: 600; color: var(--mut); padding: 6px 0; }
.bnav a .ic { width: 22px; height: 22px; }
.bnav a.on { color: var(--g); }
.bnav .fab { width: 52px; height: 52px; margin: -22px auto 0; border-radius: 50%; background: var(--g); color: #fff; justify-content: center; box-shadow: 0 6px 18px rgba(31,107,58,.35); }
.bnav .fab .ic { width: 26px; height: 26px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: var(--g); color: #fff; } .btn-primary:hover { background: var(--g2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { border-color: #c9cec4; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .86rem; border-radius: 10px; }
.btn-lg { min-height: 52px; font-size: 1rem; padding: 12px 22px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
.btn-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 9px; font: inherit; font-size: .75rem; cursor: pointer; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.cta-row > .btn { flex: 1 1 170px; }
.cta-stack { display: grid; gap: 10px; }

/* Forms: real input boxes */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; flex: 1; }
.field-label { font-size: .82rem; font-weight: 700; color: var(--ink2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #cfd5cc; border-radius: 12px; outline: none; appearance: none; -webkit-appearance: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
select { background-image: 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' stroke='%233f4b43' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(31,107,58,.15); }
input[readonly] { background: #f3f4f1; }
.field-row { display: flex; gap: 10px; border: 0; padding: 0; margin: 0; flex-wrap: wrap; }
.field-row > .field { flex: 1 1 140px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 14px; font-size: .93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--g); flex: none; }
.check-strong { background: var(--gold-soft); border: 1.5px solid #ecd59d; padding: 12px; border-radius: 12px; font-weight: 600; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tick { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .9rem; min-height: 46px; }
.tick input { width: 18px; height: 18px; accent-color: var(--g); flex: none; }
.tick:has(input:checked) { border-color: var(--g); background: var(--g-soft); }
.form-msg { min-height: 1.2em; font-size: .9rem; font-weight: 600; margin: 6px 0; }
.form-msg.ok { color: var(--g); } .form-msg.err { color: var(--red); }
.terms-box { background: var(--g-soft); border-radius: 12px; padding: 12px 14px; margin: 6px 0 4px; font-size: .9rem; }
.terms-box p { margin: 4px 0 0; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.seg a { width: 42px; height: 40px; display: grid; place-items: center; color: var(--mut); }
.seg a.on { background: var(--g); color: #fff; }
.seg-wide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.seg-wide label { position: relative; }
.seg-wide input { position: absolute; opacity: 0; }
.seg-wide span { display: grid; place-items: center; min-height: 46px; padding: 6px; font-size: .86rem; font-weight: 600; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.seg-wide input:checked + span { background: var(--g); color: #fff; }
.seg-wide input:focus-visible + span { outline: 2px solid var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 32px 0 36px; background:
  radial-gradient(900px 380px at 85% -20%, #f4d58d66, transparent 70%),
  linear-gradient(180deg, #e3efe6 0%, #eef5ef 60%, var(--bg) 100%); }
.hero::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 70%; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(100deg, transparent 0 22px, rgba(31,107,58,.07) 22px 24px);
  transform: perspective(500px) rotateX(55deg); transform-origin: bottom; }
.hero-in { position: relative; display: grid; gap: 22px; align-items: center; }
.hero h1 { font-size: clamp(1.75rem, 5.2vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; }
.hero h1 { max-width: 760px; }
.hero-sub { color: var(--ink2); max-width: 640px; font-size: 1.02rem; }
.hero-search { background: #fff; border-radius: 18px; box-shadow: var(--sh); padding: 14px; display: grid; gap: 4px; margin: 18px 0 14px; border: 1px solid var(--line); }
.hero-search .btn { margin-top: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink2); }
.chip:hover { border-color: var(--g); color: var(--g); }

/* Sections */
.section { padding: 28px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 14px; }
.panel-accent { background: linear-gradient(160deg, #fff, var(--gold-soft)); }
.two-col { display: grid; gap: 14px; }
.two-col .panel { margin: 0; display: flex; flex-direction: column; }
.two-col .panel .btn { margin-top: auto; align-self: flex-start; }
.steps { padding-left: 20px; margin: 0 0 16px; } .steps li { margin-bottom: 10px; }
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.place { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; min-height: 72px; }
.place span { font-size: .82rem; color: var(--mut); }
.place:hover { border-color: var(--g); }

/* Cards grid */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.card:hover { box-shadow: var(--sh); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: #e9ece5; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.noimg { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; color: var(--mut); font-size: .8rem; background: repeating-linear-gradient(135deg, #eef0ea 0 12px, #e7eae2 12px 24px); }
.card-count, .card-video, .card-feat { position: absolute; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(0,0,0,.6); color: #fff; }
.card-count { right: 8px; } .card-video { left: 8px; } .card-feat { top: 8px; bottom: auto; left: 8px; background: var(--gold); }
.card-count .ic, .card-video .ic { width: 14px; height: 14px; }
.save { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; cursor: pointer; color: var(--ink2); box-shadow: 0 1px 4px rgba(0,0,0,.15); z-index: 2; }
.save.on { color: #d6336c; } .save.on .ic { fill: #d6336c; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-price strong { font-size: 1.25rem; font-weight: 800; color: var(--g2); }
.card-price span { font-size: .85rem; color: var(--ink2); font-weight: 600; }
.card-title { font-size: .98rem; margin: 0; font-weight: 700; }
.card-place { display: flex; align-items: center; gap: 4px; color: var(--mut); font-size: .86rem; margin: 0; }
.card-place .ic { width: 15px; height: 15px; }
.card-foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); }
.card-foot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card-foot span:first-child { flex: none; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #f1f3ee; color: var(--ink2); font-size: .76rem; font-weight: 600; }
.badge .ic { width: 13px; height: 13px; }
.badge-ok { background: var(--g-soft); color: var(--g2); }

/* List rows */
.rows, .stack { display: grid; gap: 10px; }
.lrow { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; align-items: start; }
.lrow-sm { grid-template-columns: 1fr auto; align-items: center; }
.lrow-media { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: #e9ece5; }
.lrow-media img { width: 100%; height: 100%; object-fit: cover; }
.lrow-main h3 { font-size: .95rem; margin: 0 0 4px; padding-right: 40px; }
.lrow-main .badges { margin-top: 6px; }
.lrow-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); padding-top: 8px; }
.lrow-facts div { padding: 0 6px; border-right: 1px solid var(--line); } .lrow-facts div:last-child { border: 0; }
.lrow-facts dt { font-size: .72rem; color: var(--mut); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.lrow-facts dd { margin: 0; font-size: .9rem; font-weight: 600; }
.lrow .save { top: 10px; right: 10px; }

/* Search page */
.search-head { padding: 18px 0 6px; }
.search-head .lead, .lead { color: var(--ink2); max-width: 820px; }
.mandal-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--mut); margin-bottom: 8px; }
.crumbs a:hover { color: var(--g); }
.search-body { padding: 6px 0 30px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .count { font-size: .95rem; }
.toolbar-r { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 639px) { .toolbar-r { width: 100%; margin-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .toolbar-r > label:only-of-type { grid-column: 1 / -1; } .toolbar-r select { width: 100% !important; } .toolbar-r .seg { grid-column: 1 / -1; order: -1; display: grid; grid-template-columns: repeat(3, 1fr); } .toolbar-r .seg a { width: auto; } }
.toolbar select { min-height: 40px; padding: 6px 34px 6px 10px; font-size: .88rem; border-radius: 10px; width: auto; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0 8px; }
.pg { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.pg.on { background: var(--g); color: #fff; border-color: var(--g); }
.pg-gap { align-self: center; color: var(--mut); }
.faq { margin-top: 28px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; color: var(--ink2); }
.empty { text-align: center; padding: 40px 16px; background: #fff; border: 1px dashed #cfd5cc; border-radius: var(--r); }
.empty-ic { width: 40px; height: 40px; color: var(--mut); margin: 0 auto 8px; }

/* Maps */
.map { width: 100%; height: 100%; min-height: 260px; background: #dfe6dc; border-radius: var(--r); position: relative; overflow: hidden; }
.map-note { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--ink2); font-size: .9rem; }
.map-sm { height: 280px; }
.map-pick { height: 320px; margin: 8px 0; }
.map-count { position: absolute; left: 10px; top: 10px; background: #fff; padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; box-shadow: var(--sh); }
.mpin { background: #fff; color: var(--g2); font-weight: 800; font-size: .78rem; padding: 5px 9px; border-radius: 999px; border: 2px solid var(--g); box-shadow: 0 2px 6px rgba(0,0,0,.25); white-space: nowrap; transform: translateY(-4px); }
.mpin-ok { border-color: var(--gold); }
.mpin.on { background: var(--g); color: #fff; transform: translateY(-4px) scale(1.12); }
.map-card { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.25); padding: 8px; z-index: 5; }
.map-card .sheet-x { top: 6px; right: 6px; }
.mc { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.mc img, .mc .noimg { width: 92px; height: 76px; border-radius: 10px; object-fit: cover; }
.mc-body { display: flex; flex-direction: column; gap: 2px; padding-right: 26px; }
.mc-body strong { font-size: 1.1rem; color: var(--g2); }

/* Detail */
.detail { padding: 12px 0 20px; }
.detail-grid { display: grid; gap: 16px; }
.gallery { position: relative; border-radius: var(--r); overflow: hidden; background: #e2e6de; margin: 0 -16px; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gal-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); padding: 0; cursor: pointer; }
.gal-dots button.on { background: #fff; width: 20px; border-radius: 4px; }
.gal-count { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.gallery-empty { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--mut); }
.detail-head { margin: 16px 0 12px; }
.detail-head h1 { font-size: clamp(1.3rem, 4vw, 1.8rem); }
.price-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.price-box .tbl, .price-box > p { grid-column: 1 / -1; }
.price-main { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--g-soft); }
.price-main strong { font-size: clamp(1.05rem, 4.6vw, 1.35rem); overflow-wrap: anywhere; font-weight: 800; color: var(--g2); line-height: 1.2; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { color: var(--ink2); font-weight: 600; width: 45%; }
.tbl td { font-weight: 600; }
.tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.tbl-data th { width: auto; background: #f6f7f3; font-size: .8rem; }
.tbl-data td, .tbl-data th { padding: 10px 12px; }
.conv summary { list-style: none; cursor: pointer; } .conv summary::-webkit-details-marker { display: none; }
.conv summary h2 { display: inline; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0 0 10px; }
.facts dd { overflow-wrap: anywhere; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .76rem; color: var(--mut); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks .ic { color: var(--g); }
.prose p { margin: 0 0 1em; }
.prose h2 { margin-top: 1.2em; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.verify { border: 1.5px dashed #cfd5cc; border-radius: var(--r); padding: 16px; background: #fff; margin-bottom: 14px; }
.verify h3 { display: flex; gap: 8px; align-items: center; }
.verify-ok { border: 1.5px solid var(--g); background: var(--g-soft); }
.agent-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.agent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.agent-head img, .avatar-lg { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--g); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; flex: none; }
.agent-head > span { display: flex; flex-direction: column; }
.side-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; align-items: center; }
.side-tools select { min-height: 36px; padding: 4px 32px 4px 10px; font-size: .86rem; width: auto; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(var(--bnav) + env(safe-area-inset-bottom)); z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
.sticky-cta > div { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta strong { font-size: 1.1rem; color: var(--g2); }
.has-sticky { padding-bottom: calc(var(--bnav) + 70px + env(safe-area-inset-bottom)); }
.notice { background: var(--gold-soft); border: 1px solid #ecd59d; border-radius: 12px; padding: 10px 14px; margin: 10px 0; font-size: .92rem; }
.warn-box { background: var(--warn-bg); color: var(--warn); border: 1px solid #f0d29a; border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; margin: 10px 0; }

/* Agents */
.agent-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.agent-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.agent-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.agent-card > span:last-child { display: flex; flex-direction: column; }
.agent-hero { background: linear-gradient(180deg, #eaf3ec, var(--bg)); padding: 20px 0; }
.agent-hero-in { display: grid; gap: 16px; align-items: start; }
.agent-photo, .avatar-xl { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--g); color: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; }

/* Calculator */
.calc-grid { display: grid; gap: 14px; }
.calc-grid .panel { margin: 0; }
.result-big { font-size: 1.4rem; font-weight: 800; color: var(--g2); background: var(--g-soft); border-radius: 12px; padding: 12px 14px; margin: 8px 0 10px; display: flex; flex-direction: column; }
.result-big span { font-size: .88rem; font-weight: 600; color: var(--ink2); }

/* Sheet and toast */
#sheet-root { display: none; }
#sheet-root.open { display: block; }
.sheet-bg { position: fixed; inset: 0; background: rgba(10,20,10,.45); z-index: 80; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; background: #fff; border-radius: 20px 20px 0 0; padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 90vh; overflow: auto; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f3ee; cursor: pointer; font-size: 1rem; }
.big-phone { font-size: 1.8rem; font-weight: 800; letter-spacing: .02em; margin: 8px 0 14px; }
#toast { position: fixed; left: 50%; bottom: calc(var(--bnav) + 24px); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; opacity: 0; transition: .2s; z-index: 90; pointer-events: none; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Agent app */
.app { padding: 14px 0 30px; }
.app-wrap { max-width: 860px; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.app-head h1 { margin: 0; font-size: 1.5rem; }
.as-bar { background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 14px; font-size: .88rem; margin-bottom: 10px; }
.as-bar a { color: #f4d58d; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; min-height: 86px; justify-content: center; }
.tile strong { font-size: 1.6rem; font-weight: 800; color: var(--g2); line-height: 1.1; }
.tile span { font-size: .84rem; color: var(--ink2); font-weight: 600; }
.copy-row { display: flex; gap: 8px; margin: 8px 0; }
.copy-row input { min-height: 40px; font-size: .85rem; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; scrollbar-width: none; }
.tabs a { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .86rem; color: var(--ink2); }
.tabs a.on { background: var(--g); color: #fff; border-color: var(--g); }
.tabs-admin { background: #fff; padding: 6px; border-radius: 14px; border: 1px solid var(--line); }
.tabs-admin a { border: 0; }
.mine { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.mine-media { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #e9ece5; display: block; }
.mine-media img { width: 100%; height: 100%; object-fit: cover; }
.mine-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mine-main strong { font-size: .92rem; }
.mine-act { display: flex; gap: 6px; }
a.mine { grid-template-columns: 72px 1fr; }
.agent-grid .mine, .stack > .mine:not(:has(.mine-media)) { grid-template-columns: 1fr auto; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #eef0ea; color: var(--ink2); }
.pill .ic { width: 12px; height: 12px; }
.pill-live, .pill-closed, .pill-active { background: var(--g-soft); color: var(--g2); }
.pill-pending, .pill-new, .pill-visit { background: var(--gold-soft); color: #7a5410; }
.pill-rejected, .pill-lost, .pill-suspended { background: #fde8e6; color: var(--red); }
.lead-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.lead-ch { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g-soft); color: var(--g); }
.lead-whatsapp { background: #e3f6ea; color: var(--wa); }
.lead-main, .lead-meta { display: flex; flex-direction: column; min-width: 0; }
.lead-main .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-meta { align-items: flex-end; gap: 2px; }
.quote { background: #f6f7f3; border-left: 3px solid var(--gold); padding: 8px 12px; border-radius: 6px; }
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 14px; position: sticky; top: 58px; z-index: 20; background: var(--bg); padding: 6px 0; }
.stepper button { border: 0; background: #e6e9e2; border-radius: 8px; padding: 8px 0; font: inherit; font-size: .72rem; font-weight: 700; color: var(--ink2); cursor: pointer; }
.stepper button.on { background: var(--g); color: #fff; }
.step { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.step.on { display: block; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.step-nav-end { justify-content: flex-end; flex-wrap: wrap; }
.convert { margin: -4px 0 12px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.photos figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figcaption { display: flex; justify-content: space-between; gap: 4px; padding: 6px; align-items: center; }
.upload { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 96px; border: 2px dashed #b9c4b5; border-radius: var(--r); background: var(--g-soft); color: var(--g2); font-weight: 700; cursor: pointer; }
.upload input { display: none; }
.upload.disabled { opacity: .5; cursor: not-allowed; }
.upload .ic { width: 26px; height: 26px; }
.review-total { display: flex; flex-direction: column; background: var(--g-soft); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.review-total strong { font-size: 1.6rem; font-weight: 800; color: var(--g2); }
.danger-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.photo-pick { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.photo-pick img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.thumbs img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; }
form.inline { display: inline-block; margin-top: 4px; }
form.inline select { min-height: 32px; padding: 2px 28px 2px 8px; font-size: .8rem; width: auto; }
.share-panel h2 { margin-bottom: 4px; }
.app-mode .foot { display: none; }

/* Footer */
.foot { background: #12301d; color: #d9e6dc; padding: 30px 0 10px; margin-top: 20px; }
.foot .brand { color: #fff; }
.foot-in { display: grid; gap: 22px; }
.foot h4 { color: #fff; font-size: .9rem; margin-bottom: 8px; }
.foot a:not(.brand) { display: block; padding: 4px 0; font-size: .9rem; color: #c3d6c8; }
.foot .muted { color: #9fb6a6; }
.foot-base { border-top: 1px solid #244a31; margin-top: 18px; padding-top: 12px; }

/* Tablet and desktop */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-search { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; gap: 10px; }
  .hero-search .field { margin: 0; }
  .hero-search .btn { margin: 0; }
  .two-col, .calc-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .lrow { grid-template-columns: 120px 1fr 260px; align-items: center; }
  .lrow-media { width: 120px; height: 96px; }
  .lrow-facts { grid-column: auto; border-top: 0; padding-top: 0; border-left: 1px solid var(--line); padding-left: 8px; }
  .lrow .save { position: absolute; }
  .gallery { margin: 0; }
  .agent-hero-in { grid-template-columns: auto 1fr; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .seg-wide { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .bnav, .only-mobile, .sticky-cta { display: none !important; }
  .has-sticky { padding-bottom: 0; }
  .tnav { display: flex; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr 340px; align-items: start; }
  .detail-side { position: sticky; top: 74px; }
  .gal-item { aspect-ratio: 16 / 10; }
  .agent-grid { grid-template-columns: repeat(3, 1fr); }
  .sheet { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%); width: 440px; border-radius: 20px; animation: none; }
  #toast { bottom: 30px; }
  .map-card { left: auto; width: 380px; }
  .stepper { top: 58px; }
  .app-mode .foot { display: block; }
}
.unit-pick, .sort-pick { display: block; min-width: 0; }
.agent-card .avatar-lg, .agent-card img { width: 56px; height: 56px; flex: none; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; height: 150px; padding-top: 18px; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar span { width: 100%; min-height: 2px; background: var(--g); border-radius: 4px 4px 0 0; }
.bar em { position: absolute; top: -16px; font-style: normal; font-size: .68rem; font-weight: 700; color: var(--ink2); }
.bar small { font-size: .64rem; color: var(--mut); margin-top: 4px; }
.metrics-link { margin-bottom: 14px; }
.gsi-box { display: flex; justify-content: center; min-height: 48px; margin: 14px 0 6px; }

/* Home: price example card and state cards */
.price-demo { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 2px 4px rgba(20,30,20,.04), 0 18px 40px rgba(20,60,30,.12); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pd-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pd-tag { background: var(--gold-soft); color: #7a5410; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.pd-quote { margin: 0; font-size: .98rem; color: var(--ink2); }
.pd-total { display: flex; flex-direction: column; background: var(--g); color: #fff; border-radius: 14px; padding: 14px 16px; }
.pd-total strong { font-size: 1.7rem; font-weight: 800; line-height: 1.15; }
.pd-total .small { opacity: .85; }
.pd-rows { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }
.pd-row { display: flex; flex-direction: column; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 64px; }
.pd-row span { font-size: .76rem; color: var(--mut); font-weight: 700; }
.pd-row strong { font-size: 1rem; }
.state-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.state-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-height: 84px; transition: border-color .15s, box-shadow .15s; }
.state-card:hover { border-color: var(--g); box-shadow: var(--sh); }
.state-card > span:nth-child(2) { display: flex; flex-direction: column; }
.state-code { width: 52px; height: 52px; border-radius: 14px; background: var(--g-soft); color: var(--g2); display: grid; place-items: center; font-weight: 800; letter-spacing: .04em; }
@media (min-width: 640px) { .state-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) {
  .hero { padding: 56px 0 64px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .field-grow { grid-column: 1 / -1; }
  .hero-search .btn { grid-column: auto; align-self: end; }
  .hero-search { grid-template-columns: 1fr 1fr auto; }
}

/* Search: top filter bar */
.only-mobile-flex { display: inline-flex; }
.filters-wrap { margin-bottom: 14px; }
.fbar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 1px 2px rgba(20,30,20,.04); }
.fbar-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.fbar-row .fb-q { grid-column: 1 / -1; }
.fbar-row .fb-m, .fbar-row .fb-more-btn, .fbar-row .fb-go { display: none; }
.fb { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fb-label { font-size: .72rem; font-weight: 700; color: var(--mut); text-transform: uppercase; letter-spacing: .04em; padding-left: 2px; }
.fb select, .fb input:not([type=checkbox]) { min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: .95rem; border-radius: 10px; }
.fb-input { position: relative; display: block; }
.fb-input .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--mut); pointer-events: none; }
.fb-input input { padding-left: 38px !important; }
.fb-btn { min-height: 44px; border-radius: 10px; }
.fbar-more { display: none; }
.fbar-head, .fbar-foot { display: none; }
.fb-check { margin: 0; align-self: end; min-height: 44px; align-items: center; }
.map-split { display: grid; gap: 14px; }
.mapwrap { position: relative; height: 60vh; min-height: 360px; }
.map-list .rows { gap: 8px; }

/* Mobile: full screen filter sheet */
.filters-wrap.open { position: fixed; inset: 0; z-index: 70; background: rgba(10,20,10,.4); margin: 0; }
.filters-wrap.open .fbar { position: absolute; inset: 32px 0 0; border-radius: 18px 18px 0 0; overflow: auto; padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.filters-wrap.open .fbar-head { display: flex; justify-content: space-between; align-items: center; }
.filters-wrap.open .fbar-row { grid-template-columns: 1fr 1fr; }
.filters-wrap.open .fbar-row .fb-m { display: flex; }
.filters-wrap.open [data-open-filters] { display: none; }
.filters-wrap.open .fbar-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters-wrap.open .fb-clear { display: none; }
.filters-wrap.open .fbar-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; background: #fff; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: auto; }

@media (min-width: 980px) {
  .only-mobile-flex { display: none !important; }
  .fbar { padding: 12px; }
  .fbar-row { grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto auto; }
  .fbar-row .fb-q { grid-column: auto; }
  .fbar-row .fb-m, .fbar-row .fb-more-btn, .fbar-row .fb-go { display: flex; }
  .fbar.more-open .fbar-more { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); align-items: end; }
  .fbar.more-open .fb-more-btn { background: var(--g-soft); border-color: var(--g); color: var(--g2); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .map-split { grid-template-columns: 400px minmax(0, 1fr); align-items: start; }
  .map-split .map-list { max-height: calc(100vh - 150px); overflow: auto; padding-right: 4px; }
  .map-split .mapwrap { position: sticky; top: 74px; height: calc(100vh - 150px); order: 2; }
  .map-split .lrow { grid-template-columns: 96px 1fr; }
  .map-split .lrow-facts { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 8px; }
}
@media (min-width: 1280px) { .search-body .grid { grid-template-columns: repeat(4, 1fr); } }

.map-lazy { display: grid; place-items: center; background: linear-gradient(135deg, #dfe8dc, #cfdccb); }
.map-load { box-shadow: var(--sh); }
/* Filter bar: every control the same height so labels and boxes line up */
.fbar .fb select, .fbar .fb input:not([type=checkbox]):not([type=radio]):not([type=file]) { height: 44px; min-height: 44px; padding-top: 0; padding-bottom: 0; font-size: .95rem; border-radius: 10px; }
.fbar-row { grid-template-columns: 1fr; }
.fbar-row [data-open-filters] { width: 100%; }
@media (min-width: 980px) { .fbar-row { grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto auto; } }
.filters-wrap.open .fbar-row { grid-template-columns: 1fr 1fr; }
.filters-wrap.open .fbar-row .fb-q { grid-column: 1 / -1; }

/* Type: Bricolage for headings, brand and prices; Inter for everything else */
h1, h2, h3, h4, .brand, .card-price strong, .price-main strong, .pd-total strong, .pd-row strong, .result-big, .review-total strong, .tile strong, .sticky-cta strong, .big-phone, .mc-body strong, .state-code, .wm { font-family: var(--font-head); }
h1 { font-weight: 800; letter-spacing: -.025em; }
h2, h3 { font-weight: 700; letter-spacing: -.015em; }
.brand { font-weight: 800; letter-spacing: -.03em; }
.card-price strong, .price-main strong, .pd-total strong, .tile strong { font-weight: 800; letter-spacing: -.02em; }
.card-price, .price-main, .pd-total, .pd-row, .tbl td, .lrow-facts dd, .tile strong, .result-big, .mpin, .facts dd { font-variant-numeric: tabular-nums; }
.logo-mark { width: 40px; height: 40px; margin: -4px 0; }
