:root {
  --ink: #17201c; --muted: #5b6863; --line: #e3e8e5; --bg: #ffffff; --soft: #f4f7f5;
  --brand: #1f6f5c; --brand-ink: #ffffff; --brand-soft: #e6f2ee; --warn: #b4441f; --ok: #1f7a46;
  --radius: 14px; --shadow: 0 6px 24px rgba(20, 40, 30, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 5vw, 46px); }
h2 { font-size: clamp(22px, 3.2vw, 30px); }
h3 { font-size: 18px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header / footer */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--brand); color: var(--brand-ink); min-height: 46px; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--brand-soft); color: var(--brand); }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 8px 14px; min-height: 36px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; }
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #cfd8d3; border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.err { color: var(--warn); font-size: 14px; min-height: 20px; margin-top: 10px; }
.okmsg { background: var(--brand-soft); border-radius: var(--radius); padding: 18px; }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; }

/* Landing */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--soft), #fff); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
section.block { padding: 48px 0 8px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 14px; color: var(--muted); font-weight: 600; }
.tablewrap { overflow-x: auto; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }

/* Listing */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: var(--radius); overflow: hidden; margin: 18px 0; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery img:first-child { grid-row: span 2; }
.gallery .all { position: absolute; right: 12px; bottom: 12px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .gallery img:not(:first-child) { display: none; }
  .gallery img:first-child { grid-row: auto; }
}
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 17px; margin: 6px 0 4px; }
.facts b { font-size: 22px; }
.layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.side { position: sticky; top: 76px; }
.side .price { font-size: 30px; font-weight: 800; }
.side .terms { margin: 12px 0 16px; font-size: 15px; }
.side .terms div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 7px 0; gap: 10px; }
.side .terms div span:last-child { text-align: right; }
.side .btn { width: 100%; margin-top: 8px; }
.list ul { padding-left: 20px; margin: 0 0 18px; }
.list li { margin: 4px 0; }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); }
.mobilebar { display: none; }
@media (max-width: 900px) {
  .side { position: static; }
  .mobilebar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); z-index: 30; }
  .mobilebar .btn { flex: 1; }
  body.listing { padding-bottom: 80px; }
}

/* Modal / lightbox */
.modal { position: fixed; inset: 0; background: rgba(10, 20, 15, .55); display: none; align-items: flex-start; justify-content: center; z-index: 50; overflow-y: auto; padding: 24px 12px; }
.modal.open { display: flex; }
.modal .box { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; padding: 22px; position: relative; box-shadow: var(--shadow); }
.modal .x { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 14px; text-align: center; color: var(--ink); }
.chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.light { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: none; z-index: 60; align-items: center; justify-content: center; }
.light.open { display: flex; }
.light img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
.light .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 15px; }
.light button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.light .prev { left: 12px; } .light .next { right: 12px; } .light .close { top: 12px; right: 12px; }

/* Admin */
.tabs { display: flex; gap: 6px; margin: 18px 0; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.item .head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.status { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: var(--soft); }
.status.booked, .status.docs_in, .status.approved { background: #e3f4ea; color: var(--ok); }
.status.cancelled, .status.declined, .status.noshow { background: #fbe9e3; color: var(--warn); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 4px 12px; font-size: 14px; margin-top: 8px; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dt { font-weight: 600; margin-top: 6px; } }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
pre.summary { white-space: pre-wrap; background: var(--soft); padding: 14px; border-radius: 10px; font-size: 14px; }
.msgbody { overflow-wrap: anywhere; }
.msgbody.clip { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.side .contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 4px; overflow-wrap: anywhere; }
.layout > * { min-width: 0; } /* the scrolling row of days must not widen the column on phones */
.mobilebar .btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
fieldset.step { border: 0; padding: 0; margin: 0; display: none; }
fieldset.step.on { display: block; }
.steps { margin: 8px 0 4px; }
.steps-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.steps-label span:last-child { color: var(--muted); font-weight: 400; }
.steps-bar { height: 6px; background: var(--soft); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.steps-bar div { height: 100%; background: var(--brand); border-radius: 99px; transition: width .25s; }
.stepnav { display: flex; gap: 8px; margin-top: 18px; }
.stepnav .btn { flex: 1; }
