@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,600..900,80,1&family=Manrope:wght@400;600;700;800&display=swap');
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: "Manrope", sans-serif; background: radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28rem), linear-gradient(135deg, var(--paper), #fff 48%, color-mix(in srgb, var(--primary) 12%, #fff)); min-height: 100vh; }
a { color: inherit; text-decoration: none; } img { max-width: 100%; display: block; }
.site-header, .footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { padding: 22px 0; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; color: white; background: var(--primary); }
nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-weight: 700; } main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: center; min-height: 72vh; padding: 52px 0; }.eyebrow { color: var(--primary); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
h1, h2, h3 { font-family: "Fraunces", serif; line-height: .96; margin: 0; } h1 { font-size: clamp(48px, 8vw, 104px); letter-spacing: -.07em; } h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.045em; } h3 { font-size: 28px; letter-spacing: -.03em; } p { color: var(--muted); line-height: 1.75; }
.hero-card, .panel, .plot-card, .admin-card, .plan-card, .detail-hero { background: rgba(255,255,255,.78); border: 1px solid rgba(23,33,29,.12); box-shadow: 0 24px 70px rgba(17,24,39,.12); border-radius: 30px; overflow: hidden; }
.hero-card img { height: 520px; width: 100%; object-fit: cover; }.hero-card div, .plot-card-body, .admin-card, .plan-card, .panel { padding: 24px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--primary); color: white; padding: 13px 20px; font-weight: 900; cursor: pointer; }.button.ghost { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, white); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 34px; }.stat { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(23,33,29,.12); }.stat strong { display: block; font-size: 30px; }
.section { padding: 64px 0; }.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 28px; }.plot-card img { height: 230px; width: 100%; object-fit: cover; }
.status { display: inline-flex; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; text-transform: uppercase; background: var(--accent); }.status-sold { background: #ef4444; color: white; }.status-hold { background: #f59e0b; color: #111827; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }.spec-grid span, .chips span { padding: 12px; background: rgba(255,255,255,.6); border-radius: 16px; font-weight: 800; }.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; }.detail-hero img { height: 100%; min-height: 460px; object-fit: cover; }.detail-copy { padding: 36px; }
.ar-shell model-viewer { width: 100%; height: 420px; background: linear-gradient(145deg,#f7f7f7,#dedede); border-radius: 24px; }.ar-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; } input, textarea, select { width: 100%; border: 1px solid rgba(23,33,29,.12); background: white; border-radius: 16px; padding: 13px 14px; font: inherit; } textarea { min-height: 110px; resize: vertical; }.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }.full { grid-column: 1 / -1; }
.admin-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }.table-list { display: grid; gap: 12px; }.table-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(23,33,29,.12); border-radius: 18px; background: rgba(255,255,255,.7); }.ok { color: #0f766e; font-weight: 800; }.error { color: #b91c1c; font-weight: 800; }.footer { padding: 40px 0; color: var(--muted); }
@media (max-width: 860px) { .site-header, .footer, nav, .hero, .detail-hero, .admin-layout { flex-direction: column; display: flex; align-items: stretch; } nav { gap: 10px; flex-wrap: wrap; } .grid, .stats, .form-grid { grid-template-columns: 1fr; } .hero-card img { height: 340px; } .table-row { grid-template-columns: 1fr; } }
.naksha-image { width: 100%; height: 160px; object-fit: cover; border-radius: 22px; margin-top: 12px; border: 1px solid rgba(23,33,29,.12); }
.auth-page { min-height: 70vh; display: grid; place-items: center; }
.auth-card { width: min(520px, 100%); }
.admin-user { padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,33,29,.12); color: var(--muted); }
.admin-user a { color: var(--primary); font-weight: 900; }
.admin-console { padding-top: 32px; }
.admin-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; margin-bottom: 22px; }
.admin-hero > div, .admin-tabs { background: rgba(255,255,255,.78); border: 1px solid rgba(23,33,29,.12); border-radius: 30px; padding: 24px; box-shadow: 0 24px 70px rgba(17,24,39,.10); }
.admin-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.admin-tabs { display: flex; gap: 12px; position: sticky; top: 82px; z-index: 10; margin-bottom: 24px; backdrop-filter: blur(18px); }
.admin-tabs a { padding: 12px 16px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); font-weight: 900; }
.form-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.form-heading p { max-width: 520px; }
.advanced-form-card { margin-bottom: 36px; }
.advanced-form label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
.advanced-form label input, .advanced-form label textarea, .advanced-form label select { color: var(--ink); font-weight: 500; }
.tall { min-height: 190px; }
.section-slim { padding: 34px 0; }
.colony-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-height: 620px; overflow: auto; padding-right: 6px; }
.colony-card { padding: 18px; background: rgba(255,255,255,.74); border: 1px solid rgba(23,33,29,.12); border-radius: 22px; }
.colony-card span { color: var(--primary); font-size: 12px; font-weight: 900; }
.colony-card h3 { font-size: 22px; margin: 8px 0; }
.admin-filter-bar { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.admin-filter-bar input { max-width: 520px; }
.admin-filter-bar span { color: var(--muted); font-weight: 800; }
.admin-table { max-height: 760px; overflow: auto; padding-right: 6px; }
.table-row small { color: var(--muted); }
@media (max-width: 1120px) { .colony-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 860px) { .admin-hero, .admin-kpis, .colony-grid { grid-template-columns: 1fr; display: grid; } .admin-tabs, .form-heading, .admin-filter-bar { flex-direction: column; align-items: stretch; } }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px 0 0; color: var(--muted); font-weight: 900; }
.pager .disabled { opacity: .45; pointer-events: none; }
.filter-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 8px; padding: 22px; border: 1px solid rgba(23,33,29,.12); border-radius: 28px; background: rgba(255,255,255,.74); box-shadow: 0 18px 54px rgba(17,24,39,.10); }
.filter-panel label { display: grid; gap: 8px; color: var(--muted); font-weight: 900; }
.filter-panel .wide { grid-column: span 2; }
.filter-actions { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.mini-note { font-size: 13px; font-weight: 800; color: var(--muted); }
.detail-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.check-row { display: flex !important; align-items: center; gap: 10px !important; padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,.68); border: 1px solid rgba(23,33,29,.12); }
.check-row input { width: auto; }
@media (max-width: 980px) { .filter-panel, .detail-panels { grid-template-columns: 1fr; } .filter-panel .wide { grid-column: auto; } }
.site-header { margin-top: 12px; padding: 12px 16px; border: 1px solid rgba(23,33,29,.10); border-radius: 999px; background: rgba(255,255,255,.80); box-shadow: 0 18px 50px rgba(17,24,39,.10); }
.brand { letter-spacing: -.03em; font-size: 18px; }
.brand-mark { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--accent) 55%, var(--primary))); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 28%, transparent); }
.site-header nav a { padding: 10px 14px; border-radius: 999px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.site-header nav a:hover { background: color-mix(in srgb, var(--primary) 12%, white); color: var(--primary); transform: translateY(-1px); }
h1, h2, h3 { font-weight: 700; }
.plot-card, .panel, .detail-hero, .plan-card { backdrop-filter: blur(12px); }
.plan-card { position: relative; }
.plan-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

.admin-body { background: #f5f2ea; color: #1d241f; }
.admin-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px; background: #17211d; color: #f9f5ec; display: flex; flex-direction: column; gap: 22px; }
.admin-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 900; }
.admin-sidebar p { color: rgba(249,245,236,.72); margin: 0; }
.admin-sidebar p span { color: rgba(249,245,236,.52); font-size: 13px; }
.admin-side-nav { display: grid; gap: 8px; color: rgba(249,245,236,.78); }
.admin-side-nav a { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.06); font-weight: 800; }
.admin-side-nav a:hover { background: rgba(255,255,255,.14); color: white; }
.admin-side-note { margin-top: auto; display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.08); }
.admin-side-note span { color: rgba(249,245,236,.72); }
.admin-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 64px; }
.admin-topbar { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: stretch; margin-bottom: 24px; }
.admin-topbar > div, .admin-card, .section-slim { background: rgba(255,255,255,.84); border: 1px solid rgba(23,33,29,.10); border-radius: 28px; padding: 24px; box-shadow: 0 20px 60px rgba(17,24,39,.10); }
.admin-topbar h1 { font-size: clamp(42px, 5vw, 74px); }
.admin-kpis.compact { grid-template-columns: repeat(3, 1fr); }
.admin-form-stack { display: grid; gap: 18px; }
.admin-form-stack fieldset { border: 1px solid rgba(23,33,29,.12); border-radius: 24px; padding: 20px; background: rgba(250,248,243,.74); }
.admin-form-stack legend { padding: 0 10px; font-weight: 900; color: var(--primary); }
.admin-help { margin-top: 0; font-weight: 700; }
.save-button { justify-self: start; min-width: 240px; }
.admin-body .form-heading { align-items: start; }
.admin-body .section-slim { margin: 28px 0; }
.admin-body .admin-tabs, .admin-body .admin-hero { display: none; }
@media (max-width: 980px) { .admin-shell { grid-template-columns: 1fr; } .admin-sidebar { position: static; height: auto; } .admin-main { width: min(100% - 24px, 1180px); } .admin-topbar, .admin-kpis.compact { grid-template-columns: 1fr; } .site-header { border-radius: 28px; } }
.market-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.facet-sidebar { position: sticky; top: 96px; display: grid; gap: 16px; padding: 20px; border-radius: 28px; background: rgba(255,255,255,.86); border: 1px solid rgba(23,33,29,.12); box-shadow: 0 20px 60px rgba(17,24,39,.10); max-height: calc(100vh - 120px); overflow: auto; }
.facet-heading { display: flex; justify-content: space-between; align-items: center; font-weight: 900; }
.facet-heading a { color: var(--primary); font-size: 13px; }
.facet-search { display: grid; gap: 8px; font-weight: 900; color: var(--muted); }
.facet-group { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid rgba(23,33,29,.10); }
.facet-group h3 { font-family: "Manrope", sans-serif; font-size: 15px; letter-spacing: 0; margin: 0 0 2px; }
.facet-group label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; font-size: 13px; }
.facet-option { grid-template-columns: auto 1fr auto !important; align-items: center; gap: 8px !important; color: var(--ink) !important; cursor: pointer; }
.facet-option input { width: auto; }
.facet-option small { color: var(--muted); font-weight: 900; }
.market-results { min-width: 0; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.78); border: 1px solid rgba(23,33,29,.12); }
.result-toolbar span { font-weight: 900; }
.result-toolbar label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 900; }
.result-toolbar select { width: auto; min-width: 150px; }
.clickable-card { position: relative; }
.clickable-card .card-link { position: absolute; inset: 0; z-index: 2; }
.clickable-card .button, .clickable-card model-viewer { position: relative; z-index: 3; }
.clickable-card:hover { transform: translateY(-3px); box-shadow: 0 28px 80px rgba(17,24,39,.16); }
.plan-detail-hero { align-items: stretch; }
.plan-detail-media { padding: 24px; background: rgba(255,255,255,.72); }
.naksha-image.large { height: 260px; }
@media (max-width: 980px) { .market-layout { grid-template-columns: 1fr; } .facet-sidebar { position: static; max-height: none; } .result-toolbar { align-items: stretch; flex-direction: column; } .result-toolbar label, .result-toolbar select { width: 100%; } }
.plan-size-filter { display: grid; gap: 14px; margin: 28px 0; padding: 20px; border-radius: 28px; background: rgba(255,255,255,.84); border: 1px solid rgba(23,33,29,.12); box-shadow: 0 18px 54px rgba(17,24,39,.10); }
.size-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.size-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 8%, white); border: 1px solid rgba(23,33,29,.10); font-weight: 900; cursor: pointer; }
.size-chip input { width: auto; }
.size-chip small { color: var(--muted); }
.size-chip:has(input:checked) { background: var(--primary); color: white; }
.size-chip:has(input:checked) small { color: rgba(255,255,255,.78); }

