/* ==========================================================================
   Enquire page: stepped bespoke holiday request.
   Builds on sections.css + pages.css tokens (--green-900, --sun, --ink, --muted, --line,
   --soft, --serif, --ease-variant, --ease-spring) so it reads as part of the site.
   ========================================================================== */
.enq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); min-height: 100vh; background: #fff; }

/* ---------- Left rail: imagery + stepper ---------- */
.enq__rail { position: relative; color: #fff; background: var(--green-900); }
.enq__rail-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 640px;
  padding: calc(var(--hnav-h, 84px) + 56px) 56px 40px; display: flex; flex-direction: column; overflow: hidden;
}
.enq__media { position: absolute; inset: 0; z-index: 0; }
.enq__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s var(--ease-variant), transform 6s var(--ease-spring);
}
.enq__media img.is-active { opacity: 1; transform: scale(1); }
.enq__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 59, 39, .92) 0%, rgba(1, 59, 39, .78) 38%, rgba(1, 59, 39, .35) 70%, rgba(1, 59, 39, .82) 100%);
}
.enq__rail-inner { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.enq__rail .eyebrow { color: var(--sun); }
.enq__title { margin: 22px 0 0; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.05em; color: #fff; }
.enq__title .serif { color: var(--sun); }
.enq__lead { margin: 18px 0 0; max-width: 440px; font-size: 17px; line-height: 1.55; font-weight: 500; color: rgba(255, 255, 255, .78); }

/* Step tracker: sits on the white form side, beside the inputs */
.enq__layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 56px; width: 100%; max-width: 900px; margin: 0 auto; flex: 1; }
.enq__nav { position: relative; }
.enq-steps { list-style: none; margin: 0; padding: 0; display: grid; position: sticky; top: calc(var(--hnav-h, 84px) + 40px); padding-top: 6px; }
.enq-step { position: relative; padding: 0 0 30px; }
.enq-step:last-child { padding-bottom: 0; }
.enq-step:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; border-radius: 2px;
  background: rgba(8, 44, 59, .14); transition: background-color .4s var(--ease-variant);
}
.enq-step.is-done:not(:last-child)::after { background: var(--green-900); }
.enq-step button {
  all: unset; box-sizing: border-box; display: flex; align-items: flex-start; gap: 14px; width: 100%; cursor: default; border-radius: 14px;
}
.enq-step button:not(:disabled) { cursor: pointer; }
.enq-step button:not(:disabled):hover .enq-step__label { color: var(--accent); }
.enq-step button:focus-visible { outline: 2px solid var(--green-900); outline-offset: 4px; }
.enq-step__dot {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(8, 44, 59, .2); background: #fff; font-size: 15px; font-weight: 700; color: var(--muted);
  transition: background-color .4s var(--ease-variant), border-color .4s var(--ease-variant), color .4s var(--ease-variant), box-shadow .4s var(--ease-variant);
}
.enq-step__dot svg { width: 18px; height: 18px; display: none; }
.enq-step.is-done .enq-step__dot { background: var(--green-900); border-color: var(--green-900); color: var(--sun); }
.enq-step.is-done .enq-step__dot svg { display: block; }
.enq-step.is-done .enq-step__num { display: none; }
.enq-step.is-current .enq-step__dot { background: var(--sun); border-color: var(--green-900); color: var(--green-900); box-shadow: 0 0 0 5px rgba(191, 231, 48, .35); }
.enq-step__label { display: flex; flex-direction: column; gap: 3px; padding-top: 9px; font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--muted); transition: color .3s var(--ease-variant); }
.enq-step__label small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.enq-step.is-current .enq-step__label, .enq-step.is-done .enq-step__label { color: var(--green-900); }
.enq-step.is-current .enq-step__label small { color: var(--ink); }

