/* Reference design, scoped to the home-page journey. Wording remains editable. */
.section.booking-journey {
  --journey-green: #003b2e;
  padding: 34px 0 0;
  overflow: hidden;
  background: var(--journey-green);
  color: #fff;
}
.booking-journey > .container { position: relative; z-index: 1; }
.booking-journey .eyebrow { color: #c7dfd5; }
.booking-journey h2 { margin: 6px 0 24px; }
.booking-journey .steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.booking-journey .step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border: 1px solid #ffffff12;
  border-radius: 20px;
  background: linear-gradient(125deg, #105440, #0a4b3b);
  box-shadow: inset 0 1px 0 #ffffff06, 0 8px 22px #002b2118;
}
.booking-journey .step-num {
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 50%;
  background: #ffffff0c;
  color: #f3faf6;
}
.booking-journey .step-num svg { width: 31px; height: 31px; }
.booking-journey .step-copy { min-width: 0; }
.booking-journey .step h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.booking-journey .step p {
  margin: 0;
  color: #d0e0d7;
  font-size: .98rem;
  line-height: 1.5;
}
.booking-journey .step-chevron { width: 18px; height: 28px; color: #d0e3da; }
/* Original mountain photograph with native logo and editable type. */
.booking-journey .journey-landscape {
  --journey-base-height: clamp(160px, 28vw, 360px);
  --journey-base-inset: clamp(18px, 3vw, 38px);
  --journey-logo-height: calc(clamp(78px, 12vw, 150px) * 290 / 512);
  --journey-line-height: calc(clamp(.75rem, 2vw, 1.65rem) * 1.55);
  --journey-tagline-height: calc(var(--journey-line-height) * 2 + 4px);
  --journey-signature-height: max(var(--journey-logo-height), var(--journey-tagline-height));
  --journey-original-height: calc(2 * (var(--journey-base-height) - var(--journey-base-inset)) - var(--journey-signature-height));
  /* Move one additional line below the previous one-line offset. */
  --journey-signature-center: calc(var(--journey-original-height) / 2 + var(--journey-line-height) * 2);
  /* Crop after the text block and one blank line beneath it. */
  --journey-crop-height: calc(var(--journey-signature-center) + var(--journey-tagline-height) / 2 + var(--journey-line-height));
  position: relative;
  height: var(--journey-crop-height);
  margin: 0;
  overflow: clip;
  isolation: isolate;
  container-type: inline-size;
  /* The original photo's lower bush fills the extra area on narrow screens. */
  background: var(--journey-green) url('/assets/ipswich-mountain.jpg') center bottom / 100% auto no-repeat;
  /* Keep the underlying bush in place while trimming the container. */
  background-position: center calc(100% + var(--journey-original-height) - var(--journey-crop-height));
}
.booking-journey .journey-photo {
  position: absolute;
  /* Preserve the previous cover crop's scale and top offset; reveal below it. */
  inset: calc((var(--journey-base-height) - 100cqw * 533 / 800) * .58) 0 auto;
  display: block;
  width: 100%;
  height: auto;
  /* Blend only the newly revealed bush where the original photo ends. */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent);
}
.booking-journey .journey-landscape::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, var(--journey-green), transparent calc(var(--journey-base-height) * .32), transparent calc(var(--journey-base-height) * .45), #002c22c7 var(--journey-base-height));
  pointer-events: none;
}
.booking-journey .journey-signature {
  position: absolute;
  z-index: 2;
  inset: var(--journey-signature-center) 0 auto;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.4vw, 30px);
}
.booking-journey .journey-logo {
  display: block;
  flex: none;
  width: clamp(78px, 12vw, 150px);
  font-size: clamp(.75rem, 2vw, 1.65rem);
  font-weight: 700;
  /* One line advance plus the capitals matches the two visible text lines. */
  height: 2.3em;
  height: calc(1.55em + 1cap);
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.booking-journey .journey-tagline {
  min-width: 0;
  margin: 0;
  padding: 2px 0 2px clamp(15px, 2.4vw, 30px);
  border-left: 1px solid #ffffff80;
  color: #fff;
  font-size: clamp(.75rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px #001b15a0;
}
.booking-journey .journey-tagline span { display: block; }
@media (max-width: 800px) {
  .booking-journey .steps { grid-template-columns: 1fr; gap: 10px; }
  .booking-journey .step { grid-template-columns: 56px minmax(0, 1fr) 16px; gap: 20px; padding: 20px; }
  .booking-journey .step-num { width: 56px; height: 56px; }
  .booking-journey .step h3 { font-size: 1.125rem; }
}
@media (max-width: 560px) {
  .section.booking-journey { padding-top: 24px; }
  .booking-journey > .container { width: calc(100% - 36px); }
  .booking-journey h2 { font-size: 1.6rem; margin-bottom: 18px; }
  .booking-journey .step { grid-template-columns: 48px minmax(0, 1fr) 12px; gap: 14px; padding: 17px 15px; border-radius: 15px; }
  .booking-journey .step-num { width: 48px; height: 48px; }
  .booking-journey .step-num svg { width: 25px; height: 25px; }
  .booking-journey .step h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 5px; }
  .booking-journey .step p { font-size: .875rem; line-height: 1.5; }
  .booking-journey .step-chevron { width: 12px; height: 21px; }
}
@media (max-width: 360px) {
  .booking-journey > .container { width: calc(100% - 24px); }
  .booking-journey .step { grid-template-columns: 42px minmax(0, 1fr) 10px; gap: 10px; padding: 15px 12px; }
  .booking-journey .step-num { width: 42px; height: 42px; }
}

/* Whole-card links and native, keyboard-accessible dropdowns. */
.booking-journey .steps { align-items: start; }
.booking-journey .step-link { color: inherit; text-decoration: none; }
.booking-journey .step-link .step-chevron { transform: rotate(-90deg); }
.booking-journey .step-dropdown { display: block; padding: 0; }
.booking-journey .step-toggle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
  color: inherit;
}
.booking-journey .step-toggle::-webkit-details-marker { display: none; }
.booking-journey .step-toggle::marker { content: ""; }
.booking-journey .step-toggle .step-chevron { transform: rotate(90deg); transition: transform .18s ease; }
.booking-journey .step-dropdown[open] > .step-toggle .step-chevron { transform: rotate(-90deg); }
.booking-journey .step-title {
  display: block;
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.booking-journey .step-description { display: block; color: #d0e0d7; font-size: .98rem; line-height: 1.5; }
.booking-journey .step-link:hover,
.booking-journey .step-toggle:hover { background: #ffffff05; }
.booking-journey .step-link:focus-visible,
.booking-journey .step-toggle:focus-visible { outline: 3px solid #d5eee1; outline-offset: -4px; }
.booking-journey .step-panel { margin: 0 25px; padding: 16px 0 22px; border-top: 1px solid #ffffff24; }
.booking-journey .journey-links { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.booking-journey .journey-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #ffffff24;
  border-radius: 9px;
  background: #ffffff08;
  color: #fff;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.4;
}
.booking-journey .journey-links a:hover { background: #ffffff15; }
.booking-journey .journey-links a:focus-visible,
.booking-journey .journey-google-link:focus-visible { outline: 3px solid #d5eee1; outline-offset: 2px; }
.booking-journey .journey-panel-intro { margin: 0 0 12px; font-size: .94rem; }
.booking-journey .journey-google-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 4px; color: #d0e0d7; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .booking-journey .step-toggle { grid-template-columns: 56px minmax(0, 1fr) 16px; padding: 20px; }
  .booking-journey .step-title { font-size: 1.125rem; }
  .booking-journey .step-panel { margin-inline: 20px; }
}
@media (max-width: 560px) {
  .booking-journey .step-toggle { grid-template-columns: 48px minmax(0, 1fr) 12px; gap: 14px; padding: 17px 15px; }
  .booking-journey .step-title { font-size: 1rem; line-height: 1.3; margin-bottom: 5px; }
  .booking-journey .step-description { font-size: .875rem; }
  .booking-journey .step-panel { margin-inline: 15px; padding-bottom: 16px; }
  .booking-journey .journey-links a { font-size: .875rem; }
}
@media (max-width: 360px) {
  .booking-journey .step-toggle { grid-template-columns: 42px minmax(0, 1fr) 10px; gap: 10px; padding: 15px 12px; }
  .booking-journey .step-panel { margin-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-journey .step-toggle .step-chevron { transition: none; }
}