/* Polished inventory and map layer */
.plot-card { transition: transform .18s ease, box-shadow .18s ease; }
.plot-card:hover { transform: translateY(-4px); box-shadow: 0 30px 86px rgba(17,24,39,.17); }
.plot-card-body { display: grid; gap: 12px; }
.compact-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 6px 0; }
.compact-spec span { font-size: 13px; }
.card-meta-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.card-meta-row span { color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.actions.tight { margin-top: 8px; gap: 8px; }
.map-button { background: color-mix(in srgb, var(--accent) 75%, #111827); }
.image-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.image-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 24px; border: 1px solid rgba(23,33,29,.12); box-shadow: 0 18px 48px rgba(17,24,39,.10); }
.map-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; align-items: stretch; background: rgba(255,255,255,.84); border: 1px solid rgba(23,33,29,.10); border-radius: 30px; padding: 24px; box-shadow: 0 24px 70px rgba(17,24,39,.12); }
.map-panel iframe { width: 100%; min-height: 420px; border: 0; border-radius: 24px; filter: saturate(.92) contrast(1.02); }
.plan-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.plan-map-card { position: relative; display: grid; grid-template-columns: .9fr 1fr; gap: 18px; padding: 18px; border-radius: 30px; background: rgba(255,255,255,.84); border: 1px solid rgba(23,33,29,.12); box-shadow: 0 24px 70px rgba(17,24,39,.12); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.plan-map-card:hover { transform: translateY(-4px); box-shadow: 0 32px 90px rgba(17,24,39,.17); }
.plan-sheet { position: relative; min-height: 280px; border-radius: 24px; overflow: hidden; background: #efe7d6; border: 1px solid rgba(23,33,29,.14); }
.plan-sheet img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; opacity: .78; filter: sepia(.18) saturate(.86) contrast(1.05); }
.plan-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(23,33,29,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(23,33,29,.12) 1px, transparent 1px); background-size: 34px 34px; mix-blend-mode: multiply; pointer-events: none; }
.room-tag { position: absolute; z-index: 2; padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 11px; font-weight: 900; box-shadow: 0 10px 26px rgba(17,24,39,.14); }
.room-tag.living { left: 14%; top: 18%; }
.room-tag.kitchen { right: 12%; top: 34%; }
.room-tag.bed { left: 18%; bottom: 18%; }
.room-tag.parking { right: 10%; bottom: 12%; }
.plan-map-copy { display: grid; align-content: center; gap: 12px; }
.large-plan-sheet { margin-top: 14px; min-height: 320px; }
.admin-table-wrap { overflow: auto; border-radius: 22px; border: 1px solid rgba(23,33,29,.12); background: rgba(255,255,255,.72); }
.admin-data-table { width: 100%; border-collapse: collapse; min-width: 1080px; }
.admin-data-table th, .admin-data-table td { padding: 14px; border-bottom: 1px solid rgba(23,33,29,.10); text-align: left; vertical-align: top; }
.admin-data-table th { position: sticky; top: 0; z-index: 1; background: #f5f2ea; color: var(--primary); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.admin-data-table td { font-size: 13px; }
.admin-data-table small { color: var(--muted); font-weight: 800; }
.admin-data-table form { margin-top: 8px; }
.admin-data-table .button, .admin-data-table button { padding: 9px 12px; font-size: 12px; }
@media (max-width: 1120px) { .plan-map-grid, .plan-map-card, .map-panel { grid-template-columns: 1fr; } .image-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .image-gallery { grid-template-columns: 1fr; } .card-meta-row { align-items: flex-start; flex-direction: column; } .plan-sheet, .plan-sheet img { min-height: 220px; } .map-panel iframe { min-height: 320px; } }

/* User-requested layout and typography pass */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');
body { font-family: "Epilogue", sans-serif; }
h1, h2, h3 { font-family: "Playfair Display", serif; letter-spacing: -.045em; }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.plot-card { border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.68)); }
.plot-card img { height: 320px; }
.plot-card h3 { font-size: clamp(28px, 3vw, 42px); }
.site-header nav { gap: 8px; }
.site-header nav a { font-size: 13px; }
.analytics-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.mini-table { display: grid; gap: 10px; margin-top: 16px; }
.mini-table div { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.68); border: 1px solid rgba(23,33,29,.10); }
.mini-table span { color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.analytics-events { max-height: 520px; }
@media (max-width: 980px) { .grid, .analytics-grid, .analytics-kpi-grid { grid-template-columns: 1fr; } .plot-card img { height: 240px; } }

/* Architectural floor-plan image treatment */
.naksha-image { object-fit: contain; background: #fff; padding: 8px; }
.plan-sheet { background: #fff; }
.plan-sheet img { object-fit: contain; background: #fff; opacity: 1; filter: none; padding: 8px; }
.plan-grid-lines, .room-tag { display: none; }
.ar-shell model-viewer { margin-bottom: 12px; }

/* Plan detail should prioritize the naksha image, not the 3D model */
.primary-plan-image { min-height: 620px; }
.primary-plan-image img { min-height: 620px; }
.secondary-ar { margin-top: 18px; }
.secondary-ar model-viewer { height: 260px; }
.plan-map-card .plan-sheet { min-height: 420px; }
.plan-map-card .plan-sheet img { min-height: 420px; }
@media (max-width: 760px) { .primary-plan-image, .primary-plan-image img { min-height: 420px; } .plan-map-card .plan-sheet, .plan-map-card .plan-sheet img { min-height: 340px; } }

/* Single plot card list and premium plot detail UX */
.plot-list { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
.plot-list .plot-card { display: grid; grid-template-columns: minmax(280px, 42%) 1fr; min-height: 330px; }
.plot-card-media { position: relative; min-height: 100%; overflow: hidden; }
.plot-card-media img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.plot-card-media span { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-weight: 900; box-shadow: 0 12px 34px rgba(17,24,39,.18); }
.plot-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plot-card-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.plot-card-specs span { display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: color-mix(in srgb, var(--primary) 7%, white); color: var(--muted); font-size: 12px; font-weight: 800; }
.plot-card-specs strong { color: var(--ink); font-size: 16px; }
.plot-list .plot-card h3 { font-size: clamp(34px, 4vw, 58px); }
.plot-detail-page { padding: 34px 0 72px; }
.plot-detail-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .7fr); gap: 24px; align-items: stretch; }
.plot-hero-media, .plot-hero-summary, .detail-card { border: 1px solid rgba(23,33,29,.10); border-radius: 34px; background: rgba(255,255,255,.86); box-shadow: 0 24px 70px rgba(17,24,39,.12); overflow: hidden; }
.plot-hero-media { position: relative; min-height: 620px; }
.plot-hero-media img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.plot-hero-badges { position: absolute; inset: auto 20px 20px 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.plot-hero-badges span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.9); font-weight: 900; }
.plot-hero-summary { display: grid; align-content: center; gap: 20px; padding: 34px; }
.plot-hero-summary h1 { font-size: clamp(46px, 6vw, 88px); }
.price-panel { display: grid; gap: 6px; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 72%, #111827)); color: white; }
.price-panel span, .price-panel small { color: rgba(255,255,255,.74); font-weight: 800; }
.price-panel strong { font-size: clamp(32px, 4vw, 54px); }
.quick-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-specs div { display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,33,29,.10); }
.quick-specs strong { font-size: 22px; }
.quick-specs span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.plot-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; margin-top: 24px; align-items: start; }
.plot-detail-main { display: grid; gap: 24px; }
.plot-detail-sidebar { display: grid; gap: 24px; }
.detail-card { padding: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(34px, 4vw, 58px); }
.refined-gallery { grid-template-columns: repeat(3, 1fr); padding: 0; box-shadow: none; border: 0; background: transparent; }
.refined-gallery img:first-child { grid-column: span 2; }
.refined-gallery img { height: 230px; }
.detail-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.detail-matrix div { display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,33,29,.10); }
.detail-matrix span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.detail-chips span { background: color-mix(in srgb, var(--primary) 8%, white); }
.plan-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.plan-preview-grid .plan-card { padding: 18px; }
.plan-preview-grid .naksha-image { height: 360px; }
.sticky-card { position: sticky; top: 96px; }
.plot-detail-sidebar iframe { width: 100%; min-height: 300px; border: 0; border-radius: 24px; margin: 12px 0; }
.detail-list div { align-items: start; }
@media (max-width: 1180px) { .plot-detail-hero, .plot-detail-layout, .plot-list .plot-card { grid-template-columns: 1fr; } .sticky-card { position: static; } .plot-card-specs, .detail-matrix, .plan-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .plot-card-specs, .detail-matrix, .quick-specs, .plan-preview-grid, .refined-gallery { grid-template-columns: 1fr; } .refined-gallery img:first-child { grid-column: auto; } .plot-hero-media, .plot-hero-media img { min-height: 380px; } .plot-hero-summary { padding: 22px; } }