.enq__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.enq__pick {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
}
.enq__pick[hidden] { display: none; }
.enq__pick img { width: 88px; height: 68px; border-radius: 12px; object-fit: cover; }
.enq__pick small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); }
.enq__pick strong { display: block; margin-top: 3px; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; }
.enq__pick span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.enq__caption { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.enq__caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); flex: none; }
.enq__call { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.enq__call a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.enq__call a:hover { text-decoration-color: var(--sun); }

/* ---------- Right: the form ---------- */
.enq__main { padding: calc(var(--hnav-h, 84px) + 40px) 64px 96px; display: flex; flex-direction: column; }
.enq__inner { width: 100%; min-width: 0; display: flex; flex-direction: column; }
.enq__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.enq__back {
  display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--green-900); cursor: pointer;
}
.enq__back .round-btn { width: 52px; height: 52px; background: var(--soft); color: var(--green-900); pointer-events: none; }
.enq__back:hover .round-btn { background: var(--green-900); color: #fff; }
.enq__back:focus-visible { outline: none; }
.enq__back:focus-visible .round-btn { outline: 2px solid var(--green-900); outline-offset: 3px; }
.enq__back[hidden] { display: inline-flex; visibility: hidden; }
.enq__count { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.enq__progress { display: none; height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 18px; }
.enq__progress span { display: block; height: 100%; width: 25%; background: var(--sun); border-radius: inherit; transition: width .6s var(--ease-spring); }

.enq-form { margin-top: 44px; }
.enq-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.enq-panel[hidden] { display: none; }
.enq-panel.is-entering { animation: enq-in .7s var(--ease-spring) both; }
@keyframes enq-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.enq-panel__title {
  display: block; padding: 0; margin: 0; font-size: 48px; line-height: 1.05; font-weight: 800; letter-spacing: -.05em; color: var(--green-900);
}
.enq-panel__title:focus { outline: none; }
.enq-panel__title .serif { color: var(--accent); }
.enq-panel__lead { margin: 14px 0 0; max-width: 560px; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--muted); }
.enq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 40px; align-items: end; }
.enq-field { display: flex; flex-direction: column; min-width: 0; }
.enq-field--full { grid-column: 1 / -1; }
.enq-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.enq-label { font-size: 15px; font-weight: 600; color: var(--green-900); }
.enq-label .req { color: var(--accent); margin-left: 2px; }
.enq-opt { font-size: 13px; color: var(--muted); }
.enq-hint { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.enq-control { position: relative; margin-top: 10px; }
.enq-input {
  width: 100%; height: 58px; padding: 0 24px; border-radius: 1000px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .25s var(--ease-variant), box-shadow .25s var(--ease-variant), background-color .25s var(--ease-variant);
}
textarea.enq-input { height: auto; min-height: 132px; padding: 18px 24px; border-radius: 24px; resize: vertical; line-height: 1.5; }
.enq-input::placeholder { color: #9aa8ae; }
.enq-input:hover { border-color: rgba(8, 44, 59, .32); }
.enq-input:focus { border-color: var(--green-900); box-shadow: 0 0 0 4px rgba(191, 231, 48, .45); }
.enq-input[aria-invalid="true"] { border-color: #c2412d; background: #fff8f6; }
.enq-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 65, 45, .16); }
.enq-control--prefix .enq-input { padding-left: 74px; }
.enq-prefix {
  position: absolute; left: 6px; top: 6px; bottom: 6px; display: grid; place-items: center; padding: 0 16px;
  border-radius: 1000px; background: var(--soft); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--green-900);
}
.enq-error { display: flex; align-items: center; gap: 6px; margin: 8px 0 0 4px; font-size: 13.5px; font-weight: 500; color: #b23a27; }
.enq-error svg { width: 15px; height: 15px; flex: none; }
.enq-error[hidden] { display: none; }

/* Chips (Holidays page chip style) */
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.enq-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 1000px; border: 1px solid transparent;
  background: #f1f4ee; font: inherit; font-size: 14px; font-weight: 600; color: var(--green-900); cursor: pointer;
  transition: background-color .25s var(--ease-variant), color .25s var(--ease-variant), transform .3s var(--ease-spring);
}
.enq-chip:hover { background: var(--sun); }
.enq-chip:active { transform: scale(.96); }
.enq-chip[aria-pressed="true"] { background: var(--green-900); color: #fff; }
.enq-chip svg { width: 14px; height: 14px; }
.enq-chip:focus-visible { outline: 2px solid var(--green-900); outline-offset: 2px; }

/* Yes / No choices */
.enq-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; max-width: 420px; }
.enq-choice label { position: relative; cursor: pointer; }
.enq-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.enq-choice span {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; border-radius: 1000px;
  border: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--green-900); background: #fff;
  transition: background-color .25s var(--ease-variant), border-color .25s var(--ease-variant), color .25s var(--ease-variant);
}
.enq-choice span::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; box-sizing: border-box;
  transition: border .25s var(--ease-variant), background-color .25s var(--ease-variant);
}
.enq-choice label:hover span { border-color: rgba(8, 44, 59, .32); }
.enq-choice input:checked + span { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.enq-choice input:checked + span::before { border: 6px solid var(--sun); background: var(--green-900); }
.enq-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(191, 231, 48, .55); }

/* Traveller counter */
.enq-counter { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px; border-radius: 1000px; border: 1px solid var(--line); align-self: flex-start; }
.enq-counter .round-btn { width: 46px; height: 46px; background: var(--soft); color: var(--green-900); border: 0; cursor: pointer; }
.enq-counter .round-btn:hover:not(:disabled) { background: var(--sun); }
.enq-counter .round-btn:disabled { opacity: .4; cursor: default; }
.enq-counter .round-btn:focus-visible { outline: 2px solid var(--green-900); outline-offset: 2px; }
.enq-counter .round-btn svg { width: 18px; height: 18px; }
.enq-counter output { min-width: 112px; text-align: center; font-size: 17px; font-weight: 700; color: var(--green-900); }

