/* Phone header + bottom bar (Text | CALL | Schedule). Desktop untouched. */
@media (max-width:900px){
  /* Header: pinned, condenses after scrolling, hides on scroll down, returns on scroll up */
  .s .hd{position:sticky;top:0;z-index:40;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s}
  .s .hd .w{transition:height .25s ease}
  .s .hd img{transition:height .25s ease}
  .s .hd.min{box-shadow:0 6px 18px rgba(13,27,42,.22)}
  .s .hd.min .w{height:52px}
  .s .hd.min img{height:27px}
  .s .hd.off{transform:translateY(-100%)}

  /* Hero: gold primary, secondary becomes a quiet text link */
  .s .ph .acts .btn.n{background:var(--gold);border-color:var(--gold);color:var(--navy)}
  .s .ph .acts .btn.n ~ .btn.o{width:auto;min-height:44px;border:0;background:none;padding:0 2px;margin:0 auto;color:var(--navy);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;font-weight:600}
  .s .ph.rh .acts .btn.n ~ .btn.o{color:#fff}
  .s .ph .acts .btn.n ~ .btn.o:hover{background:none;transform:none}

  /* Bottom bar */
  .s .pbar{display:grid;grid-template-columns:1fr 1.9fr 1fr;align-items:end;gap:0;background:var(--navy);border-top:2px solid var(--gold);box-shadow:0 -10px 26px rgba(13,27,42,.28);padding:0 8px env(safe-area-inset-bottom,0px);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
  .s .pbar.wait{transform:translateY(calc(100% + 20px))}
  .s .pbar a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#fff;font:600 12px/1 Archivo,sans-serif;letter-spacing:.02em;text-decoration:none;border:0;background:none}
  .s .pbar a+a{border-left:0}
  .s .pbar a svg{width:20px;height:20px;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .s .pbar a.call{position:relative;flex-direction:row;gap:9px;align-self:center;min-height:50px;margin:-14px 4px 7px;border-radius:14px;background:var(--gold);color:var(--navy);font:800 16px/1 Archivo,sans-serif;letter-spacing:.12em;box-shadow:0 8px 18px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35)}
  .s .pbar a.call svg{stroke:var(--navy);stroke-width:2.1;width:19px;height:19px;transform-origin:50% 50%}
  .s .pbar a.call::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none}

  /* CALL emphasis: continuous gold glow + phone ring */
  .s .pbar a.call::after{animation:aeGlow 2.6s .8s ease-out infinite}
  @keyframes aeGlow{0%{box-shadow:0 0 0 0 rgba(212,175,55,.7)}70%{box-shadow:0 0 0 12px rgba(212,175,55,0)}100%{box-shadow:0 0 0 12px rgba(212,175,55,0)}}
  .s .pbar a.call svg{animation:aeRing 2.6s .8s ease-in-out infinite}
  @keyframes aeRing{0%,40%,100%{transform:none}6%{transform:rotate(-16deg)}12%{transform:rotate(14deg)}18%{transform:rotate(-12deg)}24%{transform:rotate(10deg)}30%{transform:rotate(-4deg)}}
  @media (prefers-reduced-motion:reduce){
    .s .hd,.s .pbar{transition:none}
    .s .pbar a.call::after,.s .pbar a.call svg{animation:none!important}
  }
}
