/* =========================================================================
   FLOATING AVAILABILITY DOCK
   One shell, two skins. Everything structural lives here; the two blocks
   after it only change material.
   ========================================================================= */
.dock{
  position:fixed;z-index:100;
  left:50%;
  /* The gap below the dock is what makes it read as floating rather than as a
     bottom bar bolted to the window. It is a token because the hidden-state
     transform below has to travel exactly this far plus the dock's own height;
     two literals here would silently drift apart the first time one changed. */
  --dock-gap:clamp(16px,2.1vw,28px);
  bottom:var(--dock-gap);
  width:min(960px,calc(100% - clamp(24px,5vw,72px)));
  transform:translate(-50%,calc(100% + var(--dock-gap)));
  opacity:0;visibility:hidden;
  transition:transform .62s var(--ease-out),
             opacity .46s ease,
             visibility 0s linear .62s;
}
.dock.is-on{
  transform:translate(-50%,0);
  opacity:1;visibility:visible;
  transition:transform .62s var(--ease-out),
             opacity .46s ease,
             visibility 0s linear 0s;
}
.dock-plate{
  position:relative;
  display:flex;align-items:stretch;
  padding:8px 8px 8px clamp(10px,1.3vw,18px);
}
.dock-plate > *{position:relative;z-index:1}

.dock-field{
  flex:1 1 0;min-width:0;
  display:flex;align-items:center;gap:clamp(10px,1vw,14px);
  padding:9px clamp(10px,1.2vw,18px);
  text-align:left;
  transition:background .32s ease;
}
.dock-field > svg{
  flex:0 0 auto;width:20px;height:20px;
  fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
.dock-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
/* the hero booking card's own relationship - a small bold label over a larger
   muted value - held at dock scale. 14:21 there, 11.5:17 here. */
.dock-label{
  font-family:var(--font-body);
  font-size:11.5px;font-weight:700;line-height:1.1;
}
.dock-value{
  font-family:var(--font-body);
  font-size:clamp(15px,1.15vw,17px);font-weight:400;line-height:1.15;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.dock-rule{flex:0 0 1px;align-self:center;width:1px;height:34px}

.dock-go{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;gap:13px;
  min-height:54px;padding:0 clamp(24px,2.3vw,36px);
  margin-left:clamp(8px,1vw,14px);
  color:#fff;background:var(--rust);
  font-family:var(--font-body);
  font-size:11.5px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  white-space:nowrap;
  transition:background .3s ease,box-shadow .3s ease;
}
.dock-go:hover{background:#a34d2c}
.dock-go svg{
  width:12px;height:12px;flex:0 0 auto;
  stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .42s var(--ease-out);
}
.dock-go:hover svg{transform:translateX(3px)}
.dock-field:focus-visible,.dock-go:focus-visible{outline:2px solid var(--rust);outline-offset:-3px}
.dock-go:focus-visible{outline-color:#fff}

/* -------------------------------------------------------------------------
   SKIN A - CARD. The hero booking card's slim twin.
   Same cream, same type relationship, same rust action, so scrolling past the
   hero reads as that card detaching and following the guest down the page -
   one control that persists, not a second one that competes. The lift is three
   shadows, not one: a tight contact shadow, a mid, and a wide ambient. That
   layering is the whole difference between floating and pasted on.
   ------------------------------------------------------------------------- */
.dock--card .dock-plate{
  background:#fbf9f4;
  border-radius:var(--r-card);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 0 1px rgba(32,48,38,.08),
    0 2px 5px rgba(14,30,22,.05),
    0 10px 24px rgba(14,30,22,.10),
    0 30px 64px rgba(14,30,22,.19);
}
.dock--card .dock-field{border-radius:var(--r-ctl);color:var(--ink)}
.dock--card .dock-field:hover{background:rgba(23,61,47,.055)}
.dock--card .dock-field > svg{stroke:#2c4034;opacity:.85}
.dock--card .dock-label{color:#17241c}
.dock--card .dock-value{color:var(--placeholder)}   /* was #8d8880, 3.35:1 */
.dock--card .dock-rule{background:#d9d2c4}
.dock--card .dock-go{border-radius:var(--r-ctl);box-shadow:0 4px 12px rgba(132,52,26,.22)}
.dock--card .dock-go:hover{box-shadow:0 6px 18px rgba(132,52,26,.3)}

/* -------------------------------------------------------------------------
   SKIN B - GLASS. Frosted pill.
   The look needs three things together or it reads as a flat translucent box:
   a real blur WITH a saturation lift so colour bleeds through instead of
   going grey, a sheen that is bright along the top lip and gone by the middle,
   and specular edges. The plate sits at .80 rather than lower because at .62
   the labels measured 3.9:1 over the dark sections - under the floor.
   ------------------------------------------------------------------------- */
/* blur is the whole effect; without it a see-through bar is unreadable */
@supports not ((-webkit-backdrop-filter:blur(2px)) or (backdrop-filter:blur(2px))){
}

/* ---- responsive ----
   Three fields will not fit in a bar this slim on a phone, and a taller dock
   stops being a dock. Below 880px it becomes the action alone - the part a
   thumb reaches for first anyway - and keeps the full-width tap target. */
/* Short viewports - landscape phones, small laptops with lots of browser
   chrome - hand some screen back. The dock is ~70px tall, so at 28px off the
   bottom it occludes ~98px; under 700px of viewport that is a seventh of the
   page. 16px keeps it reading as floating while giving 12px back. */
@media (max-height:700px){
  .dock{--dock-gap:var(--space-md)}
}

@media (max-width:880px){
  .dock{width:min(520px,calc(100% - 32px));--dock-gap:var(--space-md)}
  .dock-plate{padding:0;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
  .dock-plate::before{display:none}
  .dock-field,.dock-rule{display:none}
  .dock-go{
    flex:1 1 auto;margin-left:0;width:100%;
    min-height:58px;border-radius:var(--r-ctl);letter-spacing:.13em;
    box-shadow:0 2px 6px rgba(14,30,22,.14),0 12px 30px rgba(14,30,22,.3);
  }
}

body.nav-open .dock{opacity:0;pointer-events:none;transition:opacity .2s ease}

@media (prefers-reduced-motion:reduce){
  .dock{transition:opacity .25s ease,visibility 0s linear .25s;transform:translate(-50%,0)}
  .dock.is-on{transition:opacity .25s ease,visibility 0s linear 0s}
  .dock-go svg,.dock-field{transition:none}
}
