/*
Direction contract: the schedule is the hero. Solid navy frames a real booking
surface that begins at date and time, with only the context needed to act.
*/

body {
  background: #eef1f4;
}

.d-booking {
  position: relative;
  overflow: clip;
  padding: 40px 0 64px;
}

.d-booking::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background: var(--navy);
}

.d-booking__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(560px, 1.14fr);
  gap: 52px;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  align-items: start;
}

.d-summary {
  padding-top: 30px;
  color: var(--white);
}

.d-summary h1 {
  max-width: 500px;
  margin: 0;
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.d-summary h1 em {
  color: #ff3636;
  font-style: normal;
}

.d-summary > p {
  max-width: 470px;
  margin: 18px 0 0;
  color: #c9d2db;
  font-size: 18px;
  line-height: 1.45;
}

.d-location {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.d-location__icon {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.d-location__icon svg {
  width: 19px;
  height: 19px;
  stroke: #ff3b3b;
}

.d-location strong,
.d-location small {
  display: block;
}

.d-location strong {
  color: var(--white);
  font-size: 16px;
}

.d-location small {
  margin-top: 2px;
  color: #b7c3ce;
  font-size: 13px;
  line-height: 1.35;
}

.d-location__price {
  display: grid;
  min-width: 112px;
  align-self: center;
  justify-items: end;
  line-height: 1;
}

.d-location__price small {
  margin: 0 0 4px;
  color: #ff5757;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.d-location__price strong {
  color: var(--white);
  font-size: 29px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}

.d-location__price span {
  margin-top: 5px;
  color: #b7c3ce;
  font-size: 10px;
  font-weight: 600;
}

.d-summary__proof {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: #d7dee5;
  font-size: 14px;
  font-weight: 600;
}

.d-summary__proof span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.d-summary__proof svg {
  width: 18px;
  height: 18px;
  stroke: #31d78b;
}

.d-tool {
  min-width: 0;
  padding: 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 26px 58px rgba(2, 10, 20, 0.22);
}

.d-tool__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 4px 15px;
}

.d-tool__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.d-tool__heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.d-tool .booking-stage {
  border-radius: 10px;
  background: var(--white);
  box-shadow: none;
}

.d-tool #hdp-booking {
  min-height: 548px;
}

.d-tool .booking-stage.is-ready #hdp-booking {
  min-height: 548px;
}

.d-tool .booking-loading {
  padding: 12px 8px 22px;
}

.d-tool .booking-loading__dates {
  margin-top: 16px;
}

.d-tool .booking-loading__line:first-of-type {
  margin-top: 24px;
}

.d-assurance {
  display: flex;
  justify-content: center;
  gap: 10px 24px;
  padding: 15px 4px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.d-assurance span {
  position: relative;
}

.d-assurance span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aab1b9;
}

.d-after {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 42px 0 58px;
}

.d-after > div {
  padding: 0 34px;
}

.d-after > div:first-child {
  padding-left: 0;
}

.d-after > div:last-child {
  padding-right: 0;
}

.d-after > div + div {
  border-left: 1px solid #cfd4d9;
}

.d-after strong,
.d-after span {
  display: block;
}

.d-after strong {
  color: var(--ink);
  font-size: 16px;
}

.d-after span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .d-booking::before {
    height: 340px;
  }

  .d-booking__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .d-summary {
    padding-top: 0;
  }

  .d-summary h1,
  .d-summary > p {
    max-width: 720px;
  }

  .d-summary__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
}

@media (max-width: 720px) {
  .d-header {
    height: 58px;
    box-shadow: none;
  }

  .d-header .site-header__inner {
    width: calc(100% - 24px);
  }

  .d-header .phone-link {
    display: inline-flex;
  }

  .d-header .brand-lockup {
    gap: 8px;
  }

  .d-header .brand-logo {
    width: 146px;
  }

  .d-header .brand-divider {
    display: block;
    height: 22px;
  }

  .d-header .kues-logo {
    display: block;
    width: 36px;
    height: 25px;
  }

  .d-booking {
    padding: 18px 0 30px;
  }

  .d-booking::before {
    height: 300px;
  }

  .d-booking__inner {
    width: 100%;
    gap: 12px;
  }

  .d-summary {
    padding: 0 16px 2px;
  }

  .d-summary h1 {
    max-width: 360px;
    font-size: 30px;
    line-height: 1.03;
  }

  .d-summary > p {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.35;
  }

  .d-location {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 13px;
    padding: 11px 0 0;
    border-bottom: 0;
  }

  .d-location__icon {
    width: 30px;
    height: 30px;
  }

  .d-location__icon svg {
    width: 16px;
    height: 16px;
  }

  .d-location strong {
    font-size: 14px;
  }

  .d-location small {
    margin-top: 0;
    font-size: 11px;
  }

  .d-location__price {
    min-width: 92px;
  }

  .d-location__price small {
    margin-bottom: 3px;
    font-size: 8.5px;
  }

  .d-location__price strong {
    font-size: 25px;
  }

  .d-location__price span {
    margin-top: 4px;
    font-size: 8.5px;
  }

  .d-summary__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 12px;
    font-size: 12.5px;
  }

  .d-summary__proof svg { width: 15px; height: 15px; }

  .d-tool {
    padding: 14px 8px 13px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 22px rgba(2, 10, 20, 0.12);
  }

  .d-tool__heading {
    padding: 0 8px 10px;
  }

  .d-tool__heading h2 {
    font-size: 20px;
  }

  .d-tool__heading p {
    font-size: 12px;
  }

  .d-tool .booking-stage,
  .d-tool #hdp-booking,
  .d-tool .booking-stage.is-ready #hdp-booking {
    min-height: 510px;
  }

  .d-assurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: 12px;
    text-align: center;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .d-assurance span + span::before {
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 1px;
    height: auto;
    border-radius: 0;
    background: var(--line);
  }

  .d-after {
    width: min(calc(100% - 32px), 1160px);
    grid-template-columns: 1fr;
    padding: 26px 0 38px;
  }

  .d-after > div,
  .d-after > div:first-child,
  .d-after > div:last-child {
    padding: 15px 0;
  }

  .d-after > div + div {
    border-top: 1px solid #cfd4d9;
    border-left: 0;
  }
}

@media (max-width: 370px) {
  .d-summary h1 {
    font-size: 28px;
  }

  .d-header .brand-logo {
    width: 136px;
  }

  .d-header .kues-logo {
    width: 32px;
  }

  .d-location__price {
    min-width: 88px;
  }

  .d-location__price strong {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-loading__bar::after,
  .booking-loading__tile::after,
  .booking-loading__line::after {
    animation: none;
  }
}
