/* The guided quote and its homepage entry cards. */
.quote-page {
  --bg: #F7F3EC; --bg-2: #EDE8DF; --bg-3: #E4DDD1;
  --ink: #1C1710; --ink-2: #3D3529; --muted: #7A6E5F;
  --amber: #9E7A2E; --amber-b: rgba(158,122,46,.22);
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', sans-serif;
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans);
}
.quote-page *, .quote-entry * { box-sizing: border-box; }
.quote-page [hidden] { display: none !important; }
.quote-page a { color: inherit; text-underline-offset: 4px; }
.quote-page button, .quote-page input, .quote-page select, .quote-page textarea { font: inherit; color: inherit; }
.quote-page button, .quote-page label:has(input[type=radio]), .quote-page summary { cursor: pointer; }
.quote-page :focus-visible, .quote-entry :focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.quote-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.quote-skip { position: absolute; top: -100px; left: 24px; padding: 16px; background: var(--bg); z-index: 5; }
.quote-skip:focus { top: 8px; }
.quote-header { max-width: 1200px; margin: auto; padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.quote-wordmark { text-decoration: none; font: 400 20px 'Cinzel', serif; letter-spacing: .12em; }
.quote-wordmark em { font: italic 400 26px var(--serif); }
.quote-return { font-size: 13px; }
.quote-main { max-width: 656px; margin: 32px auto 96px; padding: 0 24px; min-height: 60vh; }
.quote-progress-meta { font: italic 300 20px/1.2 var(--serif); color: var(--amber); }
.quote-progress-meta p { margin: 0 0 12px; }
#quoteProgress { display: block; appearance: none; width: 100%; height: 1px; border: 0; background: var(--bg-3); color: var(--amber); margin-bottom: 48px; }
#quoteProgress::-webkit-progress-bar { background: var(--bg-3); }
#quoteProgress::-webkit-progress-value { background: var(--amber); }
#quoteProgress::-moz-progress-bar { background: var(--amber); }
.quote-rule { width: 56px; height: 1px; background: var(--amber); margin: 0 0 24px; }
.quote-step { padding: 0; border: 0; margin: 0; min-width: 0; }
.quote-step legend, .quote-success h1 { padding: 0; font: 400 clamp(34px, 4vw, 44px)/1.1 var(--serif); letter-spacing: 0; width: 100%; margin-bottom: 28px; }
.quote-step legend:focus { outline: none; }
.quote-help { font-size: 16px; font-weight: 300; color: var(--ink-2); line-height: 1.65; margin: 0 0 32px; }
.quote-help[role=status], .quote-followup .quote-help, .quote-final-estimate .quote-help, .quote-step > .quote-help:last-child { font-size: 14px; font-weight: 400; margin-bottom: 24px; }
/* Choices are outlined buttons: name and price. The radio stays in the DOM for keyboard and screen readers. */
.quote-choice { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 18px 28px; margin: 0 0 12px; background: var(--bg); border: 1px solid rgba(158,122,46,.45); border-radius: 9999px; transition: box-shadow 120ms ease-out, background 120ms ease-out; }
/* Hover and selected light a gold line just inside the edge, the same as the rate cards. The gap matches the fill so the line reads as inset. */
.quote-choice:hover { box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 6px var(--amber); }
.quote-choice:has(input:checked) { background: #EEE7D9; box-shadow: inset 0 0 0 5px #EEE7D9, inset 0 0 0 6px var(--amber); }
.quote-choice:active { background: rgba(158,122,46,.16); }
.quote-choice:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 9999px; }
.quote-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.quote-check input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.quote-choice-title { display: block; font: 400 22px/1.25 var(--serif); }
.quote-choice-detail { display: block; font-size: 14px; margin-top: 4px; color: var(--ink-2); }
.quote-choice-price { margin-left: auto; white-space: nowrap; font: 400 20px/1.2 var(--serif); color: var(--ink-2); }
.quote-label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; }
.quote-page input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=hidden]), .quote-page select, .quote-page textarea { display: block; width: 100%; min-height: 48px; background: var(--bg); border: 1px solid #A89B88; border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; }
.quote-page input:focus, .quote-page select:focus, .quote-page textarea:focus { border-color: var(--amber); }
.quote-page textarea { resize: vertical; }
.quote-date-modes, .quote-event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.quote-date-modes .quote-choice, .quote-event-grid .quote-choice { margin: 0; justify-content: center; text-align: center; }
.quote-badge { font: 500 11px/1.6 var(--sans); color: var(--ink-2); letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--amber-b); border-radius: 10px; }
.quote-followup { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--amber-b); }
.quote-check { display: flex; gap: 16px; align-items: baseline; }
.quote-check small { display: block; margin: 4px 0 16px; font-size: 13px; color: var(--ink-2); }
/* Guest slider: the pill carries the number and rides over a hidden native thumb. Owner-approved exception to the no-pill rule. */
.quote-guests-wrap { position: relative; padding: 8px 0; margin-top: 24px; -webkit-tap-highlight-color: transparent; user-select: none; }
.quote-slider { display: block; width: 100%; height: 44px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: none; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.quote-slider::-webkit-slider-runnable-track { height: 14px; background: var(--bg-3); border-radius: 100px; }
.quote-slider::-moz-range-track { height: 14px; background: var(--bg-3); border-radius: 100px; }
/* The native handle is invisible; the pill below carries the number. iOS draws a shadow on the handle unless told not to. */
.quote-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 64px; height: 44px; margin-top: -15px; background: transparent; border: 0; box-shadow: none; outline: none; cursor: grab; }
.quote-slider::-moz-range-thumb { width: 64px; height: 44px; background: transparent; border: 0; box-shadow: none; cursor: grab; }
.quote-page .quote-slider:focus-visible { outline: none; }
.quote-guests-thumb { position: absolute; top: 50%; left: 32px; transform: translate(-50%, -50%); min-width: 64px; padding: 10px 18px; background: var(--bg); border: 1px solid rgba(28,23,16,.14); border-radius: 100px; box-shadow: 0 1px 4px rgba(28,23,16,.08), inset 0 1px 0 rgba(255,255,255,.9); font: 600 16px/1.5 var(--sans); text-align: center; white-space: nowrap; pointer-events: none; }
.quote-slider:focus-visible + .quote-guests-thumb { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(158,122,46,.16), 0 1px 4px rgba(28,23,16,.08); }
.quote-range-labels { display: flex; justify-content: space-between; font-size: 13px; margin: 4px 0 48px; }
.quote-notice, .quote-error { border-left: 2px solid var(--amber); padding: 12px 16px; background: var(--bg-2); font-size: 14px; }
.quote-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; }
.quote-primary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 16px 32px; background: var(--ink); color: var(--bg) !important; border: 1px solid var(--ink); border-radius: 9999px; text-decoration: none; font: 500 13px/1.4 var(--sans); letter-spacing: .12em; }
.quote-primary:hover { background: var(--ink-2); }
.quote-primary:disabled { opacity: .65; cursor: wait; }
.quote-back { min-height: 48px; padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; border: 0; background: transparent; font-size: 14px !important; }
/* The estimate stays in view at the foot of the column while the guest answers. */
.quote-estimate-bar { position: sticky; bottom: 0; margin-top: 64px; padding: 16px 0; background: var(--bg); border-top: 1px solid var(--amber); }
.quote-estimate-bar:has(#runningEstimate[hidden]) { display: none; }
.quote-running { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.quote-running output { font: 400 34px/1.1 var(--serif); letter-spacing: 0; }
.quote-footer { text-align: center; padding: 32px 24px 48px; font-size: 11px; letter-spacing: .32em; color: var(--ink-2); }
.quote-final-estimate { padding: 0; margin: 0 0 8px; }
.quote-final-total { font: 300 clamp(44px, 8vw, 58px)/1.1 var(--serif); margin: 4px 0 8px; }
#estimateBreakdown { margin: 0 0 16px; }
#estimateBreakdown div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--amber-b); padding: 12px 0; font-size: 14px; }
#estimateBreakdown dd { margin: 0; white-space: nowrap; }
.quote-final-estimate .quote-help:last-child { margin-bottom: 0; }
.quote-review { margin: 0 0 32px; border-block: 1px solid var(--amber-b); }
.quote-review .quote-help { font-size: 14px; font-weight: 400; margin: 16px 0; }
.quote-review summary { padding: 16px 0; }
.quote-answer { padding: 12px 0; display: flex; align-items: baseline; gap: 16px; border-top: 1px solid var(--amber-b); }
.quote-answer p { flex: 1; margin: 0; font-size: 14px; }
.quote-answer button { background: none; border: none; text-decoration: underline; min-height: 44px; padding: 8px; }
.quote-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* Contact step: compact fields, two to a line at every width. Text stays 16px so phones do not zoom on focus. */
.quote-step[data-step=contact] .quote-label { font-size: 11px; margin-bottom: 6px; }
.quote-page .quote-step[data-step=contact] input, .quote-page .quote-step[data-step=contact] textarea { min-height: 40px !important; padding: 7px 12px !important; margin-bottom: 14px !important; border-radius: 10px !important; line-height: 1.4; }
.quote-page .quote-step[data-step=contact] textarea { min-height: 64px !important; }
.quote-optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.quote-success { padding-top: 48px; }
.quote-success .quote-primary { margin-top: 24px; }
.quote-entry { margin: 48px 0 0; }
/* Starting-rate cards. Each card opens the quote on that day; Saturday is the featured card. */
.quote-entry-head { font: 400 26px/1.25 var(--serif); margin: 0 0 20px; }
.quote-entry-head em { font-style: italic; color: var(--amber); }
.quote-rate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; scroll-margin-top: 6.5rem; }
.quote-rate-card { display: flex; flex-direction: column; padding: 32px 28px; background: var(--bg); border: 1px solid var(--bg-3); border-radius: 20px; color: var(--ink); text-decoration: none; transition: box-shadow 120ms ease-out; }
/* Hover lights a gold line just inside the card edge; the outer border stays put. */
.quote-rate-card:hover { box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 6px var(--amber); }
.quote-rate-day { font: 500 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.quote-rate-from { font: 400 13px/1.6 var(--sans); color: var(--muted); margin-bottom: 2px; }
.quote-rate-price { font: 300 clamp(48px, 4.5vw, 72px)/1 var(--serif); }
.quote-rate-price sup { font-size: 21px; vertical-align: top; position: relative; top: 8px; margin-right: 2px; color: #A89B88; }
.quote-rate-sub { font: 400 13px/1.6 var(--sans); color: var(--muted); margin: 8px 0 32px; }
.quote-rate-go { margin-top: auto; font: 500 13px/1.6 var(--sans); letter-spacing: .12em; }
.quote-rate-card.is-peak { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.quote-rate-card.is-peak:hover { box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px var(--amber); }
.quote-rate-card.is-peak .quote-rate-price sup, .quote-rate-card.is-peak .quote-rate-sub, .quote-rate-card.is-peak .quote-rate-from { color: rgba(247,243,236,.62); }
.quote-rate-card.is-peak .quote-rate-day { color: #C9A455; }
/* Modal shell, used on pages that open the quote over themselves. */
html.quote-modal-open { overflow: hidden; }
.quote-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.quote-modal[hidden] { display: none; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(28,23,16,.62); opacity: 0; transition: opacity 240ms ease-out; }
.quote-modal-panel { position: relative; width: min(760px, 100%); height: min(900px, 100%); background: #F7F3EC; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 80px rgba(28,23,16,.45); opacity: 0; transform: translateY(16px); transition: opacity 240ms ease-out, transform 240ms ease-out; }
.quote-modal.is-open .quote-modal-backdrop, .quote-modal.is-open .quote-modal-panel { opacity: 1; transform: none; }
.quote-modal-frame { display: block; width: 100%; height: 100%; border: 0; background: #F7F3EC; }
.quote-modal-close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(158,122,46,.45); border-radius: 50%; background: #F7F3EC; color: #1C1710; cursor: pointer; transition: border-color 120ms ease-out, background 120ms ease-out; }
.quote-modal-close:hover { border-color: #9E7A2E; background: #EDE8DF; }
.quote-modal-close:focus-visible { outline: 2px solid #9E7A2E; outline-offset: 3px; }
/* The quote page when it is shown inside the modal. */
.quote-embed .quote-header, .quote-embed .quote-footer, .quote-embed .quote-skip { display: none; }
.quote-embed .quote-main { margin: 0 auto; padding: 28px 48px 0; min-height: 100vh; display: flex; flex-direction: column; }
.quote-embed .quote-form { flex: 1; display: flex; flex-direction: column; }
.quote-embed .quote-estimate-bar { margin-top: auto; padding-bottom: 24px; }
.quote-embed .quote-actions { margin-bottom: 48px; }
.quote-embed .quote-form:has(#runningEstimate[hidden]) .quote-actions { margin: 16px 0 24px; }
.quote-embed .quote-progress-meta { padding-right: 56px; min-height: 36px; display: flex; align-items: center; }
.quote-embed .quote-progress-meta p { margin: 0; }
.quote-embed .quote-step legend { font-size: 34px; margin-bottom: 28px; }
.quote-page #dateStatus:empty, .quote-page #rehearsalStatus:empty { display: none; }
.quote-step legend + .quote-help { margin-top: -12px; }
.quote-embed #quoteProgress { margin-top: 12px; }
@media (max-width: 640px) {
  .quote-modal { padding: 8px; }
  .quote-modal-panel { border-radius: 24px; }
  .quote-modal-close { top: 12px; right: 12px; }
  .quote-embed .quote-main { padding: 20px 20px 0; }

  .quote-header { padding: 24px; gap: 16px; }
  .quote-wordmark { font-size: 13px; }
  .quote-wordmark em { font-size: 20px; }
  .quote-return { font-size: 12px; }
  .quote-main { margin-top: 32px; margin-bottom: 64px; }
  .quote-choice { padding: 18px 22px; gap: 8px; }
  .quote-event-grid { grid-template-columns: 1fr; }
  .quote-choice-title { font-size: 20px; }
  .quote-embed .quote-step legend { font-size: 30px; }
  .quote-choice-price { font-size: 16px; }
  .quote-running output { font-size: 26px; }
  .quote-contact-grid { gap: 0 12px; }
  .quote-actions .quote-primary { flex: 1; }
  .quote-footer { font-size: 10px; }
}
@media (max-width: 820px) {
  .quote-rate-cards { grid-template-columns: 1fr; gap: 12px; }
  .quote-rate-card { padding: 24px; }
  .quote-rate-price { font-size: 44px; }
  .quote-rate-sub { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .quote-page *, .quote-entry *, .quote-modal * { transition: none !important; scroll-behavior: auto !important; } }
