/* SAI one-time order form (/order/). SAI colors only: red / black / grey / white. */
.order-section { padding-top: 40px; }
.order-wrap { max-width: 1160px; }
.order-form { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.order-form.is-quote { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.order-main { display: grid; gap: 20px; min-width: 0; }
.order-bookable { display: grid; gap: 20px; }
.order-bookable[hidden], .order-side[hidden] { display: none; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; margin: 0; min-width: 0; }
.order-card legend, .order-summary h2 { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; color: var(--black); display: flex; align-items: center; gap: 10px; }
.order-card legend + * { clear: both; }
.order-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: #fff; font-size: 14px; font-weight: 750; }
.order-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.order-svc { position: relative; cursor: pointer; }
.order-svc input { position: absolute; opacity: 0; inset: 0; }
.order-svc span { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.order-svc strong { font-size: 15px; color: var(--black); }
.order-svc em { font-style: normal; font-size: 13px; line-height: 1.4; color: var(--muted); }
.order-svc b { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--red); font-weight: 750; }
.order-svc input:checked + span { border-color: var(--red); box-shadow: 0 0 0 2px var(--red) inset; background: var(--red-soft); }
.order-svc input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.order-quote { margin-top: 16px; padding: 18px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.order-quote p { margin: 0 0 12px; color: var(--ink); font-size: 15px; }
.order-quote .order-hint { margin: 10px 0 0; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.order-span-2 { grid-column: 1 / -1; }
.order-field label, .order-label { display: block; font-size: 14px; font-weight: 650; color: var(--black); margin-bottom: 6px; }
.order-opt { font-weight: 500; color: var(--muted); }
.order-field input:not([type="radio"]):not([type="checkbox"]), .order-field select, .order-field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
.order-field textarea { resize: vertical; min-height: 86px; }
.order-field input:not([type="radio"]):not([type="checkbox"]):focus, .order-field select:focus, .order-field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(11,11,12,.12); }
.order-field select[hidden], .order-field[hidden] { display: none; }
.order-hint, .order-note { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.order-note { margin-top: 10px; font-size: 13.5px; }
.order-note strong { color: var(--black); }
.order-note a, .order-hint a, .order-fine a { color: var(--red); font-weight: 650; }
.order-err { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--red-dark); }
.order-err:empty { display: none; }
.order-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order-alert { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--red); background: var(--red-soft); color: var(--black); font-weight: 600; font-size: 15px; }
.order-alert[hidden] { display: none; }
/* calendar */
.order-cal { border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px; max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-size: 15.5px; color: var(--black); }
.cal-nav { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--black); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day { height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--black); cursor: pointer; }
.cal-day:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.cal-day.is-off { background: var(--bg-soft); color: #A3A3A3; border-color: transparent; cursor: not-allowed; text-decoration: line-through; font-weight: 500; }
.cal-day.is-hol { text-decoration: line-through; }
.cal-day.is-today { box-shadow: inset 0 -3px 0 var(--line-strong); }
.cal-day.is-sel { background: var(--red); border-color: var(--red); color: #fff; }
.cal-day.is-out { border: 0; background: transparent; }
.cal-sel { margin: 10px 2px 0; font-size: 13.5px; color: var(--muted); }
.cal-sel strong { color: var(--black); }
/* summary */
.order-side { position: sticky; top: calc(var(--header-h) + 20px); }
.order-summary h2 { float: none; }
.order-lines { margin: 0 0 14px; display: grid; gap: 10px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.order-line dt { color: var(--black); font-weight: 600; }
.order-line dt small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.order-line dd { margin: 0; font-weight: 650; color: var(--black); white-space: nowrap; }
.order-line-meta dt { font-weight: 500; color: var(--muted); }
.order-line-meta dd { white-space: normal; text-align: right; font-weight: 600; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--black); padding-top: 12px; margin-bottom: 10px; }
.order-total span { font-weight: 650; }
.order-total strong { font-size: 26px; letter-spacing: -0.02em; color: var(--black); }
.order-fine { margin: 0 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.order-agree { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; background: var(--bg-soft); font-size: 14px; line-height: 1.4; cursor: pointer; }
.order-agree input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--red); }
.order-agree a { color: var(--red); font-weight: 700; }
.order-pay { width: 100%; margin-top: 14px; white-space: normal; }
.order-pay:disabled { background: #BDBDBD; border-color: #BDBDBD; color: #fff; cursor: not-allowed; transform: none; }
.order-secure { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 1000px) {
  .order-form { grid-template-columns: minmax(0, 1fr); }
  .order-side { position: static; }
}
@media (max-width: 640px) {
  .order-section { padding-top: 24px; }
  .order-card { padding: 18px 16px; border-radius: 14px; }
  .order-services { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .order-cal { max-width: none; padding: 10px 8px; }
  .cal-day { height: 42px; }
}
.order-hero .lede strong { color: var(--black); }
.order-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; }
.order-steps li { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; color: var(--black); }
.order-steps li span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; }
.order-steps li + li::before { content: "→"; position: absolute; left: -21px; color: var(--muted); font-weight: 600; }
.order-cognito { margin-top: 24px; }
.order-cognito[hidden] { display: none; }
@media (max-width: 640px) { .order-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .order-steps li { flex-direction: column; text-align: center; gap: 6px; font-size: 13.5px; line-height: 1.25; } .order-steps li + li::before { left: -9px; top: 6px; } }
.order-scope { margin: 14px 0 0; max-width: 640px; padding: 10px 14px; border-left: 3px solid var(--red); background: var(--bg-soft); border-radius: 0 8px 8px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.order-scope a { color: var(--red); font-weight: 700; }
.cal-day { position: relative; }
.cal-day.is-wkend::after { content: "$150"; position: absolute; left: 0; right: 0; bottom: 2px; font-size: 8.5px; font-weight: 700; color: var(--red); line-height: 1; }
.cal-day.is-wkend.is-sel::after { color: #fff; }
.cal-day.is-wkend { padding-bottom: 8px; }
.order-travel { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.order-travel:empty { display: none; }
.order-travel.is-ok { color: var(--black); }
.order-travel.is-bad { color: var(--red-dark); padding: 10px 12px; border: 1.5px solid var(--red); border-radius: 10px; background: var(--red-soft); }
.order-travel.is-bad a { color: var(--red-dark); font-weight: 750; }
.order-travel a[href^="tel:"] { white-space: nowrap; }
.order-travel-fallback { display: block; margin-top: 6px; font-size: 13px; font-weight: 650; color: var(--muted); }
.order-preview-banner { margin: 0 0 18px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-left: 6px solid var(--red); border-radius: 10px; background: var(--red-soft); color: var(--black); font-size: 14.5px; font-weight: 650; line-height: 1.45; }
.order-preview-banner strong { font-weight: 800; }
.order-yesno { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.order-yesno label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-weight: 650; font-size: 16px; cursor: pointer;
  flex: 1 1 220px; min-width: 0; margin-bottom: 0; box-sizing: border-box;
  white-space: nowrap;
}
.order-yesno label:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.order-yesno label:has(input:focus-visible) { outline: 3px solid var(--black); outline-offset: 2px; }
.order-yesno input[type="radio"] {
  accent-color: var(--red);
  width: auto; height: auto; min-width: 0; min-height: 0;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; flex: 0 0 auto; font: inherit;
}
.order-yesno input[type="radio"]:focus { outline: none; box-shadow: none; border: 0; }
@media (max-width: 640px) {
  .order-yesno label { flex: 1 1 100%; }
}
.order-team-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.order-team-note.is-on { color: var(--black); font-weight: 650; padding: 10px 12px; border-left: 4px solid var(--red); background: var(--red-soft); border-radius: 6px; }
.order-lang-quote { margin-top: 12px; }
.order-form.is-lang-quote .order-bookable .order-field:not(#o-language-wrap),
.order-form.is-lang-quote .order-bookable .order-card + .order-card { display: none; }
.order-equip-note { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--black); padding: 10px 12px; border-left: 4px solid var(--line-strong); background: #F4F4F4; border-radius: 6px; }
.order-client-box { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 0 0 20px; padding: 16px 20px; background: #fff; border: 1.5px solid var(--red); border-left-width: 6px; border-radius: 12px; }
.order-client-box p { margin: 0; font-size: 16px; color: var(--ink); flex: 1 1 320px; }
.order-client-box strong { color: var(--black); }
.order-account legend { font-weight: 750; }
.order-account .order-yesno { margin-top: 10px; }
.order-acct-yes { margin-top: 14px; }
.order-form.is-account .order-main > .order-card:not(#o-account-card),
.order-form.is-account .order-bookable,
.order-form.is-acct-unanswered .order-main > .order-card:not(#o-account-card),
.order-form.is-acct-unanswered .order-bookable { display: none; }
.order-form.is-account, .order-form.is-acct-unanswered { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.order-form.is-acct-unanswered .order-side { display: none; }
.order-client-link { display: none; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 640px) {
  .order-client-btn { display: none; }
  .order-client-link { display: inline; }
}

#o-court-note { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--red-soft, #f8eaea); color: var(--black); }
#o-court-note p { margin: 0; }