/* Premium public-site rebuild */
.public-site {
  --glass: rgba(255,255,255,.82);
  --line: rgba(23,33,29,.12);
  --shadow-xl: 0 32px 100px rgba(17,24,39,.16);
  background:
    radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 28rem),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 30rem),
    linear-gradient(135deg, #fffdf7 0%, var(--paper) 42%, #eef3ec 100%);
}
.public-site main { width: min(1220px, calc(100% - 36px)); margin: 0 auto; }
.premium-header {
  position: sticky; top: 14px; z-index: 50;
  width: min(1220px, calc(100% - 36px)); margin: 14px auto 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.76); backdrop-filter: blur(22px); box-shadow: 0 18px 60px rgba(17,24,39,.12);
}
.premium-brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.premium-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 16px; color: white; font-weight: 900; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--accent) 70%, var(--primary))); box-shadow: 0 14px 32px color-mix(in srgb, var(--primary) 28%, transparent); }
.premium-brand strong { display: block; font-weight: 900; letter-spacing: -.05em; }
.premium-brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 800; }
.premium-nav { justify-self: center; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.premium-nav a { padding: 11px 14px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 900; transition: background .18s ease, color .18s ease, transform .18s ease; }
.premium-nav a:hover { background: color-mix(in srgb, var(--primary) 11%, white); color: var(--primary); transform: translateY(-1px); }
.premium-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--primary); color: white; font-weight: 900; box-shadow: 0 16px 38px color-mix(in srgb, var(--primary) 26%, transparent); }
.premium-footer {
  width: min(1220px, calc(100% - 36px)); margin: 54px auto 24px; padding: 34px;
  display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px;
  border: 1px solid var(--line); border-radius: 36px; background: #17211d; color: #fffaf0; box-shadow: var(--shadow-xl);
}
.premium-footer p, .premium-footer small { color: rgba(255,250,240,.68); }
.premium-footer h3 { font-family: "Epilogue", sans-serif; letter-spacing: 0; font-size: 14px; margin: 0 0 12px; text-transform: uppercase; color: #fffaf0; }
.premium-footer a:not(.premium-brand) { display: block; color: rgba(255,250,240,.72); font-weight: 800; margin: 8px 0; }
.footer-brand .premium-brand-mark { background: linear-gradient(135deg, var(--accent), #f9e0a4); color: #17211d; }

.landing-page, .content-page { padding: 34px 0 72px; }
.landing-hero, .page-hero {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.54));
  box-shadow: var(--shadow-xl);
}
.landing-hero { min-height: 76vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 28px; align-items: stretch; padding: clamp(28px, 5vw, 64px); }
.landing-hero::before, .page-hero::before { content: ""; position: absolute; inset: auto -10% -45% 35%; height: 70%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; display: grid; align-content: center; gap: 22px; }
.hero-copy h1, .page-hero h1 { max-width: 950px; font-size: clamp(48px, 7vw, 102px); line-height: .9; letter-spacing: -.07em; }
.hero-lede, .page-hero p { max-width: 780px; font-size: clamp(16px, 2vw, 21px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.hero-metrics div { padding: 18px; border-radius: 24px; background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.hero-metrics strong { display: block; font-size: clamp(28px, 4vw, 46px); line-height: 1; color: var(--primary); }
.hero-metrics span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero-showcase { position: relative; min-height: 560px; border-radius: 38px; overflow: hidden; background: linear-gradient(145deg, #173029, #315345 46%, #d7b064); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 28px 90px rgba(17,24,39,.22); }
.showcase-map { position: absolute; inset: 28px; border-radius: 30px; background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.2); overflow: hidden; }
.showcase-map::before { content: ""; position: absolute; inset: -20%; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 46px 46px; transform: rotate(-8deg); }
.plot-outline { position: absolute; border: 3px solid rgba(255,255,255,.78); background: rgba(255,255,255,.08); border-radius: 12px; transform: rotate(-8deg); }
.outline-one { left: 12%; top: 16%; width: 34%; height: 30%; }
.outline-two { right: 12%; top: 25%; width: 28%; height: 42%; }
.outline-three { left: 24%; bottom: 12%; width: 40%; height: 24%; }
.map-pin { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 9px rgba(216,173,89,.24); }
.pin-one { left: 28%; top: 30%; }.pin-two { right: 25%; top: 48%; }.pin-three { left: 45%; bottom: 22%; }
.floating-deal { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 28px; padding: 24px; border-radius: 28px; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(17,24,39,.22); }
.floating-deal span { color: var(--primary); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.floating-deal strong { display: block; font-size: clamp(30px, 4vw, 54px); font-family: "Playfair Display", serif; line-height: .95; letter-spacing: -.05em; }
.floating-deal small { color: var(--muted); font-weight: 800; }

.landing-section { margin-top: 34px; padding: clamp(28px, 4vw, 44px); border-radius: 40px; background: rgba(255,255,255,.68); border: 1px solid var(--line); box-shadow: 0 22px 70px rgba(17,24,39,.10); }
.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-grid article, .home-plot-card, .story-card, .contact-card, .register-note { padding: 22px; border-radius: 28px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(17,24,39,.08); }
.feature-grid strong, .story-card strong { display: block; font-size: 20px; margin-bottom: 8px; }
.feature-grid span, .story-card span { color: var(--muted); line-height: 1.65; }
.big-heading h2 { font-size: clamp(38px, 5vw, 74px); }
.home-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-plot-card { display: grid; gap: 14px; transition: transform .18s ease, box-shadow .18s ease; }
.home-plot-card:hover { transform: translateY(-4px); box-shadow: 0 28px 80px rgba(17,24,39,.14); }
.home-plot-card > div:first-child { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.home-plot-card h3 { font-size: clamp(26px, 3vw, 38px); }
.home-plot-card small { color: var(--muted); font-weight: 900; }
.mini-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-specs span { padding: 10px 12px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 8%, white); color: var(--ink); font-size: 12px; font-weight: 900; }
.mini-specs.vertical { display: grid; }
.plan-preview-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; background: #17211d; color: #fffaf0; }
.plan-preview-band p { color: rgba(255,250,240,.70); }
.plan-preview-stack { display: grid; gap: 14px; perspective: 1000px; }
.plan-preview-stack article { transform: translateX(calc(var(--i) * 18px)); padding: 24px; border-radius: 28px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #fffaf0; }
.plan-preview-stack strong { display: block; font-size: 34px; font-family: "Playfair Display", serif; }
.plan-preview-stack span, .plan-preview-stack small { display: block; color: rgba(255,250,240,.72); font-weight: 800; }
.cta-panel { text-align: center; display: grid; justify-items: center; }
.cta-panel h2 { font-size: clamp(40px, 6vw, 86px); }
.cta-panel p { max-width: 760px; }

.page-hero { padding: clamp(28px, 5vw, 58px); margin-bottom: 28px; }
.compact-hero h1, .listing-hero h1 { font-size: clamp(44px, 6vw, 86px); }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.large-story { grid-column: span 2; grid-row: span 2; }
.large-story h2 { font-size: clamp(34px, 4vw, 62px); }
.contact-layout, .register-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: stretch; }
.office-card { display: grid; align-content: center; gap: 18px; }
.contact-lines { display: grid; gap: 12px; }
.contact-lines span { display: grid; gap: 3px; padding: 14px; border-radius: 18px; background: color-mix(in srgb, var(--primary) 7%, white); color: var(--muted); font-weight: 800; }
.contact-lines strong { color: var(--ink); }
.enquiry-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.enquiry-form label { display: grid; gap: 8px; color: var(--muted); font-weight: 900; }
.register-shell { grid-template-columns: 1.2fr .8fr; }
.register-note { display: grid; align-content: center; gap: 16px; }
.register-note h2 { font-size: clamp(34px, 4vw, 62px); }

.market-layout { margin-top: 0; }
.facet-sidebar, .result-toolbar, .plan-size-filter { border-radius: 30px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); }
.plot-list { margin-top: 20px; }
.premium-pager, .pager { padding: 16px; border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(17,24,39,.10); }
.premium-pager span, .pager span { color: var(--ink); }
.button, button { min-height: 46px; box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 18%, transparent); }
.button.ghost { box-shadow: none; }
.empty-state { padding: 24px; border-radius: 24px; background: rgba(255,255,255,.76); border: 1px solid var(--line); }

@media (max-width: 1080px) {
  .premium-header { grid-template-columns: 1fr; border-radius: 32px; }
  .premium-nav { justify-self: stretch; justify-content: flex-start; }
  .premium-cta { justify-self: start; }
  .landing-hero, .split-section, .plan-preview-band, .contact-layout, .register-shell { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 420px; }
  .home-card-grid, .story-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-footer { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .public-site main, .premium-header, .premium-footer { width: min(100% - 22px, 1220px); }
  .landing-hero, .landing-section, .page-hero { border-radius: 28px; padding: 22px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(40px, 15vw, 64px); }
  .hero-metrics, .feature-grid, .home-card-grid, .story-grid, .enquiry-form { grid-template-columns: 1fr; }
  .large-story { grid-column: auto; grid-row: auto; }
  .premium-nav a { padding: 9px 10px; }
  .hero-showcase { min-height: 340px; }
  .floating-deal { left: 14px; right: 14px; bottom: 14px; }
  .plot-list .plot-card { grid-template-columns: 1fr; }
  .plot-card-specs { grid-template-columns: repeat(2, 1fr); }
  .premium-pager, .pager { border-radius: 24px; flex-direction: column; }
}

/* Route-backed admin UX */
.admin-body {
  background:
    radial-gradient(circle at 20% 8%, rgba(214, 169, 85, .22), transparent 30rem),
    radial-gradient(circle at 96% 28%, rgba(37, 99, 78, .16), transparent 28rem),
    #f4efe4;
}
.admin-sidebar { background: linear-gradient(180deg, #111b17, #1d2a24 72%, #0e1512); box-shadow: 18px 0 60px rgba(17,24,39,.16); }
.admin-side-nav a { border: 1px solid rgba(255,255,255,.07); transition: background .16s ease, color .16s ease, transform .16s ease; }
.admin-side-nav a:hover, .admin-side-nav a.active { background: #f2c166; color: #17211d; transform: translateX(3px); }
.admin-side-note { border: 1px solid rgba(242,193,102,.22); }
.admin-main { width: min(1240px, calc(100% - 44px)); }
.admin-flash { margin: 0 0 18px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(23,33,29,.10); }
.admin-overview-hero h1, .admin-card h1, .section-slim h1 { font-size: clamp(44px, 5vw, 76px); }
.admin-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-work-grid article { padding: 22px; border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(250,246,236,.72)); border: 1px solid rgba(23,33,29,.10); }
.admin-work-grid h2 { font-size: clamp(28px, 3vw, 42px); }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0; }
.admin-toolbar input { max-width: 620px; background: rgba(255,255,255,.88); }
.admin-actions-cell { min-width: 190px; }
.admin-actions-cell .button, .admin-actions-cell form { margin: 0 6px 8px 0; }
.admin-actions-cell form { display: inline-flex; }
.admin-data-table tr:hover td { background: rgba(242,193,102,.08); }
.admin-form-stack input:focus, .admin-form-stack textarea:focus, .admin-form-stack select:focus, .admin-toolbar input:focus { outline: 3px solid rgba(242,193,102,.34); border-color: rgba(29,36,31,.32); }
.save-button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 1180px) { .admin-work-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .admin-toolbar { align-items: stretch; flex-direction: column; } .admin-toolbar input, .admin-toolbar .button { max-width: none; width: 100%; } }
.admin-disabled-action { display: inline-flex; align-items: center; max-width: 170px; padding: 9px 11px; border-radius: 14px; background: rgba(185, 28, 28, .08); color: #9f1239; font-size: 12px; font-weight: 900; line-height: 1.25; }

/* ============================================================
   Mobile-friendly pass
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
h1, h2, h3 { overflow-wrap: anywhere; word-break: break-word; }

/* Hamburger nav: burger + checkbox are desktop-hidden */
.nav-toggle, .nav-burger, .nav-cta-inline { display: none; }

@media (max-width: 1080px) {
  .public-site .premium-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; padding: 12px 16px; border-radius: 22px;
  }
  .public-site .premium-brand { flex: 1 1 auto; min-width: 0; }
  .public-site .nav-cta-desktop { display: none; }
  .public-site .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; border-radius: 14px; cursor: pointer;
    background: color-mix(in srgb, var(--primary) 10%, white); flex: 0 0 auto;
  }
  .public-site .nav-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--primary); transition: transform .2s ease, opacity .2s ease; }
  .public-site .premium-nav {
    flex-basis: 100%; order: 3;
    display: grid; gap: 4px; margin: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .28s ease, opacity .2s ease;
  }
  .public-site .nav-toggle:checked ~ .premium-nav { max-height: 70vh; overflow-y: auto; opacity: 1; padding-top: 6px; }
  .public-site .premium-nav a {
    display: block; width: 100%; padding: 14px 12px; border-radius: 14px;
    font-size: 15px; color: var(--ink);
  }
  .public-site .premium-nav a:hover { background: color-mix(in srgb, var(--primary) 10%, white); }
  .public-site .premium-nav .nav-cta-inline { display: block; text-align: center; color: #fff; margin-top: 6px; }
  .public-site .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .public-site .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .public-site .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 720px) {
  .premium-header { position: sticky; top: 0; margin-top: 0; border-radius: 0 0 22px 22px; width: 100%; }
  .public-site main { width: min(100% - 24px, 1220px); }
  .premium-brand small { display: none; }
  .premium-brand-mark { width: 38px; height: 38px; }

  /* Tame oversized display type */
  h1 { font-size: clamp(30px, 9vw, 44px); letter-spacing: -.04em; }
  h2 { font-size: clamp(26px, 7vw, 40px); letter-spacing: -.03em; }
  h3 { font-size: clamp(20px, 5.5vw, 28px); }
  .hero-copy h1, .page-hero h1, .landing-hero h1, .cta-panel h2,
  .plot-hero-summary h1, .admin-topbar h1, .big-heading h2,
  .compact-hero h1, .listing-hero h1, .section-heading h2 { font-size: clamp(30px, 9vw, 46px); line-height: 1.02; }

  .section, .landing-page, .content-page, .plot-detail-page { padding: 24px 0 44px; }
  .landing-section { margin-top: 20px; }

  /* Single-column everything that is still multi-column */
  .hero, .stats, .actions, .grid, .home-card-grid, .feature-grid,
  .quick-specs, .detail-matrix, .plot-card-specs, .plan-preview-grid,
  .detail-panels, .analytics-grid, .analytics-kpi-grid, .story-grid,
  .enquiry-form, .form-grid, .spec-grid, .admin-kpis, .colony-grid,
  .hero-metrics { grid-template-columns: 1fr !important; }

  .plot-list .plot-card { grid-template-columns: 1fr !important; }
  .plot-card-media img, .plot-card img { min-height: 220px; height: 220px; }
  .plot-hero-media, .plot-hero-media img,
  .primary-plan-image, .primary-plan-image img { min-height: 320px; }

  /* Comfortable tap targets & full-width primary actions */
  .button, button, .premium-cta { min-height: 48px; }
  .actions .button, .hero-actions .button, .actions button { width: 100%; }

  /* Media blocks shorter on phones */
  .map-panel iframe, .plot-detail-sidebar iframe { min-height: 260px; }
  .ar-shell model-viewer, .secondary-ar model-viewer { height: 240px; }

  /* Sidebar layouts already collapse; keep facet filters usable */
  .market-layout { grid-template-columns: 1fr; }
  .facet-sidebar { position: static; max-height: none; }
}

/* Admin / dealer console on phones */
@media (max-width: 760px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; flex-direction: column; }
  .admin-side-nav { grid-auto-flow: row; }
  .admin-main { width: min(100% - 24px, 1240px); padding: 20px 0 48px; }
  .admin-hero, .admin-topbar, .admin-work-grid, .admin-kpis,
  .admin-kpis.compact, .analytics-kpi-grid { grid-template-columns: 1fr !important; }
  .admin-data-table { min-width: 640px; }
}

/* Wrap wide tables so the page never scrolls sideways */
.admin-table, .admin-data-table { -webkit-overflow-scrolling: touch; }
table { max-width: 100%; }

/* ci-check: 1788191491 */
