:root {
  --booking-green: #17372c;
  --booking-green-deep: #0d241c;
  --booking-mint: #dfe9e2;
  --booking-surface: #fbfaf6;
  --booking-line: rgba(23, 55, 44, .14);
  --booking-field-line: rgba(23, 55, 44, .5);   /* form fields: ≥3:1 boundary */
}

body.booking-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 94% 4%, rgba(192, 162, 110, .12), transparent 29rem),
    var(--booking-surface);
  color: var(--green-900);
}

.booking-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100% - 1180px) / 2));   /* same grid as .booking-shell */
  border-bottom: 1px solid var(--booking-line);
  background: rgba(251, 250, 246, .88);
  backdrop-filter: blur(12px);
}
.booking-brand { display: inline-flex; align-items: center; gap: 12px; }
.booking-brand img { width: 42px; height: 42px; object-fit: contain; }
.booking-brand > span { display: flex; flex-direction: column; line-height: 1.15; }
.booking-brand strong { font-family: var(--font-serif); font-stretch: var(--serif-stretch); font-weight: 500; color: var(--green-900); font-size: 1rem; letter-spacing: .11em; }
.booking-brand small { margin-top: 3px; color: var(--gold-text); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.booking-header__actions { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.booking-help { display: flex; gap: 8px; align-items: baseline; color: var(--ink-600); font-size: .84rem; }
.booking-help strong { color: var(--green-900); font-variant-numeric: lining-nums tabular-nums; }
.booking-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--booking-line); border-radius: 50%; font-size: 1.7rem; line-height: 1; color: var(--green-900); transition: border-color .2s, background .2s; }
.booking-close:hover { border-color: var(--gold-500); background: white; }

.booking-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(44px, 7vw, 82px) 0 90px; }
.booking-intro { max-width: 720px; }
.booking-kicker { color: var(--gold-text); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.booking-intro h1 { margin-top: 13px; font-family: var(--font-display); font-weight: 450; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.1; letter-spacing: -.018em; }
.booking-intro > p:last-child { margin-top: 17px; max-width: 60ch; color: var(--ink-600); font-size: 1.03rem; }

.prototype-note { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 28px; padding: 13px 17px; max-width: 820px; background: #f1ecdf; border: 1px solid rgba(151, 117, 61, .18); border-radius: 12px; }
.prototype-note > span { color: var(--gold-text); font-weight: 750; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.prototype-note p { color: #5e5548; font-size: .82rem; line-height: 1.45; }

.booking-progress { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto; align-items: center; margin: clamp(36px, 5vw, 58px) 0 30px; }
.booking-progress__line { height: 1px; background: var(--booking-line); margin: 0 18px; }
.booking-progress__item { min-width: 0; display: inline-flex; align-items: center; gap: 12px; text-align: left; color: var(--ink-600); }
.booking-progress__item > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--booking-line); font-size: .78rem; font-weight: 700; }
.booking-progress__item > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.booking-progress__item b { font-size: .82rem; color: var(--ink-600); }
.booking-progress__item small { margin-top: 2px; color: #8a8f8b; font-size: .75rem; }
.booking-progress__item.is-current > span:first-child,
.booking-progress__item.is-complete > span:first-child { border-color: var(--booking-green); background: var(--booking-green); color: white; }
.booking-progress__item.is-current b { color: var(--green-900); }
.booking-progress__item.is-complete b { color: var(--green-900); }

.booking-workspace { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 22px; }
.booking-stage { min-height: 640px; background: white; border: 1px solid var(--booking-line); border-radius: 4px 4px 26px 4px; box-shadow: 0 20px 54px rgba(30, 52, 43, .07); overflow: hidden; }
.booking-step { padding: clamp(28px, 5vw, 56px); }
.booking-step[hidden] { display: none; }
.booking-step__head { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: baseline; margin-bottom: 32px; }
.booking-step__head > span { color: var(--gold-text); font-size: .75rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.booking-step__head h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 3.4vw, 2.55rem); font-weight: 450; line-height: 1.14; }
.booking-step__head p { margin-top: 7px; color: var(--ink-600); font-size: .9rem; }

.service-options { display: grid; gap: 10px; }
.service-card { width: 100%; display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--booking-line); border-radius: 13px; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.service-card:hover { transform: translateY(-1px); border-color: rgba(23, 55, 44, .35); }
.service-card.is-selected { border-color: var(--booking-green); background: rgba(223, 233, 226, .38); box-shadow: inset 3px 0 var(--gold-500); }
.service-card__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--booking-mint); color: var(--booking-green); font-size: .75rem; font-weight: 750; }
.service-card > span:nth-child(2) { display: flex; flex-direction: column; }
.service-card strong { color: var(--green-900); font-size: .92rem; }
.service-card small { margin-top: 4px; color: var(--ink-600); font-size: .78rem; }
.service-card > b { color: var(--gold-text); font-size: .82rem; }

