.tlb-booking,
.tlb-booking * {
  box-sizing: border-box;
}

.tlb-booking {
  --tlb-red: #ed1c24;
  --tlb-red-dark: #bd1017;
  --tlb-black: #08090b;
  --tlb-panel: #111318;
  --tlb-field: #0b0d10;
  --tlb-text: #f7f7f8;
  --tlb-muted: #a9afb8;
  --tlb-line: rgba(255, 255, 255, 0.12);
  width: 100%;
  padding: clamp(66px, 8vw, 112px) 20px;
  overflow: hidden;
  color: var(--tlb-text);
  background:
    radial-gradient(circle at 6% 18%, rgba(237, 28, 36, 0.09), transparent 26%),
    #08090b;
  font-family: Inter, Montserrat, "Helvetica Neue", Arial, sans-serif;
}

.tlb-booking a {
  color: inherit;
  text-decoration: none;
}

.tlb-booking svg {
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.tlb-booking__shell {
  width: min(100%, 1240px);
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--tlb-line);
  border-radius: 9px;
  background: var(--tlb-panel);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38);
}

.tlb-booking__intro {
  position: relative;
  min-height: 100%;
  display: flex;
  overflow: hidden;
  background: #090b0e url("https://torquelabgta.ca/wp-content/uploads/2026/09/15_online-appointment-booking-shop-service_1920x1080.jpg") center / cover no-repeat;
}

.tlb-booking__intro-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 6, 8, 0.99) 0%, rgba(5, 6, 8, 0.79) 64%, rgba(5, 6, 8, 0.58) 100%),
    linear-gradient(120deg, rgba(237, 28, 36, 0.2), transparent 40%);
}

.tlb-booking__intro-content {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: flex-end;
  padding: clamp(34px, 5vw, 58px);
}

.tlb-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: #d9dce1;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.tlb-kicker span {
  width: 28px;
  height: 2px;
  background: var(--tlb-red);
}

.tlb-booking__intro h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(35px, 4.7vw, 58px);
  font-weight: 880;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.tlb-booking__intro-content > p:not(.tlb-kicker) {
  margin: 24px 0 0;
  color: #c3c7cd;
  font-size: 16px;
  line-height: 1.75;
}

.tlb-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.tlb-contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tlb-contact-list a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.tlb-contact-list__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 28, 36, 0.35);
  border-radius: 4px;
  color: var(--tlb-red);
  background: rgba(237, 28, 36, 0.08);
}

.tlb-contact-list__icon svg {
  width: 16px;
  height: 16px;
}

.tlb-contact-list a > span:last-child,
.tlb-contact-list small,
.tlb-contact-list strong {
  display: block;
}

.tlb-contact-list small {
  margin-bottom: 3px;
  color: #969ca5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tlb-contact-list strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.tlb-booking__note {
  margin-top: 30px;
  padding: 17px 18px;
  border-left: 3px solid var(--tlb-red);
  background: rgba(0, 0, 0, 0.35);
}

.tlb-booking__note strong,
.tlb-booking__note span {
  display: block;
}

.tlb-booking__note strong {
  font-size: 13px;
  line-height: 1.4;
}

.tlb-booking__note span {
  margin-top: 5px;
  color: #aeb3bb;
  font-size: 12px;
  line-height: 1.55;
}

.tlb-booking__form-panel {
  padding: clamp(34px, 5vw, 58px);
  background: var(--tlb-panel);
}

.tlb-form-heading {
  margin-bottom: 30px;
}

