.new-booking-home {
  --new-booking-ink: #2c333e;
  --new-booking-blue: #22577a;
  --new-booking-green: #48a62c;
  --new-booking-line: rgba(34, 87, 122, 0.18);
  --new-booking-muted: #526575;
  color: var(--new-booking-ink);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}

.new-booking-home *,
.new-booking-home *::before,
.new-booking-home *::after {
  box-sizing: border-box;
}

.new-booking-home__hero {
  overflow: hidden;
  padding: 1.75rem 0 1.5rem;
  background: linear-gradient(90deg, #fff 0%, #fff 52%, #f1f7ee 100%);
}

.new-booking-home__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.new-booking-home__content {
  min-width: 0;
}

.new-booking-home h1 {
  max-width: 700px;
  margin: 0 0 1.15rem;
  color: var(--new-booking-ink);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.new-booking-home h1 span {
  display: inline;
}

.new-booking-home h1 span:first-child {
  color: var(--new-booking-green);
}

.new-booking-home h1 span:first-child::after {
  content: " ";
}

.new-booking-home__lead {
  max-width: 38rem;
  margin: 0 0 1.25rem;
  color: var(--new-booking-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.new-booking-registration {
  max-width: 46rem;
}

.new-booking-registration__postcode {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: .6rem;
  border: 2px solid var(--new-booking-blue);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px -22px rgba(32, 42, 53, .7);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.new-booking-registration__postcode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--new-booking-green);
  color: #fff;
  font-size: 1rem;
    min-width: 52px;
    z-index: 1;
}

.new-booking-registration__postcode input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #fff;
    color: #526276 !important;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.new-booking-registration__postcode input::placeholder {
  color: #657481;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.new-booking-registration__postcode:focus-within {
  border-color: var(--new-booking-green);
  box-shadow: 0 0 0 3px rgba(72, 166, 44, .18);
}

.new-booking-registration__controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.new-booking-registration__plate {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  overflow: hidden;
  border: 2px solid var(--new-booking-blue);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px -22px rgba(32, 42, 53, 0.7);
}

.new-booking-registration__country {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3c617;
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.new-booking-registration .new-booking-registration__controls input {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 0;
    outline: 0;
    color: #526276 !important;
    /* font-family: "UKNumberPlate", monospace; */
    font-size: 1.125rem !important;
    text-transform: uppercase;
    font-weight: 900;
}

.new-booking-registration .new-booking-registration__controls input::placeholder {
  color: #848484;
  font: inherit;
  font-size: inherit !important;
  letter-spacing: inherit;
  opacity: 1;
}

.new-booking-registration .new-booking-registration__controls input:focus {
  border-radius: 0;
  box-shadow: inset 0 0 0 3px rgba(72, 166, 44, 0.35);
}

.new-booking-registration__submit {
  position: relative;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: .75rem 0 0;
  padding: .55rem .65rem .55rem 1rem;
  border: 1px solid #64c447;
  border-radius: 11px;
  background: linear-gradient(135deg, #55b938 0%, #3f9c26 100%);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, .16);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.new-booking-registration__submit-icon {
  position: absolute;
  right: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(15, 70, 16, .2);
  font-size: 1rem;
  line-height: 1;
}

.new-booking-registration__submit:hover {
  transform: translateY(-1px);
  border-color: #78cf5e;
  box-shadow: inset 0 1px rgba(255, 255, 255, .2);
  filter: brightness(1.04);
}

.new-booking-registration__submit:focus-visible,
.new-booking-no-registration:focus-visible {
  outline: 3px solid #f3c617;
  outline-offset: 3px;
}

.new-booking-registration__submit:disabled {
  transform: none;
  cursor: wait;
  opacity: 0.65;
}

.new-booking-registration__submit.is-loading {
  position: relative;
  color: transparent;
}

.new-booking-registration__submit.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  content: '';
  animation: new-booking-widget-spin .7s linear infinite;
}

@keyframes new-booking-widget-spin {
  to {
    transform: rotate(360deg);
  }
}

.new-booking-field-hint,
.new-booking-field-error {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.new-booking-field-hint {
  margin: 0 0 .5rem;
  color: var(--new-booking-ink);
  font-weight: 700;
}

.new-booking-field-error {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  padding: .65rem .75rem;
  border-radius: 6px;
  background: rgba(186, 26, 26, .08);
  color: #ba1a1a;
  font-weight: 700;
}

.new-booking-field-error::before,
.new-booking-validation-error::before {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ba1a1a;
  color: #fff;
  content: "!";
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}

.new-booking-validation-error {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .5rem 0 0;
  padding: .65rem .75rem;
  border-radius: 6px;
  background: rgba(186, 26, 26, .08);
  color: #ba1a1a;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}

.new-booking-registration__postcode:has(input.new-booking-input-invalid),
.new-booking-registration__plate:has(input.new-booking-input-invalid) {
  border-color: #ba1a1a;
  box-shadow: 0 0 0 3px rgba(186, 26, 26, .1);
}

.new-booking-no-registration {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  min-width: 76px;
  margin: 6px 6px 6px 0;
  padding: 0 0.75rem;
  border: 1px solid var(--new-booking-blue);
  border-radius: 7px;
  background: var(--new-booking-blue);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.new-booking-no-registration:hover {
  border-color: #172238;
  background: #172238;
  color: #fff;
  text-decoration: none;
}

.new-booking-home__video {
  align-self: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  /*background: #18232d;*/
  /*box-shadow: 0 22px 44px -30px rgba(32, 42, 53, 0.75);*/

}

.new-booking-home__video button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.new-booking-home__video img,
.new-booking-home__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.new-booking-home__video img {
  object-fit: contain;
  padding: 0;
}

/* Own the playback backdrop instead of relying on the browser's loading UI. */
.new-booking-home .new-booking-home__video.is-video-active {
  position: relative;
  height: auto;
  aspect-ratio: var(--video-frame-ratio, 16 / 9);
  background: var(--new-booking-ink);
  border-radius: 12px;
  overflow: hidden;
}

.new-booking-home .new-booking-home__video.is-video-active video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--new-booking-ink);
}

.new-booking-home .new-booking-home__video [hidden] {
  display: none;
}

.new-booking-home__video button span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  transform: translate(-50%, -50%);
    border: 3px solid #ffffffba;
    border-radius: 50%;
    background: rgb(72 166 44 / 42%);
  color: #fff;
  font-size: 1.35rem;
}

.new-booking-home__video button:focus-visible {
  outline: 4px solid #f3c617;
  outline-offset: -4px;
}

.new-booking-home__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
  border-top: 1px solid var(--new-booking-line);
  border-bottom: 1px solid var(--new-booking-line);
}

.new-booking-home__stat {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--new-booking-line);
  border-bottom: 1px solid var(--new-booking-line);
}

.new-booking-home__stat:nth-child(2n) {
  border-right: 0;
}

.new-booking-home__stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.new-booking-home__stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--new-booking-blue);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.new-booking-home__stat h2 {
  margin: 0;
  color: var(--new-booking-ink);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

.new-booking-home__stat p {
  margin: 0.45rem 0 0;
  color: var(--new-booking-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (min-width: 576px) {
  .new-booking-registration__plate {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }
}

@media (max-width: 359.98px) {
  .new-booking-home__stats {
    grid-template-columns: 1fr;
  }

  .new-booking-home__stat,
  .new-booking-home__stat:nth-child(2n),
  .new-booking-home__stat:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--new-booking-line);
  }

  .new-booking-home__stat:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .new-booking-home {
    --new-booking-mobile-inset: .5rem;
  }

  .new-booking-home__hero {
    padding: 1.25rem 0 1.5rem;
    background: linear-gradient(160deg, #111b25 0%, #1d3444 62%, #17372d 100%);
  }

  .new-booking-home__hero > .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .new-booking-home__hero .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-right: 0;
    margin-left: 0;
  }

  .new-booking-home__hero .row > [class*="col-"],
  .new-booking-home__content {
    display: contents;
  }

  .new-booking-home h1 {
    order: 1;
    max-width: 21rem;
    margin-bottom: .9rem;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1.08;
    text-align: center;
  }

  .new-booking-home h1 span {
    display: block;
  }

  .new-booking-home h1 span:first-child::after {
    content: "";
  }

  .new-booking-home__lead {
    order: 2;
    margin-bottom: 1.15rem;
    color: #d7e1e8;
    font-size: .94rem;
    line-height: 1.58;
    text-align: center;
  }

  .new-booking-registration {
    order: 4;
    width: calc(100% - (var(--new-booking-mobile-inset) * 2));
    margin-top: 1.25rem;
    margin-right: var(--new-booking-mobile-inset);
    margin-left: var(--new-booking-mobile-inset);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .new-booking-registration__controls {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .new-booking-registration__plate {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .new-booking-registration .new-booking-registration__controls input,
  .new-booking-registration__submit {
    min-height: 52px;
  }

  .new-booking-registration .new-booking-registration__controls input {
    padding: .7rem .75rem;
    font-size: 1.05rem;
  }

  .new-booking-registration__submit {
    min-width: 0;
    padding: .75rem .65rem .75rem 1rem;
    font-size: .88rem;
  }

  .new-booking-field-hint {
    color: #d7e1e8;
    font-size: .8rem;
    text-align: center;
  }

  .new-booking-no-registration {
    display: inline-flex;
    align-self: stretch;
    justify-content: center;
    width: auto;
    min-width: 72px;
    min-height: 0;
    margin: 5px 5px 5px 0;
    padding: 0 .65rem;
    border: 1px solid var(--new-booking-blue);
    border-radius: 7px;
    background: var(--new-booking-blue);
    color: #fff;
    font-size: .72rem;
    text-align: center;
  }

  .new-booking-no-registration:hover {
    border-color: #172238;
    background: #172238;
    color: #fff;
  }

  .new-booking-home__video {
    order: 3;
    width: calc(100% - (var(--new-booking-mobile-inset) * 2));
    height: auto;
    margin: 0 var(--new-booking-mobile-inset);
    aspect-ratio: 16 / 9;
    border-radius: 12px;
      /*background: #18232d00;*/
      /*border: 1px solid rgba(255, 255, 255, .12);*/
  }

  .new-booking-home__video img {
    padding: 0;
  }

  .new-booking-home__stats {
    width: calc(100% - (var(--new-booking-mobile-inset) * 2));
    gap: 8px;
    margin: 1rem var(--new-booking-mobile-inset) 0;
    border: 0;
  }

  .new-booking-home__stat,
  .new-booking-home__stat:nth-child(2n),
  .new-booking-home__stat:nth-last-child(-n + 2) {
    min-height: 116px;
    padding: .75rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 11px;
    background: rgba(255, 255, 255, .07);
  }

  .new-booking-home__stat strong {
    margin-bottom: .25rem;
    color: #76c95e;
    font-size: .82rem;
    line-height: 1.1;
  }

  .new-booking-home__stat h2 {
    color: #fff;
    font-size: .7rem;
    line-height: 1.25;
  }

  .new-booking-home__stat p {
    margin-top: .25rem;
    color: #c7d3da;
    font-size: .59rem;
    line-height: 1.35;
  }
}

@media (max-width: 374.98px) {
  .new-booking-home__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 992px) {
  .new-booking-home__hero {
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, #111b25 0%, #1d3444 58%, #17372d 100%);
  }

  .new-booking-home__hero .row {
    align-items: stretch;
  }

  .new-booking-home__hero .row > [class*="col-"] {
    display: flex;
  }

  .new-booking-home__content,
  .new-booking-home__video {
    width: 100%;
    height: 93%;
  }

  .new-booking-home__content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    /*border: 1px solid rgba(255, 255, 255, .12);*/
    /*border-radius: 14px;*/
    /*background: rgba(255, 255, 255, .06);*/
    /*box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .8);*/
  }

  .new-booking-home__grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 2rem;
  }

  .new-booking-home h1 {
    max-width: none;
    color: #fff;
    font-size: 2rem;
  }

  .new-booking-home h1 span {
    display: block;
  }

  .new-booking-home h1 span:first-child::after {
    content: "";
  }

  .new-booking-home__video {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    aspect-ratio: auto;
  }

  .new-booking-home__video img {
    object-position: center bottom;
  }
}

  .new-booking-home__report {
    --home-report-card-width: 76px;
    position: relative;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 8px;
  }

  .new-booking-home__report-card {
    --report-package-color: var(--new-booking-blue);
    position: relative;
    display: block;
    flex: 0 1 var(--home-report-card-width);
    min-width: 0;
    width: var(--home-report-card-width);
    color: #fff;
    text-decoration: none;
    transform-origin: center bottom;
  }

  .new-booking-home__report-card--standard { --report-package-color: var(--new-booking-green); }
  .new-booking-home__report-card--premium { --report-package-color: #f3c617; }
  .new-booking-home__report-card--engineers { --report-package-color: var(--new-booking-ink); }

  .new-booking-home__report-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 480;
  }

  .new-booking-home__report-card > span {
    position: absolute;
    top: 8px;
    left: 7px;
    right: 7px;
    padding: 3px 4px;
    border-radius: 3px;
    background: var(--report-package-color);
    color: #fff;
    font-size: 6px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
  }

  .new-booking-home__report-card:hover {
    z-index: 5;
    color: #fff;
    text-decoration: none;
    transform: translateY(-5px) rotate(0deg);
  }

  .new-booking-home__report-card:focus-visible {
    z-index: 6;
    outline: 3px solid var(--new-booking-green);
    outline-offset: 3px;
  }

.new-booking-home__video:has([data-new-booking-video-trigger][hidden]) .new-booking-home__report {
display: none !important;
}

@media (max-width: 991.98px) {
  .new-booking-home__video {
    aspect-ratio: auto;
  }

  .new-booking-home__video button {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 992px) {
  .new-booking-home__report {
    position: absolute;
    z-index: 1;
    top: 3.25rem;
    left: 22%;
    justify-content: flex-start;
    gap: 0;
    width: calc(var(--home-report-card-width) * 2.5);
    padding: 0;
  }

  .new-booking-home__report-card {
    flex-shrink: 0;
  }

  .new-booking-home__report-card + .new-booking-home__report-card {
    margin-left: calc(var(--home-report-card-width) * -.5);
  }

  .new-booking-home__report-card:nth-child(1) { transform: translateY(13px) rotate(-10deg); }
  .new-booking-home__report-card:nth-child(2) { z-index: 1; transform: translateY(3px) rotate(-3deg); }
  .new-booking-home__report-card:nth-child(3) { z-index: 2; transform: translateY(3px) rotate(3deg); }
  .new-booking-home__report-card:nth-child(4) { z-index: 3; transform: translateY(13px) rotate(10deg); }

  .new-booking-home__report-card:hover {
    transform: translateY(-5px) rotate(0deg);
  }

.new-booking-home__video button span {
top: auto;
bottom: 6.5rem;
transform: translateX(-50%);
}

.new-booking-home__lead,
.new-booking-field-hint {
color: #d7e1e8;
}

.new-booking-no-registration {
border-color: var(--new-booking-blue);
background: var(--new-booking-blue);
color: #fff;
}

.new-booking-no-registration:hover {
border-color: #172238;
background: #172238;
color: #fff;
}

.new-booking-home__stats {
grid-template-columns: repeat(4, minmax(0, 1fr));
margin-top: 1.5rem;
border-color: rgba(255, 255, 255, .16);
}

.new-booking-home__stat,
.new-booking-home__stat:nth-child(2n),
.new-booking-home__stat:nth-last-child(-n + 2) {
border-right: 1px solid var(--new-booking-line);
border-bottom: 0;
}

.new-booking-home__stat:last-child {
border-right: 0;
}

.new-booking-home__stat,
.new-booking-home__stat:nth-child(2n),
.new-booking-home__stat:nth-last-child(-n + 2) {
border-color: rgba(255, 255, 255, .16);
}

.new-booking-home__stat strong {
color: #76c95e;
}

.new-booking-home__stat h2 {
color: #fff;
}

.new-booking-home__stat p {
color: #c7d3da;
}
}

.new-booking-registration__submit.is-loading > span {
visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
.new-booking-home *,
.new-booking-home *::before,
.new-booking-home *::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
}
}
