/* 4.0.7.1: the WhatsApp links (inc/contact-channels.php). Loads only while hintling_whatsapp_live is on. V4 tokens, one
   accent, our own chat icon. Not WhatsApp's green or logo (legal 433 Q-B1, Q-B3). */

/* header pill */
.hs-wa-head { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 0 16px 0 13px; border-radius: var(--pill); background: transparent; color: var(--ink); font-weight: 700; font-size: .9375rem; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--edge); transition: background-color 200ms var(--e-soft), box-shadow 200ms var(--e-soft); }
.hs-wa-head:hover { background: var(--mist); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); text-decoration: none; }
.hs-wa-head:focus-visible { border-radius: var(--pill); }
.hs-wa-head svg { width: 20px; height: 20px; flex: none; color: var(--accent-deep); }
/* the word where the bar has room, the icon alone where it is tight (the word stays for screen readers) */
@media (max-width: 719px), (min-width: 1100px) and (max-width: 1239px) {
	.hs-wa-head { width: 44px; padding: 0; }
	.hs-wa-head-w { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}
@media (max-width: 600px) { .v4-bar { gap: 8px; } }
@media (min-width: 360px) and (max-width: 430px) {
	.v4-bar { gap: 4px; padding-right: 5px; }
	.v4-brand img { width: 96px; }
	.v4-bar .v4-nav-cta { padding: 6px 10px; font-size: .8125rem; }
}
@media (min-width: 360px) and (max-width: 374px) {
	.v4-bar { padding-left: 11px; }
	.v4-brand img { width: 88px; }
}
/* under 360 px the bar has no room for a fourth control: the floating pill and the Menu carry WhatsApp */
@media (max-width: 359px) { .hs-wa-head { display: none; } }

/* phone menu line */
.v4-menu-panel a.hs-wa-menu { gap: 10px; justify-content: center; margin-top: 4px; border-radius: var(--pill); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--edge); }
.v4-menu-panel a.hs-wa-menu:hover { background: var(--mist); box-shadow: inset 0 0 0 2px var(--ink); }
.hs-wa-menu svg { width: 20px; height: 20px; flex: none; color: var(--accent-deep); }

/* footer line: the same weight as the email address above it */
.v4-fc-brand .v4-fc-reach { margin-top: -6px; }
.v4-fc-reach a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; }

/* /contact/ row */
.hs-reach-one { margin: 16px 0 0; }
.hs-reach-row { display: flex; align-items: center; gap: 14px; box-sizing: border-box; min-height: 64px; padding: 10px 18px 10px 12px; border-radius: var(--r-m); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 200ms var(--e-soft), box-shadow 200ms var(--e-soft); }
.hs-reach-row:hover { background: var(--mist); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--edge); }
.hs-reach-row:focus-visible { border-radius: var(--r-m); }
.hs-reach-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 999px; background: var(--wash-2); color: var(--accent-deep); }
.hs-reach-ico svg { width: 21px; height: 21px; }
.hs-reach-text { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.hs-reach-k { font-size: .8125rem; font-weight: 600; color: var(--mute); }
.hs-reach-v { font-size: 1.03125rem; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }

/* the floating pill */
.hs-wa { position: fixed; right: 16px; bottom: 16px; right: max(16px, calc(env(safe-area-inset-right) + 12px)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px)); z-index: 44; pointer-events: none; }
.hs-wa a { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box; min-height: 48px; padding: 0 20px 0 15px; border-radius: var(--pill); background: rgba(255, 255, 255, .96); color: var(--ink); font: 700 .9375rem/1.1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; box-shadow: inset 0 0 0 1px rgba(20, 32, 51, .12), 0 2px 6px rgba(20, 32, 51, .06), 0 14px 34px -12px rgba(20, 32, 51, .3); transition: opacity 220ms var(--e-soft), transform 220ms var(--e-soft), visibility 0s linear 0s, box-shadow 200ms var(--e-soft); }
.hs-wa a:hover { color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--edge), 0 2px 6px rgba(20, 32, 51, .08), 0 18px 38px -12px rgba(20, 32, 51, .36); transform: translateY(-1px); }
.hs-wa a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--pill); box-shadow: 0 0 0 3px #fff; }
.hs-wa svg { width: 22px; height: 22px; flex: none; color: var(--accent-deep); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.hs-wa a { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
}
.hs-wa.is-away a { opacity: 0; transform: translateY(14px); visibility: hidden; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms; }
@media (min-width: 768px) {
	.hs-wa { right: 24px; bottom: 24px; right: max(24px, calc(env(safe-area-inset-right) + 16px)); bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px)); }
}
@media (prefers-reduced-motion: reduce) {
	.hs-wa a, .hs-wa.is-away a { transform: none; transition: opacity .01s linear, visibility 0s; }
	.hs-wa a:hover { transform: none; }
	.hs-wa-head, .hs-reach-row { transition: none; }
}
@media (forced-colors: active) {
	.hs-wa a, .hs-wa-head, .hs-reach-row, .v4-menu-panel a.hs-wa-menu { border: 2px solid ButtonText; }
}
@media print {
	.hs-wa, .hs-wa-head { display: none; }
}
