/* ==========================================================================
   Contact & Tailor-Made Tours Page Styles
   Follows Design System: tokens -> base -> components -> nav -> header -> site -> contact.css
   ========================================================================== */

.ct-page {
  background-color: #fff;
}

/* ---- Hero & Intro ----------------------------------------------------- */
.ct-hero {
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.ct-hero__header {
  max-width: 820px;
  margin-bottom: var(--s-4);
}

.ct-hero__title {
  margin: var(--s-1) 0 var(--s-2);
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--c-text);
}

.ct-hero__title span {
  color: var(--oz-orange);
}

.ct-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--oz-text-2);
}

/* Quick channels bar */
.ct-quick-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: var(--s-5);
}

/* two by two from tablets up: the e-mail address needs a wide card and must not break in the middle */
@media (min-width: 640px) {
  .ct-quick-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ct-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--oz-line);
  border-radius: var(--oz-radius);
  background: var(--oz-gray);
  text-decoration: none;
  color: var(--c-text);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

a.ct-quick-item:hover {
  border-color: var(--oz-navy);
  background: #fff;
  transform: translateY(-2px);
}

.ct-quick-item.stagger {
  transition: opacity .5s ease, transform .5s ease, border-color .2s ease, background-color .2s ease;
}

.ct-quick-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--oz-navy);
  box-shadow: 0 2px 6px rgba(16, 24, 40, .06);
  flex-shrink: 0;
}

.ct-quick-item--wa .ct-quick-item__icon {
  background: #1FA855;
  color: #fff;
}

.ct-quick-item__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-quick-item__label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--oz-text-2);
}

.ct-quick-item__val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  overflow-wrap: anywhere;
}

/* ---- Main 2-Column Grid Layout ---------------------------------------- */
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 1024px) {
  .ct-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: var(--s-6);
  }
}

/* ---- Forms Container (Left Col) --------------------------------------- */
.ct-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--oz-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(16, 24, 40, .05);
}

/* Tab buttons for form switching */
.ct-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  margin-bottom: var(--s-4);
  background: var(--oz-gray);
  border-radius: 12px;
}

.ct-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--oz-text-2);
  font-family: var(--ff-body);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.ct-tab:hover:not(.is-active) {
  color: var(--c-text);
}

.ct-tab.is-active {
  background: #fff;
  color: var(--oz-navy);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .08);
}

.ct-tab .icon {
  flex-shrink: 0;
}

/* Form panel toggle */
.ct-panel {
  display: none;
}

.ct-panel.is-active {
  display: block;
}

/* Form Intro inside card */
.ct-panel__intro {
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--oz-line);
}

.ct-panel__intro h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--c-text);
}

.ct-panel__intro p {
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--oz-text-2);
  margin: 0;
}

/* Form fields layout */
.ct-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.ct-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ct-field > label,
.ct-field > legend {
  padding: 0;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
}

/* a <legend> is not a grid item, so the grid gap does not apply to it: space it by hand */
.ct-field > legend {
  margin-bottom: 12px;
}

.ct-field small,
.ct-field legend small {
  font-size: .8125rem; /* <small> would otherwise shrink to 10.8px */
  font-weight: 500;
  color: var(--oz-text-2);
}

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field input[type="date"],
.ct-field select,
.ct-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #D5DBDF;
  border-radius: var(--oz-radius);
  background: #fff;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--c-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ct-field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.5;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--oz-navy);
  outline: none;
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.ct-field [aria-invalid="true"] {
  border-color: var(--oz-red);
}

.ct-req {
  color: var(--oz-red);
}

.ct-field__err {
  margin: 0;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #8A2E12;
}

.ct-field-hint {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--oz-text-2);
  margin: 0;
}

/* 2-column inline row */
.ct-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start; /* a short field next to a tall one must not stretch (the date input was 88px high) */
}

.ct-row + .ct-row {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .ct-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Checkbox & Radio Chips Grid */
.ct-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 10px;
}

