:root{--navy:#173469;--navy2:#10264e;--gold:#d0a72b;--ink:#172033;--muted:#677084;--bg:#f7f8fb;--white:#fff;--line:#e8ebf1}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:white}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav-wrap{height:82px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand img{width:52px;height:52px;object-fit:cover;border-radius:12px}.brand div{display:flex;flex-direction:column}.brand strong{letter-spacing:.08em;color:var(--navy)}.brand span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.main-nav{display:flex;gap:26px;align-items:center;font-size:14px}.main-nav a:hover{color:var(--gold)}.nav-toggle{display:none;border:0;background:transparent;font-size:24px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;border:1px solid var(--navy);padding:14px 20px;border-radius:10px;font-weight:700;transition:.2s}.btn:hover{transform:translateY(-1px);background:var(--navy2)}.btn-outline{background:transparent;color:var(--navy)}.btn-small{padding:10px 14px}.hero{background:linear-gradient(135deg,#fff 0%,#f7f8fb 60%,#f6edd2 100%);padding:90px 0}.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:80px;align-items:center}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--gold)}.hero h1,.page-hero h1,.detail-hero h1{font-size:clamp(40px,6vw,72px);line-height:1.03;letter-spacing:-.04em;margin:16px 0 22px;color:var(--navy2)}.hero p{font-size:18px;line-height:1.7;color:var(--muted);max-width:720px}.hero-actions{display:flex;gap:12px;margin:30px 0}.hero-points{display:flex;gap:10px}.hero-points span{background:white;border:1px solid var(--line);padding:8px 12px;border-radius:999px;font-size:13px}.hero-card{background:white;border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:0 30px 70px #17346914;text-align:center;transform:rotate(1deg)}.hero-card img{border-radius:18px}.hero-card .gold-line{height:4px;background:var(--gold);width:70px;margin:24px auto}.hero-card p{font-size:25px;font-weight:800;color:var(--navy);line-height:1.1}.hero-card small{letter-spacing:.12em;font-size:12px}.section{padding:82px 0}.section-soft{background:var(--bg)}.section-navy{background:var(--navy2);color:white}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-head h2{font-size:36px;margin:8px 0 0;color:var(--navy2)}.section-head>a{color:var(--navy);font-weight:700}.section-head.light h2{color:white}.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.property-card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s}.property-card:hover{transform:translateY(-4px);box-shadow:0 18px 50px #10264e14}.property-image{height:230px;position:relative;display:block;background:#eef1f7}.property-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--navy),var(--navy2));color:white;font-weight:900;letter-spacing:.1em}.image-placeholder.large{height:520px}.badge{position:absolute;left:16px;top:16px;background:var(--gold);color:#1f2530;font-size:12px;font-weight:800;padding:7px 10px;border-radius:999px}.badge.static{position:static;display:inline-block}.property-body{padding:20px}.meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;gap:10px}.property-body h3{font-size:20px;margin:10px 0;line-height:1.35}.price{color:var(--navy);font-size:20px;font-weight:850}.price small{font-size:12px;color:var(--muted);font-weight:600}.specs{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.specs span{font-size:12px;background:var(--bg);padding:7px 8px;border-radius:8px;color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery-grid figure{margin:0;position:relative;border-radius:15px;overflow:hidden;height:240px;background:#eee}.gallery-grid img{width:100%;height:100%;object-fit:cover}.gallery-grid figcaption{position:absolute;left:10px;bottom:10px;background:#fffdf4dd;padding:7px 10px;border-radius:8px;font-size:12px}.testimonial-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.testimonial-card{background:#ffffff10;border:1px solid #ffffff1f;padding:22px;border-radius:16px}.testimonial-card img{width:52px;height:52px;border-radius:50%;object-fit:cover;margin-bottom:18px}.testimonial-card p{line-height:1.7;color:#ecf0f9}.testimonial-card strong,.testimonial-card span{display:block}.testimonial-card span{font-size:12px;color:#bdc7db;margin-top:4px}.contact-cta{background:#fff}.cta-card{background:linear-gradient(135deg,#f7f8fb,#f5ebcd);border:1px solid var(--line);border-radius:24px;padding:38px;display:flex;justify-content:space-between;align-items:center;gap:25px}.cta-card h2{font-size:36px;color:var(--navy);margin:6px 0}.footer{background:#0c1b38;color:#dce3f0;padding:58px 0 22px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer h3,.footer h4{color:white}.footer p{color:#aeb9cd;line-height:1.6}.footer-bottom{border-top:1px solid #ffffff18;margin-top:30px;padding-top:22px;color:#8290aa;font-size:13px}.page-hero{padding:65px 0;background:var(--bg)}.page-hero h1{font-size:50px}.filter-bar{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:12px;margin-bottom:20px}.filter-bar select,.filter-bar input{height:48px;border:1px solid var(--line);border-radius:10px;padding:0 13px;background:#fff}.result-count{color:var(--muted);margin-bottom:25px}.detail-hero{padding:48px 0;background:var(--bg)}.breadcrumbs{font-size:13px;color:var(--muted)}.detail-title-row{display:flex;justify-content:space-between;gap:30px;align-items:flex-end}.detail-title-row h1{font-size:46px;margin-bottom:10px}.detail-price{font-size:30px;color:var(--navy);font-weight:900}.detail-price small{font-size:13px;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:1fr 340px;gap:28px}.detail-main-image{border-radius:20px;overflow:hidden;background:#eee}.detail-main-image img{width:100%;height:520px;object-fit:cover}.thumb-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.thumb-grid img{height:120px;width:100%;object-fit:cover;border-radius:10px}.content-card,.side-card{border:1px solid var(--line);border-radius:18px;padding:26px;margin-top:22px;background:white}.content-card h2{color:var(--navy)}.prose{line-height:1.8;color:#4f596a}.side-card{position:sticky;top:105px;margin-top:0}.side-card dl{margin:0 0 22px}.side-card dl div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0}.side-card dt{color:var(--muted)}.side-card dd{margin:0;font-weight:700}.full{width:100%}.map{width:100%;height:360px;border:0;border-radius:12px}.empty{color:var(--muted)}.light-text{color:#cbd5e1}@media(max-width:900px){.main-nav{display:none;position:absolute;top:82px;left:0;right:0;background:white;flex-direction:column;padding:20px;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.nav-toggle{display:block}.hero-grid,.detail-grid{grid-template-columns:1fr}.hero-card{max-width:480px}.property-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.testimonial-grid{grid-template-columns:repeat(2,1fr)}.filter-bar{grid-template-columns:1fr 1fr}.detail-title-row{align-items:flex-start;flex-direction:column}.side-card{position:static}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.container{width:min(100% - 24px,1180px)}.hero{padding:58px 0}.hero h1{font-size:42px}.hero-actions{flex-direction:column}.property-grid,.gallery-grid,.testimonial-grid,.filter-bar,.footer-grid{grid-template-columns:1fr}.gallery-grid figure{height:280px}.cta-card{flex-direction:column;align-items:flex-start}.section{padding:58px 0}.section-head h2{font-size:30px}.detail-main-image img,.image-placeholder.large{height:340px}.thumb-grid{grid-template-columns:repeat(2,1fr)}}

/* Lokasi kantor */
.office-location{margin-bottom:48px}.office-location-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.office-location h3{font-size:30px;margin:7px 0 4px;color:#fff}.office-location p{margin:0;color:#aeb9cd}.footer-eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--gold)}.office-map{display:block;width:100%;height:380px;border:0;border-radius:18px;background:#10264e;box-shadow:0 18px 45px #0003}@media(max-width:600px){.office-map{height:300px}.office-location h3{font-size:26px}}

/* Responsive office map - v4 */
.office-location{width:min(1180px,calc(100% - 40px));margin-left:auto;margin-right:auto;margin-bottom:48px}
.office-map-wrap{width:100%;max-width:none;overflow:hidden;border-radius:18px;background:#10264e;box-shadow:0 18px 45px #0003}
.office-map-wrap .office-map{display:block!important;width:100%!important;max-width:none!important;height:420px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:900px){.office-map-wrap .office-map{height:360px!important}}
@media(max-width:600px){.office-location{width:calc(100% - 24px);margin-bottom:36px}.office-map-wrap{border-radius:14px}.office-map-wrap .office-map{height:300px!important}}

/* Logo VARDHANA management: tampilkan simbol rumah dari aset lama tanpa tulisan lama. */
.logo-mark{display:block;flex-shrink:0;background-image:url('../images/logo.jpg');background-repeat:no-repeat}
.logo-mark-small{width:52px;height:52px;background-size:120px auto;background-position:center -48px;border-radius:12px}
.brand div span{text-transform:none;letter-spacing:.08em}
.hero-logo-lockup{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:355px;padding:22px 10px 16px;border-radius:18px;background:#fafafa}
.logo-mark-large{width:210px;height:195px;background-size:440px auto;background-position:center -174px}
.hero-logo-wordmark{display:flex;align-items:center;flex-direction:column;gap:1px;line-height:1.15;color:var(--navy2)}
.hero-logo-wordmark strong{font-size:clamp(28px,2.8vw,38px);font-weight:800;letter-spacing:.035em}
.hero-logo-wordmark span{font-size:19px;font-weight:600;letter-spacing:.12em}
@media(max-width:600px){.hero-logo-lockup{min-height:320px}.hero-logo-wordmark strong{font-size:30px}}

/* Owner-supplied amenities and secondary annual rental rate */
.detail-alt-price{font-size:15px;font-weight:600;margin-top:9px;color:#53647e}
.detail-feature-list{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.detail-feature-list li{position:relative;padding:12px 12px 12px 36px;background:#f6f8fc;border:1px solid #e6eaf2;border-radius:10px;line-height:1.5}
.detail-feature-list li:before{content:'✓';position:absolute;top:12px;left:12px;color:#b58a23;font-weight:800}
.nearby-note{background:#f6f8fc;padding:12px 14px;border-radius:9px;line-height:1.6}
@media(max-width:650px){.detail-feature-list{grid-template-columns:1fr}}

/* Filter area properti di beranda dan halaman listing. */
.hero-area-filter{margin-top:22px;max-width:540px}
.hero-area-filter label{display:block;margin-bottom:10px;font-size:14px;font-weight:700;color:var(--navy2)}
.hero-area-fields{display:flex;gap:10px;align-items:stretch}
.hero-area-fields select{flex:1;min-width:0;height:49px;border:1px solid var(--line);border-radius:10px;padding:0 14px;background:white;color:var(--ink);font:inherit}
.hero-area-fields .btn{min-height:49px;white-space:nowrap}
.filter-bar{grid-template-columns:1fr 1fr 1.1fr 1.7fr auto}
@media(max-width:900px){.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar .btn{width:100%}}
@media(max-width:600px){.hero-area-fields{flex-direction:column}.hero-area-fields .btn{width:100%}.filter-bar{grid-template-columns:1fr}}


/* VARDHANA v7: badges for sale vs rent (kartu + halaman detail) */
.property-transaction-badge {
  border:1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.property-transaction-badge.badge-sale {
  background:#e8f1ff; color:#20477a; border-color:#cde0fb;
}
.property-transaction-badge.badge-rent {
  background:#e6f7ea; color:#21613c; border-color:#cbe9d5;
}
.property-card:hover .property-transaction-badge.badge-sale,
.property-transaction-badge.badge-sale:hover {
  background:#d3e6ff; border-color:#a8ccf5;
  box-shadow:0 2px 8px rgba(38,93,159,.12);
}
.property-card:hover .property-transaction-badge.badge-rent,
.property-transaction-badge.badge-rent:hover {
  background:#cff0d9; border-color:#9ed6b0;
  box-shadow:0 2px 8px rgba(33,107,62,.12);
}
.property-transaction-badge.static:hover { transform:translateY(-1px); }
@media(prefers-reduced-motion:reduce){
  .property-transaction-badge{transition:none}
  .property-transaction-badge.static:hover { transform:none; }
}


/* VARDHANA v8 - homepage View all buttons and accessible gallery lightbox */
.section-head > a.view-all-property-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; flex: 0 0 auto; min-height: 44px;
  padding: 8px 9px 8px 17px; background: #173469; color: #fff;
  border: 1px solid #173469; border-radius: 11px;
  font-size: 13px; font-weight: 750; line-height: 1;
  box-shadow: 0 4px 12px rgba(23,52,105,.15);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.view-all-property-btn .view-all-arrow {
  display: inline-flex; justify-content: center; align-items: center;
  width: 27px; height: 27px; border-radius: 8px;
  background: rgba(255,255,255,.18);
  transition: background-color .2s ease, transform .2s ease;
}
.section-head > a.view-all-property-btn:hover {
  color: #fff; background: #244b8b; border-color: #244b8b;
  box-shadow: 0 7px 18px rgba(23,52,105,.22);
  transform: translateY(-2px);
}
.section-head > a.view-all-property-btn:hover .view-all-arrow {
  background: rgba(255,255,255,.27); transform: translateX(2px);
}
.section-head > a.view-all-property-btn:focus-visible,
.gallery-zoom-trigger:focus-visible,
.gallery-lightbox button:focus-visible {outline: 3px solid #f4ce62; outline-offset: 3px;}

.gallery-zoom-card .gallery-zoom-trigger {
  position: relative; display: block; width: 100%; height: 100%;
  cursor: zoom-in; overflow: hidden; background: #eef1f7;
}
.gallery-zoom-card .gallery-zoom-trigger:after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(9,24,54,.18), transparent 54%);
  opacity: 0; transition: opacity .25s ease;
}
.gallery-zoom-card .gallery-zoom-trigger img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-zoom-card .gallery-zoom-icon {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; justify-content: center; align-items: center;
  width: 37px; height: 37px; border-radius: 10px;
  background: rgba(255,255,255,.95); color: #173469;
  box-shadow: 0 3px 14px rgba(9,24,54,.14);
  opacity: 0; transform: translateY(-5px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-zoom-card:hover .gallery-zoom-trigger img,
.gallery-zoom-card:focus-within .gallery-zoom-trigger img { transform: scale(1.045); }
.gallery-zoom-card:hover .gallery-zoom-trigger:after,
.gallery-zoom-card:focus-within .gallery-zoom-trigger:after { opacity: 1; }
.gallery-zoom-card:hover .gallery-zoom-icon,
.gallery-zoom-card:focus-within .gallery-zoom-icon { opacity: 1; transform: translateY(0); }
.gallery-zoom-card figcaption { pointer-events: none; z-index: 3; }

body.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed; max-width: min(1120px, 95vw); width: max-content;
  max-height: 96dvh; margin: auto; padding: 0; border: 0; border-radius: 17px;
  overflow: visible; background: #0d1930; color: white;
  box-shadow: 0 25px 80px rgba(0,0,0,.5);
  animation: vardhana-gallery-in .24s ease both;
}
.gallery-lightbox::backdrop {background: rgba(5,13,28,.88); backdrop-filter: blur(6px);}
.gallery-lightbox-panel {width: min(1120px, 95vw); position: relative;}
.gallery-lightbox-stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 220px; height: min(74dvh, 760px);
}
.gallery-lightbox-photo {
  display: block; width: 100%; height: 100%; max-height: 74dvh;
  object-fit: contain; user-select: none;
}
.gallery-lightbox button {
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border: 1px solid rgba(255,255,255,.18);
  color: #fff; background: rgba(15,28,52,.8);
  transition: background-color .2s ease, transform .2s ease;
}
.gallery-lightbox button:hover {background: #244b8b; transform: scale(1.05);}
.gallery-lightbox button[hidden] { display: none; }
.gallery-lightbox-close {
  position: absolute; z-index: 5; top: 12px; right: 12px;
  width: 41px; height: 41px; border-radius: 11px;
}
.gallery-lightbox-prev,.gallery-lightbox-next {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 43px; height: 48px; border-radius: 11px;
}
.gallery-lightbox-prev { left: 13px; }
.gallery-lightbox-next { right: 13px; }
.gallery-lightbox-prev:hover,.gallery-lightbox-next:hover {transform: translateY(-50%) scale(1.05);}
.gallery-lightbox-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 13px 20px 16px; font-size: 14px;
}
.gallery-lightbox-title {font-weight: 700; line-height: 1.45; overflow-wrap: anywhere;}
.gallery-lightbox-count {color: #d0d9e7; font-size: 12px; white-space: nowrap;}
@keyframes vardhana-gallery-in {
  from {opacity: 0; transform: translateY(12px) scale(.985);}
  to {opacity: 1; transform: translateY(0) scale(1);}
}
@media (max-width: 600px) {
  .section-head > a.view-all-property-btn {min-height: 40px; padding: 6px 7px 6px 12px; font-size: 12px; gap: 6px;}
  .view-all-property-btn .view-all-arrow {width: 25px; height: 25px;}
  .gallery-zoom-icon {opacity: 1 !important; transform: none !important;}
  .gallery-lightbox-stage {height: min(70dvh, 610px); min-height: 190px;}
  .gallery-lightbox-photo {max-height: 70dvh;}
  .gallery-lightbox-meta {padding: 12px 14px 15px;}
  .gallery-lightbox-prev,.gallery-lightbox-next {width: 36px; height: 43px;}
  .gallery-lightbox-prev {left: 8px;}
  .gallery-lightbox-next {right: 8px;}
}
@media (prefers-reduced-motion: reduce) {
  .section-head > a.view-all-property-btn,
  .view-all-property-btn .view-all-arrow,
  .gallery-zoom-card .gallery-zoom-trigger img,
  .gallery-zoom-card .gallery-zoom-trigger:after,
  .gallery-zoom-card .gallery-zoom-icon,
  .gallery-lightbox button {transition: none;}
  .gallery-lightbox {animation: none;}
}


/* VARDHANA v9 - Featured star directly beside the Sale/Rent pill.
   Only displayed for properties with featured=1 in the database. */
.property-image .property-top-badges {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 32px);
  pointer-events: none;
}
.property-image .property-top-badges > .badge {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}
.property-image .property-featured-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #f2d88c;
  border-radius: 11px;
  background: #fff6d8;
  color: #bf8414;
  box-shadow: 0 3px 12px rgba(56, 40, 7, .16);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.property-image .property-featured-star svg { display: block; }
.property-card:hover .property-featured-star {
  background: #ffecad;
  box-shadow: 0 5px 16px rgba(56, 40, 7, .22);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .property-image .property-featured-star { transition: none; }
  .property-card:hover .property-featured-star { transform: none; }
}


/* VARDHANA v10: two-column property + gallery grids on mobile.
   Applies both to homepage and /properti.php search/listing results. */
@media (max-width: 600px) {
  .property-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .property-grid > *, .gallery-grid > * { min-width: 0; }
  .property-card { border-radius: 14px; }
  .property-image { height: clamp(120px, 39vw, 177px); }
  .property-body { padding: 12px 10px 14px; }
  .property-body .meta {
    display: flex; flex-direction: column; align-items: flex-start;
    font-size: 10px; gap: 2px; line-height: 1.4;
  }
  .property-body .meta span { min-width: 0; }
  .property-body .meta span:last-child {
    overflow: hidden; display: -webkit-box;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  }
  .property-body h3 {
    font-size: 14px; line-height: 1.35; margin: 8px 0;
    overflow: hidden; display: -webkit-box;
    -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  }
  .property-body .price { font-size: clamp(12px, 3.7vw, 16px); line-height: 1.35; overflow-wrap: anywhere; }
  .property-body .price small { display: block; font-size: 10px; margin-top: 2px; }
  .property-body .specs { gap: 5px; margin-top: 9px; }
  .property-body .specs span { font-size: 10px; padding: 5px 6px; line-height: 1.3; }
  .property-image .property-top-badges { top: 9px; left: 9px; gap: 5px; max-width: calc(100% - 18px); }
  .property-image .property-top-badges > .badge {
    min-height: 27px; padding: 5px 8px; font-size: 10px;
  }
  .property-image .property-featured-star {
    width: 27px; height: 27px; flex-basis: 27px; border-radius: 9px;
  }
  .property-image .property-featured-star svg { width: 15px; height: 15px; }
  .gallery-grid figure { height: clamp(135px, 44vw, 205px); border-radius: 13px; }
  .gallery-grid figcaption {
    left: 7px; right: 7px; bottom: 7px;
    width: max-content; max-width: calc(100% - 14px);
    font-size: 10px; line-height: 1.3; padding: 6px 8px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .gallery-zoom-card .gallery-zoom-icon { width: 28px; height: 28px; top: 8px; right: 8px; border-radius: 8px; }
  .gallery-zoom-card .gallery-zoom-icon svg { width: 15px; height: 15px; }
}


/* VARDHANA v11 – mobile-only hero cleanup and redesigned dropdown navigation.
   Desktop layout is intentionally unchanged. */
@media (max-width: 900px) {
  .nav-wrap { position: relative; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; flex: 0 0 46px; padding: 0;
    border: 1px solid #d4e1f4; border-radius: 14px;
    background: #eef4ff; color: #173469; cursor: pointer;
    box-shadow: 0 2px 7px rgba(23,52,105,.06);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] {
    background: #173469; border-color: #173469; color: #fff;
    box-shadow: 0 5px 16px rgba(23,52,105,.19);
  }
  .nav-toggle:active { transform: scale(.96); }
  .nav-toggle:focus-visible, .main-nav a:focus-visible {
    outline: 3px solid #f1c84b; outline-offset: 3px;
  }
  .nav-toggle-bars { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 20px; height: 22px; }
  .nav-toggle-bars > span { display: block; height: 2.3px; width: 100%; background: currentColor; border-radius: 9px; transition: transform .24s ease, opacity .18s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:first-child { transform: translateY(7.3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:last-child { transform: translateY(-7.3px) rotate(-45deg); }

  /* Floating, left-aligned navigation card instead of centered full-width list. */
  .main-nav {
    display: none; position: absolute; top: calc(100% + 9px); left: auto; right: 0;
    width: min(355px, calc(100vw - 24px)); max-height: calc(100dvh - 108px);
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 15px; border: 1px solid #e1e8f2;
    border-radius: 20px; box-shadow: 0 22px 55px rgba(12,32,70,.22);
    z-index: 60;
  }
  .main-nav.open { display: flex; animation: vardhana-mobile-nav-show .2s ease-out both; }
  .mobile-menu-heading { display: flex !important; flex-direction: column; align-items: flex-start; gap: 3px; padding: 5px 9px 13px; margin-bottom: 3px; border-bottom: 1px solid #e9edf4; }
  .mobile-menu-heading .mobile-menu-eyebrow { font-size: 10px; letter-spacing: .13em; font-weight: 800; color: #b18419; }
  .mobile-menu-heading strong { font-size: 15px; color: #10264e; }
  .main-nav a.nav-link {
    width: 100%; display: flex; align-items: center; justify-content: flex-start;
    gap: 11px; min-height: 49px; padding: 6px 10px;
    border: 1px solid transparent; border-radius: 12px;
    color: #24344e; background: #fff; font-weight: 650; font-size: 14px; line-height: 1.25;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  }
  .main-nav a.nav-link:hover, .main-nav a.nav-link:focus-visible { background: #f1f5fc; color: #173469; }
  .main-nav a.nav-link:active { transform: scale(.99); }
  .main-nav .nav-link-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
    color: #244b84; background: #f0f4fb;
  }
  .main-nav .nav-link-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .main-nav .nav-link-chevron { display: inline-block; margin-left: auto; font-size: 22px; line-height: 1; font-weight: 400; color: #9aaac2; }
  .main-nav a.nav-link.is-current {
    color: #173469; background: #fff2bf; border-color: #f3e3a4;
  }
  .main-nav a.nav-link.is-current .nav-link-icon { color: #173469; background: rgba(255,255,255,.7); }
  .main-nav a.nav-link.is-current .nav-link-chevron { color: #c28d15; }
  .main-nav a.nav-contact {
    display: flex; justify-content: flex-start; align-items: center;
    gap: 11px; margin-top: 10px; padding: 7px 10px; min-height: 49px; width: 100%;
    border: 1px solid #173469; border-radius: 12px;
    background: #173469; color: #fff; box-shadow: 0 5px 12px rgba(23,52,105,.15);
    font-size: 14px; font-weight: 750;
  }
  .main-nav a.nav-contact .nav-link-icon { background: rgba(255,255,255,.14); color: #fff; }
  .main-nav a.nav-contact .nav-link-chevron { color: #fff; opacity: .85; }
  .main-nav a.nav-contact:hover { background: #244b8b; color: #fff; border-color: #244b8b; }
  .main-nav a.nav-contact.is-current { background: #244b8b; }
}
@keyframes vardhana-mobile-nav-show {
  from { opacity: 0; transform: translateY(-8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Hidden on desktop: mobile menu heading and icons are only for small screens. */
@media (min-width: 901px) {
  .mobile-menu-heading, .main-nav .nav-link-icon, .main-nav .nav-link-chevron { display: none !important; }
}
@media (max-width: 600px) {
  .hero .hero-grid > .hero-card { display: none; }
  .hero { padding-bottom: 40px; }
  .hero-grid { gap: 0; }
  .nav-wrap { height: 76px; }
  .main-nav { top: calc(100% + 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav.open { animation: none; }
  .nav-toggle, .nav-toggle-bars > span, .main-nav a.nav-link { transition: none; }
}

/* VARDHANA v12: optional configurable floating WhatsApp contact */
.wa-floating{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:80;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:56px;padding:11px 18px 11px 13px;border-radius:100px;background:#20aa63;color:#fff!important;border:1px solid #139451;box-shadow:0 7px 22px rgba(11,106,54,.26);font-size:14px;font-weight:750;line-height:1;white-space:nowrap;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;text-decoration:none!important}
.wa-floating-right{right:24px}
.wa-floating-left{left:24px}
.wa-floating-center{left:50%;transform:translateX(-50%)}
.wa-floating:hover{background:#188b50;box-shadow:0 9px 26px rgba(11,106,54,.33);transform:translateY(-3px)}
.wa-floating-center:hover{transform:translate(-50%,-3px)}
.wa-floating:focus-visible{outline:3px solid #173469;outline-offset:4px}
.wa-floating-icon{width:29px;height:29px;flex-shrink:0}
@media(max-width:600px){.wa-floating{bottom:calc(20px + env(safe-area-inset-bottom,0px));width:56px;height:56px;padding:12px;border-radius:50%;min-height:0;box-shadow:0 6px 20px rgba(11,106,54,.30)}.wa-floating>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.wa-floating-left{left:17px}.wa-floating-right{right:17px}.wa-floating-icon{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.wa-floating{transition:none}}

/* VARDHANA v13: compact property listing heading on mobile only.
   Reduces blank space above the label, below the title and before filters.
   Applies to both Properties for Sale and Properties for Rent; desktop unchanged. */
@media (max-width: 600px) {
  .page-hero {
    padding-top: 28px;
    padding-bottom: 24px;
  }
  .page-hero .eyebrow {
    display: inline-block;
    font-size: 11px;
    line-height: 1.4;
  }
  .page-hero h1 {
    font-size: clamp(32px, 8.9vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin: 11px 0 0;
    text-wrap: balance;
  }
  .page-hero + .section {
    padding-top: 26px;
  }
}