.booking-field { margin-top: 24px; }
.booking-field label, .mode-options legend { display: block; margin-bottom: 9px; color: var(--green-900); font-size: .78rem; font-weight: 700; }
.booking-field label span { color: var(--ink-600); font-weight: 400; }
.booking-field input, .booking-field select, .booking-field textarea { width: 100%; border: 1px solid var(--booking-field-line); border-radius: 10px; background: #fff; padding: 14px 15px; color: var(--green-900); outline: none; transition: border-color .2s, box-shadow .2s; }
.booking-field input:hover, .booking-field select:hover, .booking-field textarea:hover { border-color: var(--booking-green); }
/* Native select arrow replaced by a thin chevron in the site's gold. */
.booking-field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23836630' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px 18px; }
.booking-field input:focus, .booking-field select:focus, .booking-field textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(192, 162, 110, .12); }
.booking-field small { display: block; margin-top: 7px; color: var(--ink-600); font-size: .75rem; }
.booking-field.is-invalid input, .booking-field.is-invalid select { border-color: #a13f3f; }

.mode-options { margin-top: 26px; border: 0; padding: 0; }
.mode-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mode-options legend { grid-column: 1 / -1; }
.mode-options label { position: relative; display: grid; grid-template-columns: 34px 1fr; padding: 15px 13px; border: 1px solid var(--booking-line); border-radius: 11px; cursor: pointer; transition: border-color .2s, background .2s; }
.mode-options label:hover { border-color: rgba(23, 55, 44, .35); }
.mode-options label:has(input:checked) { border-color: var(--booking-green); background: rgba(223, 233, 226, .42); box-shadow: inset 0 0 0 1px var(--booking-green); }
.mode-options input { position: absolute; opacity: 0; pointer-events: none; }
.mode-options label > span { grid-row: 1 / 3; align-self: center; color: var(--gold-text); }
.mode-options label > span svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mode-options b { font-size: .82rem; }
.mode-options small { margin-top: 2px; color: var(--ink-600); font-size: .75rem; }

.booking-step__actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--booking-line); }
.booking-next, .booking-back { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border-radius: 999px; font-size: .86rem; font-weight: 700; }
.booking-next { background: var(--booking-green); color: white; }
.booking-next:hover { background: var(--booking-green-deep); }
.booking-back { color: var(--green-900); }
.booking-back:hover { background: var(--booking-mint); }