.ct-chips--stack {
  grid-template-columns: minmax(0, 1fr);
}

.ct-chip {
  position: relative;
  display: flex;
}

.ct-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.ct-chip span {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 1.5px solid #D5DBDF;
  border-radius: var(--oz-radius);
  background: #fff;
  font-size: .9375rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--c-text);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ct-chip span .icon {
  flex-shrink: 0;
  color: var(--oz-text-2);
  transition: color .2s ease;
}

.ct-chip input:checked + span {
  border-color: var(--oz-navy);
  background: var(--c-primary-soft);
  color: var(--oz-navy-2);
}

.ct-chip input:checked + span .icon {
  color: var(--oz-navy);
}

.ct-chip input:focus-visible + span {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

/* Passenger Steppers */
.ct-pax {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--oz-line);
  border-radius: var(--oz-radius);
  background: var(--oz-gray);
}

.ct-pax__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ct-pax__row label {
  display: grid;
  gap: 2px;
  font-size: .9375rem;
  line-height: 1.3;
}

.ct-pax__row b {
  font-weight: 700;
  color: var(--c-text);
}

.ct-pax__row small {
  font-size: .8125rem;
  color: var(--oz-text-2);
}

.ct-stepper {
  display: flex;
  flex: none;
  align-items: stretch;
  width: 142px;
  overflow: hidden;
  border: 1.5px solid #D5DBDF;
  border-radius: var(--oz-radius);
  background: #fff;
}

.ct-stepper button {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  min-height: 44px;
  border: 0;
  background: var(--oz-gray);
  color: var(--c-text);
  cursor: pointer;
  transition: background-color .2s ease;
}

.ct-stepper button:hover:not(:disabled) {
  background: #E4EAEB;
}

.ct-stepper button:disabled {
  color: #A9B1B6;
  cursor: not-allowed;
}

.ct-stepper input {
  flex: 1;
  width: 48px;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text);
  -moz-appearance: textfield;
  appearance: textfield;
}

.ct-stepper input::-webkit-inner-spin-button,
.ct-stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ct-stepper:focus-within {
  border-color: var(--oz-navy);
  box-shadow: 0 0 0 2px var(--c-primary-soft);
}

/* Honeypot & Consent */
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ct-consent {
  margin-top: 4px;
}

.ct-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding-block: 8px;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--oz-text-2);
  cursor: pointer;
}

.ct-check input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--oz-navy);
  cursor: pointer;
}

.ct-check a {
  color: var(--oz-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit & Guarantees */
.ct-submit-wrap {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.ct-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--oz-text-2);
  text-align: center;
  margin: 0;
}

.ct-reassurance .icon {
  color: var(--c-success);
}

/* Form success message */
.ct-msg {
  display: none;
  padding: 16px 20px;
  border-radius: var(--oz-radius);
  font-size: .9375rem;
  line-height: 1.5;
}

.ct-msg.is-visible {
  display: block;
}

.ct-msg--success {
  background: var(--c-primary-soft);
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary-dark);
}

.ct-msg--error {
  background: #FBEAE6;
  border: 1.5px solid var(--oz-red);
  color: #8A2E12;
  font-weight: 600;
}

.ct-msg h3 {
  font-size: 1.125rem;
  margin: 0 0 6px;
  color: inherit;
}

.ct-msg p {
  margin: 0 0 10px;
}

.ct-msg p:last-child {
  margin-bottom: 0;
}

/* ---- Sidebar Cards (Right Col) ---------------------------------------- */
.ct-side {
  display: grid;
  gap: 24px;
}

.ct-side-card {
  padding: 24px;
  border: 1px solid var(--oz-line);
  border-radius: var(--oz-radius);
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .04);
}

.ct-side-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.ct-side-card__head h3 {
  margin: 0;
}

.ct-side-card__lead {
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--oz-text-2);
}

