/* ============================================================
   Affordable Housing Gurugram — modern real-estate theme
   Palette: brand orange + deep navy, warm neutrals
   ============================================================ */
:root {
  --orange: #ee6c10;
  --orange-dark: #d65c05;
  --orange-soft: #fff3e9;
  --navy: #0f2233;
  --navy-2: #16314a;
  --ink: #1f2a33;
  --muted: #64748b;
  --line: #e7ecf1;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --green: #2fa84f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15,34,51,.06), 0 1px 3px rgba(15,34,51,.08);
  --shadow: 0 10px 30px rgba(15,34,51,.10);
  --shadow-lg: 0 20px 50px rgba(15,34,51,.16);
  --maxw: 1200px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange); }
h1,h2,h3,h4 { color: var(--navy); line-height: 1.25; font-weight: 700; margin: 0 0 .5em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s; font-size: 15px;
}
.btn:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(238,108,16,.35); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: none; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy); color: #cdd9e5; font-size: 13.5px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: #cdd9e5; }
.topbar a:hover { color: #fff; }
.topbar .tb-contact { display: flex; gap: 20px; }
.topbar .tb-social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center;
}
.brand .logo-mark svg { width: 100%; height: 100%; display: block; }
.brand .logo-text { font-weight: 800; color: var(--navy); font-size: 17px; line-height: 1.1; }
.brand .logo-text span { display: block; font-size: 11px; font-weight: 600; color: var(--orange); letter-spacing: .4px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > a.nav-link, .nav-item > a.nav-link {
  padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--navy); border-radius: 8px;
  display: inline-flex; align-items: center; gap: 5px;
}
.main-nav > a.nav-link:hover, .nav-item:hover > a.nav-link { background: var(--orange-soft); color: var(--orange-dark); }
.nav-item { position: static; }
.nav-link .caret { font-size: 9px; transition: transform .2s; opacity: .6; margin-left: 1px; }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

/* ── Mega menu styles live self-contained in partials/header.ejs ── */

.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .2s; }



/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 88px 0 140px;
  background: linear-gradient(rgba(15,34,51,.78), rgba(15,34,51,.86)),
    url('/assets/img/hero.svg') center/cover no-repeat, var(--navy);
  text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); margin-bottom: 14px; letter-spacing: -.5px; }