.date-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.date-option { padding: 14px 8px; border: 1px solid var(--booking-line); border-radius: 12px; text-align: center; }
.date-option span, .date-option small { display: block; }
.date-option span { color: var(--ink-600); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.date-option { transition: border-color .2s, background .2s; }
.date-option:hover { border-color: var(--gold-500); }
.date-option strong { display: block; margin: 5px 0 2px; font-family: var(--font-serif); font-stretch: var(--serif-stretch); font-weight: 500; font-size: 1.45rem; font-variant-numeric: lining-nums; }
.date-option small { color: var(--ink-600); font-size: .75rem; }
.date-option.is-selected { border-color: var(--booking-green); background: var(--booking-green); color: white; }
.date-option.is-selected span, .date-option.is-selected small { color: rgba(255, 255, 255, .72); }
.slot-groups { display: grid; gap: 26px; margin-top: 30px; }
.slot-groups h3 { margin-bottom: 11px; color: var(--ink-600); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.time-slot { min-height: 46px; border: 1px solid var(--booking-line); border-radius: 9px; font-weight: 650; font-size: .83rem; }
.time-slot:hover { border-color: var(--gold-500); }
.time-slot.is-selected { border-color: var(--booking-green); background: var(--booking-mint); color: var(--booking-green); box-shadow: inset 0 0 0 1px var(--booking-green); }
.slot-note { margin-top: 24px; color: var(--ink-600); font-size: .74rem; }
.slot-note span { color: #6bb38b; font-size: .64rem; margin-right: 6px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .booking-field { margin-top: 0; }
.appointment-form .booking-consent { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; margin-top: 24px; color: var(--ink-600); font-size: .76rem; line-height: 1.5; }
.booking-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--booking-green); }
.booking-consent a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.booking-error { min-height: 20px; margin-top: 14px; color: #9b3333; font-size: .78rem; }

.booking-summary { position: sticky; top: 24px; padding: 30px 28px; background: var(--booking-green); color: white; border-radius: 4px 4px 24px 4px; box-shadow: 0 22px 54px rgba(20, 46, 36, .18); }
.booking-summary__eyebrow { color: var(--gold-400); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.booking-summary h2 { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; line-height: 1.15; color: var(--ivory); }
.booking-summary dl { margin-top: 28px; border-top: 1px solid var(--line-green); }
.booking-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-green); font-size: .78rem; }
.booking-summary dt { color: var(--on-green-muted); }
.booking-summary dd { text-align: right; color: var(--ivory); font-weight: 600; }
.booking-summary__lawyer { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.booking-summary__lawyer img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold-400); }
.booking-summary__lawyer > span { display: flex; flex-direction: column; }
.booking-summary__lawyer strong { color: var(--ivory); font-family: var(--font-serif); font-stretch: var(--serif-stretch); font-weight: 500; font-size: 1.05rem; }
.booking-summary__lawyer small { margin-top: 3px; color: var(--on-green-muted); font-size: .75rem; }
.booking-summary__privacy { display: flex; gap: 9px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line-green); color: var(--on-green-muted); font-size: .75rem; line-height: 1.5; }
.booking-summary__privacy > span { color: var(--gold-400); }

