@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#18221f;--muted:#66716c;--green:#1f6b53;--green-dark:#174d3d;--cream:#f7f7f1;--line:#e2e8e2;--white:#fff;--accent:#d9e9dc;--radius:22px;--shadow:0 16px 45px rgba(24,34,31,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:'DM Sans',Arial,sans-serif;line-height:1.6}h1,h2,h3,.brand{font-family:'Manrope',Arial,sans-serif;line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.5rem,5vw,4.7rem);margin:.3rem 0 1.1rem;max-width:750px}h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:.3rem 0 .8rem}h3{font-size:1.35rem;margin:.25rem 0 .7rem}p{margin:.5rem 0 1rem}.muted,.lead{color:var(--muted)}.lead{font-size:1.12rem;max-width:620px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.76rem;font-weight:700;color:var(--green);margin:0 0 .8rem}.site-header{height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 max(5vw,22px);border-bottom:1px solid #eef0ec;background:rgba(255,255,255,.94)}.brand{font-size:1.55rem;font-weight:800;color:#aa2200;text-decoration:none;white-space:nowrap}.brand span{color:var(--green)}nav{display:flex;gap:clamp(14px,3vw,34px)}nav a,.site-footer a,.text-link{color:var(--ink);text-decoration:none;font-weight:600;font-size:.94rem}nav a:hover,.site-footer a:hover,.text-link:hover{color:var(--green)}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5vw;padding:clamp(55px,8vw,115px) max(5vw,22px);background:var(--cream)}.hero-copy{max-width:670px}.hero h1 span{color:var(--green)}.hero-art{min-height:390px;border-radius:28px;background:linear-gradient(145deg,#dbe8dc,#b4cdbd 55%,#789e89);display:flex;align-items:flex-end;padding:24px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-art:before,.hero-art:after{content:"";position:absolute;background:rgba(255,255,255,.3);border:1px solid rgba(255,255,255,.45);border-radius:12px}.hero-art:before{width:38%;height:62%;right:12%;top:12%}.hero-art:after{width:22%;height:42%;left:14%;top:28%}.hero-art-label{z-index:1;background:rgba(255,255,255,.9);padding:10px 14px;border-radius:10px;font-size:.85rem;font-weight:600}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:999px;text-decoration:none;font-weight:700;border:1px solid transparent;transition:transform .18s,background .18s;cursor:pointer}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--green);color:white}.button-primary:hover{background:var(--green-dark)}.button-outline{border-color:#a9b8ad;color:var(--ink);background:transparent}.button-outline:hover{background:#edf4ee}.button-disabled{background:#d9ddda;color:#6d7771;pointer-events:none;cursor:not-allowed}.section{padding:clamp(55px,7vw,95px) max(5vw,22px)}.section-heading{text-align:center;max-width:760px;margin:0 auto 38px}.section-heading p:last-child{color:var(--muted)}.section-heading.left{text-align:left;margin-left:0}.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:1120px;margin:0 auto}.property-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:white;box-shadow:var(--shadow)}.property-placeholder{min-height:250px;display:flex;align-items:center;justify-content:center;color:#385448;font-weight:700;background:linear-gradient(135deg,#e4ede4,#b9d1c0)}.photo-two{background:linear-gradient(135deg,#e9e4d7,#c8d8c6)}.property-placeholder span{padding:10px 14px;background:rgba(255,255,255,.78);border-radius:8px}.card-body{padding:26px}.card-body .button{margin-top:8px}.availability{font-size:.88rem;color:var(--green);font-weight:700;min-height:1.4em}.small-note{font-size:.85rem;color:var(--muted);text-align:center;margin:25px auto 0;max-width:760px}.small-note code{background:#f0f3ef;padding:2px 5px;border-radius:4px}.location-band{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;align-items:center;padding:clamp(45px,7vw,85px) max(5vw,22px);background:var(--cream)}.location-band h2{max-width:500px}.address{margin:22px 0}.map-frame{min-height:320px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#e7ece7}.map-frame iframe{display:block;width:100%;height:320px;border:0}.contact-section{background:white}.contact-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}.site-footer{border-top:1px solid var(--line);padding:28px max(5vw,22px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:.88rem}.site-footer p{margin:0}.brand-small{font-size:1.2rem}.page-main{max-width:1240px;margin:auto}.page-intro{padding:clamp(48px,7vw,85px) max(5vw,22px) 35px;background:var(--cream)}.page-intro h1{font-size:clamp(2.5rem,5vw,4rem)}.detail-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:35px;padding:45px max(5vw,22px);align-items:start}.feature-list{padding-left:1.3rem}.feature-list li{padding:7px 0}.info-panel{padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--cream)}.info-panel hr{border:0;border-top:1px solid var(--line);margin:22px 0}.info-panel a{color:var(--green);font-weight:700}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery figure{margin:0}.gallery-placeholder{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;text-align:center;padding:15px;border-radius:14px;background:linear-gradient(135deg,#e2e9e2,#bdcfbf);color:#3e5c4a;font-weight:600}.gallery figure:nth-child(2n) .gallery-placeholder{background:linear-gradient(135deg,#e9e4d7,#c8d8c6)}figcaption{font-size:.9rem;color:var(--muted);padding-top:8px}.video-section video{width:100%;max-height:620px;background:#101510;border-radius:18px;display:block}.video-section .small-note{text-align:left;margin-left:0}.nearby-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:25px max(5vw,22px) 60px}.nearby-card{border:1px solid var(--line);border-radius:18px;padding:24px;background:white;box-shadow:var(--shadow)}.nearby-card h2{font-size:1.3rem}.nearby-card ul{padding-left:1.2rem;color:var(--muted)}.nearby-card li{margin:.55rem 0}.nearby-icon{font-size:1.7rem;margin-bottom:10px}.nearby-map{margin-bottom:40px}
@media(max-width:800px){.site-header{height:auto;min-height:74px;flex-wrap:wrap;padding-top:15px;padding-bottom:15px}.site-header nav{width:100%;justify-content:space-between;gap:12px}.hero{grid-template-columns:1fr;gap:32px}.hero-art{min-height:270px}.property-grid,.location-band,.detail-layout{grid-template-columns:1fr}.location-band{gap:28px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{align-items:flex-start;flex-direction:column}.map-frame,.map-frame iframe{min-height:280px;height:280px}}
@media(max-width:480px){.brand{font-size:1.35rem}nav a{font-size:.82rem}.property-grid,.nearby-grid{grid-template-columns:1fr}.gallery{gap:12px}.gallery-placeholder{font-size:.88rem}.card-body{padding:22px}.hero-art{min-height:220px}.button{width:100%}.contact-actions{align-items:stretch;flex-direction:column}.contact-actions .text-link{text-align:center;padding:8px}}

/* Updated layout: homepage no longer has a building-photo hero panel. */
.hero{grid-template-columns:1fr}.hero-copy{max-width:850px}

/* Call button with replaceable phone QR image */
.contact-options{display:flex;align-items:center;justify-content:center;gap:clamp(24px,5vw,64px);flex-wrap:wrap}
.call-option{min-width:220px;text-align:center}
.contact-hint{font-size:.88rem;color:var(--muted);max-width:330px;margin:8px auto 0}
.qr-option{display:flex;align-items:center;gap:16px;max-width:460px;padding:16px 20px;border:1px solid var(--line);border-radius:18px;background:var(--cream)}
.phone-qr{display:block;width:132px;height:148px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px;padding:5px}
.qr-option h3{margin:0 0 5px}
.qr-option .contact-hint{margin:0;max-width:250px}
@media(max-width:480px){.contact-options{flex-direction:column;align-items:stretch}.call-option{min-width:0}.qr-option{flex-direction:column;text-align:center}.qr-option .contact-hint{max-width:100%}.phone-qr{width:150px;height:165px}}

/* Click-to-enlarge property gallery and full-screen lightbox */
.gallery-thumb{display:block;width:100%;padding:0;border:0;background:transparent;text-align:inherit;cursor:zoom-in;border-radius:14px}
.gallery-thumb .gallery-placeholder{position:relative;transition:filter .18s,transform .18s}
.gallery-thumb:hover .gallery-placeholder{filter:brightness(.96);transform:scale(1.01)}
.gallery-placeholder small{display:block;font-size:.76rem;font-weight:500;margin-top:7px;opacity:.8}
.lightbox{display:none;position:fixed;inset:0;z-index:9999;background:rgba(9,15,12,.94);align-items:center;justify-content:center;padding:60px 70px 30px}
.lightbox.is-open{display:flex}
.lightbox-content{max-width:min(1100px,100%);max-height:100%;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lightbox-image{display:none;max-width:100%;max-height:calc(100vh - 150px);object-fit:contain;border-radius:6px;background:#fff}
.lightbox-image.is-visible{display:block}
.lightbox-caption{color:#fff;font-weight:700;margin:12px 0 2px}
.lightbox-help{color:#d4ded7;font-size:.82rem;margin:0}
.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;border-radius:50%;width:48px;height:48px;font-size:28px;line-height:1}
.lightbox-close{right:20px;top:18px;font-size:34px}
.lightbox-prev{left:18px;top:50%;transform:translateY(-50%)}
.lightbox-next{right:18px;top:50%;transform:translateY(-50%)}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:rgba(255,255,255,.28)}
@media(max-width:600px){.lightbox{padding:60px 12px 25px}.lightbox-prev{left:8px}.lightbox-next{right:8px}.lightbox-prev,.lightbox-next{width:40px;height:40px;font-size:22px}.lightbox-image{max-height:calc(100vh - 170px)}}

/* Show actual property photos in the gallery thumbnails. */
.gallery-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:#e4ece4}
.gallery-thumb{overflow:hidden}
.gallery-thumb .gallery-fallback{display:none;aspect-ratio:4/3}
.gallery-thumb .gallery-photo:not([src]) + .gallery-fallback{display:flex}

/* Mobile image sizing improvements: keep full photos visible and prevent lightbox overflow. */
.gallery-photo{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:contain;
  object-position:center;
  padding:3px;
}
.lightbox{box-sizing:border-box;overflow:hidden}
.lightbox-content{width:100%;min-width:0;min-height:0;box-sizing:border-box}
.lightbox-image{
  width:auto;
  height:auto;
  max-width:calc(100vw - 140px);
  max-height:calc(100vh - 190px);
  flex:0 1 auto;
  object-fit:contain;
}
@media(max-width:600px){
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .gallery-photo{aspect-ratio:4/3;object-fit:contain;padding:2px}
  .lightbox{padding:58px 8px 20px}
  .lightbox-content{width:100%;max-width:100%}
  .lightbox-image{
    max-width:calc(100vw - 32px);
    max-height:calc(100vh - 170px);
    width:auto;
    height:auto;
  }
  .lightbox-caption{padding:0 44px}
  .lightbox-help{padding:0 38px;font-size:.75rem}
}

/* Mobile gallery hardening: prevent intrinsic image widths from expanding grid columns. */
.gallery,
.gallery > figure,
.gallery-thumb {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.gallery > figure { width: 100%; overflow: hidden; }
.gallery-thumb { width: 100%; display: block; overflow: hidden; }
.gallery-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center center;
}
@media (max-width: 600px) {
  .section .gallery {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 14px;
  }
  .section .gallery > figure,
  .section .gallery-thumb { min-width: 0; width: 100%; }
  .section .gallery-photo {
    width: 100%;
    max-width: 100%;
    height: 145px;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 0;
  }
  .section .gallery figcaption { overflow-wrap: anywhere; }
}

/* Respect the HTML hidden attribute even when component styles set display. */
[hidden] { display: none !important; }


/* Rent.Me.in v1.2: availability-dependent home page layout. */
.property-grid.single-property {
  grid-template-columns: minmax(0, 540px);
  justify-content: center;
}
.availability-message {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f8f4;
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
}
[hidden] { display: none !important; }


/* Rent.Me.in v1.4 brand and hero refinements. */
.brand,
.brand span {
  color: #aa2200 !important;
}
#heroHeading {
  color: #1f6b53;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.25;
  font-weight: 700;
}


/* Rent.Me.in v1.5: nested room details and named home guidelines. */
.room-details-list > li { margin-bottom: 16px; font-weight: 700; }
.room-details-list > li > ul { margin-top: 7px; margin-left: 18px; padding-left: 18px; font-weight: 400; }
.room-details-list > li > ul > li { margin: 4px 0; }
.requirements-list > li { margin-bottom: 12px; line-height: 1.6; }
.requirements-list > li strong { color: var(--green); }


/* Rent.Me.in v1.6: detailed 2 RK property presentation. */
.room-details-list > li { margin-bottom: 18px; line-height: 1.55; }
.room-details-list > li > strong { color: var(--green); display: inline-block; margin-bottom: 3px; }
.room-details-list > li > ul > li { margin: 5px 0; line-height: 1.5; }


/* Property 2 editorial-style details layout (v1.7) */
.property-details-layout { grid-template-columns:minmax(0, 1fr) 280px; gap:32px; }
.property-details-content { min-width:0; }
.property-details-intro { padding:0 0 26px; border-bottom:1px solid var(--line); margin-bottom:26px; }
.property-details-intro h2 { font-size:clamp(1.65rem,2.5vw,2.25rem); line-height:1.25; max-width:850px; }
.property-details-intro p:not(.eyebrow) { color:var(--muted); max-width:900px; }
.detail-feature-card { padding:25px 27px; margin:0 0 18px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(28,54,39,.045); }
.detail-feature-card h3 { color:var(--green); font-size:1.28rem; margin:0 0 10px; }
.detail-feature-card p { color:var(--muted); margin:0 0 14px; }
.detail-spec-list { margin:0; padding-left:1.2rem; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; }
.detail-spec-list li { padding:5px 0; break-inside:avoid; }
.detail-spec-list li strong { color:var(--ink); }
.property-details-closing { margin:28px 0; padding:28px; border-radius:18px; background:var(--cream); }
.property-details-closing h3 { font-size:1.45rem; }
.property-details-closing p:last-child { margin-bottom:0; }
@media(max-width:800px) { .property-details-layout { grid-template-columns:1fr; } .detail-spec-list { grid-template-columns:1fr; } }
