/* Booking wizard, enquiry form, cookie consent */

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2 { font-size: var(--step-1); }
.aside-card dl { margin: 0; display: grid; gap: 14px; }
.aside-card dt { color: var(--scrub); }
.aside-card dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.aside-card dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.aside-card dd a:hover { border-color: var(--pulse); }

/* ---------- Wizard ---------- */
.booker { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.booker-head { background: var(--screen); color: #D9F1EC; padding: 20px 24px; }
.booker-head h2 { color: #fff; font-size: var(--step-2); margin: 0 0 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.steps li { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(217, 241, 236, .5); padding-top: 10px; border-top: 3px solid rgba(217, 241, 236, .15); transition: all .3s ease; }
.steps li.done { color: var(--monitor); border-color: var(--monitor); }
.steps li.current { color: #fff; border-color: var(--pulse); }
@media (max-width: 520px) { .steps li span { display: none; } }
.booker-body { padding: clamp(20px, 4vw, 32px); }
.pane[hidden] { display: none; }
.pane h3 { font-size: var(--step-1); margin-bottom: 4px; }
.pane > .muted { margin-bottom: 20px; }

.opt-grid { display: grid; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.opt label strong { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; }
.opt label .price-s { font-family: var(--f-mono); font-weight: 500; }
.opt label small { grid-column: 1 / -1; color: var(--scrub); font-size: .9rem; }
.opt input:hover + label { border-color: rgba(13, 43, 48, .35); }
.opt input:checked + label { border-color: var(--monitor); box-shadow: 0 0 0 4px rgba(15, 191, 160, .15); }
.opt input:focus-visible + label { outline: 3px solid var(--monitor); outline-offset: 3px; }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.day, .slot {
  flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer;
  font: 500 .92rem var(--f-body); color: var(--ink); transition: all .2s ease;
}
.day { width: 72px; padding: 10px 6px; text-align: center; scroll-snap-align: start; }
.day b { display: block; font-family: var(--f-display); font-size: 1.4rem; line-height: 1.1; }
.day small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--scrub); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 18px; }
.slot { padding: 12px 8px; font-family: var(--f-mono); }
.day:hover, .slot:hover { border-color: rgba(13, 43, 48, .35); }
.day[aria-pressed="true"], .slot[aria-pressed="true"] { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.day[aria-pressed="true"] small { color: var(--monitor); }
.day:disabled, .slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.day:disabled { text-decoration: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tz-note { margin-top: 12px; font-size: .85rem; color: var(--scrub); }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 500; font-size: .94rem; }
.field label .opt-t { color: var(--scrub); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: 400 1rem var(--f-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--monitor); box-shadow: 0 0 0 4px rgba(15, 191, 160, .15); }
.field [aria-invalid="true"] { border-color: var(--pulse); }
.err { color: #B4232A; font-size: .86rem; min-height: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--scrub); margin-bottom: 12px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }

.summary { border: 1px dashed rgba(13, 43, 48, .3); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.summary dt { color: var(--scrub); }
.summary dd { margin: 0; font-weight: 500; }
.summary .total { border-top: 1px solid var(--line); padding-top: 10px; font-family: var(--f-mono); font-size: 1.1rem; }

.pane-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pane-nav .btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.form-status { margin-top: 14px; font-size: .94rem; }
.form-status.bad { color: #B4232A; }

.done-pane { text-align: center; padding: 20px 0; }
.done-pane svg { width: 180px; height: 60px; margin: 0 auto 12px; }
.done-pane svg path { fill: none; stroke: var(--monitor); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-pane .btn { margin: 6px; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px));
  background: var(--screen); color: #D9F1EC; border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 70px -20px rgba(6, 25, 28, .7), inset 0 0 0 1px rgba(15, 191, 160, .25);
  font-size: .92rem;
}
.consent[hidden] { display: none; }
.consent h2 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.consent p { color: rgba(217, 241, 236, .78); margin-bottom: 14px; }
.consent a { color: var(--monitor); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .btn { min-height: 42px; padding: 10px 16px; font-size: .9rem; flex: 1 1 auto; }
.consent .btn-ghost { border-color: rgba(217, 241, 236, .4); color: #D9F1EC; }
.consent .btn-ghost:hover { background: #D9F1EC; color: var(--screen); }
.consent .btn-accept { background: var(--monitor); border-color: var(--monitor); color: var(--screen); }
.consent-prefs { margin: 4px 0 16px; display: grid; gap: 10px; }
.consent-prefs[hidden] { display: none; }
.pref { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; border: 1px solid rgba(217, 241, 236, .14); border-radius: 12px; padding: 12px 14px; }
.pref strong { color: #fff; display: block; }
.pref small { color: rgba(217, 241, 236, .65); display: block; line-height: 1.4; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(217, 241, 236, .2); transition: background .2s ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch input:checked + span { background: var(--monitor); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--monitor); outline-offset: 2px; }
@media (max-width: 720px) { .consent { bottom: 12px; left: 12px; width: calc(100% - 24px); max-height: 80vh; overflow-y: auto; } }

/* ---------- Legal page ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: var(--step-2); margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 1.4em; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--scrub); }
