/* Contact page: the booking form is the opener. */
.book { position: relative; padding: calc(var(--head-h) + clamp(24px, 4vh, 48px)) 0 clamp(64px, 9vh, 110px); overflow: clip; background: linear-gradient(180deg, #23211E 0%, var(--tarmac) 70%); }
.book::before { content: ''; position: absolute; right: -10vw; top: -20vh; width: 70vw; height: 110vh; pointer-events: none; background: repeating-radial-gradient(ellipse at 60% 40%, rgba(232, 169, 65, .045) 0 2px, transparent 2px 52px); animation: book-rings 30s ease-in-out infinite alternate; }
@keyframes book-rings { to { transform: translate(-5vw, 5vh) scale(1.1); } }
.book-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.book-side { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 0; }
.book-photo { margin: 0; }
.book-photo .frame-img { height: min(38vh, 360px); max-height: none; }
.book-photo .frame-img img { height: 100%; }
.call-card { position: relative; margin: -46px 18px 0 -1px; background: var(--asphalt); border-top: 4px solid var(--amber); padding: 22px 24px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.cc-label { color: var(--fog); margin: 0 0 2px; font-size: .98rem; }
.cc-num { display: inline-flex; align-items: center; min-height: 44px; font: 820 clamp(1.9rem, 2.8vw, 2.6rem)/1 var(--display); font-stretch: 80%; color: var(--amber); text-decoration: none; }
.cc-num:hover { color: var(--amber-hot); }
.cc-list { margin: 12px 0 8px; display: grid; gap: 8px; }
.cc-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .98rem; }
.cc-list .ic { color: var(--amber); }
.cc-list .stars { font-size: .9rem; }
.cc-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: underline; text-decoration-color: rgba(232, 169, 65, .6); text-underline-offset: 4px; }
.cc-list a:hover { color: var(--amber); }
.cc-fb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--cream); text-decoration: none; font-weight: 500; }
.cc-fb .ic { color: var(--amber); }
.cc-fb:hover { color: var(--amber); }

