/* Online booking widget (booking.js): the #quote card on the home page and the /quote page.
   Mobile-first. The widget sits on the dark green .quote card: cream text, yellow accents. */
.booking{container-type:inline-size;font-size:16px;line-height:1.55;color:#f2efdf;overflow-wrap:anywhere}
.booking [hidden]{display:none!important}
.booking .bk-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.booking :focus-visible{outline:3px solid #ffe044;outline-offset:3px}
.booking .bk-fallback{margin:0;font-size:16px;line-height:1.65;color:#cfd9c8}
.booking .bk-fallback a{color:#ffe044;font-weight:700}

/* Steps and headings */
.booking .bk-kicker{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#ffe044}
.booking h3{margin:0 0 8px;font:800 22px/1.3 Manrope,'DM Sans',sans-serif;letter-spacing:-.4px;color:#f2efdf}
.booking h3:focus:not(:focus-visible){outline:none}
.booking .bk-hint{margin:0 0 14px;font-size:15px;line-height:1.6;color:#cfd9c8}
.booking .bk-note{margin:14px 0 0;font-size:14px;line-height:1.6;color:#cfd9c8}
.booking .bk-error{margin:6px 0 0;font-size:14px;font-weight:700;line-height:1.5;color:#ffd0a8}
.booking .bk-error:empty{display:none}
.booking .bk-link{display:inline-flex;align-items:center;min-height:44px;padding:4px 0;margin:0;border:0;background:none;color:#ffe044;font:700 15px/1.4 'DM Sans',sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer;text-align:left}
.booking .bk-link:hover{color:#fff3b5}
.booking .bk-skip{margin:14px 0 0}

/* Step 1: open windows grouped by day */
.booking fieldset{min-width:0;margin:0;padding:0;border:0}
.booking .bk-days{display:grid;gap:18px}
.booking .bk-day-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 8px;font:700 16px/1.4 'DM Sans',sans-serif;color:#f2efdf}
.booking .bk-tag{padding:2px 8px;border-radius:999px;background:#ffe044;color:#04392b;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase}
.booking .bk-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px}
.booking .bk-slot,.booking .bk-card{position:relative;display:block;margin:0;font-size:inherit;font-weight:inherit}
.booking .bk-slot input,.booking .bk-card input{position:absolute;top:50%;left:14px;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0}
.booking .bk-slot span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;border:2px solid transparent;border-radius:7px;background:#f8f6ed;color:#04392b;font:700 16px/1.2 'DM Sans',sans-serif;text-align:center;cursor:pointer;transition:background-color .15s,border-color .15s}
.booking .bk-slot:hover span{background:#fff3b5;border-color:#ffe044}
.booking .bk-slot input:checked+span{background:#ffe044;border-color:#04392b;box-shadow:inset 0 0 0 1px #04392b}
.booking .bk-slot input:focus-visible+span,.booking .bk-card input:focus-visible+span{outline:3px solid #ffe044;outline-offset:3px}
.booking .bk-windows:disabled .bk-slot span{opacity:.6;cursor:progress}
.booking .bk-more{display:block;width:100%;min-height:48px;margin:16px 0 0;padding:10px 14px;border:1px solid #b0bb83;border-radius:6px;background:#234c37;color:#f2efdf;font:700 15px 'DM Sans',sans-serif;cursor:pointer}
.booking .bk-more:hover{background:#315e40;border-color:#ffe044;color:#ffe044}
.booking form .bk-continue{margin-top:16px}
.booking .bk-windows-form>.bk-error{margin:0 0 14px} /* why a pick was dropped, above the list */

/* Step 2: banner, radio cards and fields */
.booking .bk-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;margin:0 0 18px;padding:10px 14px;border:1px solid #ffe04488;border-radius:8px;background:#0d3125}
.booking .bk-banner p{margin:0;font-size:14px;line-height:1.45;color:#cfd9c8}
.booking .bk-banner b{display:block;font-size:17px;color:#ffe044}
.booking .bk-banner--none p{font-size:15px;color:#f2efdf}
.booking .bk-banner--none b{margin:0 0 4px;font-size:16px}
.booking .bk-group{margin:0 0 22px}
.booking legend{padding:0;margin:0 0 10px;font:700 16px/1.4 'DM Sans',sans-serif;color:#f2efdf}
.booking .bk-group .bk-hint{margin:-4px 0 10px}
.booking .bk-required{margin-left:4px;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#ffe044}
.booking .bk-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.booking .bk-cards--short{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
.booking .bk-cards--three{grid-template-columns:1fr}
.booking .bk-cards--three .bk-card>span{gap:6px;padding-right:6px;overflow-wrap:normal}
.booking .bk-card>span{display:flex;align-items:center;gap:10px;height:100%;min-height:50px;padding:11px 12px;border:1px solid #5f7d5a;border-radius:8px;background:#174230;color:#f2efdf;font:600 15px/1.35 'DM Sans',sans-serif;cursor:pointer;transition:background-color .15s,border-color .15s}
.booking .bk-card>span::before{content:'';flex:none;width:18px;height:18px;border:2px solid #b0bb83;border-radius:50%;box-shadow:inset 0 0 0 3px #174230}
.booking .bk-card .bk-card-text{display:block;min-width:0;overflow-wrap:normal}
.booking .bk-card:hover>span{border-color:#b0bb83;background:#1d4a35}
.booking .bk-card input:checked+span{border-color:#ffe044;background:#23513a;box-shadow:inset 0 0 0 1px #ffe044}
.booking .bk-card input:checked+span::before{border-color:#ffe044;background:#ffe044;box-shadow:inset 0 0 0 3px #23513a}
.booking .bk-group--invalid .bk-card>span{border-color:#ffb38a}
.booking .bk-field{margin:0 0 14px}
.booking .bk-field label,.booking .bk-draft label{margin:0 0 6px;font-size:15px;font-weight:700;line-height:1.4;color:#f2efdf}
.booking .bk-field label span{font-weight:400;color:#cfd9c8}
.booking input:not([type=radio]):not([type=checkbox]):not([type=file]),.booking textarea{min-height:48px;padding:11px 12px;border-radius:6px;font-size:16px;line-height:1.4}
.booking input:focus,.booking textarea:focus{outline:3px solid #ffe044;outline-offset:2px}
.booking [aria-invalid=true]{border-color:#ffb38a;box-shadow:0 0 0 2px #ffb38a}
.booking input[type=file]{min-height:48px;padding:8px;border-radius:6px;font-size:15px;cursor:pointer}
.booking input[type=file]::file-selector-button{margin-right:12px;padding:8px 14px;border:0;border-radius:5px;background:#04392b;color:#ffe044;font:700 15px 'DM Sans',sans-serif;cursor:pointer}
.booking .bk-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 0}
.booking .bk-thumbs:empty{margin:0}
.booking .bk-thumb{position:relative;width:84px;height:84px;overflow:hidden;border:1px solid #526c47;border-radius:8px;background:#0d3125}
.booking .bk-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.booking .bk-thumb-name{display:block;padding:8px 6px;font-size:11px;line-height:1.3;color:#cfd9c8}
.booking .bk-thumb-remove{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ffe04488;border-radius:50%;background:#04392bee;color:#ffe044;font:700 20px/1 'DM Sans',sans-serif;cursor:pointer}
.booking .bk-thumb-remove:hover{background:#175844}
.booking .bk-photo-status{margin:8px 0 0}
.booking .bk-photo-status:empty{margin:0}
.booking .bk-consent{display:flex;align-items:flex-start;gap:12px;margin:0 0 6px}
.booking .bk-consent input{display:block;flex:none;width:22px;height:22px;margin:2px 0 0;padding:0;accent-color:#ffe044;cursor:pointer}
.booking .bk-consent label{margin:0;font-size:15px;font-weight:400;line-height:1.55;color:#e0e8d6;cursor:pointer}
.booking .bk-submit[aria-disabled=true]{opacity:.7;cursor:wait}
.booking .bk-status{margin:14px 0 0;padding:14px 16px;border:1px solid #ffe04488;border-radius:6px;background:#243f2d;color:#f2efdf;font-size:15px;line-height:1.65}
.booking .bk-status:empty{margin:0;padding:0;border:0}
.booking .bk-status a{color:#ffe044;font-weight:700;white-space:nowrap}

/* "Prefer to text or email instead?" */
.booking details.bk-alt{margin:18px 0 0;padding:0;border:0;border-top:1px solid #54735c}
.booking .bk-alt summary{padding:14px 0 6px;font-size:15px;font-weight:700;color:#cfd9c8;cursor:pointer}
.booking .bk-alt summary:hover{color:#ffe044}
.booking .bk-alt-body{padding:6px 0 0}
.booking .bk-alt-body .bk-hint{margin:12px 0 0;font-size:14px}
.booking .quote-alternatives{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0}
.booking .bk-draft{margin-top:16px}
.booking .bk-draft textarea{font-size:15px;line-height:1.6}
.booking .bk-draft .quote-alternative{width:100%;margin-top:10px}

/* Step 3: confirmation */
.booking .bk-done{padding:8px 0;text-align:center}
.booking .bk-done-mark{display:inline-grid;place-items:center;width:58px;height:58px;margin-bottom:12px;border-radius:50%;background:#ffe044;color:#04392b;font-size:30px;font-weight:800}
.booking .bk-done h3{font-size:28px}
.booking .bk-done-text{margin:0 0 10px;font-size:17px;line-height:1.7;color:#e0e8d6}
.booking .bk-ref{margin:0 0 14px;font-size:16px;font-weight:700;letter-spacing:1px;color:#ffe044}
.booking .bk-ref:empty{display:none}
.booking .bk-done-note{margin:0 0 14px;padding:12px 14px;border:1px solid #ffe04488;border-radius:8px;background:#243f2d;font-size:16px;line-height:1.6;color:#f2efdf}
.booking .bk-done-note:empty{display:none}
.booking .bk-done a{color:#ffe044;font-weight:700}

/* Wider containers: Text / Call / Email in one row (whole words fit from 270px);
   two-column fields; on the /quote page, days side by side */
@container (min-width:270px){
  .booking .bk-cards--three{grid-template-columns:repeat(3,1fr)}
}
@container (min-width:520px){
  .booking .bk-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
}
@container (min-width:640px){
  .booking--wide .bk-days{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:12px}
  .booking--wide .bk-day{padding:14px;border:1px solid #526c47;border-radius:10px;background:#174230}
  .booking--wide .bk-slots{grid-template-columns:1fr}
  .booking--wide .bk-cards{grid-template-columns:repeat(4,1fr)}
  .booking--wide .bk-cards--three{grid-template-columns:repeat(3,1fr)}
}

/* Dump trailer: the three choices stacked on phones and in one row from a
   520px widget. The five fill levels get cards at least 160px wide (two lines
   each), and one row once the widget is 820px */
.booking .bk-cards--trailer{grid-template-columns:1fr}
.booking .bk-group .bk-hint b{color:#f2efdf}
.booking .bk-cards--five{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
@container (min-width:520px){
  .booking .bk-cards--trailer{grid-template-columns:repeat(3,1fr)}
}
@container (min-width:820px){
  .booking--wide .bk-cards--five{grid-template-columns:repeat(5,1fr)}
}

/* The line under the widget in both cards */
.quote .booking-foot{margin-top:20px;padding-top:16px;font-size:15px;line-height:1.7}
.quote .booking-foot a{color:#ffe044;font-weight:700}

/* The /quote page around the widget */
.booking-page{max-width:1120px;margin:0 auto;padding:36px 16px 56px}
.booking-page-intro{max-width:760px;margin:0 0 24px}
.booking-page-intro .eyebrow{margin-bottom:14px;font-size:12px;letter-spacing:1.6px;color:#ffe044}
.booking-page-intro h1{margin:0 0 14px;font-size:clamp(36px,8vw,58px);line-height:1.08;letter-spacing:-2px}
.booking-page-intro .lead{max-width:680px;margin:0;font-size:18px;line-height:1.7;color:#e0e8d6}
.booking-page-points{display:flex;flex-wrap:wrap;gap:8px 22px;margin:16px 0 0;font-size:15px;font-weight:700;color:#f2efdf}
.booking-page .quote{padding:22px 18px}
@media(min-width:750px){.booking-page{padding:48px max(5vw,24px) 70px}.booking-page .quote{padding:32px 36px}}
@media(prefers-reduced-motion:reduce){.booking .bk-slot span,.booking .bk-card>span{transition:none}}

/* The phone-only bottom bar hides while the booking card is on screen (app.js). */
.mobile-quote.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility 0s .2s}
.mobile-quote{transition:opacity .2s,transform .2s}
@media(prefers-reduced-motion:reduce){.mobile-quote,.mobile-quote.is-hidden{transition:none;transform:none}}

/* Home page: the short "Start my quote" card in the hero. The full widget opens
   in the #booking-dialog pop-up (booking.js), styled like the /quote page card:
   a centered window on wider screens, the whole screen on phones. */
.quote-start h2{margin-bottom:10px}
.quote-start-points{display:grid;gap:9px;margin:0 0 18px;padding:0;list-style:none;font-size:15px;font-weight:700;line-height:1.4;color:#f2efdf}
/* style.css styles every li as a numbered step ("How it works"); undo that here */
.quote-start-points li{position:static;display:flex;align-items:center;gap:10px;margin:0;padding:0;counter-increment:none}
.quote-start-points li::before{content:'✓';position:static;display:grid;place-items:center;flex:none;width:22px;height:22px;border:0;border-radius:50%;background:#ffe044;color:#04392b;font-size:13px;font-weight:800}
.quote>p.quote-start-next{margin:0 0 16px;padding:10px 14px;border:1px solid #526c47;border-radius:8px;background:#174230;font-size:15px;line-height:1.5;color:#cfd9c8}
.quote-start-next b{color:#ffe044}
.quote-start-next[hidden]{display:none}
.quote .quote-start-button{display:flex;width:100%;justify-content:space-between;align-items:center;margin:0;min-height:56px;font-size:17px}
html.booking-dialog-open{overflow:hidden}
.booking-dialog{width:min(900px,calc(100vw - 32px));max-width:none;height:auto;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d2b65388;border-radius:16px;background:#123c2e;color:#f2efdf;box-shadow:0 30px 90px #000c;overflow:hidden}
.booking-dialog[open]{display:flex;flex-direction:column}
.booking-dialog::backdrop{background:rgba(0,22,16,.76)}
.booking-dialog-head{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #2f5a45}
.booking-dialog-head .eyebrow{margin:0 0 6px;font-size:11px;letter-spacing:1.6px;color:#ffe044}
.booking-dialog-head h2{margin:0;font-size:26px;line-height:1.2;letter-spacing:-.8px;color:#f2efdf}
.booking-dialog-close{display:grid;flex:none;place-items:center;width:44px;height:44px;margin:-4px -6px 0 0;padding:0;border:1px solid #526c47;border-radius:50%;background:#174230;color:#f2efdf;font:400 26px/1 'DM Sans',sans-serif;cursor:pointer}
.booking-dialog-close:hover{border-color:#ffe044;color:#ffe044}
.booking-dialog-close:focus-visible{outline:3px solid #ffe044;outline-offset:3px}
.booking-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px 26px}
@media(max-width:640px){
  .booking-dialog{width:100%;max-width:100%;height:100%;max-height:100%;border:0;border-radius:0}
  .booking-dialog-head{padding:14px 16px 12px}
  .booking-dialog-head h2{font-size:22px}
  .booking-dialog-body{padding:18px 16px 28px}
}
