.gb-quote-form,
.gb-quote-form * { box-sizing: border-box; }
.gb-quote-form {
  --quote-gold: #e3b229;
  --quote-ink: #f8f6f1;
  --quote-muted: #c8c6bf;
  width: 100%;
  container: quote-form / inline-size;
  padding: 18px 20px 20px;
  border: 1px solid #ffffff30;
  border-radius: 18px;
  background: rgba(23, 25, 27, .86);
  box-shadow: 0 22px 60px #0005;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--quote-ink);
  font-family: Syne, Arial, sans-serif;
}
.gb-quote-top { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.gb-quote-top h3 { margin: 0; color: inherit; font: 700 clamp(24px, 2.5vw, 32px)/1.12 Syne, Arial, sans-serif; letter-spacing: -.035em; }
.gb-quote-count { flex: 0 0 auto; color: var(--quote-muted); font-size: 12px; font-weight: 600; }
.gb-quote-count strong { color: var(--quote-gold); }
.gb-quote-progress { width: 100%; height: 5px; margin: 0 0 20px; overflow: hidden; border-radius: 999px; background: #ffffff24; }
.gb-quote-progress > span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--quote-gold); transition: width 350ms ease; }
.gb-quote-step-subtitle { margin: -7px 0 16px; color: var(--quote-muted); font: 14px/1.45 Arial, sans-serif; }
.gb-quote-step-subtitle[hidden] { display: none !important; }
.gb-quote-step[hidden] { display: none !important; }
.gb-quote-step { animation: gb-quote-enter 260ms ease both; }
@keyframes gb-quote-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.gb-quote-step-title { margin: 0 0 14px; }
.gb-quote-step-title[hidden] { display: none !important; }
.gb-quote-step-title h4 { margin: 0 0 5px; color: inherit; font: 700 18px/1.25 Syne, Arial, sans-serif; }
.gb-quote-step-title p { margin: 0; color: var(--quote-muted); font: 14px/1.45 Arial, sans-serif; }
.gb-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; }
.gb-quote-field { display: grid; gap: 6px; min-width: 0; color: inherit; font: 600 13px/1.3 Arial, sans-serif; }
.gb-quote-field--wide { grid-column: 1 / -1; }
.gb-quote-field [data-required] { color: var(--quote-gold); }
.gb-quote-field input,
.gb-quote-field select,
.gb-quote-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid #ffffff26;
  border-radius: 10px;
  outline: none;
  background: #ffffff0d;
  color: #fff;
  font: 15px/1.35 Arial, sans-serif;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.gb-quote-field textarea { min-height: 85px; resize: vertical; }