.booking-success { width: min(540px, calc(100% - 32px)); padding: 42px; border: 0; border-radius: 4px 4px 28px 4px; color: var(--green-900); box-shadow: 0 30px 90px rgba(7, 24, 17, .28); text-align: center; }
.booking-success::backdrop { background: rgba(5, 22, 16, .66); backdrop-filter: blur(5px); }
.booking-success__close { position: absolute; top: 12px; right: 15px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; }
.booking-success__mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; background: var(--booking-mint); color: var(--booking-green); font-size: 1.6rem; }
.booking-success h2 { margin-top: 10px; font-family: var(--font-display); font-size: 2.1rem; font-weight: 450; line-height: 1.15; }
.booking-success > p:not(.booking-kicker) { margin: 13px auto 0; max-width: 42ch; color: var(--ink-600); }
.booking-success__ref { margin: 24px 0; padding: 14px; background: #f4f2eb; border-radius: 10px; color: var(--ink-600); font-size: .78rem; }
.booking-success__ref strong { margin-left: 8px; color: var(--green-900); letter-spacing: .06em; }

@media (max-width: 860px) {
  .booking-workspace { grid-template-columns: 1fr; }
  .booking-summary { position: static; grid-row: 1; }
  .booking-summary dl { display: grid; grid-template-columns: 1fr 1fr; }
  .booking-summary dl div { display: block; padding-right: 12px; }
  .booking-summary dd { margin-top: 4px; text-align: left; }
}

@media (max-width: 680px) {
  .booking-header { min-height: 72px; padding-inline: 14px; }
  .booking-help { display: none; }
  .booking-shell { width: min(100% - 28px, 1180px); padding-top: 38px; }
  .prototype-note { grid-template-columns: 1fr; gap: 6px; }
  .booking-progress { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .booking-progress__line { display: none; }
  .booking-progress__item { gap: 7px; }
  .booking-progress__item > span:first-child { width: 30px; height: 30px; }
  .booking-progress__item small { display: none; }
  .booking-progress__item b { font-size: .75rem; line-height: 1.25; }
  .booking-step { padding: 28px 20px; }
  .mode-options { grid-template-columns: 1fr; }
  .date-strip { grid-template-columns: repeat(5, minmax(72px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .field-row .booking-field + .booking-field { margin-top: 20px; }
  .booking-next, .booking-back { padding-inline: 16px; gap: 10px; }
}

@media (max-width: 430px) {
  .booking-brand small { display: none; }
  .booking-brand strong { font-size: .9rem; }
  .booking-help { display: none; }
  .booking-step__head { grid-template-columns: 1fr; }
  .booking-step__head > span { padding-top: 0; }
  .service-card { grid-template-columns: 36px 1fr; }
  .service-card > b { grid-column: 2; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .booking-step__actions { align-items: stretch; }
  .booking-step__actions .booking-next { margin-left: auto; }
}

/* Request flow: readable copy, keyboard focus and compact mobile ordering. */
.booking-page [hidden] { display: none !important; }
.booking-request-note { max-width: none; }
.booking-page .prototype-note p, .booking-page .booking-step__head p { font-size: 1rem; }
.booking-page .booking-field label, .booking-page .mode-options legend,
.booking-page .booking-field small, .booking-page .mode-options b,
.booking-page .mode-options small, .booking-page .service-card small,
.booking-page .booking-consent, .booking-page .slot-note,
.booking-page .booking-summary dl div, .booking-page .booking-error,
.booking-page .booking-progress__item b { font-size: .875rem; }
.booking-page .booking-field input, .booking-page .booking-field select,
.booking-page .booking-field textarea { font-size: 1rem; }
.booking-page .booking-next, .booking-page .booking-back { font-size: .9375rem; }
.booking-page .booking-step__actions { flex-wrap: wrap; }
.booking-page .booking-summary__lawyer img { object-fit: contain; border: 0; border-radius: 0; }
.booking-page .service-card { grid-template-columns: 42px 1fr; }
.booking-page button:focus-visible, .booking-page a:focus-visible,
.booking-page input:focus-visible, .booking-page select:focus-visible,
.booking-page textarea:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 4px; }
.mode-options label:has(input:focus-visible) { outline: 3px solid var(--gold-text); outline-offset: 4px; }
.booking-fee { margin: 0 0 28px; padding: 22px; border: 1px solid var(--booking-line); background: var(--booking-mint); border-radius: 12px; line-height: 1.6; }
.booking-fee h3 { font-family: var(--font-serif); font-stretch: var(--serif-stretch); font-size: 1.35rem; font-weight: 500; line-height: 1.3; }
.booking-fee p { margin-top: 8px; font-size: .9375rem; }
.booking-fee dl { margin: 18px 0; }
.booking-fee dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; }
.booking-fee dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking-fee__total { margin-top: 5px; border-top: 1px solid var(--booking-line); font-weight: 700; }
.booking-success { max-height: calc(100dvh - 32px); overflow-y: auto; }
.booking-success .booking-next, .booking-success .booking-back { margin-top: 10px; }
.booking-success #copyStatus { font-size: .875rem; }
.request-fallback { width: 100%; min-height: 180px; margin-top: 15px; font-size: .875rem; }
@media (max-width: 860px) {
  .booking-summary { grid-row: auto; }
  .booking-summary__lawyer { display: none; }
  .booking-stage { min-height: 0; }
}
@media (max-width: 430px) {
  .booking-progress__item:not(.is-current) > span:last-child { display: none; }   /* only the current step keeps its label */
  .booking-page .service-card { grid-template-columns: 30px 1fr; padding: 14px 10px; gap: 10px; }
  .service-card__icon { width: 28px; height: 28px; }
  .booking-success { padding: 38px 22px 26px; }
}

.booking-selection { padding: 16px 0; margin-bottom: 20px; border-block: 1px solid var(--booking-line); font-weight: 600; font-size: .9375rem; line-height: 1.6; }
