:root {
  --ink: #1b2420;
  --muted: #5a675f;
  --paper: #f7f5f0;
  --white: #fff;
  --tea: #1f4d4a;
  --tea-2: #2f6f6a;
  --line: rgba(27, 36, 32, 0.1);
  --font-d: "Fraunces", Georgia, serif;
  --font: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--arv-preview-h, 0px) + 72px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); max-width: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--tea); }
button, input, select { font: inherit; font-size: 16px; }

.nav {
  position: sticky;
  top: var(--arv-preview-h, 0);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(0.85rem, 4vw, 2.4rem);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}
.logo { min-width: 0; }
.nav .btn-tea { flex-shrink: 0; }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 600;
  margin-left: auto;
}
.nav-links a.on { color: var(--tea); }
.logo {
  text-decoration: none;
  color: inherit;
  font-family: var(--font-d);
  font-weight: 600;
  line-height: 1.1;
}
.logo span {
  display: block;
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tea);
  font-weight: 600;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 6px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  min-height: 44px;
}
.btn-tea { background: var(--tea); color: #f7f5f0; }
.btn-tea:hover:not(:disabled) { background: var(--tea-2); }
.btn-tea:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-wa { background: #128c7e; color: #fff; }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45); }
.btn-line:hover { background: rgba(255,255,255,0.1); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 86vh;
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #f7f5f0;
  background:
    linear-gradient(180deg, rgba(12, 22, 18, 0.18) 0%, rgba(12, 22, 18, 0.78) 100%),
    url("../img/damar.png") center/cover no-repeat;
  overflow: hidden;
}
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero-kicker { color: #cfe3df; }
.hero-note { color: #cfe3df !important; margin-top: 10px; }
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 8vw, 4.6rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
  max-width: 14ch;
  font-weight: 500;
}
.hero p { max-width: 32rem; margin: 0 0 1.2rem; line-height: 1.5; opacity: 0.95; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.stats article {
  background: var(--white);
  padding: 18px 16px;
  text-align: center;
}
.stats strong { display: block; font-family: var(--font-d); font-size: 1.5rem; }
.stats span { font-size: 0.78rem; color: var(--muted); }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 3.2rem) 0; }
.kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tea);
  font-weight: 600;
}
h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.benefits { display: grid; gap: 12px; }
.benefits div {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 16px;
}
.benefits strong { display: block; margin-bottom: 4px; }

.villa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.v-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(27, 36, 32, 0.07);
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.v-card .img-wrap { display: block; overflow: hidden; height: 180px; }
.v-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.v-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(27, 36, 32, 0.12); }
.v-card:hover img { transform: scale(1.06); }
.v-card.on { box-shadow: 0 0 0 2px var(--tea); }
.v-card .pad { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.v-card .v-name { margin: 0; font-family: var(--font-d); font-size: 1.25rem; font-weight: 500; }
.v-card .hint { font-size: 0.8rem; font-weight: 600; color: var(--tea); margin-top: auto; }
.price { font-weight: 600; color: var(--tea); }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: 0.82rem; color: var(--muted); }

.detail {
  display: none;
  margin-top: 18px;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
}
.detail.open { display: grid; grid-template-columns: 1fr 1fr; }
.detail img { height: 100%; min-height: 240px; object-fit: cover; }
.detail .pad { padding: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.chip {
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.cal-wrap { overflow: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.cal-phone { display: none; }
.cal-villa {
  background: var(--paper);
  border-radius: 14px;
  padding: 12px;
}
.cal-villa strong { display: block; margin-bottom: 8px; }
.cal-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.cal-chip {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--tea);
  cursor: pointer;
  padding: 4px 2px;
}
.cal-chip.is-full {
  background: #cfe3df;
  color: var(--tea);
  cursor: default;
}
.cal-legend {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.cal-legend .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -1px;
}
.cal-legend .swatch.free { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cal-legend .swatch.full { background: #cfe3df; }
.cal { border-collapse: separate; border-spacing: 4px; min-width: 640px; font-size: 0.75rem; width: 100%; }
.cal th, .cal td { background: var(--paper); border-radius: 8px; padding: 0; text-align: center; }
.cal th { padding: 8px 6px; }
.cal td.full { background: #cfe3df; font-weight: 600; color: var(--tea); padding: 8px 6px; }
.cal .vn { text-align: left; font-weight: 700; min-width: 88px; padding: 8px 6px; }
.cal-cell {
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  color: var(--tea);
  cursor: pointer;
}
.cal-cell:hover { background: #e7eeea; }

.fac {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 12px;
}
.fac article {
  background: var(--paper);
  border-radius: 14px;
  padding: 16px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}
.quotes blockquote {
  margin: 0;
  background: var(--paper);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.quotes cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 0.82rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps article { background: var(--paper); border-radius: 14px; padding: 16px; }
.steps strong { font-family: var(--font-d); font-size: 1.6rem; color: var(--tea); display: block; }

form.stack { display: grid; gap: 12px; max-width: min(36rem, 100%); }
label span { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; }
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="password"],
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.pay-box { background: var(--paper); border-radius: 14px; padding: 14px 16px; }
.warn-box { color: #9a3412; background: #fff7ed; padding: 10px 12px; border-radius: 12px; margin: 8px 0 0; }
.methods { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; }
.methods label { display: flex; gap: 8px; align-items: center; }
.methods input { width: auto; }
.error { color: #9b1c1c; background: #fde8e8; padding: 10px 12px; border-radius: 12px; }
.ok { background: #e4f4ef; border-radius: 14px; padding: 16px; }

.site-foot {
  background: #14201c;
  color: #e8eee9;
  padding: 2.4rem clamp(1rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.site-foot h3 { font-family: var(--font-d); margin: 0 0 8px; font-weight: 500; }
.site-foot a { color: #cfe3df; }
.muted { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.wa-float {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 28;
  background: #128c7e;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.35);
}
.wa-float:hover { background: #0e7a6e; }

.reveal { opacity: 1; transform: none; }
.reveal.is-wait { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .about-grid, .detail.open, .steps, .site-foot { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 0 8px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav .btn-tea { margin-left: 0; }
  .wa-float { bottom: max(72px, calc(56px + env(safe-area-inset-bottom, 0px))); }
  .hero { min-height: 78vh; }
  .cal { display: none; }
  .cal-phone { display: grid; gap: 10px; }
}

@media (max-width: 480px) {
  .hero { padding: 1.15rem 1rem 1.5rem; min-height: 72vh; }
  .hero h1 { max-width: none; }
  .wrap { width: calc(100% - 1.5rem); }
  .nav { padding: 10px 12px; gap: 8px; }
  .logo { font-size: 1.02rem; }
  .nav .btn-tea { padding: 0.6rem 0.95rem; min-height: 40px; }
  .stats article { padding: 12px 8px; }
  .stats strong { font-size: 1.25rem; }
  .v-card .img-wrap, .v-card img { height: 156px; }
  .detail img { min-height: 180px; }
  .cal-days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .fac { grid-template-columns: 1fr 1fr; }
  .site-foot { padding: 1.8rem 1rem 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-card, .v-card img, .reveal.is-in { transition: none; }
  .v-card:hover { transform: none; }
  .v-card:hover img { transform: none; }
  .reveal.is-wait { opacity: 1; transform: none; }
}