.hero .sub { font-size: 18px; color: #d7e2ec; max-width: 680px; margin: 0 auto 8px; }
.hero .pill { display: inline-block; background: rgba(238,108,16,.18); color: #ffd9bd; border: 1px solid rgba(238,108,16,.4); padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px; }

/* Search box */
.search-box {
  max-width: 880px; margin: 30px auto 0; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 14px; display: flex; gap: 10px; flex-wrap: wrap;
}
.search-box select, .search-box input {
  flex: 1 1 200px; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.search-box .btn { flex: 0 0 auto; }

/* hero stats */
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 30px; color: #fff; font-weight: 800; }
.hero-stats .stat span { font-size: 13.5px; color: #b9c8d6; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Property grid + cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.06); }
.card .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  padding: 5px 10px; border-radius: 6px; color: #fff; background: var(--orange); backdrop-filter: blur(4px);
}
.badge.is-ready, .badge.is-construction { background: var(--green); }
.badge.is-sold, .badge.is-closed { background: #b6483b; }
.badge.is-upcoming { background: #2f7fb8; }
.badge.is-default { background: var(--navy-2); }
.card .price-tag {
  position: absolute; bottom: 12px; left: 12px; background: rgba(15,34,51,.88); color: #fff;
  padding: 7px 14px; border-radius: 8px; font-weight: 700; font-size: 14.5px; backdrop-filter: blur(4px);
}
.card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card .body h3 { font-size: 18px; margin-bottom: 4px; }
.card .body h3 a { color: var(--navy); }
.card .body h3 a:hover { color: var(--orange-dark); }
.card .loc { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.card .specs {
  display: flex; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto;
  font-size: 13px; color: var(--ink); justify-content: space-between;
}
.card .specs .spec { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; text-align: center; }
.card .specs .spec b { color: var(--navy); font-size: 14px; }
.card .specs .spec span { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .3px; }
.card .tags { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* feature card (large) */
.feature-card .thumb { aspect-ratio: 16/9; }
.feature-card .body h3 { font-size: 22px; }

/* ---------- News cards ---------- */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card .thumb { aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 18px; }
.news-card .cat { font-size: 11.5px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; }
.news-card h3 { font-size: 16.5px; margin: 8px 0; }
.news-card h3 a { color: var(--navy); }
.news-card .meta { font-size: 12.5px; color: var(--muted); }
.news-card p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Builders strip ---------- */
.builder-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.builder-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center;
  display: flex; align-items: center; justify-content: center; min-height: 96px; transition: .2s; font-weight: 600; color: var(--navy); font-size: 14px;
}
.builder-chip:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--orange); color: var(--orange-dark); }
.builder-chip img { max-height: 56px; width: auto; object-fit: contain; }

/* ---------- Page layout with sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.layout > main { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget h4 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--orange-soft); position: relative; }
.widget h4::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 46px; height: 2px; background: var(--orange); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--ink); font-weight: 500; }
.widget li a:hover { color: var(--orange-dark); }
.widget .mini-post { display: flex; gap: 12px; align-items: center; }
.widget .mini-post img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.widget .mini-post .mp-title { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.widget .mini-post .mp-date { font-size: 12px; color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--orange-dark); }
.breadcrumb .sep { margin: 0 8px; color: #b8c2cc; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(rgba(15,34,51,.84), rgba(15,34,51,.9)), url('/assets/img/hero.svg') center/cover; color: #fff; padding: 54px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; }
.page-hero p { color: #cdd9e5; max-width: 700px; margin: 0 auto; }

/* ---------- Article / prose ---------- */
.prose { font-size: 16px; color: #2c3a45; }
.prose h1,.prose h2,.prose h3,.prose h4 { margin-top: 1.4em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: 10px; margin: 1.2em 0; box-shadow: var(--shadow-sm); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose thead th, .prose tr:first-child td { background: var(--navy); color: #fff; font-weight: 600; border-color: var(--navy-2); }
.prose tbody tr:nth-child(even), .prose tr:nth-child(even) { background: var(--bg-soft); }
.prose blockquote { border-left: 4px solid var(--orange); padding: 8px 18px; margin: 1.2em 0; background: var(--orange-soft); border-radius: 0 8px 8px 0; color: #5a4636; }
.prose iframe { max-width: 100%; border-radius: 10px; margin: 1em 0; }

/* Property body (admin rich content) */
.prop-body h2 { font-size: 23px; padding-bottom: 10px; border-bottom: 2px solid var(--orange-soft); position: relative; margin: 1.6em 0 .8em; }
.prop-body h2:first-child { margin-top: 0; }
.prop-body h2::after { content:''; position:absolute; bottom:-2px; left:0; width:60px; height:2px; background: var(--orange); }
.prop-body img { border-radius: 10px; box-shadow: var(--shadow-sm); margin: 10px 0; }
.prop-body ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.prop-body ul li { padding-left: 26px; position: relative; }
.prop-body ul li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--orange-soft); color: var(--orange-dark); border-radius: 50%; font-size: 11px; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 640px) { .prop-body ul { grid-template-columns: 1fr; } }

/* ---------- Property detail ---------- */
.prop-hero { padding: 30px 0; }
.prop-hero h1 { font-size: clamp(26px, 4vw, 38px); }
.prop-hero .loc { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 15px; margin-bottom: 14px; }
.prop-hero .price { font-size: 26px; font-weight: 800; color: var(--orange-dark); }
.prop-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-bottom: 8px; border-radius: var(--radius); overflow: hidden; }
.prop-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.prop-gallery .main { grid-row: span 2; aspect-ratio: auto; }
.prop-cover { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.facts-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 26px 0; }
.facts-bar .fact { background: #fff; padding: 18px 16px; text-align: center; }
.facts-bar .fact .fi { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--orange); }
.facts-bar .fact .fl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.facts-bar .fact .fv { font-weight: 700; color: var(--navy); font-size: 15px; margin-top: 3px; }

.prop-section { margin-bottom: 34px; }
.prop-section > h2 { font-size: 23px; padding-bottom: 10px; border-bottom: 2px solid var(--orange-soft); position: relative; margin-bottom: 18px; }
.prop-section > h2::after { content:''; position:absolute; bottom:-2px; left:0; width:60px; height:2px; background: var(--orange); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { padding-left: 28px; position: relative; font-size: 15px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--orange-soft); color: var(--orange-dark); border-radius: 50%; font-size: 12px; display: grid; place-items: center; font-weight: 800; }

.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; }
.contact-card h4 { color: #fff; }
.contact-card label { display: block; font-size: 13px; color: #b9c8d6; margin: 12px 0 5px; }
.contact-card input, .contact-card textarea { width: 100%; border: 1px solid #2c4a64; background: #14283b; color: #fff; border-radius: 8px; padding: 11px 13px; font-family: inherit; font-size: 14px; }
.contact-card input::placeholder, .contact-card textarea::placeholder { color: #7e93a6; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 9px 15px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); background: #fff; }
.pagination a:hover { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-dark); }
.pagination .current { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; border-radius: 18px; padding: 44px; text-align: center; margin: 10px 0; }
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.cta-band p { color: #ffe6d3; margin-bottom: 22px; font-size: 16px; }
.cta-band .btn { background: #fff; color: var(--orange-dark); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8d6; padding: 60px 0 0; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a { color: #b9c8d6; }
.site-footer a:hover { color: var(--orange); }
.site-footer .f-brand .logo-text { color: #fff; }
.site-footer .f-about { font-size: 14px; line-height: 1.7; }
.f-social { display: flex; gap: 12px; margin-top: 18px; }
.f-social a { width: 38px; height: 38px; border-radius: 9px; background: #1d3650; display: grid; place-items: center; color: #cdd9e5; }
.f-social a:hover { background: var(--orange); color: #fff; }
.footer-bottom { border-top: 1px solid #21405c; margin-top: 44px; padding: 22px 0; font-size: 13px; color: #8198ad; text-align: center; }
.footer-bottom a { color: #b9c8d6; }

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--navy); font-weight: 600; }
.chip:hover { background: var(--orange-soft); color: var(--orange-dark); border-color: var(--orange); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- Contact form box ---------- */
.contact-form-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-form-box h2 { font-size: 22px; margin-bottom: 6px; }
.lead-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin: 14px 0 5px; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; font-family: inherit; font-size: 15px; background: #fff; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,108,16,.12); }
.lead-form .lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .lead-form .lf-row { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .builder-grid { grid-template-columns: repeat(4, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prop-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 320px); background: #fff; flex-direction: column; align-items: stretch; padding: 76px 16px 24px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s; overflow-y: auto; gap: 2px; z-index: 60; }
  .main-nav.open { transform: translateX(0); }
  .menu-toggle { display: block; position: relative; z-index: 61; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(15,34,51,.45); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 55; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .main-nav > a.nav-link, .nav-item > a.nav-link { padding: 13px 12px; font-size: 16px; border-radius: 8px; }
  .main-nav .nav-cta { margin: 14px 0 0; width: 100%; justify-content: center; }
  /* Tighter section spacing */
  .section { padding: 44px 0; }
  .hero { padding: 60px 0 90px; }
}
@media (max-width: 760px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .builder-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .prop-gallery { grid-template-columns: 1fr; }
  /* Topbar: hide tagline, keep email */
  .topbar { font-size: 12.5px; }
  .topbar .container { height: auto; min-height: 38px; padding: 6px 16px; gap: 10px; }
  .topbar .tb-social { display: none; }
  /* Search box stacks */
  .search-box { gap: 8px; padding: 12px; }
  .search-box select, .search-box input, .search-box .btn { flex: 1 1 100%; }
  /* CTA band smaller */
  .cta-band { padding: 32px 22px; border-radius: 14px; }
  .cta-band h2 { font-size: 24px; }
  /* Property hero / facts */
  .prop-hero .price { font-size: 22px; }
  .prop-cover { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .container { padding: 0 15px; }
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { padding: 48px 0 70px; }
  .hero h1 { font-size: 27px; }
  .hero .sub { font-size: 15.5px; }
  .hero-stats { gap: 18px 28px; margin-top: 28px; }
  .hero-stats .stat strong { font-size: 24px; }
  .grid { gap: 18px; }
  .builder-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding: 44px 0 0; margin-top: 48px; }
  .breadcrumb { font-size: 12.5px; }
  .page-hero { padding: 40px 0; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .contact-card, .widget, .contact-form-box { padding: 20px; }
  .cta-band { padding: 28px 18px; }
  .cta-band h2 { font-size: 22px; }
  .prop-section > h2, .prop-body h2 { font-size: 20px; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 19px; }
  .btn { padding: 11px 18px; font-size: 14.5px; }
}

/* Wide WP tables / embeds never break the layout — scroll within their column */
.prose table, .prop-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table td, .prose table th, .prop-body table td, .prop-body table th { white-space: normal; }
@media (max-width: 760px) {
  .prose table, .prop-body table { font-size: 13.5px; }
  .prose th, .prose td { padding: 9px 11px; }
}
.prose iframe, .prop-body iframe, .prose video { max-width: 100%; }
