/* mangaluruproperties.com. Layout: one centred column under a sticky navy header; phones get a fixed bottom bar.
   Colours follow the brand book: Arabian Navy, Mangalore Tile Copper, Laterite Cream, Coconut Palm.
   Every text pair below meets 4.5:1 in both themes (checked when the brand was made, 20 October 2026). */
:root {
  --bg: #F6F1E8;          /* Laterite Cream: the page */
  --card: #FFFFFF;
  --ink: #1C1915;
  --muted: #665C52;
  --line: #E4DACB;
  --line-soft: #EEE7DC;
  --navy: #0F2B47;        /* Arabian Navy: header, hero, footer, strong buttons */
  --navy-deep: #0A1F33;
  --on-navy: #F6F1E8;
  --on-navy-muted: #C9D6E3;
  --link: #9A3A1B;        /* links are copper */
  --copper: #9A3A1B;      /* Mangalore Tile Copper: the one main action, the roof, ".com" */
  --on-copper: #FFFFFF;
  --copper-light: #E3A27F;/* copper on navy only */
  --mist: #F7E3D6;        /* Copper Mist: the list-free panel, sale badges */
  --mist-ink: #1C1915;
  --palm: #2E6A33;        /* Coconut Palm: WhatsApp and "verified" only */
  --on-palm: #FFFFFF;
  --deep: #0F2B47;
  --on-deep: #F6F1E8;
  --on-deep-muted: #C9D6E3;
  --tint: #E3EAF2;        /* Sea Mist, behind navy text */
  --tint-ink: #0F2B47;
  --field: #8C7E70;
  --photo: #E3EAF2;
  --amber-bg: #FBF0D9;
  --amber-ink: #6B4A0B;
  --red-bg: #FBE9E2;
  --red-ink: #A12A2A;
  --shadow: 0 1px 2px rgba(28, 25, 21, 0.05), 0 6px 20px rgba(28, 25, 21, 0.06);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-kn: 'Noto Sans Kannada', var(--font);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14120F; --card: #201C18; --ink: #F1EAE0; --muted: #B2A698; --line: #3A332C; --line-soft: #2C2621;
    --navy: #0F2B47; --navy-deep: #1A3F63; --on-navy: #F6F1E8; --on-navy-muted: #C9D6E3; --link: #E3A27F; --copper: #E3A27F; --on-copper: #14120F;
    --copper-light: #E3A27F; --mist: #3B1D10; --mist-ink: #F1EAE0; --palm: #8ACB8E; --on-palm: #14120F; --deep: #0A1F33; --on-deep: #F6F1E8; --on-deep-muted: #C9D6E3;
    --tint: #13263A; --tint-ink: #9DBCE0; --field: #8C7E70; --photo: #13263A;
    --amber-bg: #3A2D10; --amber-ink: #F2D58E; --red-bg: #43201A; --red-ink: #F29B9B;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14120F; --card: #201C18; --ink: #F1EAE0; --muted: #B2A698; --line: #3A332C; --line-soft: #2C2621;
  --navy: #0F2B47; --navy-deep: #1A3F63; --on-navy: #F6F1E8; --on-navy-muted: #C9D6E3; --link: #E3A27F; --copper: #E3A27F; --on-copper: #14120F;
  --copper-light: #E3A27F; --mist: #3B1D10; --mist-ink: #F1EAE0; --palm: #8ACB8E; --on-palm: #14120F; --deep: #0A1F33; --on-deep: #F6F1E8; --on-deep-muted: #C9D6E3;
  --tint: #13263A; --tint-ink: #9DBCE0; --field: #8C7E70; --photo: #13263A;
  --amber-bg: #3A2D10; --amber-ink: #F2D58E; --red-bg: #43201A; --red-ink: #F29B9B;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.01em; line-height: 1.15; }
h1, h2 { font-family: var(--font-display); font-weight: 600 !important; }
.price, .pricebox .price, .boot b { font-family: var(--font); }
a { color: var(--link); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
/* On Tide and Deep Sea panels the ring is Sand, so it stays visible (4.6:1 or more). */
.hero :focus-visible, .panel-deep :focus-visible, .hdr :focus-visible, .ftr :focus-visible { outline-color: var(--copper-light); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: 1152px; margin-inline: auto; padding-inline: 16px; }
.page { padding-block: 24px 40px; display: flex; flex-direction: column; gap: 32px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.grow { flex: 1 1 0; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy); color: var(--on-navy); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; white-space: nowrap; flex: none; }
.brand img { display: block; height: 30px; width: auto; }
.brand .b-phone { display: none; }
.nav { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nav a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--on-navy); font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.nav a:hover { background: rgba(246, 241, 232, 0.12); }
.hdr .btn-quiet { color: var(--on-navy); border-color: rgba(246, 241, 232, 0.4); }
.hdr .btn-quiet:hover { background: rgba(246, 241, 232, 0.12); }
.hdr .btn-navy { background: var(--on-navy); color: var(--navy); }
.hdr .btn-copper { background: var(--copper-light); color: #0F2B47; }
.hdr-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn svg { flex: none; }
.btn-copper { background: var(--copper); color: var(--on-copper); }
.btn-copper:hover { filter: brightness(0.94); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-wa { background: var(--palm); color: var(--on-palm); }
.btn-wa:hover { filter: brightness(0.94); }
.btn-call { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-call:hover { background: var(--bg); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); }
.btn-quiet { background: none; color: var(--link); border-color: var(--line); }
.btn-quiet:hover { background: var(--tint); }
.btn-light { background: var(--copper-light); color: #0F2B47; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.pill { border-radius: 999px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.chip-tint { background: var(--tint); color: var(--tint-ink); }
.chip-sale { background: var(--mist); color: var(--copper); }
.chip-amber { background: var(--amber-bg); color: var(--amber-ink); }
.chip-red { background: var(--red-bg); color: var(--red-ink); }
.chip-plain { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.chip-ok { background: var(--card); color: var(--tint-ink); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* hero */
.hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
/* The tile edge: a row of half-circles like the eaves of a Mangalore-tile roof. */
.hero::after, .strip::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: radial-gradient(circle at 50% 100%, var(--bg) 7px, transparent 7.5px) 0 0 / 14px 14px repeat-x; pointer-events: none; }
.hero .eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-light); }
.hero .wrap { padding-block: 40px 56px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 500 !important; letter-spacing: -0.02em; max-width: 18ch; }
.hero p { font-size: 17px; color: var(--on-navy-muted); max-width: 52ch; }
.hero-art { position: absolute; right: 2%; bottom: 10px; width: min(40%, 360px); opacity: 0.14; pointer-events: none; }
.searchbox { background: var(--card); color: var(--ink); border-radius: 18px; padding: 8px 16px 16px; box-shadow: var(--shadow); max-width: 860px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 12px 12px 10px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--copper); border-bottom-color: var(--copper); }
.searchrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.searchrow .field { flex: 1 1 170px; }
.searchrow .btn { flex: 0 0 auto; min-height: 48px; }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.popular b { font-weight: 700; margin-right: 4px; }
.popular a { text-decoration: none; border: 1px solid rgba(246, 241, 232, 0.45); background: none; color: var(--on-navy); padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 13.5px; }
.popular a:hover { background: rgba(255, 255, 255, 0.14); }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .lbl, legend.lbl { font-size: 13.5px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--red-ink); font-weight: 600; }
.inp { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); color: var(--ink); min-width: 0; }
textarea.inp { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.inp::placeholder { color: var(--muted); opacity: 0.8; }
.inp:focus { outline: 3px solid var(--tint); border-color: var(--navy); }
.inp.bad { border-color: var(--red-ink); }
.inp-row { display: flex; gap: 8px; }
.inp-row .inp { flex: 1 1 0; }
.inp-row select.inp { flex: 0 0 auto; width: auto; }
.pre { display: flex; align-items: center; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); overflow: hidden; }
.pre span { padding: 0 4px 0 14px; font-weight: 700; color: var(--muted); }
.pre .inp { border: 0; padding-left: 4px; }
.pre:focus-within { outline: 3px solid var(--tint); border-color: var(--navy); }
.pre .inp:focus { outline: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.seg button[aria-pressed="true"] { border-color: var(--navy); border-width: 2px; background: var(--tint); color: var(--tint-ink); font-weight: 700; }
.seg button[disabled] { opacity: 0.45; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--amber-bg); color: var(--amber-ink); font-size: 14px; font-weight: 600; }
.note-tint { background: var(--tint); color: var(--tint-ink); }
.note-red { background: var(--red-bg); color: var(--red-ink); }

/* sections and cards */
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sec-h h2 { font-size: clamp(24px, 4vw, 30px); color: var(--navy); }
:root[data-theme="dark"] .sec-h h2 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sec-h h2 { color: var(--ink); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.pad { padding: 18px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: 12px; padding: 16px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--ink); }
.tile:hover { border-color: var(--navy); }
.tile svg { color: var(--copper); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 16px; }
.lcard { display: flex; flex-direction: column; overflow: hidden; }
.lcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.lcard .title { font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; }
.lcard .title:hover { text-decoration: underline; }
.lcard .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.lcard .acts .btn { flex: 1 1 0; padding: 0 8px; }
.price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.price small { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.photo { position: relative; background: var(--photo); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; aspect-ratio: 5 / 3; max-width: 100%; overflow: hidden; text-decoration: none; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .br { bottom: 10px; right: 10px; }
.panel-deep { background: var(--deep); color: var(--on-deep); border-radius: 18px; padding: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.panel-deep h2 { font-size: 26px; }
.panel-deep p { color: var(--on-deep-muted); max-width: 56ch; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.proj { display: flex; overflow: hidden; }
.proj .photo { flex: 0 0 34%; aspect-ratio: auto; min-height: 120px; }
.proj .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }

/* search */
.strip { background: var(--navy); position: relative; }
.strip .wrap { padding-block: 14px 28px; }
.strip .searchbox { max-width: none; padding: 14px 16px; border-radius: 16px; }
.layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { padding: 16px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); }
.filters h3 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.filters .check { font-size: 14px; }
.flt-toggle { display: none; }
.results { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rcard { display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; }
.rcard .photo { aspect-ratio: auto; min-height: 176px; height: 100%; }
.rcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rcard .foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.rcard .title { font-weight: 700; font-size: 16.5px; color: var(--ink); text-decoration: none; }
.rcard .title:hover { text-decoration: underline; }
.sortbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sortbar h1 { font-size: 26px; }
.sortbar select { min-height: 40px; width: auto; }
.empty { padding: 32px 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* listing */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.lhead { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; }
.lhead h1 { font-size: clamp(24px, 4.4vw, 32px); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: 18px; overflow: hidden; }
.gallery .photo { aspect-ratio: auto; min-height: 120px; }
.gallery .photo:first-child { grid-row: 1 / 3; min-height: 300px; }
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.lmain { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); }
.card h2 { font-size: 19px; }
.pricebox { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; }
.pricebox .price { font-size: 32px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 20px; }
.facts dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.facts dd { font-weight: 700; }
.papers li { display: flex; gap: 10px 14px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.papers li:first-child { border-top: 0; padding-top: 0; }
.papers li:last-child { padding-bottom: 0; }
.papers b { display: block; }
.papers div { min-width: 0; flex: 1 1 200px; }
.cost div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.cost div:first-child { border-top: 0; }
.cost .total { font-size: 18px; font-weight: 800; border-top: 2px solid var(--line); }
.tips li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.tips svg { flex: none; color: var(--palm); margin-top: 2px; }
.sticky-contact { display: none; }
.areabox { border-radius: 14px; background: var(--photo); padding: 22px; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.areabox svg { color: var(--navy); flex: none; }

/* post form */
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.steps li i { font-style: normal; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: var(--bg); font-size: 12.5px; }
.steps li.on { border-color: var(--navy); color: var(--tint-ink); background: var(--tint); }
.steps li.on i { background: var(--navy); color: var(--on-navy); }
.steps li.done i { background: var(--navy); color: var(--on-navy); }
.steps li.done { color: var(--ink); }
.postgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.formcard { padding: 22px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.formcard h2 { font-size: 20px; }
.formnav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; padding-top: 6px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.summary li:first-child { border-top: 0; }
.summary span { min-width: 0; }
.done-box { padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.done-box h1 { font-size: 26px; font-weight: 800; }

/* my listings */
.mcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); overflow: hidden; }
.mcard .photo { aspect-ratio: auto; min-height: 150px; height: 100%; }
.mcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mcard .top { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: baseline; }
.mcard .top b { font-size: 16px; }
.bar { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--navy); }
.bar.warn i { background: var(--copper); }

/* footer, toast, bottom bar */
.ftr { background: var(--navy); color: var(--on-navy-muted); position: relative; margin-top: 24px; }
.ftr::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 14px; background: radial-gradient(circle at 50% 0, var(--bg) 7px, transparent 7.5px) 0 0 / 14px 14px repeat-x; }
.ftr .wrap { padding-block: 40px 30px; display: flex; flex-direction: column; gap: 16px; font-size: 13.5px; color: var(--on-navy-muted); }
.ftr .brand img { height: 56px; }
.ftr a { color: var(--on-navy); }
.ftr p { max-width: 70ch; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr nav a { font-weight: 600; }
.ftr .social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ftr .social span { color: var(--on-navy-muted); }
.ftr .social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 32px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); z-index: 60; max-width: min(92vw, 460px); background: var(--deep); color: var(--on-deep); padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.bbar { display: none; }

/* additions for the real site */
[hidden] { display: none !important; }
.boot { min-height: 70vh; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--muted); }
.boot b { font-size: 24px; font-weight: 600; color: var(--navy); font-family: var(--font-display); }
.boot-seo { max-width: 620px; margin: 28px auto 0; padding-inline: 16px; display: grid; gap: 8px; font-size: 13px; line-height: 1.5; }
.boot-seo h1 { font-size: 15px; font-weight: 800; color: var(--ink); }
.boot-seo a { color: var(--link); }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: auto; }
/* One photo: show all of it, never a thin stretched strip. */
.gallery.one .photo:first-child { grid-row: auto; aspect-ratio: 16 / 9; min-height: 220px; max-height: 480px; }
.gallery.one .photo img { object-fit: contain; }
.postgrid.one { grid-template-columns: minmax(0, 760px); }
.note a, .note .linkbtn { color: inherit; font-weight: 800; }
.mcard .top a { text-decoration: none; }
.mcard .top a:hover { text-decoration: underline; }
.lcard .acts:empty { display: none; }
.free-tag { background: #0F2B47; color: #E3A27F; font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 999px; }
.panel-mist { background: var(--mist); color: var(--mist-ink); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.panel-mist h2 { font-size: 28px; color: var(--navy); }
:root[data-theme="dark"] .panel-mist h2 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panel-mist h2 { color: var(--ink); } }
.btn-deep { background: var(--deep); color: var(--on-deep); }
.signin { max-width: 520px; width: 100%; margin-inline: auto; }
.signin .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; align-self: stretch; }
.signin .or::before, .signin .or::after { content: ''; flex: 1 1 0; height: 1px; background: var(--line); }
.signin .stack, .signin .field, .signin .btn-block { align-self: stretch; }
.otabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.otabs a { padding: 10px 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.otabs a[aria-current="page"] { color: var(--link); border-bottom-color: var(--navy); }
.otabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--copper); color: #FFFFFF; font-size: 12px; }
.report-link { align-self: flex-start; color: var(--muted); font-weight: 600; padding: 4px 2px; }
.report-link:hover { color: var(--link); }
.blog-h1 { font-size: clamp(26px, 5vw, 34px); font-weight: 800; }
.posts { display: flex; flex-direction: column; gap: 14px; }
.post-card { display: flex; flex-direction: column; gap: 6px; }
.post-card h2 { font-size: 20px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card .more { font-weight: 700; align-self: flex-start; }
.pcard .top { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: baseline; }
.pcard .top b { font-size: 16px; }
.prose { font-size: 16.5px; line-height: 1.65; padding: 24px; }
.prose > * { max-width: 68ch; }
.prose h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; }
.prose .meta { margin: 8px 0 18px; }
.prose h2 { font-size: 21px; font-weight: 800; margin: 26px 0 8px; }
.prose h3 { font-size: 17.5px; font-weight: 800; margin: 20px 0 6px; }
.prose p { margin: 0 0 14px; overflow-wrap: anywhere; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 4px 0; }
.prose > :last-child { margin-bottom: 0; }
.legal { max-width: none; }
.table-scroll { overflow-x: auto; margin: 0 0 14px; max-width: none; }
.legal-table { border-collapse: collapse; font-size: 14px; line-height: 1.45; min-width: 640px; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--tint); color: var(--tint-ink); font-weight: 800; }
@media (max-width: 560px) {
  .legal-table { min-width: 0; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { display: block; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 6px 0; }
  .legal-table td { display: block; border: 0; padding: 4px 12px; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
  .legal-table td:first-child { font-weight: 700; }
}
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.fmt { list-style: disc; padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.fmt code { background: var(--tint); color: var(--tint-ink); padding: 1px 5px; border-radius: 5px; font-size: 12.5px; }
/* Google Maps in a frame */
.map { height: 280px; border-radius: 14px; overflow: hidden; background: var(--photo); position: relative; z-index: 0; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map.near iframe { pointer-events: none; }
/* The ring for "only the area": about 400 m each way at the zoom the frame uses. */
.map.near .ring { position: absolute; left: 50%; top: 50%; width: 172px; height: 172px; margin: -86px 0 0 -86px; border-radius: 50%; border: 3px solid var(--navy); background: rgba(15, 43, 71, 0.16); pointer-events: none; }
/* photos */
.gallery.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.gallery.n2 .photo:first-child { grid-row: auto; }
.gallery.n2 .photo { min-height: 300px; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.gallery.n4 .photo:first-child { grid-row: 1 / 4; }
.gallery.n4 .photo { min-height: 96px; }
button.photo { border: 0; padding: 0; font: inherit; cursor: zoom-in; width: 100%; }
.photo .tl { position: absolute; top: 6px; left: 6px; display: flex; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.thumbs .photo { aspect-ratio: 1; border-radius: 10px; }
.thumbs .rm { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 999px; border: 0; background: var(--deep); color: var(--on-deep); display: grid; place-items: center; }
.thumbs .mk { position: absolute; left: 4px; right: 4px; bottom: 4px; min-height: 26px; border-radius: 8px; border: 0; background: var(--deep); color: var(--on-deep); font-size: 11.5px; font-weight: 700; }
.upload { border: 1.5px dashed var(--field); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; cursor: pointer; color: var(--muted); }
.upload:focus-within { outline: 3px solid var(--tint); border-color: var(--navy); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 31, 51, 0.95); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 32px); border-radius: 8px; object-fit: contain; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -23px; }
.lb-next { right: 14px; top: 50%; margin-top: -23px; transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #FFFFFF; font-weight: 700; font-size: 14px; background: rgba(0, 0, 0, 0.4); padding: 4px 12px; border-radius: 999px; }
/* Between a phone and a wide screen the header drops its extras so nothing overlaps. */
@media (max-width: 1140px) {
  .hdr .free-tag, .hdr-end .xl-only { display: none; }
  .nav a { padding: 8px 7px; }
  .hdr .wrap { gap: 14px; }
}
@media (max-width: 1020px) {
  .nav, .wide-only { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .filters[data-open="false"] { display: none; }
  .flt-toggle { display: inline-flex; }
  .lgrid, .postgrid { grid-template-columns: minmax(0, 1fr); }
  .lside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery .photo:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 220px; }
  .gallery .photo:nth-child(n+4) { display: none; }
  .gallery .photo { min-height: 90px; }
  .gallery.n2, .gallery.n3, .gallery.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery.n2 .photo { min-height: 150px; }
  .gallery.n2 .photo:first-child { grid-column: auto; min-height: 150px; }
  .gallery.n3 .photo:first-child, .gallery.n4 .photo:first-child { grid-column: 1 / 3; grid-row: auto; }
  body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); }
  .bbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px); }
  .bbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; font-weight: 700; text-decoration: none; color: var(--muted); border-radius: 10px; }
  .bbar a[aria-current="page"] { color: var(--link); }
  .bbar a.post { color: var(--copper); }
  .brand .b-wide { display: none; }
  .brand .b-phone { display: block; height: 26px; }
  .has-sticky .sticky-contact { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); z-index: 25; padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line); }
  .has-sticky .sticky-contact .btn { flex: 1 1 0; }
  .has-sticky { padding-bottom: 72px; }
  .has-sticky ~ .toast, .toast.up { bottom: calc(env(safe-area-inset-bottom, 0px) + 150px); }
}
@media (max-width: 560px) {
  .hdr .free-tag { display: none; }
  .panel-mist { padding: 22px 18px; }
  .prose { padding: 18px 16px; font-size: 16px; }
  .rcard { grid-template-columns: minmax(0, 1fr); }
  .rcard .photo { min-height: 0; aspect-ratio: 5 / 3; height: auto; }
  .mcard { grid-template-columns: 96px minmax(0, 1fr); }
  .mcard .photo { min-height: 96px; }
  .hero .wrap { padding-block: 26px 30px; }
  .formcard { padding: 18px 16px; }
  .hdr .wrap { gap: 10px; }
  .brand { font-size: 16.5px; }
  .hdr-end .btn { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .steps { flex-wrap: nowrap; align-items: center; }
  .steps li:not(.on) { padding: 5px; }
  .steps li:not(.on) .t { display: none; }
  .steps li.on { min-width: 0; }
  .steps li.on .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pricebox .price { font-size: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .tile, .seg button { transition: background-color 0.12s, border-color 0.12s; }
}

/* Mangaluru homepage sections */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.areas a:hover { border-color: var(--copper); }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.how div { border-top: 2px solid var(--copper); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.how .n { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--copper); }
.how h3 { font-size: 17px; font-weight: 700; }
.how p { color: var(--muted); }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.gcards a { background: var(--tint); color: var(--tint-ink); border-radius: 14px; padding: 18px; min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; text-decoration: none; }
.gcards a span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.gcards a b { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.gcards a:hover { outline: 2px solid var(--navy); }
