/* ── Index-page styles ── */

main{margin-top:16px;}

/* index cta has a gap that guests doesn't */
.cta{gap:10px;}

/* ── Grid ── */

.grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  margin-top:16px;
  align-items:stretch;
}

.grid > .card{
  height:100%;
  display:flex;
  flex-direction:column;
}

.grid > .card .gallery{
  flex:1;
}

.grid > .card .tiny{
  margin-top:auto;
}

@media (max-width:950px){
  .grid{grid-template-columns:1fr;}
}

/* ── Gallery ── */

.gallery{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:10px;
  padding:12px;
}

.tile{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(10,10,10,.10);
  cursor:zoom-in;
  min-height:170px;
}

.tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.tile:hover img{transform:scale(1.03);}

.label{
  position:absolute;
  left:10px;
  bottom:10px;
  font-size:12px;
  color:rgba(18,18,18,.90);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(10,10,10,.12);
  padding:6px 10px;
  border-radius:999px;
  backdrop-filter:blur(6px);
}

.span-8{grid-column:span 8;}
.span-6{grid-column:span 6;}
.span-4{grid-column:span 4;}

@media (max-width:950px){
  .span-8,.span-6,.span-4{grid-column:span 12;}
  .tile{min-height:210px;}
}

/* ── Info ── */

.info h2,
.reviews h2{
  letter-spacing:0;
}

.bullets{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
}

.ul-icons.bullets{
  padding-left:0;
}

.bullets li{margin:8px 0;}

.tiny{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 14px;
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.02);
  color:rgba(18,18,18,.58);
  font-size:12px;
}

/* ── Footer ── */

.footer{
  margin-top:16px;
  color:rgba(18,18,18,.55);
  font-size:12px;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ── Buttons (index extras) ── */

.btn.primary{
  background:rgba(255,255,255,.86);
  border-color:rgba(10,10,10,.16);
  color:rgba(18,18,18,.92);
}

.btn svg{opacity:.95}

.theme-toggle{
  padding:10px 12px;
  min-width:auto;
}

.theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:block;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:none;}

/* ── Map ── */

.map-embed{
  margin-top:12px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(10,10,10,.12);
  background:rgba(0,0,0,.02);
  box-shadow:0 14px 40px rgba(0,0,0,.12);
}

.map-embed iframe{
  width:100%;
  height:260px;
  border:0;
  filter:grayscale(.1) contrast(1.05) saturate(1.05);
}

@media (max-width:950px){
  .map-embed iframe{height:220px;}
}

/* ── Lightbox ── */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}

.lightbox.open{display:flex;}

.lb-inner{
  max-width:min(1100px, 96vw);
  max-height:90vh;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(10,10,12,.65);
  box-shadow:0 30px 90px rgba(0,0,0,.60);
  position:relative;
}

.lb-img{
  width:100%;
  height:72vh;
  object-fit:contain;
  background:rgba(0,0,0,.35);
  display:block;
}

.lb-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.80);
  font-size:13px;
}

.iconbtn{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  border-radius:999px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:650;
}

.iconbtn:hover{background:rgba(255,255,255,.14);}

.lb-actions{display:flex; gap:8px; align-items:center;}

/* ── Reviews ── */

.reviews{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--border);
}

.awardCard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  margin:10px 0 14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
}

.awardLeft{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.awardIcon{
  width:28px;
  height:28px;
  flex:0 0 28px;
  opacity:.75;
}

.awardTitle{
  font-weight:600;
  font-size:14px;
  margin:0 0 2px;
}

.awardText{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

.awardSource{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
}

.ratingRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:6px 0 12px;
  color:rgba(18,18,18,.76);
  font-size:14px;
}

.reviewsGrid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:10px;
}

.reviewCard{
  border:1px solid rgba(10,10,10,.10);
  background:rgba(0,0,0,.02);
  border-radius:14px;
  padding:12px;
}

.reviewHead{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  align-items:baseline;
  margin-bottom:6px;
}

.reviewName{
  font-weight:600;
  color:rgba(18,18,18,.92);
  font-size:14px;
  font-family:var(--body-font);
}

.reviewMeta{
  color:rgba(18,18,18,.60);
  font-size:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.reviewText{
  margin:0;
  color:rgba(18,18,18,.72);
  font-size:13.5px;
  line-height:1.55;
}

.reviewsNote{
  margin-top:10px;
  margin-bottom:10px;
  margin-left:8px;
  font-size:12px;
  color:var(--muted);
}

.reviewsActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}

/* ── Icon lists (index-specific) ── */

/* Location icons */
.ul-location li::before{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M12 22s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z" stroke="%23666" stroke-width="1.8"/><circle cx="12" cy="11" r="2.5" stroke="%23666" stroke-width="1.8"/></svg>');
}

/* Refined greyscale highlight icons */
.ul-check li::before{
  background-image:none;
}

.ul-check li:nth-child(1)::before{ /* sun / balcony */
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="4" stroke="%23777777" stroke-width="2"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1" stroke="%23777777" stroke-width="2" stroke-linecap="round"/></svg>');
}

.ul-check li:nth-child(2)::before{ /* kitchen / fork & knife */
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M6 2v7M8 2v7M10 2v7M6 9h4v13" stroke="%23777777" stroke-width="1.6" stroke-linecap="round"/><path d="M15 2v20" stroke="%23777777" stroke-width="1.6" stroke-linecap="round"/></svg>');
}

.ul-check li:nth-child(3)::before{ /* bed (simplified) */
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><rect x="3" y="11" width="18" height="6" rx="1.5" stroke="%23777777" stroke-width="1.8"/><rect x="5" y="7" width="6" height="4" rx="1" stroke="%23777777" stroke-width="1.8"/></svg>');
}

.ul-check li:nth-child(4)::before{ /* AC / snowflake minimal */
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M12 2v20M2 12h20M6 6l12 12M18 6L6 18" stroke="%23777777" stroke-width="1.8" stroke-linecap="round"/></svg>');
}

.ul-check li:nth-child(5)::before{ /* wifi */
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M2 8c5-4 15-4 20 0M5 12c4-3 10-3 14 0M8.5 16c2-1.5 5-1.5 7 0" stroke="%23777777" stroke-width="1.8" stroke-linecap="round"/><circle cx="12" cy="19" r="1.5" fill="%23777777"/></svg>');
}

/* ── Dark mode (index-specific) ── */

html[data-theme="dark"] .awardCard{background:var(--card);}

html[data-theme="dark"] .pill{color:rgba(255,255,255,.86);}

html[data-theme="dark"] .tile{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
}

html[data-theme="dark"] .label{
  background:rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.14);
  color:rgba(255,255,255,.90);
}

html[data-theme="dark"] .tiny{
  background:rgba(255,255,255,.03);
  border-top-color:rgba(255,255,255,.10);
  color:rgba(255,255,255,.55);
}

html[data-theme="dark"] .reviewCard{
  background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.10);
}

html[data-theme="dark"] .reviewName{color:rgba(255,255,255,.92);}
html[data-theme="dark"] .reviewMeta{color:rgba(255,255,255,.60);}
html[data-theme="dark"] .reviewText{color:rgba(255,255,255,.72);}
html[data-theme="dark"] .ratingRow{color:rgba(255,255,255,.76);}
html[data-theme="dark"] .bullets{color:rgba(255,255,255,.66);}

/* ── Responsive (index-specific) ── */

@media (max-width: 640px){
  .reviewsActions{flex-direction:column; align-items:flex-start; gap:10px;}

  .footerbar{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-left: 0;
  }

  .theme-toggle-link{
    display: inline-block;
    align-self: flex-start;
  }
}