.tlb-form-heading__step {
  color: var(--tlb-red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tlb-form-heading h3 {
  margin: 10px 0 7px;
  color: #ffffff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tlb-form-heading p {
  margin: 0;
  color: var(--tlb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.tlb-form-heading p span,
.tlb-field label span,
.tlb-consent em {
  color: var(--tlb-red);
  font-style: normal;
}

.tlb-form {
  position: relative;
}

.tlb-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.tlb-fields {
  display: grid;
  gap: 16px;
}

.tlb-fields--two {
  grid-template-columns: 1fr 1fr;
}

.tlb-fields--vehicle {
  grid-template-columns: minmax(90px, 0.55fr) 1fr 1fr;
}

.tlb-form > .tlb-field,
.tlb-form > .tlb-fields,
.tlb-form > .tlb-vehicle-group {
  margin-bottom: 18px;
}

.tlb-field label,
.tlb-vehicle-group legend {
  display: block;
  margin: 0 0 8px;
  color: #d8dbe0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.tlb-vehicle-group {
  min-width: 0;
  margin-inline: 0;
  padding: 19px;
  border: 1px solid var(--tlb-line);
  border-radius: 6px;
}

.tlb-vehicle-group legend {
  width: auto;
  padding: 0 8px;
  color: #ffffff;
  font-size: 13px;
}

.tlb-field input,
.tlb-field select,
.tlb-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  color: #ffffff;
  background: var(--tlb-field);
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tlb-field input,
.tlb-field select {
  height: 50px;
  padding: 0 14px;
}

.tlb-field textarea {
  min-height: 126px;
  padding: 13px 14px;
  resize: vertical;
}

.tlb-field select {
  appearance: auto;
  cursor: pointer;
}

.tlb-field input::placeholder,
.tlb-field textarea::placeholder {
  color: #717782;
  opacity: 1;
}

.tlb-field input:focus,
.tlb-field select:focus,
.tlb-field textarea:focus {
  border-color: var(--tlb-red);
  background: #0e1014;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.13);
}

.tlb-field input:invalid:not(:placeholder-shown):not(:focus),
.tlb-field textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(237, 28, 36, 0.65);
}

.tlb-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 23px;
  color: #aeb3bb;
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}

.tlb-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: var(--tlb-red);
}

.tlb-form__footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tlb-submit {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--tlb-red);
  border-radius: 5px;
  color: #ffffff;
  background: var(--tlb-red);
  box-shadow: 0 10px 28px rgba(237, 28, 36, 0.22);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tlb-submit:hover:not(:disabled) {
  border-color: var(--tlb-red-dark);
  background: var(--tlb-red-dark);
  box-shadow: 0 14px 32px rgba(237, 28, 36, 0.3);
  transform: translateY(-2px);
}

.tlb-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.tlb-submit svg {
  width: 18px;
  height: 18px;
}

.tlb-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: tlb-spin 700ms linear infinite;
}

.tlb-form.is-sending .tlb-submit svg {
  display: none;
}

.tlb-form.is-sending .tlb-spinner {
  display: block;
}

.tlb-form__footer > p {
  max-width: 220px;
  margin: 0;
  color: #858b94;
  font-size: 11px;
  line-height: 1.5;
}

.tlb-status {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.tlb-status.is-success {
  display: block;
  border-color: rgba(34, 197, 94, 0.38);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
}

.tlb-status.is-error {
  display: block;
  border-color: rgba(237, 28, 36, 0.45);
  color: #fecdd3;
  background: rgba(237, 28, 36, 0.1);
}

.tlb-booking a:focus-visible,
.tlb-booking button:focus-visible,
.tlb-booking input:focus-visible,
.tlb-booking select:focus-visible,
.tlb-booking textarea:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@keyframes tlb-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .tlb-booking__shell {
    grid-template-columns: 1fr;
  }

  .tlb-booking__intro {
    min-height: 560px;
  }

  .tlb-booking__intro-content {
    max-width: 740px;
  }
}

@media (max-width: 640px) {
  .tlb-booking {
    padding: 56px 12px;
  }

  .tlb-booking__intro {
    min-height: 620px;
  }

  .tlb-booking__intro-content,
  .tlb-booking__form-panel {
    padding: 28px 20px;
  }

  .tlb-booking__intro h2 {
    font-size: 39px;
  }

  .tlb-fields--two,
  .tlb-fields--vehicle {
    grid-template-columns: 1fr;
  }

  .tlb-vehicle-group {
    padding: 16px;
  }

  .tlb-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tlb-submit {
    width: 100%;
  }

  .tlb-form__footer > p {
    max-width: none;
    text-align: center;
  }
}

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

  .tlb-spinner {
    animation-duration: 1.5s;
  }
}

