/* Cabo Transportations reservation wizard v3.2.
   Compact, calm and conversion-focused on top of the archive-inspired theme. */

#booking.acw {
  --wizard-navy: #3f5f78;
  --wizard-navy-deep: #304c64;
  --wizard-teal: #5daeb6;
  --wizard-teal-dark: #427f89;
  --wizard-teal-pale: #eef7f7;
  --wizard-coral: #ef3a2f;
  --wizard-coral-dark: #d83027;
  --wizard-ink: #223249;
  --wizard-muted: #65727a;
  --wizard-line: #c9d8da;
  --rf-surface: #ffffff;
  --rf-surface-soft: #f4f9f9;
  --rf-paper: #ffffff;
  --rf-navy: var(--wizard-navy);
  --rf-navy-2: var(--wizard-navy-deep);
  --rf-accent: var(--wizard-coral);
  --rf-accent-dark: var(--wizard-coral-dark);
  --rf-line: var(--wizard-line);
  --rf-line-strong: #aabfc2;
  color: var(--wizard-ink);
  font-family: Arial, Helvetica, sans-serif;
}

#booking.acw .acw-shell {
  gap: 24px;
}

#booking.acw .acw-main {
  position: relative;
  padding: 0;
  overflow: visible;
  border: 1px solid #b8ced1;
  border-top: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(34, 50, 73, 0.12);
}

#booking.acw .acw-main::before,
body.home-page #booking.acw .acw-main::before {
  display: none;
  content: none;
}

#booking.acw .wizard-intro {
  min-height: 76px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--wizard-navy-deep), var(--wizard-navy));
  border-bottom: 4px solid var(--wizard-teal);
  border-radius: 5px 5px 0 0;
}

#booking.acw .wizard-intro__mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: var(--wizard-navy-deep);
  background: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

#booking.acw .wizard-intro__copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

#booking.acw .wizard-intro__copy > span {
  color: #bfe4e7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

#booking.acw .wizard-intro h2 {
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

#booking.acw .wizard-intro > p {
  margin: 0 0 0 auto;
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

#booking.acw .wizard-intro > p strong {
  color: #fff;
  font-size: 11px;
}

#booking.acw .acw-progress,
#booking.acw .booking-assurance {
  display: none !important;
}

#booking.acw .acw-steps {
  margin: 0;
  padding: 0 18px;
  gap: 4px;
  background: #f4f9f9;
  border-bottom: 1px solid var(--wizard-line);
}

#booking.acw .wstep {
  min-height: 52px;
  justify-content: center;
  gap: 8px;
  padding: 8px 8px 10px;
  color: #6b7a80;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

#booking.acw .wstep::after {
  right: 8px;
  left: 8px;
  height: 3px;
}

#booking.acw .wstep__num {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  color: var(--wizard-teal-dark);
  background: #fff;
  border: 1px solid #abc3c6;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

#booking.acw .wstep.is-active {
  color: var(--wizard-ink);
}

#booking.acw .wstep.is-active::after {
  background: var(--wizard-teal);
}

#booking.acw .wstep.is-active .wstep__num {
  color: #fff;
  background: var(--wizard-teal-dark);
  border-color: var(--wizard-teal-dark);
}

#booking.acw .acw-body {
  padding: 24px;
}

#booking.acw .form-alert {
  margin-bottom: 16px;
}

#booking.acw .ac-route-group__heading,
#booking.acw .ac-schedule-heading {
  margin-bottom: 17px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--wizard-line);
}

#booking.acw .ac-route-group__heading h4,
#booking.acw .ac-schedule-heading h4,
#booking.acw .wtitle,
#booking.acw .price__head h3,
#booking.acw .veh__name {
  color: var(--wizard-ink);
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.025em;
}

#booking.acw .ac-route-group__heading h4 {
  font-size: 28px;
}

#booking.acw .ac-schedule-heading h4 {
  font-size: 22px;
}

#booking.acw .ac-route-group__heading p,
#booking.acw .ac-schedule-heading p,
#booking.acw .wsub {
  color: var(--wizard-muted);
}

