:root {
  --bg: #eef7f9;
  --surface: #ffffff;
  --ink: #0f2430;
  --muted: #5a6f7a;
  --line: #d5e8ee;
  --teal: #0b8fa3;
  --teal-dark: #076a7a;
  --teal-soft: #dff3f6;
  --teal-deep: #045864;
  --sea: #1aa6b8;
  --sea-light: #7fd4e0;
  --sand: #f3ebe0;
  --accent: #e8a54b;
  --shadow: 0 12px 32px rgba(7, 90, 110, 0.1);
  --radius: 16px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 20%, rgba(26, 166, 184, 0.28), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 25%, rgba(11, 143, 163, 0.26), transparent 55%),
    radial-gradient(ellipse 70% 40% at 0% 80%, rgba(127, 212, 224, 0.35), transparent 50%),
    radial-gradient(ellipse 70% 40% at 100% 85%, rgba(7, 106, 122, 0.22), transparent 50%),
    linear-gradient(180deg, #e8f6f9 0%, #f4fbfd 40%, #eef7f9 100%);
  background-attachment: fixed;
}
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(18vw, 220px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
body::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11, 143, 163, 0.22), rgba(11, 143, 163, 0.06) 55%, transparent);
}
body::after {
  right: 0;
  background: linear-gradient(270deg, rgba(26, 166, 184, 0.22), rgba(26, 166, 184, 0.06) 55%, transparent);
}
#app { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
button, .btn {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 122, 140, 0.28);
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border: 1px solid rgba(15,36,48,0.08);
}
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal-soft); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(232, 246, 249, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 143, 163, 0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; flex-direction: column; gap: 0.05rem;
  color: var(--ink); font-weight: 700; letter-spacing: -0.02em;
}
.brand small { font-weight: 500; color: var(--muted); font-size: 0.75rem; }
.nav { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted); padding: 0.45rem 0.7rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
}
.nav a.active, .nav a:hover { color: var(--teal); background: var(--teal-soft); }
.lang-toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 0.35rem 0.7rem; border-radius: 999px;
  color: var(--muted); font-weight: 700; font-size: 0.82rem;
}
.lang-toggle button.active { background: var(--teal); color: #fff; }
.menu-btn {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  border: none;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff6e8 0%, #e8c49a 45%, #8b5a2b 100%);
  box-shadow: 0 6px 16px rgba(139, 90, 43, 0.28);
}
.menu-btn .menu-fruit {
  font-size: 1.4rem;
  line-height: 1;
  display: block;
}
.menu-btn:hover { transform: scale(1.06); }
.menu-btn:active { transform: scale(0.96); }
.menu-btn.is-open {
  background: linear-gradient(145deg, #ffe8a3 0%, #ffb347 55%, #c97820 100%);
}

.hero {
  position: relative; min-height: clamp(420px, 72vh, 640px);
  display: grid; align-items: end; color: #fff; overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,28,36,0.25) 0%, rgba(8,28,36,0.72) 70%, rgba(8,28,36,0.88) 100%),
    url("../assets/hero.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0d7a8c, #0a3a48);
}
.hero-content { position: relative; z-index: 1; padding: 4.5rem 0 3rem; }
.kicker {
  display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
  padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.04em; margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 0.8rem; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 14ch;
}
.hero p { margin: 0 0 1.6rem; max-width: 40rem; color: rgba(255,255,255,0.88); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section { padding: 3.5rem 0; }
.section-head { margin-bottom: 1.8rem; }
.section-head h2 { margin: 0 0 0.4rem; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }

.trust-grid, .review-grid, .units-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: rgba(255,255,255,0.92); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.trust-card {
  border-top: 3px solid var(--sea);
  background: linear-gradient(180deg, rgba(223, 243, 246, 0.65), rgba(255,255,255,0.95));
}
.trust-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--teal-deep); }
.trust-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.review-card q { display: block; font-style: italic; color: var(--ink); }
.review-card cite { display: block; margin-top: 0.8rem; color: var(--muted); font-size: 0.85rem; font-style: normal; }

.unit-card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .15s ease;
}
.unit-card:hover { transform: translateY(-2px); }
.unit-thumb {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(13,122,140,0.75), rgba(10,60,72,0.85)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 45%);
  display: grid; place-items: center; color: #fff; position: relative;
}
.unit-thumb .code {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em;
}
.unit-thumb .badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: rgba(255,255,255,0.92); color: var(--ink);
  padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
}
.unit-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.unit-body h3 { margin: 0; font-size: 1.1rem; }
.unit-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  background: var(--teal-soft); color: var(--teal-dark);
  padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
}
.unit-body p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.unit-body .btn { align-self: flex-start; margin-top: 0.4rem; }