.book-main .h1 { margin-bottom: .3em; }
.book-main .lede { margin-bottom: 1.4em; }
.bform { background: var(--asphalt); padding: clamp(22px, 2.6vw, 36px); border: 1px solid rgba(251, 229, 193, .08); }
.bf-group { border: 0; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.bf-group legend { font: 700 1.2rem/1.2 var(--display); font-stretch: 92%; color: var(--cream); margin-bottom: 14px; padding: 0; }
.bf-group .full { grid-column: 1 / -1; }
.bform .field label { color: var(--cream); font-weight: 500; font-size: .98rem; }
.bform .field .opt { color: var(--fog); font-weight: 400; }
.bform .field input, .bform .field textarea { background: #1F1E1B; border: 2px solid rgba(251, 229, 193, .16); color: var(--cream); min-height: 52px; }
.bform .field textarea { min-height: 96px; resize: vertical; }
.bform .field input::placeholder, .bform .field textarea::placeholder { color: rgba(251, 229, 193, .5); }
.bform .field input:focus, .bform .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232, 169, 65, .2); }
.bform .field input[aria-invalid='true'] { border-color: #F08A6C; }
.bform input[type='date'], .bform input[type='time'] { color-scheme: dark; }
/* return journey: a one-way / return choice; the return fields show only for a return (CSS, so it works without JS) */
.bf-ret { border: 0; margin: 4px 0 0; padding: 0; }
.bf-group .bf-ret legend, html.js:not(.reveal-all) .bf-group .bf-ret legend { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font: 500 .98rem/1.3 var(--body); color: var(--cream); padding: 0; margin: 0 0 8px; }
.bform .seg span { border-color: rgba(251, 229, 193, .28); color: var(--cream); background: #1F1E1B; }
.bform .seg label:hover span { border-color: var(--amber); }
.bform .seg input:checked + span { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.bf-return { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 16px 18px 18px; border-left: 3px solid var(--amber); background: rgba(232, 169, 65, .06); }
.bf-return .full { grid-column: 1 / -1; }
.bform:has(#f-ret-no:checked) .bf-return { display: none; }
.f-err { color: #F6A68E; font-size: .95rem; margin: 2px 0 0; }
.f-alert { background: rgba(240, 138, 108, .12); border-left: 4px solid #F08A6C; padding: 14px 18px; margin-bottom: 18px; color: var(--cream); }
.f-alert[hidden] { display: none; }
.f-alert a { color: var(--amber); }
.bform.is-sending { pointer-events: none; }
.bform.is-sending [type=submit] { opacity: .7; }
.f-done { background: var(--asphalt); border-left: 4px solid var(--amber); padding: clamp(24px, 3vw, 40px); }
.f-done p a { color: var(--amber); }
.bf-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.bf-note { margin: 0; color: var(--fog); font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* what happens next: three steps on a dashed road */
.next { padding-block: clamp(80px, 12vh, 140px); overflow: clip; isolation: isolate; }
.next-bg { position: absolute; inset: -10% 0; z-index: -2; }
.next-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.next::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--tarmac) 0%, rgba(29, 28, 26, .82) 45%, rgba(29, 28, 26, .55) 100%), linear-gradient(0deg, var(--tarmac), rgba(29, 28, 26, 0) 30%, rgba(29, 28, 26, 0) 70%, var(--tarmac)); }
.next-steps li { background: rgba(29, 28, 26, .8); padding: 26px 26px 28px; }
.next .h2 { margin-bottom: clamp(32px, 5vh, 56px); }
.next .wrap { position: relative; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.next-steps li { position: relative; }
.next-steps b { position: relative; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--ink); font: 820 1.4rem/1 var(--display); margin-bottom: 18px; box-shadow: 0 0 0 8px rgba(29, 28, 26, .9); }
.next-steps h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; margin-bottom: .4em; }
.next-steps p { color: var(--text); margin: 0; }
.next-line { position: absolute; z-index: 2; left: 26px; right: 26px; height: 4px; overflow: hidden; }
.next-line span { position: absolute; inset: 0; transform-origin: 0 50%; background: repeating-linear-gradient(90deg, var(--amber) 0 26px, transparent 26px 46px); background-size: 46px 4px; animation: dash-crawl 1.4s linear infinite; opacity: .7; }

/* coverage map */
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.town-cols { columns: 3 150px; column-gap: 24px; margin: 8px 0 30px; }
.town-cols li { break-inside: avoid; padding: 6px 0 6px 18px; position: relative; color: var(--text); }
.town-cols li::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--amber); }
.cover-map { position: relative; height: var(--media-cap); background: var(--sea); border: 1px solid rgba(251, 229, 193, .1); overflow: hidden; }
.cover-map .jg-map { width: 100%; height: 100%; }
.cover-map .m-town text { font-size: 17px; }
.cover-map .m-town.is-major text { font-size: 21px; }

@media (max-width: 760px) {
  .bf-return { grid-template-columns: 1fr; padding: 14px 14px 16px; }
}
@media (max-width: 1080px) {
  .book-grid, .cover-grid { grid-template-columns: 1fr; }
  .book-side { position: relative; top: 0; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .call-card { margin: 0; }
  .book-photo .frame-img { height: 100%; min-height: 260px; }
  .book-main { order: -1; }
}
@media (max-width: 760px) {
  .book-side { grid-template-columns: 1fr; }
  .book-photo .frame-img { height: 30vh; min-height: 220px; }
  .call-card { margin: -36px 12px 0 0; }
  .bf-group { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; gap: 30px; }
  .next-line { display: none; }
  .cover-map { height: min(70vh, 560px); }
  .bf-foot .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .book::before, .next-line span { animation: none; }
}
.town-cols li.has-pin:hover { color: var(--amber); }
.book-main .h1 { font-size: clamp(2.3rem, 4vw, 4rem); }

/* two-step booking form: the journey first, then your details (both show without JS) */
.bf-steps { list-style: none; margin: 0 0 22px; padding: 0 0 18px; display: flex; gap: 28px; border-bottom: 1px solid rgba(251, 229, 193, .1); }
.bf-steps li { display: flex; align-items: center; gap: 10px; color: var(--fog); font-weight: 500; transition: color .3s; }
.bf-steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 2px solid rgba(251, 229, 193, .3); font: 800 .95rem/1 var(--display); color: var(--fog); transition: background-color .3s, border-color .3s, color .3s; }
.bf-steps li.is-now { color: var(--cream); }
.bf-steps li.is-now b, .bf-steps li.is-done b { background: var(--amber); border-color: var(--amber); color: var(--ink); }
html.js:not(.reveal-all) .bf-step:not(.is-on) { display: none; }
.no-js .bf-next, .reveal-all .bf-next, .no-js .bf-back, .reveal-all .bf-back { display: none; }
.no-js .bf-steps, .reveal-all .bf-steps { display: none; }
.bf-back .flip { display: inline-flex; transform: scaleX(-1); }
.bf-step { will-change: transform; }
html.js:not(.reveal-all) .bf-group legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.bf-steps { margin-bottom: 18px; padding-bottom: 14px; }
.book-main .lede { margin-bottom: 1.1em; }
/* short laptop screens: step one fits above the fold */
@media (max-height: 760px) and (min-width: 1081px) {
  .book { padding-top: calc(var(--head-h) + 12px); }
  .book-main .h1 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
  .book-main .lede { font-size: 1rem; margin-bottom: .8em; }
  .bform { padding: 20px 28px; }
  .bf-steps { margin-bottom: 12px; padding-bottom: 10px; }
  .bf-group { gap: 10px 18px; margin-bottom: 16px; }
  .bform .field input { min-height: 48px; }
  .book-photo .frame-img { height: min(32vh, 300px); }
}
/* the step bar sits on a crawling road line, so the form's first screen is never still */
.bf-steps { position: relative; border-bottom: 0; }
.bf-steps::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, rgba(232, 169, 65, .75) 0 26px, transparent 26px 46px); background-size: 46px 3px; animation: dash-crawl 1.4s linear infinite; }
.bf-steps li.is-now b { animation: bf-pulse 2.4s ease-in-out infinite; }
@keyframes bf-pulse { 50% { box-shadow: 0 0 0 7px rgba(232, 169, 65, .18); } }
@media (prefers-reduced-motion: reduce) { .bf-steps::after, .bf-steps li.is-now b { animation: none; } }
