:root{
  --jade:#7D9A8A;
  --jade2:#9AB7A7;
  --ink:#111214;
  --muted:#6B7280;
  --bg:#F7F5F2;
  --card:#FFFFFF;
  --gold:#CBBEAE;
  --shadow: 0 10px 30px rgba(17,18,20,.10);
  --radius: 22px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display","SF Pro Text", Arial;
  background: var(--bg);
  color: var(--ink);
}

a{color:inherit}
.safe{padding: 14px 14px 92px; max-width: 980px; margin:0 auto;}

.topbar{
  position: sticky; top:0; z-index:20;
  backdrop-filter: blur(16px);
  background: rgba(247,245,242,.75);
  border-bottom: 1px solid rgba(17,18,20,.06);
}
.topbar .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 14px;
  max-width: 980px; margin:0 auto;
}
.brand{display:flex; gap:10px; align-items:center}
.brand img{width:44px; height:44px; border-radius: 14px; object-fit:cover; box-shadow: 0 6px 16px rgba(0,0,0,.12);}
.brand .t strong{display:block; font-size:14px; letter-spacing:.2px}
.brand .t span{display:block; font-size:12px; color:var(--muted)}

.langBtn{
  border:1px solid rgba(17,18,20,.10);
  background: rgba(255,255,255,.7);
  padding: 10px 12px;
  border-radius: 999px;
  display:flex; gap:10px; align-items:center;
  box-shadow: 0 10px 24px rgba(17,18,20,.08);
  cursor:pointer;
}
.langBtn .badge{
  width:34px; height:24px; border-radius: 999px;
  background: linear-gradient(180deg, var(--jade2), var(--jade));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-size:12px;
}

.hero{
  position: relative;
  border-radius: var(--radius);
  overflow:hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.hero img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.hero .overlay{
  position:absolute; inset:0;
  background: radial-gradient(1200px 360px at 50% 80%, rgba(17,18,20,.05), rgba(17,18,20,.65));
}
.hero .content{
  position:relative;
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height: 340px;
  gap: 12px;
  color:#fff;
}
.hTitle h1{margin:0; font-size: 28px; line-height:1.1; letter-spacing:.2px}
.hTitle .sub{color: rgba(255,255,255,.82); font-size: 14px}

.ctaRow{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  border:0; border-radius: 16px;
  padding: 12px 14px;
  font-weight: 700;
  cursor:pointer;
  display:flex; align-items:center; gap:10px;
}
.btn.primary{background: linear-gradient(180deg, var(--jade2), var(--jade)); color:#fff; box-shadow: 0 14px 28px rgba(125,154,138,.35);}
.btn.ghost{background: rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.22);}
.btn:active{transform: translateY(1px);}

.section{margin-top: 14px;}
.grid2{display:grid; grid-template-columns: 1fr; gap: 14px;}
@media(min-width:860px){.grid2{grid-template-columns: 1fr 1fr;}}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card h2{margin:0 0 10px; font-size: 16px}
.muted{color:var(--muted); font-size: 13px}

.gallery{
  display:flex; gap:10px;
  overflow:auto;
  padding-bottom: 6px;
  scroll-snap-type:x mandatory;
}
.gItem{
  width: 160px; height: 120px;
  border-radius: 18px;
  overflow:hidden;
  flex: 0 0 auto;
  scroll-snap-align: start;
  position:relative;
  box-shadow: 0 10px 20px rgba(0,0,0,.10);
}
.gItem img{width:100%; height:100%; object-fit:cover;}
.gItem:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
}

.smallBtn{
  border:1px solid rgba(17,18,20,.10);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  display:flex; gap:10px; align-items:center;
  font-weight: 700;
}

.kpis{display:grid; grid-template-columns: repeat(2, 1fr); gap:10px;}
.kpi{
  border:1px solid rgba(17,18,20,.08);
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(247,245,242,.35), rgba(255,255,255,1));
}
.kpi .v{font-weight:800}
.kpi .l{font-size:12px; color:var(--muted); margin-top:4px}

.formRow{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
input[type="date"]{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(17,18,20,.12);
  font-family: inherit;
  font-size: 14px;
}
.hint{font-size:12px; color:var(--muted); margin-top:8px}

.badgeWarn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(239,68,68,.10);
  color: #B91C1C;
  border:1px solid rgba(239,68,68,.25);
  font-weight: 800;
  font-size: 12px;
}

