:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --accent: #0f766e;
  --accent-dark: #0b5a54;
  --accent-soft: #e6f4f2;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-top: 1.5rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .9rem; }
.wrap { width: min(100% - 2rem, 64rem); margin-inline: auto; }
.muted { color: var(--muted); }
.big { font-size: 1.2rem; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); }
.narrow { max-width: 42rem; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 249, 246, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; padding-block: .6rem; }
.brand { white-space: nowrap; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.langs { display: flex; gap: .25rem; margin: 0; order: 2; }
.langs a { padding: .15rem .5rem; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.langs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.top nav { display: flex; gap: .25rem; overflow-x: auto; order: 3; flex-basis: 100%; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { white-space: nowrap; padding: .3rem .75rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.top nav a:hover { background: var(--accent-soft); }
.top nav a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
@media (min-width: 68rem) {
  .top-in { flex-wrap: nowrap; }
  .top nav { order: 1; flex-basis: auto; margin-left: auto; }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; }
.btn.off { border-style: dashed; color: var(--muted); font-weight: 400; }

/* hero */
.hero { display: grid; gap: 1.5rem; margin-top: 1.25rem; }
.hero-img { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin: 0 0 .5rem; }
.hero-text h1 { margin-top: 0; }
@media (min-width: 52rem) {
  .hero:has(.hero-img) { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2.5rem; margin-top: 2rem; }
  .hero-img { order: 2; aspect-ratio: 4 / 3; }
  .hero:not(:has(.hero-img)) .hero-text { max-width: 42rem; }
}

/* cards */
.cards { display: grid; gap: 1rem; margin: 1.5rem 0; }
.cards.three, .cards.rooms { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; overflow: hidden; }
.card h3 { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.card.room { padding: 0; display: flex; flex-direction: column; }
.card.room h3 { color: var(--ink); font-size: 1.25rem; text-transform: none; letter-spacing: 0; margin-bottom: .1rem; }
.room-body { padding: 1rem 1.25rem 1.1rem; }
.room-img { aspect-ratio: 3 / 2; margin: 0; border-radius: 0; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.price { font-size: 1.4rem; font-weight: 700; margin: .5rem 0; }
.price small { font-size: .8rem; font-weight: 400; color: var(--muted); }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; margin: 0 0 .75rem; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* photos */
.photo { margin: 1rem 0; }
.photo img { border-radius: var(--radius); width: 100%; height: auto; }
.photo.slot { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 1rem; border-radius: var(--radius); border: 2px dashed #c7c3be; color: var(--muted); background: #f1efea; font-size: .9rem; }
.photo.slot.room-img { border-radius: 0; border-width: 0 0 2px 0; aspect-ratio: 3 / 2; margin: 0; }
.photo.slot.hero-img { border-radius: var(--radius); border-width: 2px; margin: 0; }

.prose { max-width: 42rem; }
.foot { margin-block: 3rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot p { margin: 0 0 .25rem; }
.demo { margin: 0; padding: .4rem .75rem; background: #b91c1c; color: #fff; text-align: center; font-weight: 700; font-size: .85rem; }



/* photo gallery */
h2 { font-size: 1.4rem; margin-top: 2rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.gallery .photo { margin: 0; }
.gallery .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { margin-top: .35rem; font-size: .85rem; color: var(--muted); }
.card.room .photo { margin: 0; }
.card.room .photo img { border-radius: 0; }
.cards.rooms { align-items: start; }
.hero-img img { object-position: left center; }
.photo.hero-img img { height: 100%; object-fit: cover; object-position: left center; }

/* floating quick-contact buttons */
.fabs { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.fab { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); font-weight: 600; font-size: .92rem; text-decoration: none; }
.fab svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.fab:hover { border-color: var(--accent); color: var(--accent-dark); }
.fab.call { background: var(--accent); border-color: var(--accent); color: #fff; }
.fab.call:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.foot { padding-bottom: 1rem; }
@media (max-width: 40rem) { .foot { padding-bottom: 9rem; } }
@media (max-width: 40rem) {
  .fabs { right: .75rem; gap: .4rem; }
  .fab { padding: .5rem .85rem; font-size: .85rem; }
}
@media (max-width: 40rem) {
  .hero .actions .btn:not(.ghost) { display: none; }
  .langs a { padding: .45rem .8rem; font-size: .85rem; }
}
.fab.logo { padding: .3rem .9rem; background: #fff; }
.fab.logo img { display: block; width: auto; height: 34px; }
.fab.logo:last-child img, .fab.logo img[alt="Traveloka"] { height: 20px; }
.fab.logo { min-height: 44px; justify-content: center; }
