/* Cosgrove Leisure Parks: park pages, park lists, "Finding us" and the drop-down menu. */

.cgl-icon { width: 24px; height: 24px; flex: none; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--marsh); margin-bottom: .6rem; }
.eyebrow--light { color: var(--sand); }

/* ---------- Menu: drop-down ---------- */
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: .1rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.submenu-toggle svg { transition: transform .25s var(--ease); }
.submenu-toggle:hover { background: rgba(16, 48, 44, .08); }
.is-open > .submenu-toggle svg { transform: rotate(180deg); }
.site-nav__phone { display: none; margin: 0; }
@media (min-width: 1080px) {
	.site-nav .menu > li > .sub-menu { display: block; position: absolute; top: calc(100% + .6rem); left: -1.25rem; min-width: 320px; margin: 0; padding: .6rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -20px rgba(16, 48, 44, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; z-index: 60; }
	.site-nav .menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
	.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
	.site-nav .sub-menu li { display: block; }
	.site-nav .sub-menu a { display: block; padding: .6rem .8rem; border: 0; border-radius: 6px; font-size: 1rem; line-height: 1.3; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible { background: var(--mist); border: 0; }
	.site-nav .sub-menu .current-menu-item > a { background: var(--sand-soft); }
	.site-nav .sub-menu .menu-item--all { border-bottom: 1px solid var(--line); margin-bottom: .3rem; padding-bottom: .3rem; }
	.site-nav .sub-menu .menu-item--all a { font-weight: 600; color: var(--marsh); }
}
@media (max-width: 1079px) {
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; border-bottom: 0; }
	.site-nav .menu .submenu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); }
	.site-nav .menu > li > .sub-menu { display: none; flex-basis: 100%; padding: 0 0 .75rem .25rem; }
	.site-nav .menu > li.is-open > .sub-menu { display: grid; grid-template-columns: 1fr; }
	.site-nav .sub-menu a { padding: .6rem .5rem; border-bottom: 0; font-size: 1.02rem; color: var(--muted); }
	.site-nav .sub-menu .current-menu-item > a { color: var(--ink); font-weight: 600; }
	.site-nav__phone { display: block; font-weight: 600; color: var(--muted); }
	.site-nav__phone a { color: var(--ink); font-size: 1.15rem; }
	.nav-open .site-nav { animation: nav-drop .3s var(--ease) both; }
}
@keyframes nav-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Park hero ---------- */
.park-hero--rich { min-height: clamp(440px, 70vh, 700px); }
.park-hero__art, .park-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background:
	radial-gradient(120% 80% at 80% 10%, rgba(216, 182, 118, .35), transparent 55%),
	linear-gradient(180deg, transparent 55%, rgba(10, 32, 29, .35)),
	repeating-linear-gradient(170deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px),
	linear-gradient(160deg, #2c6157, #1d4842 55%, #10302c); }
.park-art--surrey { background:
	radial-gradient(110% 80% at 15% 15%, rgba(216, 182, 118, .3), transparent 55%),
	repeating-linear-gradient(10deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 26px),
	linear-gradient(160deg, #3f6f60, #24544a 55%, #13352f); }
.park-art--suffolk { background:
	radial-gradient(110% 80% at 85% 20%, rgba(241, 229, 200, .35), transparent 55%),
	repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 30px),
	linear-gradient(170deg, #5b7a4e, #36695b 55%, #1d4842); }
.park-art span { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--on-dark); opacity: .9; }
.park-hero__media img { animation: park-hero-in 1.6s var(--ease) both; }
@keyframes park-hero-in { from { transform: scale(1.05); } to { transform: none; } }
.park-hero__crumb { color: var(--on-dark-muted); }
.park-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.park-hero__chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .55rem; border-radius: var(--pill); background: rgba(16, 48, 44, .55); border: 1px solid rgba(243, 246, 244, .25); font-size: .95rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.park-hero__chips .cgl-icon { width: 20px; height: 20px; color: var(--sand); }
.park-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
	.park-hero__title, .park-hero__place, .park-hero__chips, .park-hero__actions { animation: hero-rise .9s var(--ease) both; }
	.park-hero__place { animation-delay: .08s; }
	.park-hero__chips { animation-delay: .16s; }
	.park-hero__actions { animation-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { .park-hero__media img { animation: none; } }
@media (max-width: 599px) {
	.park-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

.park-facts__hours { font-size: .92rem; color: var(--muted); }
.park-facts .btn--outline { margin-top: -.25rem; }

/* ---------- Facilities ---------- */
.park-facilities { background: var(--mist-2); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.park-facilities h2 { margin-bottom: 1.75rem; }
.facility-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .9rem; }
.facility { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; transition: transform .25s var(--ease), box-shadow .25s; }
.facility:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.facility__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--sea); color: var(--sand); }
.facility__label { font-weight: 600; line-height: 1.25; }
.park-facilities__more { margin: 2.5rem 0 0; font-size: 1.5rem; }
.park-facilities .onsite-list { margin-top: 1rem; }
.park-facilities__note { margin: 1.75rem 0 0; }

/* ---------- Safe and peaceful ---------- */
.park-safe { background: var(--sea); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.park-safe h2 { color: var(--on-dark); }
.park-safe__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.park-safe__intro p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 34rem; }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .8rem; }
.safe-list li { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border: 1px solid rgba(243, 246, 244, .18); border-radius: 10px; background: rgba(255, 255, 255, .04); font-weight: 500; }
.safe-list .cgl-icon { color: var(--sand); width: 28px; height: 28px; }
@media (max-width: 799px) { .park-safe__inner { grid-template-columns: minmax(0, 1fr); } }
.park-safe__inner > *, .safe-list > li { min-width: 0; max-width: 100%; }
.safe-item .facility__panel { overflow-wrap: anywhere; }
/* Live "open now" chips wrap under the name on phones instead of pushing the row off screen. */
@media (max-width: 599px) {
	.park-safe .facility__toggle, .facility-grid .facility__toggle { flex-wrap: wrap; min-width: 0; }
	.park-safe .facility__toggle > .cgl-fl-chip, .facility-grid .facility__toggle > .cgl-fl-chip { white-space: normal; max-width: 100%; margin-left: 0; }
}

/* ---------- Finding us ---------- */
.park-finding { padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.park-finding__address { color: var(--muted); margin-top: -.5rem; }
.finding { margin-top: 1.5rem; }
.finding__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.finding__viewer { min-width: 0; }
.finding__stage { position: relative; height: 100%; min-height: 360px; border-radius: 12px; overflow: hidden; background: var(--sea); }
.finding__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.finding__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: var(--on-dark); background:
	radial-gradient(circle at 50% 38%, rgba(216, 182, 118, .25), transparent 40%),
	repeating-linear-gradient(32deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 46px),
	repeating-linear-gradient(-58deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 64px),
	linear-gradient(150deg, #2c6157, #1d4842 60%, #10302c); }
.finding__pin { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sand); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.finding__pin svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) { .finding__pin { animation: pin-bob 2.4s ease-in-out infinite; } }
@keyframes pin-bob { 50% { transform: translateY(-6px); } }
.finding__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin: .9rem 0 .1rem; }
.finding__addr { color: var(--on-dark-muted); margin: 0 0 1.25rem; }
.finding__btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 0; }
.finding__btns .btn { display: inline-flex; align-items: center; gap: .5rem; }
.finding__note { font-size: .9rem; color: var(--on-dark-muted); margin: 1.1rem 0 0; }
.finding__switch { position: absolute; left: .75rem; bottom: .75rem; margin: 0; padding: .4rem .8rem; border-radius: var(--pill); background: var(--surface); font-size: .92rem; box-shadow: var(--shadow); }
.finding__send { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.finding__title { font-size: 1.5rem; margin-bottom: 1rem; }
.finding__qr-wrap { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.1rem; }
.finding__qr { width: 132px; height: 132px; flex: none; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.finding__qr svg { display: block; width: 100%; height: 100%; }
.finding__qr-note { font-size: .95rem; color: var(--muted); margin: 0; }
.finding__actions { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.finding__act { display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 46px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); color: var(--ink); font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; text-align: left; }
.finding__act:hover { background: var(--sand-soft); color: var(--ink); }
.finding__act svg { color: var(--marsh); flex: none; }
.finding__photo { grid-column: 1 / -1; margin: 0; }
.finding__photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.finding__photo figcaption { font-size: .95rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 899px) {
	.finding__grid { grid-template-columns: 1fr; }
	.finding__stage { min-height: 320px; }
}
@media (max-width: 1079px) and (hover: none) { .finding__qr-wrap { display: none; } }

.park-homes__more { margin: 1.5rem 0 0; }
.park-fca { margin: 2rem 0 0; max-width: 52rem; }

/* ---------- Our parks: areas and filter ---------- */
.parks-filter-wrap { padding-bottom: 1rem; }
.parks-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.parks-filter__btn { min-height: 44px; padding: .5rem 1.1rem; border: 1.5px solid var(--ink); border-radius: var(--pill); background: transparent; color: var(--ink); font: 600 .98rem var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.parks-filter__btn[aria-pressed="true"], .parks-filter__btn:hover { background: var(--ink); color: var(--on-dark); }
.park-area { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.park-area__title { display: flex; align-items: center; gap: 1rem; font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 1.5rem; }
.park-area__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.park-areas .park-rows { padding-block: 0 clamp(2rem, 4vw, 3rem); }
.park-row__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.park-row__media img { height: 100%; transition: transform .8s var(--ease); }
.park-row__media:hover img { transform: scale(1.03); }
.park-row__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.chip-list li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem .3rem .5rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
.chip-list .cgl-icon { width: 18px; height: 18px; color: var(--marsh); }

/* Park cards: facility icons. */
.park-card__icons { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.park-card__icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(243, 246, 244, .14); border: 1px solid rgba(243, 246, 244, .25); color: var(--sand); }
.park-card__icon .cgl-icon { width: 18px; height: 18px; }

/* Reveal on scroll (only when the script is running and motion is welcome). */
.has-reveal .reveal, .has-reveal .facility, .has-reveal .park-row { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.has-reveal .reveal.is-in, .has-reveal .facility.is-in, .has-reveal .park-row.is-in { opacity: 1; transform: none; }

.park-hero__credit { position: absolute; right: .75rem; bottom: .5rem; z-index: 3; margin: 0; max-width: 60%; font-size: .75rem; color: rgba(243, 246, 244, .8); text-align: right; }
.finding__credit { display: block; font-size: .8rem; margin-top: .2rem; }
@media (max-width: 599px) { .park-hero__credit { position: static; max-width: none; padding: 0 var(--gutter) .5rem; text-align: left; } .park-hero--rich { flex-direction: column; justify-content: flex-end; align-items: stretch; } }
.park-safe .eyebrow { color: var(--sand); }
.finding__placeholder { position: relative; inset: auto; min-height: 360px; height: 100%; }
@media (max-width: 599px) {
	.finding__placeholder { min-height: 0; padding: 2rem 1.25rem; }
	.finding__stage { min-height: 0; }
	.finding__stage:has(iframe) { min-height: 380px; }
	.park-hero__chips li { font-size: .88rem; padding: .25rem .65rem .25rem .45rem; }
	.park-hero__chips li:nth-child(n+4) { display: none; }
}

/* Expandable facility cards. */
.facility { display: block; padding: 0; }
.facility.is-expanded { grid-column: 1 / -1; box-shadow: var(--shadow); }
.facility__toggle { display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 72px; padding: 1rem 1.1rem; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; border-radius: 10px; }
.facility__toggle:focus-visible { outline: 2px solid var(--marsh); outline-offset: 2px; }
.facility__label { flex: 1; }
.facility__chev { width: .55rem; height: .55rem; flex: none; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); opacity: .7; }
[aria-expanded="true"] > .facility__chev { transform: rotate(-135deg); }
.facility__panel { padding: 0 1.1rem 1.1rem 4.2rem; }
.facility__panel[hidden] { display: none; }
.facility__ask { margin: .4rem 0 0; color: var(--muted); font-size: .98rem; }
.cgl-fac-live:empty { display: none; }
.safe-list li.safe-item { display: block; padding: 0; }
.safe-item__toggle { color: var(--on-dark); min-height: 60px; font-weight: 500; }
.safe-item__toggle .cgl-icon { color: var(--sand); width: 28px; height: 28px; }
.safe-item .facility__panel { padding: 0 1.1rem 1rem; }
.safe-item .facility__ask { color: var(--on-dark-muted); }
.safe-item .facility__ask a { color: var(--on-dark); }
.safe-item.is-expanded { grid-column: 1 / -1; }
@media (max-width: 599px) { .facility__panel { padding-left: 1.1rem; } }

/* Wide screens (JOB F tokens). */
.facility-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(200px, 15vw, 320px)), 1fr)); gap: var(--space-s, .9rem); }
.safe-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(220px, 16vw, 340px)), 1fr)); }
.park-hero__inner { width: var(--wrap-wide, var(--wrap)); }
.park-hero__title { max-width: 18ch; }
@media (min-width: 1600px) {
	.park-layout { grid-template-columns: minmax(0, var(--measure, 44rem)) minmax(0, 1fr); gap: clamp(3rem, 4vw, 6rem); }
	.park-layout__main { font-size: var(--step-1, 1.2rem); }
	.park-facts { max-width: 60rem; }
	.park-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
	.park-facts > p { display: inline-block; width: calc(50% - .5rem); margin-right: .5rem; vertical-align: top; }
	.park-facts > .park-facts__map { display: block; width: auto; }
	.finding__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); }
	.finding__photo { grid-column: auto; }
	.finding__photo img { height: 100%; max-height: none; min-height: 360px; }
	.finding__stage { min-height: 460px; }
}