/* Review */
.enq-review { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.enq-review__group { padding: 24px 26px; border-radius: 24px; background: var(--soft); }
.enq-review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.enq-review__head h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--green-900); }
.enq-review__edit {
  border: 0; background: none; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--green-900);
  text-decoration: underline; text-decoration-color: rgba(1, 59, 39, .3); text-underline-offset: 4px; cursor: pointer;
}
.enq-review__edit:hover { text-decoration-color: currentColor; }
.enq-review dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 16px 0 0; }
.enq-review dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.enq-review dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.enq-review dd.is-empty { color: #9aa8ae; font-weight: 500; }
.enq-review .wide { grid-column: 1 / -1; }
.enq-consent { margin: 22px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.enq-consent a { color: var(--green-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Actions */
.enq__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 48px; }
.enq__actions .btn-sun { border: 0; cursor: pointer; font-family: inherit; }
.enq__actions .btn-sun[aria-busy="true"] { opacity: .7; pointer-events: none; }
.enq__save { font-size: 13.5px; color: var(--muted); }
.enq__alert { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: #fff3f0; color: #8f2c1d; font-size: 15px; font-weight: 500; }
.enq__alert[hidden] { display: none; }
.enq__alert a { color: inherit; font-weight: 700; }
.enq-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.enq-done { margin-top: 44px; animation: enq-in .8s var(--ease-spring) both; }
.enq-done[hidden] { display: none; }
.enq-done__badge {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--green-900);
  animation: enq-pop .8s var(--ease-spring) .1s both;
}
.enq-done__badge svg { width: 38px; height: 38px; }
@keyframes enq-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.enq-done h2 { margin: 32px 0 0; font-size: 52px; line-height: 1.02; font-weight: 800; letter-spacing: -.05em; color: var(--green-900); }
.enq-done h2:focus { outline: none; }
.enq-done p { margin: 16px 0 0; max-width: 540px; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--muted); }
.enq-done__ref { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; padding: 10px 18px; border-radius: 1000px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--green-900); }
.enq-done__ref b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.enq-done__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1439.98px) {
  .enq__rail-sticky { padding-left: 44px; padding-right: 44px; }
  .enq__title { font-size: 50px; }
  .enq__main { padding-left: 48px; padding-right: 48px; }
  .enq__layout { grid-template-columns: 172px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 1099.98px) {
  .enq { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .enq__rail-sticky { position: relative; height: auto; min-height: 0; padding: calc(var(--hnav-h, 84px) + 40px) 40px 32px; }
  .enq__title { font-size: 48px; }
  .enq__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 680px; }
  .enq-steps { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; }
  .enq-step { padding: 0; }
  .enq-step:not(:last-child)::after { left: 48px; right: 4px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .enq-step button { flex-direction: column; gap: 10px; }
  .enq-step__label { padding-top: 0; font-size: 14px; }
  .enq-step__label small { display: none; }
  .enq__foot { padding-top: 24px; }
  .enq__caption { display: none; }
  .enq__main { padding: 40px 40px 80px; }
}
@media (max-width: 809.98px) {
  .enq__rail-sticky { padding: calc(var(--hnav-h, 76px) + 28px) 20px 24px; }
  .enq__title { font-size: 40px; }
  .enq__lead { font-size: 15.5px; }
  .enq__nav { display: none; }
  .enq__layout { gap: 0; }
  .enq__progress { display: block; }
  .enq__pick { grid-template-columns: 64px minmax(0, 1fr); }
  .enq__pick img { width: 64px; height: 52px; }
  .enq__main { padding: 24px 20px 64px; }
  .enq-form, .enq-done { margin-top: 28px; }
  .enq-panel__title { font-size: 36px; }
  .enq-panel__lead { font-size: 16px; }
  .enq-fields { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
  .enq-review dl { grid-template-columns: minmax(0, 1fr); }
  .enq-review__group { padding: 20px; }
  .enq__actions { margin-top: 36px; }
  .enq__actions .btn-sun { width: 100%; justify-content: space-between; }
  .enq-done h2 { font-size: 38px; }
  .enq__back .round-btn { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .enq__media img, .enq-panel.is-entering, .enq-done, .enq-done__badge { transition: opacity .2s linear; animation: none; transform: none; }
}

/* Holidays page: enquire link on each package card */
.pkg__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.pkg__actions .pkg__more { margin-top: 0; padding-top: 0; }
.pkg__enq {
  position: relative; z-index: 2; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 1000px;
  background: var(--sun); color: var(--green-900); font-size: 14px; font-weight: 700; transition: background-color .25s var(--ease-variant);
}
.pkg__enq:hover { background: var(--green-900); color: #fff; }
.pkg__enq:focus-visible { outline: 2px solid var(--green-900); outline-offset: 2px; }