.ct-side-wa {
  width: 100%;
  margin-bottom: 16px;
  white-space: normal;
  text-align: center;
}

.ct-side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  margin: 0 0 14px;
  color: var(--c-text);
}

/* Direct Help Card */
.ct-side-card--direct {
  background: var(--oz-gray);
  border-color: #DDE3E6;
}

.ct-hours {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--oz-line);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--oz-text-2);
}

.ct-hours__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
}

.ct-hours__row b {
  color: var(--c-text);
  overflow-wrap: anywhere;
}

.ct-hours a {
  display: inline-block;
  padding-block: 12px; /* phone numbers and the email are tap targets: 44px high */
  color: var(--oz-navy);
}

.ct-hours__note {
  margin: 4px 0 0;
  font-size: .8125rem;
  color: var(--oz-text-2);
}

.ct-hours__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #E1F5EC;
  color: #0E6238;
  font-size: .8125rem;
  font-weight: 700;
}

.ct-hours__tag-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1FA855;
}

/* office status set by contact.js (colours checked for AA contrast) */
.ct-hours__tag.is-closed {
  background: #FFF3E8;
  color: #A8460F;
}

.ct-hours__tag.is-closed .ct-hours__tag-dot {
  background: #E07818;
}

/* Trust list in sidebar */
.ct-trust-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ct-trust-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--oz-navy);
}

.ct-trust-item div {
  display: grid;
  gap: 2px;
}

.ct-trust-item b {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--c-text);
}

.ct-trust-item span {
  font-size: .875rem;
  line-height: 1.5;
  color: var(--oz-text-2);
}

/* Location map card */
.ct-map-wrap {
  width: 100%;
  height: 220px;
  margin: 12px 0 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--oz-line);
}

.ct-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-top: 4px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--oz-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-addr-info {
  display: grid;
  gap: 6px;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--oz-text-2);
}

.ct-addr-info b {
  color: var(--c-text);
  font-size: .9375rem;
}

/* FAQ band at bottom of page */
.ct-faq-sec {
  margin-top: var(--s-8);
  padding: var(--s-6) 0;
  background: var(--oz-gray);
}

/* Without JavaScript both forms are shown one under the other and the tabs are hidden */
.no-js .ct-tabs {
  display: none;
}

.no-js .ct-panel {
  display: block;
}

.no-js .ct-panel + .ct-panel {
  margin-top: var(--s-5);
}

@media (prefers-reduced-motion: reduce) {
  .ct-quick-item,
  .ct-tab,
  .ct-chip span,
  .ct-field input,
  .ct-field select,
  .ct-field textarea,
  .ct-stepper button {
    transition: none;
  }

  a.ct-quick-item:hover {
    transform: none;
  }
}

/* Single-column grids must not stretch to their widest child (a nowrap button, a long email…) */
.ct-field,
.ct-pax,
.ct-submit-wrap,
.ct-side,
.ct-trust-list,
.ct-hours,
.ct-addr-info {
  grid-template-columns: minmax(0, 1fr);
}

.ct-submit-wrap .btn {
  white-space: normal;
  text-align: center;
}

/* ---- New contact page (2026-10-23): "what happens next" list + tailor-made call-out ---- */
.ct-next {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-next li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ct-next__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--oz-navy);
  font-size: .9375rem;
  font-weight: 800;
}

.ct-next b {
  display: block;
  font-size: .9375rem;
}

.ct-next div > span {
  display: block;
  margin-top: 2px;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--oz-text-2);
}

.ct-cta-wrap {
  margin-top: var(--s-6);
}

.ct-cta {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-3);
  border-radius: 20px;
  background: var(--oz-dark);
  color: #fff;
}

.ct-cta h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  letter-spacing: -.025em;
  color: #fff;
}

.ct-cta p:not(.oz-kicker) {
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}

@media (min-width: 768px) {
  .ct-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: var(--s-6);
  }
}
