:root{--primary:#0f766e;--accent:#f59e0b;--whatsapp:#25D366;--bg:#ffffff;--surface:#f8fafc;--text:#111827;--muted:#6b7280;--border:#e5e7eb;--radius:14px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;max-width:100%;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:'Inter', system-ui, sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'Plus Jakarta Sans', system-ui, sans-serif;font-weight:700;letter-spacing:-0.02em;margin:0 0 .5em}
h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.1}
h2{font-size:clamp(1.5rem,3vw,2.15rem)}
h3{font-size:1.1rem}
p{margin:0 0 1em}
.prose p{margin:0 0 1em;max-width:68ch}
.prose p:last-child{margin-bottom:0}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* header */
.site-header{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;font-family:'Plus Jakarta Sans', system-ui, sans-serif;font-size:1.1rem;font-weight:700;letter-spacing:-0.02em}
.brand img{height:38px;width:auto}
.site-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.site-nav a{font-size:.92rem;color:var(--muted)}
.site-nav a:hover{color:var(--text)}
.site-nav a.btn{color:#fff}

/* buttons */
.btn{display:inline-block;background:var(--primary);color:#fff;padding:12px 22px;border:0;border-radius:var(--radius);font:inherit;font-size:.92rem;font-weight:600;cursor:pointer;text-align:center}
.btn:hover{filter:brightness(.94)}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--border)}
.btn.block{display:block;width:100%}
.wa-btn{display:inline-flex;align-items:center;gap:8px}
.wa-btn svg{width:20px;height:20px;flex:none;fill:var(--whatsapp)}

/* hero */
.hero{position:relative;isolation:isolate}
.hero-media{position:relative;z-index:0;isolation:isolate;min-height:clamp(360px,62vh,620px);display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--primary) 25%,var(--surface)))}
.hero-media img.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.68));z-index:1}
.hero-media .wrap{position:relative;z-index:2;width:100%;padding-top:64px;padding-bottom:52px;color:#fff}
.hero-copy{max-width:720px}
.hero-copy h1{color:#fff}
.hero-copy p.lead{color:rgba(255,255,255,.9);font-size:clamp(1rem,1.6vw,1.18rem);max-width:56ch}
.hero-plain{padding:72px 0 40px}
.hero-plain .hero-copy p.lead{color:var(--muted)}
.hero-editorial{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding:64px 0}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}

/* search / filter */
.searchbar{margin:-34px auto 0;position:relative;z-index:5;max-width:1140px;display:grid;grid-template-columns:1.6fr 1fr 1fr .8fr auto;gap:12px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:14px;box-shadow:0 18px 40px -28px rgba(0,0,0,.55)}
.searchbar label{display:flex;flex-direction:column;gap:4px;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.searchbar input,.searchbar select{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;padding:10px 12px;border-radius:calc(var(--radius) - 4px);min-width:0;min-height:44px}
.searchbar .actions{display:flex;align-items:flex-end}
.searchbar .btn{width:100%}
.search-note{max-width:1140px;margin:10px auto 0;color:var(--muted);font-size:.8rem}
.search-error{max-width:1140px;margin:10px auto 0;color:#b91c1c;font-size:.85rem}
.stay-summary{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin-top:18px;font-size:.92rem}
.stay-summary strong{font-weight:600}
.stay-summary .meta{color:var(--muted)}


/* sections */
section{padding:60px 0}
section.tint{background:var(--surface)}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.section-head p{margin:0;color:var(--muted)}

/* property cards */
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.card{display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 22px 40px -30px rgba(0,0,0,.5)}
.card .thumb{aspect-ratio:4/3;background:var(--border);position:relative;overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .thumb .placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.8rem;background:linear-gradient(135deg,var(--surface),var(--border))}
.card .body{padding:16px 4px;display:flex;flex-direction:column;gap:4px;flex:1}
.card h3{margin:0}
.card .meta{color:var(--muted);font-size:.9rem}
.card .price{margin-top:auto;padding-top:10px;font-weight:600}
.card .card-cta{margin-top:12px;font-weight:600;color:var(--primary)}

.empty{color:var(--muted);border:1px dashed var(--border);border-radius:var(--radius);padding:28px;text-align:center}

/* benefits */
.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.benefit{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.benefit h3{margin-bottom:6px}
.benefit p{margin:0;color:var(--muted);font-size:.92rem}

/* generic layout blocks */
.split{display:grid;grid-template-columns:1.35fr .95fr;gap:44px;align-items:start}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.panel + .panel{margin-top:18px}
.panel h3{margin-bottom:10px}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tag{border:1px solid var(--border);border-radius:999px;padding:6px 13px;font-size:.8rem;color:var(--muted)}

/* property page */
.crumb{padding:20px 0 0;color:var(--muted);font-size:.88rem}
.crumb a:hover{color:var(--text)}
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:150px;gap:10px;margin-top:18px}
.gallery img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius)}
.gallery .lead-shot{grid-column:span 2;grid-row:span 2}
.gallery.single{grid-template-columns:1fr;grid-auto-rows:auto}
.gallery.single img{aspect-ratio:16/9}
.gallery-empty{margin-top:18px;aspect-ratio:16/9;border-radius:var(--radius);background:linear-gradient(135deg,var(--surface),var(--border));display:flex;align-items:center;justify-content:center;color:var(--muted)}

/* photo gallery — hero + single thumbnail row, click to open lightbox */
.pgallery{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.pg-shot{padding:0;border:0;background:var(--border);border-radius:var(--radius);overflow:hidden;cursor:zoom-in;display:block;width:100%;position:relative}
.pg-hero{aspect-ratio:16/9}
.pg-hero img{width:100%;height:100%;object-fit:cover}
.pg-zoom{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:999px;background:rgba(255,255,255,.92);color:#111;display:flex;align-items:center;justify-content:center;font-size:1rem;box-shadow:0 6px 18px -8px rgba(0,0,0,.6)}
.pg-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.pg-thumbs .pg-shot{aspect-ratio:4/3}
.pg-thumbs img{width:100%;height:100%;object-fit:cover}
.pg-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);color:#fff;font-weight:600;font-size:.95rem}
.lightbox{position:fixed;inset:0;z-index:80;background:rgba(9,9,11,.94);display:flex;align-items:center;justify-content:center;padding:20px}
.lightbox[hidden]{display:none}
.lightbox img{max-width:100%;max-height:86vh;object-fit:contain;border-radius:8px}
.lightbox button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:999px;width:44px;height:44px;font-size:1.4rem;line-height:1;cursor:pointer}
.lightbox .lb-close{top:18px;right:18px}
.lightbox .lb-prev{left:18px;top:50%;transform:translateY(-50%)}
.lightbox .lb-next{right:18px;top:50%;transform:translateY(-50%)}
.lightbox .lb-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.8);font-size:.85rem}