#booking.acw .ac-route-group__eyebrow,
#booking.acw .price__eyebrow,
#booking.acw .contact-details__label {
  color: var(--wizard-teal-dark);
}

#booking.acw .acw-route,
#booking.acw .ac-route-group__grid--journey,
#booking.acw .ac-route-row {
  gap: 16px;
}

#booking.acw .ac-route-row--primary {
  grid-template-columns: minmax(330px, 0.95fr) minmax(260px, 1.05fr);
  align-items: end;
}

#booking.acw .ac-route-primary-left {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
}

#booking.acw .ac-route-row--destination {
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  gap: 14px 18px;
  padding: 16px;
  border: 1px solid var(--wizard-line);
  border-radius: 4px;
  background: var(--wizard-teal-pale);
}

#booking.acw .ac-route-row__title {
  margin: 0 0 -3px;
  color: var(--wizard-teal-dark);
  font-size: 9px;
  letter-spacing: 0.12em;
}

#booking.acw .ac-route-group--schedule {
  padding: 16px;
  border: 1px solid var(--wizard-line);
  border-radius: 4px;
  background: #f8fbfb;
}

#booking.acw .ac-route-group__grid--schedule {
  gap: 14px;
}

#booking.acw .field {
  gap: 7px;
}

#booking.acw .field label {
  color: var(--wizard-ink);
  font-size: 11px;
  font-weight: 700;
}

#booking.acw .field :where(input:not([type="radio"]):not([type="checkbox"]), select, textarea),
#booking.acw .datetime-display,
#booking.acw .toggle,
#booking.acw .qty-stepper,
#booking.acw .airport-disclosure,
#booking.acw .selected-pill {
  border: 1px solid #b7c9cc;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(34, 50, 73, 0.04);
}

#booking.acw .field :where(input:not([type="radio"]):not([type="checkbox"]), select),
#booking.acw .datetime-display,
#booking.acw .qty-stepper,
#booking.acw .toggle {
  min-height: 48px;
}

#booking.acw .field :where(input:not([type="radio"]):not([type="checkbox"]), select, textarea):focus,
#booking.acw .airport-disclosure:focus-within,
#booking.acw .qty-stepper:focus-within {
  border-color: var(--wizard-teal-dark);
  box-shadow: 0 0 0 3px rgba(93, 174, 182, 0.18);
  outline: 0;
}

#booking.acw .toggle input:checked + span {
  color: #fff;
  background: var(--wizard-navy);
}

#booking.acw .qty-stepper__btn {
  color: var(--wizard-navy);
  background: #f1f8f8;
}

#booking.acw .qty-stepper {
  overflow: visible;
}

#booking.acw .airport-disclosure {
  padding-inline: 13px;
}

#booking.acw .airport-disclosure summary {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

#booking.acw #airportSummaryText {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

#booking.acw .help,
#booking.acw .hotel-search__help {
  color: #69787e;
  font-size: 10px;
}

#booking.acw .search-results {
  border-color: #aabfc2;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(34, 50, 73, 0.18);
}

#booking.acw .ac-route-summary-compact {
  display: none !important;
}

#booking.acw .acw-route > .wactions,
#booking.acw .ac-route-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px;
  border: 1px solid #b9d1d4;
  border-top: 3px solid var(--wizard-teal);
  border-radius: 4px;
  background: #eef6f6;
}

#booking.acw .acw-route > .wactions > span small,
#booking.acw .ac-route-cta.is-ready > .ac-route-cta__copy > small {
  color: var(--wizard-teal-dark);
}

#booking.acw .acw-route > .wactions > span strong {
  color: var(--wizard-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

#booking.acw .ac-route-cta__assurance {
  color: var(--wizard-muted);
}

#booking.acw .ac-route-cta__assurance::before {
  color: var(--wizard-teal-dark);
}

#booking.acw .btn {
  min-height: 48px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

