/* =====================================================================
   Reach — ways to get in touch. Markup: Widgets/Reach.php;
   behaviour: js/reach.js.
   Drawn in the Project Form's language: a soft tray, white icon tiles, and
   a row that lifts out as a white card under the pointer.
   ===================================================================== */

.sz-reach{--c:var(--sz-t2);--t:#EEF0F3;display:grid;gap:3px;min-width:0;margin:0;padding:5px;list-style:none;border-radius:24px;background:var(--sz-fill)}
.sz-reach__row{position:relative;display:flex;align-items:center;margin:0;border-radius:19px}
/* each channel in its own colour: the glyph at rest, a tint on the tile when the row lifts */
.sz-reach__row[data-type="email"]{--c:#E85A1C;--t:#FFE9DE}
.sz-reach__row[data-type="whatsapp"]{--c:#1E9E5A;--t:#E3F6EA}
.sz-reach__row[data-type="telegram"]{--c:#1F8FCB;--t:#E2F2FB}
.sz-reach__row[data-type="linkedin"]{--c:#0A66C2;--t:#E3EEF9}
.sz-reach__row[data-type="instagram"]{--c:#D62E70;--t:#FCE6EF}
.sz-reach__row[data-type="phone"]{--c:var(--sz-navy);--t:#E6E9EE}

.sz-reach .sz-reach__a{flex:1;min-width:0;display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;border-radius:19px;color:var(--sz-ink);text-decoration:none;outline:none}
.sz-reach__tile{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff;color:var(--c);font-size:20px;
  box-shadow:0 1px 1px rgba(13,27,42,.04),0 3px 8px -3px rgba(13,27,42,.12);
  transition:background-color .3s,box-shadow .3s,transform .45s var(--sz-spring)}
.sz-reach__tile svg{width:1em;height:1em}
.sz-reach__t{flex:1;min-width:0}
.sz-reach__name{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;line-height:1.3;color:var(--sz-ink)}
.sz-reach__sub{display:block;margin-top:1px;font-size:14px;line-height:1.4;color:var(--sz-t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s}
.sz-reach__chev{width:17px;height:17px;fill:none;stroke:#A3A9B1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s}

/* the glide: one white card that follows the pointer from row to row (js/reach.js
   sets its place); the rows sit above it */
.sz-reach{position:relative;isolation:isolate}
.sz-reach__glide{position:absolute;z-index:-1;top:0;left:5px;right:5px;height:0;margin:0;border-radius:19px;background:#fff;pointer-events:none;
  box-shadow:0 1px 2px rgba(13,27,42,.05),0 12px 26px -10px rgba(13,27,42,.22);opacity:0;
  transition:transform .5s var(--sz-spring),height .5s var(--sz-spring),opacity .25s}
.sz-reach.is-gliding .sz-reach__glide{opacity:1}
.sz-reach.is-instant .sz-reach__glide{transition:opacity .25s}
/* spotlight: the others step back */
.sz-reach.is-gliding .sz-reach__row:not(.is-hot){opacity:.5}
.sz-reach__row{transition:opacity .3s,transform .45s var(--sz-spring)}

/* the hot row: the tile fills with the channel's colour, the arrow becomes the action */
.sz-reach__row.is-hot .sz-reach__tile{background:var(--c);color:#fff;transform:scale(1.06) rotate(-4deg);box-shadow:0 8px 18px -6px var(--c)}
.sz-reach__row.is-hot .sz-reach__tile svg{animation:szr-nod .55s var(--sz-ease)}
.sz-reach__go{display:inline-flex;align-items:center;gap:0;height:34px;padding:0 8px;border-radius:99px;color:var(--c);transition:background-color .3s,gap .4s var(--sz-spring),padding .4s var(--sz-spring)}
.sz-reach__verb{max-width:0;overflow:hidden;font-size:13px;font-weight:600;white-space:nowrap;opacity:0;transition:max-width .45s var(--sz-spring),opacity .25s}
.sz-reach__row.is-hot .sz-reach__go{background:var(--t);gap:6px;padding:0 12px 0 14px}
.sz-reach__row.is-hot .sz-reach__verb{max-width:90px;opacity:1}
.sz-reach__row.is-hot .sz-reach__chev{stroke:var(--c);transform:translateX(2px)}
.sz-reach__chev{transition:stroke .2s,transform .4s var(--sz-spring)}
.sz-reach__row:active{transform:scale(.985)}
.sz-reach .sz-reach__a:focus-visible{box-shadow:inset 0 0 0 2.5px rgba(255,107,44,.85)}
@keyframes szr-nod{30%{transform:rotate(-14deg) scale(1.15)}65%{transform:rotate(6deg)}}
/* touch: no glide; a press shows the row */
@media (hover:none){.sz-reach__row:active{background:#fff}}

/* "Online": only in working hours, never a grey "offline" */
.sz-reach__on{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px 0 7px;border-radius:99px;background:#E9F7EF;font-size:11.5px;font-weight:600;color:#17633C}
.sz-reach__on[hidden]{display:none}
.sz-reach__on::before{content:"";width:6px;height:6px;border-radius:50%;background:#30B46C;box-shadow:0 0 0 0 rgba(48,180,108,.5);animation:szr-live 2.4s ease-out 3}
@keyframes szr-live{70%{box-shadow:0 0 0 6px rgba(48,180,108,0)}100%{box-shadow:0 0 0 0 rgba(48,180,108,0)}}

.sz-reach .sz-reach__row .sz-reach__copy,.sz-reach .sz-reach__row .sz-reach__copy:is(:hover,:focus,:active){
  flex:none;display:inline-grid;height:34px;min-height:0;margin:0 12px 0 0;padding:0 14px;border:0;border-radius:99px;background:#fff;box-shadow:0 1px 1px rgba(13,27,42,.04),0 3px 8px -3px rgba(13,27,42,.14);
  font:inherit;font-size:13px;font-weight:600;line-height:34px;color:var(--sz-ink);text-transform:none;letter-spacing:normal;cursor:pointer;
  transition:transform .3s var(--sz-spring),background-color .2s,color .2s,box-shadow .2s}
/* on the lifted (white) row the button turns grey, so it still reads as a button */
.sz-reach .sz-reach__row.is-hot .sz-reach__copy{background:var(--sz-fill);box-shadow:none}
.sz-reach .sz-reach__row .sz-reach__copy:active{transform:scale(.94)}
.sz-reach .sz-reach__row .sz-reach__copy:focus-visible{outline:2.5px solid rgba(255,107,44,.85);outline-offset:2px}
.sz-reach .sz-reach__row .sz-reach__copy.is-done{background:#E9F7EF;box-shadow:none;color:#17633C}
.sz-reach__copy span{display:block}
.sz-reach__copy.is-done span{animation:szr-pop .4s var(--sz-spring)}
@keyframes szr-pop{from{transform:scale(.7);opacity:0}}
/* copied: the address line says so too */
.sz-reach__row.is-copied .sz-reach__sub{color:#17633C}

/* first view: the rows come in one after another (transform and opacity only: nothing moves around them) */
.sz-reach.is-armed .sz-reach__row{opacity:0;transform:translateY(10px)}
.sz-reach.is-in .sz-reach__row{opacity:1;transform:none;transition:opacity .5s calc(var(--i,0) * 70ms),transform .6s calc(var(--i,0) * 70ms) var(--sz-ease),background-color .3s,box-shadow .35s}

@container (max-width:360px){.sz-reach .sz-reach__a{gap:12px}.sz-reach__tile{width:42px;height:42px;font-size:18px}}

@media (prefers-reduced-motion:reduce){
  .sz-reach__on::before,.sz-reach__row .sz-reach__tile svg,.sz-reach__copy.is-done span{animation:none !important}
  .sz-reach__row,.sz-reach__go,.sz-reach__tile,.sz-reach__glide,.sz-reach__verb{transition:none}
  .sz-reach.is-armed .sz-reach__row{opacity:1;transform:none}
}

/* the column may be narrower than its rows' text: long addresses end in "…" inside the row,
   instead of widening the list (and the page) on a phone */
.sz-reach{grid-template-columns:minmax(0,1fr)}
.sz-reach__row{min-width:0}