.gb-quote-field select {
  color-scheme: dark;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23e3b229' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  background-size: 13px 9px;
}
.gb-quote-field input::placeholder,
.gb-quote-field textarea::placeholder { color: #d2d0ca9e; }
.gb-quote-field :is(input, select, textarea):focus-visible { border-color: var(--quote-gold); box-shadow: 0 0 0 3px #e3b22930; background: #ffffff12; }
.gb-quote-optin { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; color: var(--quote-muted); font: 13px/1.45 Arial, sans-serif; cursor: pointer; }
.gb-quote-optin input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--quote-gold); }
.gb-quote-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gb-quote-service {
  position: relative;
  min-width: 0;
  min-height: 118px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #ffffff0b;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.gb-quote-service img { display: block; width: 100%; height: 78px; object-fit: cover; opacity: .78; transition: opacity 180ms ease; }
.gb-quote-service::after { position: absolute; top: 9px; right: 9px; width: 18px; height: 18px; border: 1px solid #ffffffbd; border-radius: 50%; background: #17191b99; content: ""; }
.gb-quote-service[aria-pressed="true"] { border-color: var(--quote-gold); box-shadow: 0 0 0 2px #e3b22936; transform: translateY(-2px); }
.gb-quote-service[aria-pressed="true"]::after { border: 5px solid var(--quote-gold); background: #17191b; }
.gb-quote-service:is(:hover, :focus-visible) img,
.gb-quote-service[aria-pressed="true"] img { opacity: 1; }
.gb-quote-service:focus-visible { outline: 2px solid var(--quote-gold); outline-offset: 2px; }
.gb-quote-service-label { display: block; padding: 8px 10px 9px; font: 700 13px/1.2 Syne, Arial, sans-serif; }
@container quote-form (min-width: 440px) {
  .gb-quote-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .gb-quote-service { min-height: 112px; }
  .gb-quote-service img { height: 72px; }
  .gb-quote-service-label { padding: 7px 8px 8px; font-size: 12px; }
}
@container quote-form (min-width: 760px) {
  .gb-quote-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gb-quote-service-error { display: none; margin: 8px 0 0; color: #ffb4a9; font: 13px/1.4 Arial, sans-serif; }
.gb-quote-service-error.is-visible { display: block; }
.gb-quote-other[hidden] { display: none !important; }
.gb-quote-address { margin-top: 14px; }
.gb-quote-actions { display: flex; gap: 10px; margin-top: 19px; }
.gb-quote-actions button { min-height: 48px; border-radius: 10px; font: 700 15px/1 Syne, Arial, sans-serif; cursor: pointer; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.gb-quote-back { flex: 0 0 105px; border: 1px solid #ffffff40; background: transparent; color: #fff; }
.gb-quote-back[hidden] { display: none; }
.gb-quote-next,
.gb-quote-submit { flex: 1 1 auto; border: 1px solid var(--quote-gold); background: var(--quote-gold); color: #17191b; }
.gb-quote-actions button:hover:not(:disabled) { transform: translateY(-1px); }
.gb-quote-actions button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gb-quote-actions button:disabled { opacity: .62; cursor: wait; }
.gb-quote-legal { margin: 12px 0 0; color: #b9b7b1; font: 11px/1.45 Arial, sans-serif; }
.gb-quote-legal a { color: inherit; text-underline-offset: 2px; }
.gb-quote-feedback { margin: 12px 0 0; color: #ffb4a9; font: 13px/1.4 Arial, sans-serif; }
.gb-quote-form.is-success .gb-quote-step,
.gb-quote-form.is-success .gb-quote-actions,
.gb-quote-form.is-success .gb-quote-legal { display: none; }
.gb-quote-success { display: none; padding: 20px 4px; text-align: center; }
.gb-quote-form.is-success .gb-quote-success { display: block; }
.gb-quote-success h4 { margin: 0 0 8px; color: #fff; font: 700 24px/1.15 Syne, Arial, sans-serif; }
.gb-quote-success p { margin: 0; color: var(--quote-muted); font: 15px/1.5 Arial, sans-serif; }
.gb-quote-form [aria-invalid="true"] { border-color: #ff8b7c !important; }

/* Make the wizard fit the existing Home lead card and consultation page. */
#comp-ls0y28m0.gb-quote-form { padding: 18px 20px 20px; }
#comp-ls0y28m22 { display: none !important; }
.editorial-booking .hero-form-card > h2 { display: none; }
.editorial-booking .hero-form-card { max-width: 760px; }
.editorial-booking .gb-quote-form { max-width: 680px; margin-inline: auto; }
.editorial-booking .gb-quote-service { min-height: 145px; }
.editorial-booking .gb-quote-service img { height: 100px; }
.gb-quote-form.is-success .gb-quote-top,
.gb-quote-form.is-success .gb-quote-progress,
.gb-quote-form.is-success > .gb-quote-step-title { display: none; }

@media (max-width: 600px) {
  .gb-quote-form { padding: 16px 14px 18px; border-radius: 14px; }
  #comp-ls0y28m0.gb-quote-form { padding: 16px 14px 18px; }
  .gb-quote-step-subtitle,
  .gb-quote-legal { text-align: center; }
  .gb-quote-top h3 { font-size: 24px; }
  .gb-quote-fields { grid-template-columns: 1fr; gap: 11px; }
  .gb-quote-field { font-size: 12px; }
  .gb-quote-field input, .gb-quote-field select, .gb-quote-field textarea { min-height: 43px; padding: 10px 11px; font-size: 16px; }
  .gb-quote-field select { padding-right: 38px; background-position: right 14px center; }
  .gb-quote-service { min-height: 106px; }
  .gb-quote-service img { height: 68px; }
  .gb-quote-service-label { padding: 7px 8px 8px; font-size: 12px; }
  .gb-quote-actions button { min-height: 46px; }
  .gb-quote-back { flex-basis: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  .gb-quote-step { animation: none; }
  .gb-quote-progress > span, .gb-quote-service, .gb-quote-service img, .gb-quote-field :is(input, select, textarea), .gb-quote-actions button { transition: none; }
}