#booking.acw .btn--primary,
#booking.acw .ac-transfer-search,
#booking.acw .cta #submitBtn {
  color: #fff;
  background: var(--wizard-coral);
  border-color: var(--wizard-coral);
  box-shadow: 0 5px 12px rgba(216, 48, 39, 0.18);
}

#booking.acw .btn--primary:hover,
#booking.acw .ac-transfer-search:hover,
#booking.acw .cta #submitBtn:hover {
  background: var(--wizard-coral-dark);
  border-color: var(--wizard-coral-dark);
  box-shadow: 0 3px 8px rgba(216, 48, 39, 0.18);
}

#booking.acw .btn--outline {
  color: var(--wizard-navy);
  background: #fff;
  border-color: #9db5b9;
}

/* Vehicle and contact steps. */
#booking.acw .wtitle {
  margin-bottom: 8px;
  font-size: clamp(31px, 3vw, 39px);
}

#booking.acw .wsub {
  margin: 0 0 22px;
  font-size: 13px;
}

#booking.acw #pricingHintWrap {
  margin: 0 0 14px;
}

#booking.acw .veh-grid {
  gap: 15px;
}

#booking.acw .veh {
  overflow: hidden;
  border: 1px solid var(--wizard-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(34, 50, 73, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#booking.acw .veh__media {
  border-color: var(--wizard-line);
}

#booking.acw .veh__body {
  padding: 17px;
}

#booking.acw .veh__name {
  font-size: 22px;
}

#booking.acw .veh__hint {
  color: var(--wizard-navy);
  font-size: 18px;
}

#booking.acw .veh__selected {
  color: #fff;
  background: var(--wizard-teal-dark);
}

#booking.acw .veh:has(input:checked) {
  border-color: var(--wizard-teal-dark);
  background: #f4fbfb;
  box-shadow: inset 4px 0 0 var(--wizard-teal-dark), 0 8px 20px rgba(34, 50, 73, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  #booking.acw .veh:not(.is-disabled):not(:has(input:checked)):hover {
    border-color: var(--wizard-teal);
    box-shadow: 0 9px 22px rgba(34, 50, 73, 0.1);
    transform: translateY(-2px);
  }
}

#booking.acw .acw-panel[data-step="2"] > .wactions,
#booking.acw .cta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--wizard-line);
}

#booking.acw .contact-details {
  gap: 16px;
}

#booking.acw .contact-details__group {
  padding: 16px;
  border: 1px solid var(--wizard-line);
  border-radius: 4px;
  background: #f8fbfb;
}

#booking.acw .contact-details__group + .contact-details__group {
  padding-top: 16px;
  border-top: 1px solid var(--wizard-line);
}

#booking.acw .contact-details__heading p {
  margin-bottom: 8px;
}

#booking.acw .booking-notes {
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--wizard-line);
  border-radius: 4px;
  background: #fff;
}

#booking.acw .booking-notes > summary {
  min-height: 52px;
  padding: 0 16px;
}

/* A useful, quiet summary instead of a second cyan panel. */
body.booking-page .airport-wizard-page {
  padding: 54px 0 88px;
  background: #f2f7f7;
}

body.booking-page #availability > .container {
  width: min(calc(100% - 36px), 1220px);
}

body.booking-page #booking.acw .acw-shell {
  grid-template-columns: minmax(0, 1fr) 318px;
}

#booking.acw .acw-summary-card {
  padding: 22px;
  border: 1px solid #b8ced1;
  border-top: 4px solid var(--wizard-teal);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(34, 50, 73, 0.1);
}

#booking.acw .acw-summary-card::before {
  display: none;
  content: none;
}

#booking.acw .price__head {
  padding-bottom: 14px;
  border-color: var(--wizard-line);
}

#booking.acw .price__head h3 {
  font-size: 29px;
}

#booking.acw .price__intro {
  margin-top: 5px;
  font-size: 10px;
}

#booking.acw .estimate__line {
  gap: 10px;
  padding: 10px 0;
  border-color: #dce6e7;
}

#booking.acw .estimate__line strong {
  font-size: 11px;
}