/* property content grid: 66% main column + 34% sticky sidebar */
.property-grid{display:grid;grid-template-columns:minmax(0,66fr) minmax(0,34fr);gap:32px;align-items:start;margin-top:26px}
.property-grid>*{min-width:0}
.pcol-main{min-width:0}
.pcol-main>h2{margin-top:34px}
.pcol-main>h2:first-child{margin-top:0}
.pcol-side{min-width:0;display:flex;flex-direction:column;gap:18px;position:static}
.pcol-side .panel{margin-top:0}
.pcol-side a{overflow-wrap:anywhere}
.enquiry-card{position:static}
.enquiry-card h3{margin-bottom:4px}
.hs-contact-form{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.hs-contact-form label{font-size:13px;font-weight:600}
.hs-contact-form input,.hs-contact-form textarea{width:100%;padding:10px 12px;border:1px solid var(--line,#e2e8f0);border-radius:10px;font:inherit;background:#fff}
.hs-contact-form button{margin-top:8px}
.hs-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* combined rates + availability panel: rates left, availability right */
.ra-panel{display:grid;grid-template-columns:1fr;gap:18px}
.ra-panel>div{min-width:0}
.ra-col h3{font-size:1rem;margin-bottom:8px}
.ra-col .meta{font-size:.9rem}

.reviews-panel .rv-summary{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.reviews-panel .rv-average-value{font-size:26px;font-weight:700;line-height:1}
.rv-stars{letter-spacing:1px;color:#f0a202}
.rv-dist{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}
.rv-bar-row{display:flex;align-items:center;gap:8px;font-size:12px}
.rv-bar-label{width:24px;opacity:.75}
.rv-bar{flex:1;height:6px;border-radius:999px;background:rgba(0,0,0,.08);overflow:hidden}
.rv-bar-fill{display:block;height:100%;background:#f0a202}
.rv-bar-count{width:20px;text-align:right;opacity:.65}
.rv-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
.rv-item{border-top:1px solid rgba(0,0,0,.08);padding-top:12px}
.rv-item:first-child{border-top:0;padding-top:0}
.rv-item-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.rv-text{margin:6px 0 0;font-size:14px;line-height:1.55}
.rv-empty{margin:0}

.rates-cta{margin-top:10px}

/* full rates modal */
.rates-modal{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(9,9,11,.55)}
.rates-modal[hidden]{display:none}
.rates-modal .rm-dialog{background:#fff;border-radius:var(--radius);border:1px solid var(--border);width:100%;max-width:560px;max-height:86vh;display:flex;flex-direction:column;box-shadow:0 24px 60px -20px rgba(0,0,0,.45)}
.rates-modal .rm-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--border)}
.rates-modal .rm-head h3{margin:0;font-size:1.05rem}
.rates-modal .rm-close{background:transparent;border:0;font-size:1.5rem;line-height:1;cursor:pointer;width:40px;height:40px;border-radius:999px;color:var(--text)}
.rates-modal .rm-close:hover{background:rgba(0,0,0,.06)}
.rates-modal .rm-body{padding:18px 20px;overflow-y:auto;-webkit-overflow-scrolling:touch}
body.hs-modal-open{overflow:hidden}

/* amenities */
.amenities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin:0;padding:0;list-style:none}
.amenities li{display:flex;gap:8px;align-items:flex-start;font-size:.95rem;min-width:0;overflow-wrap:anywhere}
.amenities li::before{content:"✓";color:var(--primary);font-weight:700;line-height:1.5}

.map-embed{margin-top:14px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}
.map-embed iframe{display:block;width:100%;height:340px;border:0}
.map-actions{margin:12px 0 0}


.property-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;flex-wrap:wrap;margin-top:26px}
.property-head .meta{color:var(--muted)}
.cap-list{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin-top:6px;color:var(--muted);font-size:15px}
.cap-list .cap{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.cap-list svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.85}

.booking-card{position:sticky;top:92px}
.widget-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.embed-missing-token{border:1px dashed #c9c4bb;border-radius:12px;padding:16px;background:#faf8f5}
.embed-missing-token p{margin:6px 0 0;font-size:14px;opacity:.75}
hoststay-availability,hoststay-rates,hoststay-inquiry{display:block;width:100%;max-width:100%}



/* footer */
footer.site-footer{border-top:1px solid var(--border);padding:44px 0;color:var(--muted);font-size:.9rem}
footer.site-footer .cols{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between}
footer.site-footer a:hover{color:var(--text)}

/* tablet — single column, nothing sticky */
@media(max-width:980px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split,.hero-editorial{grid-template-columns:1fr}
  .benefits{grid-template-columns:1fr}
  .booking-card{position:static}
  .property-grid{grid-template-columns:1fr;gap:24px}
  .pcol-side{position:static}
  .enquiry-card{position:static}
  .ra-panel{grid-template-columns:1fr}
  .rates-availability{grid-template-columns:1fr}
  .map-embed iframe{height:300px}
  .searchbar{grid-template-columns:1fr 1fr;margin:-24px 20px 0}
  .searchbar .actions{grid-column:1/-1}

  .gallery{grid-template-columns:1fr 1fr;grid-auto-rows:130px}
  .gallery .lead-shot{grid-column:span 2}
}
/* mobile — true single column */
@media(max-width:620px){
  .grid{grid-template-columns:1fr}
  .searchbar{grid-template-columns:1fr;margin:16px 0 0}
  .site-header .wrap{min-height:60px;padding-top:10px;padding-bottom:10px}
  .site-nav{gap:14px;width:100%;justify-content:space-between}
  section{padding:44px 0}
  .gallery{grid-template-columns:1fr;grid-auto-rows:auto}
  .gallery img{aspect-ratio:4/3}
  .gallery .lead-shot{grid-column:span 1}
  .pg-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rates-modal{padding:12px}
  .rates-modal .rm-dialog{max-width:100%;max-height:88vh}
  .panel{padding:16px}
  .amenities{grid-template-columns:1fr}
  .map-embed iframe{height:280px}
  .btn{padding:12px 18px;min-height:44px}
}



.loading,.error{padding:24px;color:var(--muted,#64748b);font-size:14px}
.error{color:#b91c1c}
#hoststay-app{display:block}
.embed-missing-token{border:1px dashed #f59e0b;border-radius:12px;padding:14px;font-size:13px}
