/* ============================================================
   Listening band: "Every patient who goes quiet stays on your mind" and
   "You're not doing this on your own". Two versions, one per audience.
   Used on Who we serve: the page's own switch shows one or the other.
   ============================================================ */
.listen{--listen-warm:#f7e4c8;overflow:hidden}
.listen[data-who=clinic]{background:var(--canvas)}
.listen[data-who=patient]{background:var(--listen-warm)}
.listen__grid{display:grid;gap:clamp(24px,4vw,56px);align-items:center}
@media(min-width:900px){.listen__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
.listen__grid h2{margin:0 0 14px}
.listen__lede{font-size:clamp(16px,1.5vw,18px);line-height:1.55;margin:0 0 22px;max-width:44ch;color:var(--ink)}
.listen__note{margin:12px 0 0;font-size:13.5px;color:var(--ink-secondary);text-align:center}

.listen__col{position:relative;height:clamp(460px,48vw,590px);max-width:640px;width:100%;margin-inline:auto}
@media(max-width:560px){.listen__col{height:530px}}
.listen__pic{position:absolute;border-radius:20px;overflow:hidden;border:6px solid var(--surface-raised);box-shadow:0 18px 40px rgba(19,48,58,.2);width:44%;transform:translate(var(--mx,0),var(--my,0)) rotate(var(--r));transition:transform .25s ease-out}
.listen__pic img{display:block;width:100%;height:auto}
.listen__pic--l{left:0;top:7%;--r:-6deg}
.listen__pic--r{right:0;top:0;--r:5deg}
.listen__float{animation:listen-bob 6s ease-in-out infinite alternate}
.listen__float--b{animation-delay:-3s}
@keyframes listen-bob{to{translate:0 -10px}}

.listen__phone{position:absolute;z-index:2;left:50%;bottom:0;width:min(238px,56%);height:92%;transform:translateX(-50%);border-radius:34px;background:#0b1512;padding:8px;box-shadow:0 22px 50px rgba(19,48,58,.34)}
[data-v=clinic] .listen__phone{left:56%}
.listen__scr{height:100%;border-radius:27px;background:var(--canvas);overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:58px 11px 13px;position:relative}
.listen__head{position:absolute;inset:0 0 auto;padding:15px 13px 10px;background:var(--surface);font:600 14px var(--font-body);color:var(--ink);border-bottom:1px solid #e3dacb}
[data-v=clinic] .listen__head{text-align:right}
.listen__msg{max-width:88%;padding:9px 12px;border-radius:15px;font-size:13.5px;line-height:1.32;margin:0}
.listen__msg.is-new{animation:listen-msg .4s cubic-bezier(.2,1.3,.4,1) both}
.listen__msg--them{background:var(--surface-raised);color:var(--ink);border-bottom-left-radius:4px;align-self:flex-start;transform-origin:left bottom}
.listen__msg--me{background:var(--primary);color:var(--on-primary);border-bottom-right-radius:4px;align-self:flex-end;transform-origin:right bottom}
@keyframes listen-msg{from{transform:scale(.6) translateY(10px);opacity:0}to{transform:none;opacity:1}}
.listen__dots{display:flex;gap:4px;padding:3px 0}
.listen__dots i{width:6px;height:6px;border-radius:50%;background:#7a8f90;animation:listen-dot 1s infinite}
.listen__dots i:nth-child(2){animation-delay:.15s}
.listen__dots i:nth-child(3){animation-delay:.3s}
@keyframes listen-dot{0%,60%,100%{transform:none}30%{transform:translateY(-5px)}}
.listen__vn{display:flex;align-items:center;gap:2px;height:22px}
.listen__vn i{display:block;width:3px;border-radius:3px;background:var(--on-primary);height:var(--h);animation:listen-talk .7s ease-in-out infinite alternate;animation-delay:var(--d)}
@keyframes listen-talk{from{transform:scaleY(.25)}to{transform:none}}

.listen__card{position:absolute;z-index:3;left:0;top:2%;width:38%;transform:rotate(-4deg);background:var(--surface-raised);border-radius:16px;padding:12px 14px;box-shadow:0 14px 30px rgba(19,48,58,.18);font-size:13px;color:var(--ink)}
.listen__card b{display:block;font-weight:600;margin-bottom:8px}
.listen__card p{display:flex;align-items:center;gap:8px;margin:5px 0;overflow-wrap:anywhere}
.listen__card i{width:9px;height:9px;border-radius:50%;background:#1e9e3e;flex:none}
.listen__card .is-quiet i{animation:listen-quiet 4s infinite}
@keyframes listen-quiet{0%,35%{background:#1e9e3e}55%,100%{background:var(--accent)}}
.listen__heart{position:absolute;z-index:3;left:2%;bottom:6%;width:21%;animation:listen-beat 2.4s ease-in-out infinite}
@keyframes listen-beat{0%,100%{transform:scale(.86)}40%{transform:scale(1.08)}}

@media(prefers-reduced-motion:reduce){
  .listen,.listen *{animation:none!important;transition:none!important}
}
.listen:not(.is-vis) *{animation-play-state:paused}
