:root {
  --ink: #1b2727;
  --muted: #5b6b69;
  --deep: #0f3d3e;
  --lagoon: #1c6b64;
  --sand: #f7f2e8;
  --paper: #fffdf8;
  --line: #e2dccd;
  --accent: #c8691c;
  --accent-ink: #fff;
  --ok: #2f7d4a;
  --warn: #b7791f;
  --bad: #b3261e;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--deep); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
section { padding: 48px 16px; max-width: 1120px; margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.error { color: var(--bad); font-weight: 600; min-height: 1em; }
.note { background: #fff4e0; border: 1px solid #f0d49b; padding: 10px 14px; border-radius: 10px; }
.draft { background: #fff1c1; color: #4a3b00; border-bottom: 1px solid #e5cf73; padding: 10px 16px; font-size: .9rem; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 0; background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.8); }
.btn.ghost.dark { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn.wa { background: #1f8f4e; }
.linkbtn { background: none; border: 0; color: var(--lagoon); text-decoration: underline; cursor: pointer; font: inherit; padding: 0 4px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(255,253,248,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { font: 700 1.05rem var(--serif); color: var(--deep); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 16px; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } .brand { font-size: .95rem; } }

.hero { position: relative; padding: 0; max-width: none; min-height: min(78vh, 640px); display: grid; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,30,.15) 30%, rgba(8,30,30,.72)); }
.hero.pos-left img { object-position: 20% 60%; }
.hero.pos-right img { object-position: 78% 60%; }
.hero-text { position: relative; z-index: 1; align-self: end; padding: 32px 16px 40px; max-width: 1120px; width: 100%; margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(2rem, 7vw, 3.6rem); margin-bottom: .2em; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero p { font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 40em; margin: 0 0 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.book-wrap { margin-top: -28px; position: relative; z-index: 2; padding-top: 0; }
.search, .guest { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 12px 40px rgba(15,61,62,.12); }
.search h2 { font-size: 1.4rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-items: end; }
label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--deep); }
input, select, textarea { font: 1rem var(--sans); padding: 11px 12px; border: 1.5px solid #cfc7b4; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(28,107,100,.25); border-color: var(--lagoon); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

#results { margin-top: 18px; }
.result-head { font-weight: 600; color: var(--deep); }
.results { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
.result img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.result-body { padding: 14px 16px 16px; }
.result.off { opacity: .6; }
.price { font-size: 1.15rem; margin: .2em 0; }
.hurry { color: var(--accent); font-weight: 600; margin: .2em 0 .6em; }

.guest { margin-top: 18px; display: grid; gap: 14px; max-width: 640px; }
.chosen { background: var(--sand); padding: 10px 14px; border-radius: 10px; margin: 0; font-weight: 600; }
fieldset.pay { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: grid; gap: 8px; }
legend { font-weight: 600; color: var(--deep); padding: 0 4px; }
label.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
label.radio input { width: 20px; min-height: 20px; margin-top: 3px; flex: none; }

.intro { font-size: 1.12rem; max-width: 760px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.room, .exp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.room img, .exp img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.room-body { padding: 16px 18px 18px; }
.chips { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { background: var(--sand); border-radius: 999px; padding: 3px 10px; font-size: .85rem; }

.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }

.two { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
#location { background: var(--sand); max-width: none; padding-left: max(16px, calc((100% - 1088px) / 2)); padding-right: max(16px, calc((100% - 1088px) / 2)); }
.plain { padding-left: 1.1em; }
.plain li { margin: .3em 0; }
.addr { font-weight: 600; }

.foot { background: var(--deep); color: #e8efe9; padding: 32px 16px 90px; text-align: center; }
.foot a { color: #fff; }
.foot .muted { color: #b7c7c2; }
.wa-float { position: fixed; right: 14px; bottom: 14px; z-index: 30; background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* booking confirmation */
.page { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; }
.ref { font-size: 1.1rem; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; }
.steps { padding-left: 1.2em; display: grid; gap: 14px; margin: 24px 0; }
.steps .btn { margin-top: 8px; }

/* owner admin */
.admin { max-width: 1120px; margin: 0 auto; padding: 16px 16px 60px; }
.admin section { padding: 24px 0; border-top: 1px solid var(--line); max-width: none; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.admin-head h1 { margin: 0; font-size: 1.5rem; }
.inline { display: inline-flex; gap: 6px; align-items: end; margin: 0; }
.inline label { font-weight: 400; }
.inline input { min-height: 38px; padding: 6px 8px; width: 7em; }
.flash { background: #e6f4ea; border: 1px solid #b7dfc2; padding: 10px 14px; border-radius: 10px; }
.bk { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--warn); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.bk.confirmed { border-left-color: var(--ok); }
.bk.cancelled { border-left-color: #999; opacity: .75; }
.bk header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bk p { margin: .3em 0; }
.bk .notes { font-style: italic; }
.tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; background: #eee; border-radius: 6px; padding: 2px 7px; }
.tag.requested { background: #fff1c1; } .tag.confirmed { background: #dcf1e3; } .tag.cancelled { background: #f1dede; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.row label { flex: 1 1 140px; }
.gridwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.cal { border-collapse: collapse; font-size: .8rem; }
table.cal th, table.cal td { border: 1px solid var(--line); padding: 4px; text-align: center; min-width: 30px; }
table.cal tbody th { text-align: left; white-space: nowrap; position: sticky; left: 0; background: #fff; }
table.cal th.we { background: var(--sand); }
td.free { background: #e3f3e8; } td.part { background: #fff1c1; } td.full { background: #f6d5d2; font-weight: 700; }
table.prices { border-collapse: collapse; margin-bottom: 12px; }
table.prices th, table.prices td { padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--line); }
table.prices input { width: 7em; min-height: 38px; }
.login { max-width: 360px; margin: 10vh auto; display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

@media (max-width: 720px) {
  .hero { min-height: 60vh; }
  .hero-wa { display: none; }
  .draft { font-size: .8rem; padding: 8px 12px; }
  .wa-float { padding: 10px 14px; font-size: .9rem; }
  .result { grid-template-columns: 112px 1fr; }
  .result img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .result-body { padding: 10px 12px 12px; }
  .result-body h3 { font-size: 1.05rem; margin-bottom: .2em; }
  .result .btn { min-height: 40px; padding: 0 16px; }
}
