:root {
  --sea: #0f5e74;
  --sea-dark: #0a4252;
  --sand: #f7f1e8;
  --stone: #e8ddcc;
  --ink: #1f2a2e;
  --muted: #5d6b70;
  --terracotta: #c4623a;
  --busy: #d9cdbb;
  --white: #fff;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 16px/1.6 Inter, system-ui, sans-serif;
}
h1, h2, h3, .brand { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0; }
h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
h3 { font-size: 1.25rem; margin: .2em 0; }
a { color: var(--sea); }
img { max-width: 100%; display: block; }

.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; background: var(--white); border-bottom: 1px solid var(--stone);
  position: sticky; top: 0; z-index: 10;
}
.brand { font-size: 1.4rem; color: var(--sea-dark); text-decoration: none; }
.top nav a { margin-left: 18px; text-decoration: none; color: var(--ink); font-weight: 500; }

.hero {
  background: linear-gradient(160deg, rgba(10,66,82,.82), rgba(15,94,116,.5)), var(--hero, none) center / cover, var(--sea);
  color: var(--white); padding: clamp(60px, 12vw, 140px) 20px;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero p { font-size: 1.15rem; opacity: .95; }

.btn, button {
  display: inline-block; background: var(--terracotta); color: var(--white); border: 0;
  padding: 13px 26px; border-radius: 999px; font: 600 1rem Inter, sans-serif;
  text-decoration: none; cursor: pointer;
}
button:hover, .btn:hover { filter: brightness(1.07); }
button:disabled { opacity: .6; cursor: default; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 20px; }
.narrow { max-width: 760px; }
.lede { color: var(--muted); }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.card-img { aspect-ratio: 4/3; background: var(--stone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--terracotta); margin: 0; font-weight: 600; }
.facts { color: var(--muted); font-size: .92rem; margin: .2em 0 .6em; }
.summary { margin: 0; }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted);
  font-family: Fraunces, serif; font-size: 1.2rem; background: repeating-linear-gradient(45deg, var(--stone), var(--stone) 12px, #efe6d8 12px, #efe6d8 24px);
}
.ph.big { aspect-ratio: 16/7; border-radius: var(--radius); }

.crumb { font-size: .9rem; color: var(--muted); }
.gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 180px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.gallery .ph { grid-column: 1 / -1; grid-row: span 2; }
.detail { display: grid; gap: 40px; grid-template-columns: 1fr 400px; margin-top: 24px; }
.amenities { columns: 2; padding-left: 1.1em; }
.ext { margin-top: 1.5em; }

.cal { background: var(--white); border-radius: var(--radius); padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head button { background: none; color: var(--sea); padding: 4px 10px; font-size: 1.2rem; }
.cal-head strong { font-family: Fraunces, serif; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .88rem; }
.cal-grid .dow { color: var(--muted); font-size: .75rem; padding-bottom: 4px; }
.cal-grid .d { padding: 7px 0; border-radius: 8px; cursor: pointer; border: 0; background: #eef6f8; color: var(--ink); font: inherit; }
.cal-grid .d.busy { background: var(--busy); color: #8a7e6c; text-decoration: line-through; cursor: not-allowed; }
.cal-grid .d.past { background: none; color: #bbb; cursor: default; }
.cal-grid .d.sel { background: var(--sea); color: var(--white); }
.cal-grid .d.range { background: #bfe0e8; }
.cal-grid .d small { display: block; font-size: .64rem; color: var(--muted); line-height: 1.1; }
.cal-grid .d.sel small { color: rgba(255,255,255,.85); }
.cal-grid.priced .d { padding: 5px 0 4px; }
.quote { background: var(--white); border-radius: var(--radius); padding: 2px 16px; margin: 10px 0; }
.quote:empty { display: none; }
.quote .total { font-family: Fraunces, serif; font-size: 1.8rem; margin: 0; color: var(--sea-dark); }
.quote .small, .from { font-size: .85rem; color: var(--muted); }
.quote .warn { color: #b23a1e; }
.from { margin: .6em 0 0; }
.from strong { color: var(--ink); font-size: 1rem; }
.cal-key { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.k { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.k.free { background: #eef6f8; border: 1px solid #cfe3e9; }
.k.busy { background: var(--busy); margin-left: 10px; }
.hint { font-size: .85rem; color: var(--muted); }
.cal-loading, .cal-error { color: var(--muted); margin: 0; }

.enquiry label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 12px; }
.enquiry input, .enquiry select, .enquiry textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--stone);
  border-radius: 10px; font: inherit; background: var(--white);
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.book { margin-bottom: 8px; }
.book-btn { width: 100%; background: var(--sea); }
.agree { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.agree input { width: auto !important; margin-top: 4px !important; }
.book .small { font-size: .82rem; color: var(--muted); }
.or { text-align: center; color: var(--muted); font-size: .85rem; margin: 4px 0 10px; }
.booked #booking-status { background: var(--white); border-radius: var(--radius); padding: 6px 20px; font-size: 1.05rem; }
.booked .small { font-size: .85rem; color: var(--muted); }
.form-status { min-height: 1.4em; }
.form-status.ok { color: #1e7a45; font-weight: 500; }
.form-status.err { color: #b23a1e; }

.foot { text-align: center; color: var(--muted); padding: 40px 20px; font-size: .9rem; }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 520px) {
  .grid2 { grid-template-columns: 1fr; }
  .amenities { columns: 1; }
  .top nav a { margin-left: 12px; }
}

/* Key facts and questions on each stay page */
.keyfacts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 8px; }
.keyfacts dt { font-weight: 600; }
.keyfacts dd { margin: 0; color: var(--muted); }
.faq h3 { font-size: 1rem; margin: 18px 0 4px; }
.faq p { margin: 0; }
.price-from { font-weight: 600; }
.about img.owner { border-radius: 50%; float: right; margin: 0 0 16px 16px; }