.page-hero {
  padding: 2.2rem 0 0.5rem;
}
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }

.unit-detail-layout {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.photo-placeholder {
  aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, #0d7a8c, #134e5e),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.2), transparent 40%);
  display: grid; place-items: center; color: #fff;
}
.photo-placeholder .big { font-size: 3rem; font-weight: 800; }
.photo-placeholder small { opacity: 0.85; }
.detail-panel .card + .card { margin-top: 1rem; }
.kv { display: grid; gap: 0.65rem; }
.kv-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.5rem; }
.kv-row span:first-child { color: var(--muted); }
.kv-row strong { text-align: right; }
.amenity-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; margin: 0; padding: 0; list-style: none;
}
.amenity-list li {
  display: flex; align-items: center; gap: 0.45rem; font-size: 0.92rem;
}
.amenity-list li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none;
}
.note {
  background: var(--sand); border-radius: 12px; padding: 0.9rem 1rem; color: var(--ink); font-size: 0.92rem;
}
.embed-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; min-height: 520px; box-shadow: var(--shadow);
}
.embed-box iframe { width: 100%; min-height: 620px; border: 0; display: block; background: #fff; }
.embed-booking iframe { min-height: 1100px; }
@media (min-width: 900px) {
  .embed-booking iframe { min-height: 1200px; }
}
.embed-fallback {
  padding: 2rem 1.5rem; text-align: center; display: grid; gap: 0.8rem; place-items: center; min-height: 280px;
}
.embed-fallback h3 { margin: 0; }
.embed-fallback p { margin: 0; color: var(--muted); max-width: 28rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }

.book-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.2rem 0 1.6rem; }
.unit-jump {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem;
}
.unit-jump a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.85rem; color: var(--ink); font-weight: 600; font-size: 0.9rem;
}
.unit-jump a:hover { border-color: var(--teal); color: var(--teal); }

.contact-grid {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(11, 143, 163, 0.1));
  border-top: 1px solid rgba(11, 143, 163, 0.14);
}
.site-footer .wrap { display: grid; gap: 0.4rem; }

.back-link {
  display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-weight: 600; margin-bottom: 1rem;
}
.back-link:hover { color: var(--teal); }

@media (max-width: 900px) {
  body::before, body::after { width: min(10vw, 80px); opacity: 0.35; }
}
@media (max-width: 860px) {
  .unit-detail-layout { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; right: 1rem; top: 64px; left: 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    padding: 0.6rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0.9rem; }
  .amenity-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-content { padding: 3.5rem 0 2.2rem; }
  .embed-box iframe { min-height: 540px; }
}

.card-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
.unit-card.compact .unit-body { padding: 1rem 1.05rem 1.1rem; }
.unit-card.compact .unit-thumb { aspect-ratio: 16/9; }
.unit-card.compact .code { font-size: 2rem; }
.from-price { font-weight: 700; color: var(--teal-dark); font-size: 0.95rem; }
.embed-note { color: var(--muted); font-size: 0.9rem; margin: 0.75rem 0 0; }
.embed-note.muted { opacity: 0.9; }
.unit-jump a.active-jump { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
@media (max-width: 520px) {
  .unit-card.compact .card-actions { width: 100%; }
  .unit-card.compact .card-actions .btn { flex: 1; }
}

.unit-thumb.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.unit-thumb .overlay-code {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  background: rgba(8,28,36,0.45);
  padding: 0.15rem 0.55rem;
  border-radius: 8px;
}
.unit-gallery { margin-bottom: 1rem; }
.gallery-main {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a3a48;
  box-shadow: var(--shadow);
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #0a3a48;
  aspect-ratio: 1;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--teal); }