#booking.acw .estimate__line--total {
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid #f0b4ae;
  border-left: 4px solid var(--wizard-coral);
  border-radius: 4px;
  background: #fff5f3;
}

#booking.acw .estimate__total {
  color: var(--wizard-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
}

#booking.acw .price__note {
  border-left-color: var(--wizard-coral);
  background: #fff9f7;
}

#booking.acw .price-trust__link {
  color: var(--wizard-coral-dark);
}

/* The home card is intentionally shorter and simpler. */
body.home-page .home-hero__wizard #booking.acw .wizard-intro {
  min-height: 64px;
  padding: 11px 15px;
}

body.home-page .home-hero__wizard #booking.acw .wizard-intro__mark {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 17px;
}

body.home-page .home-hero__wizard #booking.acw .wizard-intro h2 {
  font-size: 21px;
}

body.home-page .home-hero__wizard #booking.acw .acw-main {
  padding: 0;
  border: 1px solid #8eb4b9;
  border-top: 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 6px 16px rgba(34, 50, 73, 0.22);
}

body.home-page .home-hero__wizard #booking.acw .acw-steps {
  margin: 0;
  padding-inline: 10px;
}

body.home-page .home-hero__wizard #booking.acw .wstep {
  min-height: 44px;
  padding: 6px 3px 8px;
  gap: 5px;
  font-size: 9px;
}

body.home-page .home-hero__wizard #booking.acw .wstep__num {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  font-size: 9px;
}

body.home-page .home-hero__wizard #booking.acw .acw-body {
  padding: 14px;
}

body.home-page .home-hero__wizard #booking.acw .ac-route-group__heading {
  display: none;
}

body.home-page .home-hero__wizard #booking.acw .acw-route,
body.home-page .home-hero__wizard #booking.acw .ac-route-group__grid--journey,
body.home-page .home-hero__wizard #booking.acw .ac-route-row {
  gap: 10px;
}

body.home-page .home-hero__wizard #booking.acw .ac-route-row--primary {
  grid-template-columns: minmax(0, 1fr);
}

body.home-page .home-hero__wizard #booking.acw .ac-route-primary-left {
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 10px;
}

body.home-page .home-hero__wizard #booking.acw .ac-route-row--destination {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 11px;
}

body.home-page .home-hero__wizard #booking.acw .ac-route-row__title {
  margin-bottom: 0;
}

body.home-page .home-hero__wizard #booking.acw .ac-route-group--schedule {
  padding: 11px;
}

body.home-page .home-hero__wizard #booking.acw .ac-schedule-heading {
  margin-bottom: 9px;
  padding-bottom: 8px;
}

body.home-page .home-hero__wizard #booking.acw .ac-schedule-heading h4 {
  font-size: 17px;
}

body.home-page .home-hero__wizard #booking.acw .ac-schedule-heading p,
body.home-page .home-hero__wizard #booking.acw .ac-route-group__eyebrow {
  display: none;
}

body.home-page .home-hero__wizard #booking.acw .field :where(input:not([type="radio"]):not([type="checkbox"]), select),
body.home-page .home-hero__wizard #booking.acw .datetime-display,
body.home-page .home-hero__wizard #booking.acw .qty-stepper,
body.home-page .home-hero__wizard #booking.acw .toggle {
  min-height: 43px;
}

body.home-page .home-hero__wizard #booking.acw .field label {
  font-size: 10px;
}

body.home-page .home-hero__wizard #booking.acw .help,
body.home-page .home-hero__wizard #booking.acw .hotel-search__help {
  font-size: 9px;
}

body.home-page .home-hero__wizard #booking.acw .acw-route > .wactions {
  gap: 10px;
  padding: 10px;
}

body.home-page .home-hero__wizard #booking.acw .acw-route > .wactions > span strong {
  font-size: 12px;
}

body.home-page .home-hero__wizard #booking.acw .ac-transfer-search {
  min-width: 218px;
}

@media (min-width: 901px) {
  body.home-page .home-hero,
  body.home-page .home-hero__content {
    min-height: 735px;
  }

  body.home-page .home-hero__image,
  body.home-page .home-hero__overlay {
    height: 670px;
  }

  body.home-page .hero-copy {
    min-height: 670px;
  }
}

