/* SAINT Chauffeurs · book-first layout (loaded last) */

/* the engine is always on screen: it no longer works out of sight while the concierge leads */
html.bf-on.ai-on:not(.ai-form) #engine{position:relative!important;left:auto!important;top:auto!important;width:auto!important}
html.bf-on.ai-on #bookForm .hp-list{max-height:none;overflow:visible}
html.bf-on .ai-c .ai-sw{display:none!important}

/* destination choice: a calm row, not a full screen of imagery */
html.bf-on #engine .dcards .dcard{aspect-ratio:auto!important;height:132px}
@media (min-width:761px){html.bf-on #engine .dcards .dcard{height:150px}}
html.bf-on #engine .dcards .dcard .dc-tx b{font-size:20px!important}
@media (min-width:761px){html.bf-on #engine .dcards .dcard .dc-tx b{font-size:22px!important}}

/* ---------- wide desktop: form first, concierge as a compact side panel ---------- */
.bf-bar,.bf-x,.bf-scrim{display:none}
@media (min-width:1360px){
  html.bf-on.ai-on #book>.wrap{max-width:1420px;display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:28px;align-items:start}
  html.bf-on.ai-on #book>.wrap>*{grid-column:1/-1}
  html.bf-on.ai-on #book #engine{grid-column:1;grid-row:2;margin-top:0;min-width:0}
  html.bf-on.ai-on #book #aiC{grid-column:2;grid-row:2;position:sticky;top:84px;margin:0;
    height:min(600px,calc(100vh - 108px))!important;max-height:none!important;border-radius:16px;box-shadow:0 14px 34px rgba(29,30,28,.16)}
  html.bf-on.ai-on #book>.wrap>.trust-l{grid-row:3;margin-top:18px}
}
html.bf-on #aiC .ai-h{padding:12px 14px}
html.bf-on #aiC .ai-av{width:32px;height:32px;font-size:15px}
html.bf-on #aiC .ai-t b{font-size:15px}

/* ---------- laptop, tablet and phone: a slim bar above the form; the conversation opens beside or below it ---------- */
@media (max-width:1359.98px){
  html.bf-on .bf-bar{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 16px;padding:12px 14px;border:1px solid rgba(184,154,99,.42);
    border-radius:14px;background:#1D1E1C;color:#F6F1E6;text-align:left;cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent}
  html.bf-on .bf-bar:focus-visible{outline:2px solid #C8AC76;outline-offset:2px}
  html.bf-on .bf-av{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#C8AC76;color:#1D1E1C;font:500 15px/1 Georgia,serif}
  html.bf-on .bf-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
  html.bf-on .bf-tx b{font:500 15px/1.2 Georgia,"Times New Roman",serif;letter-spacing:.02em}
  html.bf-on .bf-tx small{font:400 12.5px/1.35 var(--body,inherit);color:rgba(246,241,230,.7)}
  html.bf-on .bf-go{flex:none;font:500 11px/1 var(--body,inherit);letter-spacing:.18em;text-transform:uppercase;color:#C8AC76;border-bottom:1px solid currentColor;padding-bottom:3px}
  html.bf-on.bf-open .bf-bar{opacity:.55}

  /* closed until asked for */
  html.bf-on #aiC{display:none!important}
  html.bf-on.bf-open #aiC{display:flex!important;position:fixed!important;z-index:2147483000;margin:0!important;max-height:none!important;animation:bfUp .32s cubic-bezier(.2,.7,.2,1)}
  html.bf-on.bf-open .bf-x{display:grid;place-items:center;flex:none;width:34px;height:34px;margin-left:4px;border-radius:50%;
    border:1px solid rgba(184,154,99,.4);background:transparent;color:#F6F1E6;font:300 22px/1 var(--body,inherit);cursor:pointer}
  html.bf-on.bf-open .wa-fab,html.bf-on.bf-open body .wa-fab{display:none!important}
}
/* laptop and tablet: a floating panel at the side, the form stays usable beside it */
@media (min-width:761px) and (max-width:1359.98px){
  html.bf-on.bf-open #aiC{right:20px;bottom:20px;left:auto;width:380px;height:min(600px,calc(100vh - 110px))!important;border-radius:16px!important;
    box-shadow:0 22px 50px rgba(14,16,18,.34)!important}
}
/* phone: a sheet from below, the form still visible above it */
@media (max-width:760.98px){
  html.bf-on.bf-open #aiC{left:0;right:0;bottom:0;height:min(70dvh,620px)!important;border-radius:18px 18px 0 0!important;border-bottom:0!important;
    box-shadow:0 -18px 44px rgba(14,16,18,.32)!important}
  html.bf-on.bf-open.ai-kb #aiC{height:calc(100dvh - 64px)!important}
  html.bf-on.bf-open .bf-scrim{display:block;position:fixed;inset:0;z-index:2147482999;background:rgba(14,16,18,.32)}
  html.bf-on.bf-open body{overflow:hidden}
}
@keyframes bfUp{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){html.bf-on.bf-open #aiC{animation:none}}

/* ---------- flight or ferry: asked only once the route, date and time are chosen ---------- */
html.bf-on:not(.jd-ready) #bookForm .arr-card,
html.bf-on:not(.jd-ready) #bookForm .f.fl-f{display:none!important}

/* ---------- lighter below the fold: fewer repeated explanations ---------- */
html.bf-on #concierge{display:none!important} /* the concierge already sits beside the form; WhatsApp stays in the footer and the floating button */
html.bf-on #why .why-g li>span{display:none}
html.bf-on #why{padding-top:36px!important;padding-bottom:36px!important}
html.bf-on #why .why-g li{padding-top:14px!important;padding-bottom:4px!important}

/* the journey summary and price sit beside the fields from the first row, not below them */
@media (min-width:1100px){
  html.bf-on #bookForm>.pane{grid-row:1}
  html.bf-on #bookForm>.sumbar{grid-row:1;align-self:start}
}
html.bf-on #bookForm>.sumbar{min-width:0}
html.bf-on #bookForm>.sumbar .bk-h,html.bf-on #bookForm>.sumbar .bk-list,html.bf-on #bookForm>.sumbar .bk-list>li{width:auto!important;max-width:100%!important;box-sizing:border-box}
html.bf-on #bookForm>.sumbar *{min-width:0;max-width:100%}
html.bf-on #bookForm>.sumbar .btn{white-space:normal}

/* compact panel: fixed height, the conversation and the answers each scroll inside it */
html.bf-on #aiC .ai-h,html.bf-on #aiC .ai-ask,html.bf-on #aiC .ai-wa,html.bf-on #aiC .ai-nav{flex:none!important}
html.bf-on #aiC .ai-log{flex:1 1 auto!important;min-height:90px!important;max-height:none!important}
html.bf-on #aiC .ai-in{flex:0 1 auto!important;min-height:0!important;max-height:56%!important;overflow-y:auto!important;overscroll-behavior:contain}
html.bf-on #aiC .ai-sugg{max-height:none!important;overflow:visible!important}
html.bf-on.ai-kb #aiC .ai-in{max-height:48%!important}
@media (min-width:761px) and (max-width:1359.98px){
  html.bf-on.bf-open #aiC{height:min(700px,calc(100vh - 96px))!important}
}

/* guests: one simple question, two pre-chosen */
#aiC .ai-gq{display:flex;flex-direction:column;gap:12px;width:100%;padding:2px 0}
#aiC .ai-gq-r{display:flex;flex-wrap:wrap;gap:8px}
#aiC .ai-gq-n{flex:none;min-width:44px;height:44px;padding:0 12px;border-radius:22px;border:1px solid rgba(200,172,118,.45);background:transparent;color:#F6F1E6;
  font:500 16px/1 var(--body,inherit);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,color .15s,border-color .15s}
#aiC .ai-gq-n:hover{border-color:#C8AC76}
#aiC .ai-gq-n.on{background:#C8AC76;border-color:#C8AC76;color:#1D1E1C}
#aiC .ai-gq-n:focus-visible{outline:2px solid #C8AC76;outline-offset:2px}
#aiC .ai-gq-ok{align-self:flex-start}

/* phone sheet: never wider than the screen */
@media (max-width:760.98px){
  html.bf-on.bf-open #aiC{width:auto!important;max-width:100vw!important;box-sizing:border-box!important;overflow:hidden}
  html.bf-on.bf-open #aiC .ai-h{min-width:0}
}
/* pickers (calendar, times, guests) take the room they need; the conversation above gives way and scrolls */
html.bf-on #aiC .ai-log{flex:1 1 0!important;min-height:64px!important}
html.bf-on #aiC .ai-in:has(.ai-cal,.ai-times,.ai-gq),html.bf-on.ai-kb #aiC .ai-in:has(.ai-cal,.ai-times,.ai-gq){max-height:none!important;flex:0 1 auto!important;min-height:0!important;overflow-y:auto!important}
html.bf-on #aiC:has(.ai-in .ai-cal,.ai-in .ai-times) .ai-wa{display:none!important}

/* phone: the sheet rises for the calendar and times so a full month is visible */
@media (max-width:760.98px){
  html.bf-on.bf-open #aiC:has(.ai-in .ai-cal,.ai-in .ai-times){height:calc(100dvh - 56px)!important}
}

/* phone number: country code stays compact, the number field takes the rest */
#aiC .ai-tel{display:flex!important;width:100%;min-width:0}
#aiC .ai-tel .ai-cc{flex:0 0 auto!important;width:auto!important;max-width:108px!important;min-width:84px}
#aiC .ai-tel .ai-x{flex:1 1 auto!important;width:auto!important;min-width:0!important;font-size:16px!important}

/* start: both cities glow in turn, twice, then rest on a fine gold ring until the guest chooses (motion under 5s) */
@keyframes bfGlow{0%{box-shadow:0 0 0 1px rgba(200,172,118,.45),0 0 0 0 rgba(200,172,118,0)}
  45%{box-shadow:0 0 0 2px rgba(200,172,118,.95),0 0 28px 4px rgba(200,172,118,.38)}
  100%{box-shadow:0 0 0 1px rgba(200,172,118,.7),0 0 0 0 rgba(200,172,118,0)}}
.dcards .dcard{border-radius:14px;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,opacity .3s}
.dcards .dcard .dc-img img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
html.dest-unset .dcards .dcard{box-shadow:0 0 0 1px rgba(200,172,118,.7);animation:bfGlow 2.2s cubic-bezier(.45,0,.25,1) .6s 2 both}
html.dest-unset .dcards .dcard.dc-santorini{animation-delay:1.7s}
.dcards .dcard:hover{transform:translateY(-2px)}
.dcards .dcard:hover .dc-img img{transform:scale(1.03)}
.dcards .dcard:focus-visible{outline:none;box-shadow:0 0 0 2px #C8AC76,0 0 0 5px rgba(200,172,118,.25)!important}
.dcards .dcard[aria-checked="true"]{box-shadow:0 0 0 2px #C8AC76,0 12px 28px rgba(29,30,28,.18)!important;animation:none!important}
html:not(.dest-unset) .dcards .dcard[aria-checked="false"]{opacity:.6}
html:not(.dest-unset) .dcards .dcard[aria-checked="false"]:hover{opacity:1}
@media (prefers-reduced-motion:reduce){html.dest-unset .dcards .dcard{animation:none}.dcards .dcard,.dcards .dcard .dc-img img{transition:none}.dcards .dcard:hover{transform:none}.dcards .dcard:hover .dc-img img{transform:none}}



/* concierge: call at any moment, and the reservation summed up inside the chat */
#aiC .ai-call{flex:none;display:grid;place-items:center;width:38px;height:38px;margin-left:auto;margin-right:8px;border-radius:50%;
  border:1px solid rgba(200,172,118,.45);color:#C8AC76;text-decoration:none;transition:background .2s,color .2s}
#aiC .ai-call svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
#aiC .ai-call:hover,#aiC .ai-call:focus-visible{background:#C8AC76;color:#1D1E1C;outline:none}
#aiC .ai-h .ai-lg{margin-left:0}
#aiC .ai-sum{border:1px solid rgba(200,172,118,.4);border-radius:12px;padding:12px 14px;background:rgba(200,172,118,.06);min-width:220px}
#aiC .ai-sum p{margin:0}
#aiC .ai-sum-k{font:500 10.5px/1.4 var(--body,inherit);letter-spacing:.18em;text-transform:uppercase;color:#C8AC76;margin-bottom:6px!important}
#aiC .ai-sum-k b{letter-spacing:.08em;color:#F6F1E6}
#aiC .ai-sum-r{font:500 15px/1.35 Georgia,"Times New Roman",serif;color:#F6F1E6}
#aiC .ai-sum-m{font-size:13px;line-height:1.5;color:rgba(246,241,230,.72);margin-top:4px!important}
#aiC .ai-sum-p{font:500 20px/1.2 Georgia,serif;color:#C8AC76;margin-top:8px!important}
#aiC .ai-tel-lk{white-space:nowrap}
#aiC .ai-t{min-width:0}
#aiC .ai-t b{white-space:nowrap}
@media (max-width:420px){#aiC .ai-t b{font-size:16px}#aiC .ai-call{width:34px;height:34px;margin-right:6px}#aiC .ai-h .ai-lg{padding-left:10px;padding-right:10px}}
html.bf-on #aiC .ai-t{flex:1 1 auto!important;min-width:0!important;overflow:hidden}
html.bf-on #aiC .ai-t b{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;display:block}
html.bf-on #aiC .ai-call{margin-left:6px}

/* Santorini: Saint Aura Pool at SAINT Hotel, a quiet loop that plays only while in view */
.sr-vid{position:relative;overflow:hidden}
.sr-vid video{display:block;width:100%;height:100%;object-fit:cover;background:#1D1E1C}
.sr-list li.sr-saint a{border-left:2px solid #C8AC76;padding-left:14px}
.sr-list li.sr-saint .sr-i{color:#8A6E3E}
.sr-media{display:flex;flex-direction:column;gap:12px;min-width:0}
.sr-media .sr-car{aspect-ratio:4/3;margin:0;overflow:hidden}
.sr-media .sr-car img{display:block;width:100%;height:100%;object-fit:cover}
.sr-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sr-pair figure{margin:0;overflow:hidden;aspect-ratio:1/1;background:#E9E3D6}
.sr-pair img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.sr-pair figure:hover img{transform:scale(1.03)}
@media (prefers-reduced-motion:reduce){.sr-pair img{transition:none}.sr-pair figure:hover img{transform:none}}
.sr-pair .sr-vid video{width:100%;height:100%;object-fit:cover;object-position:50% 70%}
.co-err{margin:0 0 10px;padding:10px 14px;border-left:2px solid #B08D57;background:#F6F1E7;color:#3A2E1E;font-size:14px;line-height:1.45}