/* ---------- Phones and conversion (JOB H) ---------- */
/* Long button labels ("See 10 caravans at this park, from £24,995") wrap instead of running off a phone screen. */
.btn--wrap { white-space: normal; text-align: center; text-wrap: balance; }
@media (max-width: 599px) { .park-hero__actions .btn, .hero__actions .btn { white-space: normal; text-align: center; } .park-hero__actions .btn--primary, .hero__actions .btn--primary { flex: 1 1 100%; } }

/* Trust cues next to the calls to action */
.trust { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; font-size: 1rem; }
.trust li { display: flex; align-items: center; gap: .6rem; }
.trust .cgl-icon { width: 22px; height: 22px; flex: none; color: var(--sea); }
.trust a { color: inherit; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; display: inline-flex; align-items: center; }

/* Book a viewing: short form band (home and park pages) */
.qv-band { background: var(--mist-2); padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.qv-band__inner { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .qv-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.qv-band__intro p { max-width: 44ch; color: var(--muted); }
.qv-band h2 { margin-bottom: .4em; }
.qv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.qv__grid { display: grid; gap: .9rem 1rem; }
@media (min-width: 520px) { .qv__grid { grid-template-columns: 1fr 1fr; } }
.qv__field { margin: 0; display: grid; gap: .3rem; min-width: 0; }
.qv__field label { font-weight: 600; font-size: 1rem; }
.qv input, .qv select { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid rgba(16, 48, 44, .35); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.qv input:focus-visible, .qv select:focus-visible { outline: 3px solid var(--sand); outline-offset: 1px; }
.qv input:user-invalid { border-color: var(--error); }
.qv__go { margin: 1.1rem 0 .6rem; }
.qv__go .btn { min-height: 52px; font-size: 1.05rem; }
.qv__note { margin: 0; font-size: .95rem; color: var(--muted); }
.qv__note a { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Action bar: Call, Enquire (or Caravans), WhatsApp when set, Book a viewing. Fixed to the bottom of the screen.
   Phones: always where printed. Large screens: only the desktop version (.pbar--desk: park, caravan, model and home pages).
   It slides away while the footer is on screen (park.js adds .pbar-off), so nothing is ever left under it: the last
   content above the footer scrolls clear of it. Without script the page keeps room for it with body padding. */
.pbar { display: none; }
.pbar__long, .pbar__info { display: none; }
@media (max-width: 899px) {
	.pbar {
		display: block; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
		background: rgba(16, 48, 44, .97); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .45);
	}
	.pbar__btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
	.pbar__btn {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		min-height: 52px; padding: 4px 6px; border-radius: 10px;
		color: var(--on-dark); text-decoration: none; font: 600 .82rem/1.15 var(--sans); text-align: center;
	}
	.pbar__btn .cgl-icon { width: 22px; height: 22px; }
	html:not(.pbar-js) body:has(.pbar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	/* The cookie notice sits above the bar, not on top of it. */
	body:has(.pbar) .cgl-consent:not(.is-top) { bottom: calc(72px + env(safe-area-inset-bottom)); }
	/* The caravan search "Filters" button and the compare tray sit above the bar. */
	body:has(.pbar):not(:has(.mbar)) .lfab { bottom: calc(76px + env(safe-area-inset-bottom)); }
	body:has(.pbar):not(:has(.mbar)) .ex-tray { bottom: calc(64px + env(safe-area-inset-bottom)); }
	.pbar-off body:has(.pbar):not(:has(.mbar)) .lfab { bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 899px) and (orientation: landscape) and (max-height: 500px) {
	.pbar { padding-block: 4px calc(4px + env(safe-area-inset-bottom)); }
	.pbar__btn { min-height: 44px; flex-direction: row; gap: 6px; }
	html:not(.pbar-js) body:has(.pbar) { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
	.pbar--desk {
		display: block; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
		background: rgba(16, 48, 44, .97); color: var(--on-dark); box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .5);
		padding-block: 10px;
	}
	.pbar--desk .pbar__in { width: var(--wrap-wide, min(100% - 2 * var(--gutter, 24px), 1600px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
	.pbar--desk .pbar__info { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; min-width: 0; }
	.pbar__title { font: 600 1.35rem/1.2 var(--serif); color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
	.pbar__price { font-weight: 600; color: var(--sand); font-size: 1.1rem; }
	.pbar__note { color: var(--on-dark-muted); font-size: .95rem; }
	.pbar--desk .pbar__btns { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
	.pbar--desk .pbar__btn {
		display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.15rem; border-radius: var(--pill, 999px);
		border: 1.5px solid rgba(243, 246, 244, .45); color: var(--on-dark); text-decoration: none; font: 600 1rem/1 var(--sans); white-space: nowrap;
	}
	.pbar--desk .pbar__btn .cgl-icon { width: 20px; height: 20px; }
	.pbar--desk .pbar__short { display: none; }
	.pbar--desk .pbar__long { display: inline; }
	.pbar--desk .pbar__btn--main { border-color: var(--sand); padding-inline: 1.5rem; }
	html:not(.pbar-js) body:has(.pbar--desk) { padding-bottom: 72px; }
	body:has(.pbar--desk) .cgl-consent:not(.is-top) { bottom: 84px; }
}
.pbar__btn:hover, .pbar__btn:focus-visible { color: var(--on-dark); background: rgba(243, 246, 244, .1); }
.pbar__btn--main, .pbar--desk .pbar__btn--main { background: var(--sand); color: var(--ink); }
.pbar__btn--main:hover, .pbar__btn--main:focus-visible { background: #e6c88d; color: var(--ink); }
.pbar :focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
/* Slides away while the footer is on screen, and steps aside for the pop-up and the caravan filters. */
@media (prefers-reduced-motion: no-preference) { .pbar { transition: transform .25s var(--ease, ease), visibility .25s; } }
.pbar-off .pbar { transform: translateY(110%); visibility: hidden; transition: none; }
/* Pages too short to scroll keep room for the bar. */
@media (max-width: 899px) { .pbar-room body:has(.pbar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .pbar-room body:has(.pbar--desk) { padding-bottom: 72px; } }
.bv-open .pbar, body:has(.lfilters.is-open) .pbar, body:has(.lfilters[open]) .pbar { visibility: hidden; }
/* If a page has another bar (JOB A's .mbar or .home-callbar), that bar wins. */
body:has(.mbar) .pbar, body:has(.home-callbar) .pbar { display: none !important; }
@media print { .pbar, .qv-band { display: none !important; } }

/* "Finding us" on a phone: lead with Share and Open in Maps; the QR code is for desktop screens only. */
@media (max-width: 899px) {
	.finding__qr-wrap { display: none; }
	.finding__act { min-height: 48px; }
}

/* "Book a viewing" pop-up (JOB H): a centred dialog on larger screens, a bottom sheet on phones. */
.bv { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; inset: 0; color: var(--ink); overflow: hidden; }
.bv:not([open]) { display: none; }
.bv[open] { display: flex; align-items: center; justify-content: center; }
.bv::backdrop { background: rgba(10, 32, 29, .62); }
.bv-open, .bv-open body { overflow: hidden; }
.bv__box { position: relative; width: min(40rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); padding: clamp(1.25rem, 3vw, 2.25rem); }
.bv__close { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.bv__close:hover { background: var(--mist-2); }
.bv__title { font-size: var(--step-3); margin: 0 2.5rem .35em 0; }
.bv__home { font-weight: 600; margin: 0 0 .4rem; }
.bv__intro { color: var(--muted); margin-bottom: 1.1rem; }
.bv .eyebrow { margin-bottom: .3rem; }
.bv-form.enquiry-form { gap: 1rem; }
.bv__grid { display: grid; gap: .9rem 1rem; grid-template-columns: 1fr 1fr; }
.bv__full { grid-column: 1 / -1; }
.bv__grid .field { margin: 0; min-width: 0; }
.bv-form input[type="text"], .bv-form input[type="email"], .bv-form input[type="tel"], .bv-form input[type="date"], .bv-form select, .bv-form textarea { font-size: 16px; min-height: 48px; width: 100%; }
.bv-form textarea { min-height: 88px; }
.bv__when { min-width: 0; }
.bv__when .wpcf7-radio { display: flex; gap: .5rem; flex-wrap: wrap; }
.bv__when .wpcf7-list-item { margin: 0; flex: 1 1 0; }
.bv__when .wpcf7-list-item label { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .4rem .8rem; border: 1px solid rgba(16, 48, 44, .35); border-radius: var(--radius); background: #fff; font-weight: 600; cursor: pointer; }
.bv__when input[type="radio"] { width: 18px; height: 18px; accent-color: var(--sea); margin: 0; }
.bv__when .wpcf7-list-item label:has(input:checked) { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); background: var(--mist); }
.bv__ok { font-size: .95rem; }
.bv__go { margin: .25rem 0 0; }
.bv__go .wpcf7-submit, .bv__go .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
.bv-form .wpcf7-spinner, .bv-form .wpcf7-response-output { display: none; }
.bv__status { margin: .6rem 0 0; color: var(--error); font-weight: 600; }
.bv__status:empty { display: none; }
.bv__call { margin: .9rem 0 0; font-size: .95rem; color: var(--muted); }
.bv__call a { font-weight: 600; color: var(--ink); }
.bv__done { text-align: center; padding: 1.5rem .5rem .5rem; outline: none; }
.bv__done .bv__title { margin-right: 0; }
.bv__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sand-soft); color: var(--sea); margin-bottom: .75rem; }
@media (max-width: 599px) {
	.bv[open] { align-items: flex-end; }
	.bv__box { width: 100%; max-height: calc(100dvh - 1.5rem); border-radius: 16px 16px 0 0; padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
	.bv__grid { grid-template-columns: 1fr; }
	.bv__title { font-size: 1.7rem; }
	@media (prefers-reduced-motion: no-preference) { .bv[open] .bv__box { animation: bv-up .25s var(--ease) both; } }
}
@keyframes bv-up { from { transform: translateY(40px); opacity: .4; } }
.qv--cta .qv__lead { font-size: 1.1rem; margin-bottom: 1rem; }

/* Anti-spam trap field on the forms: kept off screen (it showed as a small empty box on the contact form). */
.wpcf7 .cf7app { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* JOB P: park card titles stay light in every link state (the global a:hover / a:visited colour turned the Sheerness title dark green on dark green). */
.park-card__link, .park-card__link:link, .park-card__link:visited, .park-card__link:hover, .park-card__link:focus, .park-card__link:active, .park-card__link .park-card__title { color: var(--on-dark); }