.calendar{
  margin-top: 12px;
  border:1px solid rgba(17,18,20,.10);
  border-radius: 18px;
  overflow:hidden;
}
.calHead{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px;
  background: rgba(247,245,242,.6);
}
.calNav{
  display:flex; gap:8px;
}
.iconBtn{
  width:38px; height:38px;
  border-radius: 12px;
  border:1px solid rgba(17,18,20,.10);
  background:#fff;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.calGrid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:0;
  background:#fff;
}
.calDow, .calCell{
  padding: 10px 8px;
  border-top:1px solid rgba(17,18,20,.06);
  border-left:1px solid rgba(17,18,20,.06);
  min-height: 44px;
  text-align:center;
  font-size: 13px;
}
.calDow{background: rgba(247,245,242,.45); font-weight:800; color:var(--muted); border-top:0;}
.calCell.mutedCell{color:#B7BDC8; background: rgba(247,245,242,.20);}
.calCell.blocked{background: rgba(239,68,68,.10); color:#B91C1C; font-weight:900;}
.calCell.today{outline: 2px solid rgba(125,154,138,.35); outline-offset:-2px;}
.calCell.selectable{cursor:pointer;}
.calCell.selected{background: rgba(125,154,138,.18); font-weight:900;}
.calLegend{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; font-size:12px; color:var(--muted)}
.dot{width:10px; height:10px; border-radius:999px; display:inline-block; margin-inline-start:6px}
.dot.free{background: rgba(125,154,138,.55)}
.dot.blocked{background: rgba(239,68,68,.55)}

.reviews{display:flex; flex-direction:column; gap:10px}
.review{
  border:1px solid rgba(17,18,20,.08);
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}
.review .stars{color: #C8A44B; font-weight:900}
.review .txt{margin-top:6px; font-size: 13px; color: #1F2937}
.review .meta{margin-top:8px; font-size: 12px; color: var(--muted)}

.mapBox iframe{
  width:100%;
  height: 260px;
  border:0;
  border-radius: 18px;
}

.bottomNav{
  position: fixed; left:0; right:0; bottom:0; z-index:30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247,245,242,.78);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(17,18,20,.06);
}
.bottomNav .inner{max-width:980px; margin:0 auto; display:grid; grid-template-columns: 1fr 1fr 1fr; gap:10px;}
.btn.whatsapp{background:#25D366; color:#fff}
.btn.call{background:#1E40AF; color:#fff}
.btn.mail{background:#111827; color:#fff}
.btn svg{width:18px; height:18px; fill: currentColor;}

.modal{
  position:fixed; inset:0; z-index:50;
  background: rgba(0,0,0,.55);
  display:none;
  align-items:flex-end;
  justify-content:center;
  padding: 14px;
}
.modal.show{display:flex;}
.sheet{
  width: min(920px, 100%);
  background:#fff;
  border-radius: 26px;
  overflow:hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.sheet .head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 16px;
  border-bottom:1px solid rgba(17,18,20,.08);
}
.sheet .body{padding: 14px 16px;}
.sheet img{width:100%; height: 55vh; object-fit:contain; border-radius: 18px; background:#0b0c0f;}
.close{
  border:1px solid rgba(17,18,20,.10);
  background:#fff;
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  font-weight: 800;
}

.splash{
  position:fixed; inset:0; z-index:60;
  display:flex; align-items:center; justify-content:center;
  background: radial-gradient(600px 600px at 50% 40%, rgba(125,154,138,.18), rgba(247,245,242,1));
}
.splash.hide{display:none;}
.splash .wrap{text-align:center; transform: translateY(-8px);}
.splash .house{
  width: 110px; height: 110px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,245,242,1));
  box-shadow: 0 24px 50px rgba(17,18,20,.18);
  margin:0 auto 12px;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:hidden;
}
.splash .house:before{
  content:"";
  position:absolute;
  width: 140px; height: 140px;
  border-radius: 40px;
  background: conic-gradient(from 180deg, rgba(125,154,138,.0), rgba(125,154,138,.25), rgba(203,190,174,.18), rgba(125,154,138,.0));
  filter: blur(1px);
  animation: spin 1.2s linear infinite;
}
.splash .logo{
  width: 78px; height: 78px;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  position:relative;
  background:#fff;
}
.splash .logo img{width:100%; height:100%; object-fit:cover;}
.splash .txt{font-weight:900; letter-spacing:.3px}
@keyframes spin{to{transform: rotate(360deg)}}

.toast{
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  background: rgba(17,18,20,.92);
  color:#fff;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.toast.show{opacity:1;}


/* -------- FIXED GALLERY -------- */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(120px,1fr));
  gap:10px;
  overflow:visible;
}

.gItem{
  width:100%;
  height:120px;
}

/* -------- FIX ABOUT TEXT -------- */
#aboutText{
  line-height:1.6;
  word-break:break-word;
}

/* -------- FIX CONTACT BOTTOM -------- */
.bottomNav .inner{
  grid-template-columns: repeat(3, 1fr);
}

.btn{
  justify-content:center;
  white-space:nowrap;
  font-size:14px;
}

/* -------- WEATHER CARD IMPROVED -------- */
#weatherBox{
  font-size:14px;
  line-height:1.6;
}

/* -------- CALENDAR IMPROVED -------- */
.calendar{
  margin-top:8px;
}

.calCell{
  min-height:38px;
  font-size:12px;
}



/* -------- HOLIDAY MARKERS -------- */
.calCell.holiday{
  position: relative;
}
.calCell.holiday::after{
  content:"";
  position:absolute;
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(203,190,174,.95);
  top:6px;
  left:6px;
  box-shadow: 0 6px 14px rgba(203,190,174,.35);
}

/* Contact cards keep one line */
#contactPhone, #contactEmail{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}



/* ---- FIX HOLIDAY NOTE INSIDE CARD ---- */
#holidayNote{
  margin-top:12px;
  padding:12px 16px;
  border-radius:14px;
  background: rgba(203,190,174,0.12);
  border: 1px solid rgba(203,190,174,0.35);
  font-size:14px;
  line-height:1.6;
  max-width:100%;
  box-sizing:border-box;
  word-break:break-word;
}

/* ---- CLEANER CALENDAR LOOK ---- */
.calendar{
  border-radius:16px;
  overflow:hidden;
}

.calCell{
  min-height:42px;
  font-size:13px;
}

.calCell.selected{
  background: rgba(79,124,172,0.15);
  border-radius:8px;
}

.calCell.blocked{
  background: rgba(220,80,80,0.12);
}

/* ---- CONTACT FIX ---- */
#contactPhone,
#contactEmail{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ---- GALLERY GRID FIX ---- */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fill,minmax(130px,1fr));
  gap:12px;
}

.gItem{
  height:140px;
}