.stars { color: #e6a800; letter-spacing: 0.05em; font-size: 0.95rem; }
.unit-review-grid { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
@media (min-width: 720px) {
  .unit-review-grid { grid-template-columns: 1fr 1fr; }
}
.unit-review .review-meta { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; flex-wrap: wrap; }
.unit-review q { font-size: 0.95rem; }

.partners-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 3px solid var(--accent);
}
.partner-card .partner-kind {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  width: fit-content;
}
.partner-card h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.partner-card .provider { margin: 0; color: var(--muted); font-size: 0.92rem; }
.partner-card .rates {
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: var(--sand);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink);
}
.partner-card .partner-meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.partner-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.partner-thumb {
  border-radius: 12px;
  margin: 0.15rem 0 0.25rem;
  background: var(--teal-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 420px;
}
.partner-thumb img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
}



.google-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  vertical-align: middle;
}


/* Guest FAQ chatbot */
.vp-chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; font-family: inherit; }
.vp-chat-launcher {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 0; border-radius: 999px; padding: 0.75rem 1.1rem;
  background: linear-gradient(135deg, #0ea5a0, #047857); color: #fff;
  box-shadow: 0 10px 28px rgba(4, 80, 60, 0.35); cursor: pointer; font-weight: 600;
}
.vp-chat-launcher:hover { filter: brightness(1.05); }
.vp-chat-panel {
  width: min(380px, calc(100vw - 1.5rem));
  height: min(520px, calc(100vh - 6rem));
  margin-bottom: 0.65rem;
  background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
}
.vp-chat-panel[hidden] { display: none !important; }
.vp-chat-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0.9rem 1rem; background: #064e3b; color: #ecfdf5;
}
.vp-chat-sub { font-size: 0.8rem; opacity: 0.85; margin-top: 0.15rem; }
.vp-chat-close {
  border: 0; background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.vp-chat-msgs { flex: 1; overflow: auto; padding: 0.85rem; background: #f8fafc; }
.vp-chat-bubble {
  max-width: 92%; margin-bottom: 0.65rem; padding: 0.65rem 0.8rem; border-radius: 0.85rem;
  font-size: 0.92rem; line-height: 1.4; white-space: pre-wrap;
}
.vp-chat-bot { background: #fff; border: 1px solid #e2e8f0; color: #0f172a; }
.vp-chat-user { background: #0f766e; color: #fff; margin-left: auto; }
.vp-chat-extra { margin-top: 0.5rem; }
.vp-chat-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vp-chat-chips {
  display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.5rem 0.75rem; border-top: 1px solid #e2e8f0; background: #fff;
}
.vp-chip {
  border: 1px solid #cbd5e1; background: #f1f5f9; border-radius: 999px;
  padding: 0.3rem 0.65rem; font-size: 0.78rem; cursor: pointer; color: #0f172a;
}
.vp-chip:hover { background: #e2e8f0; }
.vp-chat-form {
  display: flex; gap: 0.4rem; padding: 0.65rem; border-top: 1px solid #e2e8f0; background: #fff;
}
.vp-chat-form input {
  flex: 1; border: 1px solid #cbd5e1; border-radius: 0.65rem; padding: 0.55rem 0.7rem; font: inherit;
}
.vp-chat-form button {
  border: 0; border-radius: 0.65rem; padding: 0.55rem 0.85rem;
  background: #0f766e; color: #fff; font-weight: 600; cursor: pointer;
}
@media (max-width: 520px) {
  .vp-chat { right: 0.65rem; bottom: 0.65rem; }
  .vp-chat-launcher-label { display: none; }
}


/* Quick-book bar (Smoobu calendar iframe is overview-only) */
.book-bar {
  margin: 0 0 1.25rem;
  border: 1px solid rgba(15, 90, 80, 0.18);
  background: linear-gradient(180deg, #fffdf8 0%, #f7fbf8 100%);
}
.book-bar-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (max-width: 520px) {
  .book-bar-fields { grid-template-columns: 1fr; }
}
.book-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.book-field input[type="date"] {
  font: inherit;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
}
.detail-panel .book-bar { position: sticky; top: 1rem; z-index: 2; }