@media (max-width: 900px) {
  body.booking-page #booking.acw .acw-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  #booking.acw .acw-summary-card {
    position: static;
  }
}

@media (max-width: 700px) {
  body.booking-page .airport-wizard-page {
    padding: 26px 0 72px;
  }

  body.booking-page #availability > .container,
  #availability > .container {
    width: min(calc(100% - 20px), 1220px);
  }

  #booking.acw .acw-main,
  body.home-page .home-hero__wizard #booking.acw .acw-main {
    padding: 0;
    border-radius: 4px;
  }

  #booking.acw .wizard-intro {
    min-height: 68px;
    padding: 12px 14px;
  }

  #booking.acw .wizard-intro__mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  #booking.acw .wizard-intro h2 {
    font-size: 21px;
  }

  #booking.acw .wizard-intro > p {
    display: none;
  }

  #booking.acw .acw-steps {
    padding-inline: 8px;
  }

  #booking.acw .wstep {
    min-height: 48px;
    gap: 5px;
    padding-inline: 2px;
    font-size: 9px;
  }

  #booking.acw .wstep::after {
    right: 3px;
    left: 3px;
  }

  #booking.acw .wstep__num {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 9px;
  }

  #booking.acw .acw-body {
    padding: 16px;
  }

  #booking.acw .ac-route-group__heading h4 {
    font-size: 25px;
  }

  #booking.acw .ac-route-group__heading p,
  #booking.acw .ac-schedule-heading p {
    font-size: 11px;
  }

  #booking.acw .ac-route-row--primary,
  #booking.acw .ac-route-row--destination,
  #booking.acw .ac-route-primary-left,
  #booking.acw .ac-route-group__grid--schedule {
    grid-template-columns: minmax(0, 1fr);
  }

  #booking.acw .ac-route-row--destination,
  #booking.acw .ac-route-group--schedule {
    padding: 13px;
  }

  #booking.acw .acw-route > .wactions,
  #booking.acw .ac-route-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  #booking.acw .ac-transfer-search,
  body.home-page .home-hero__wizard #booking.acw .ac-transfer-search {
    width: 100%;
    min-width: 0;
  }

  #booking.acw .wtitle {
    font-size: 31px;
  }

  #booking.acw .wsub {
    margin-bottom: 18px;
  }

  #booking.acw .veh {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 132px;
  }

  #booking.acw .veh__media {
    min-height: 132px;
  }

  #booking.acw .veh__body {
    padding: 13px;
  }

  #booking.acw .veh__name {
    font-size: 20px;
  }

  #booking.acw .veh__hint {
    font-size: 17px;
  }

  #booking.acw .contact-details__group,
  #booking.acw .contact-details__group + .contact-details__group {
    padding: 13px;
  }

  #booking.acw .contact-details__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #booking.acw .contact-methods {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #booking.acw .acw-panel[data-step="2"] > .wactions,
  #booking.acw .cta {
    margin-top: 18px;
    padding-top: 15px;
  }

  #booking.acw .acw-panel[data-step="2"] > .wactions--conversion,
  #booking.acw .cta--conversion .acw-contact-actions {
    grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
  }

  #booking.acw .acw-summary-card {
    padding: 17px;
  }

  #booking.acw .price__head {
    padding-bottom: 11px;
  }

  #booking.acw .price__head h3 {
    font-size: 25px;
  }

  #booking.acw .price__intro {
    display: none;
  }

  #booking.acw .estimate__line {
    padding: 8px 0;
  }

  #booking.acw .estimate__line--total {
    padding: 13px;
  }

  #booking.acw .estimate__total {
    font-size: 25px;
  }
}

@media (max-width: 390px) {
  #booking.acw .wizard-intro__mark {
    display: none;
  }

  #booking.acw .wstep {
    font-size: 8.5px;
  }

  #booking.acw .veh {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  #booking.acw .acw-body {
    padding: 13px;
  }
}
